/* =========================================================
   Compact single-page portfolio — responsive redesign
   Overrides styles.css for `.site-compact` only.
   Breakpoints: <=560 mobile, 561–900 tablet, 901–1200 laptop, >=1201 desktop.
   ========================================================= */

:root {
  --compact-container: min(1120px, calc(100% - clamp(20px, 4vw, 48px)));
  --compact-radius: 22px;
  --compact-radius-lg: 28px;
  --compact-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.site-compact main {
  display: block;
}

.site-compact main > section {
  width: 100%;
}

.site-compact .section-pad {
  width: var(--compact-container);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) 0;
}

/* ---------- Header ---------- */
.site-compact .site-header {
  width: var(--compact-container);
  margin: clamp(1rem, 2vw, 1.6rem) auto 0;
}

.site-compact .header-actions .ghost-link {
  display: none;
}

/* ---------- Hero ---------- */
.site-compact .hero,
.site-compact .hero-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  text-align: center;
  min-height: auto;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.site-compact .hero-copy {
  order: 1;
  margin: 0 auto;
  max-width: 620px;
}

.site-compact .hero-copy .eyebrow {
  justify-content: center;
}

.site-compact .hero-compact h1 {
  margin: 0.4rem auto 0.8rem;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.25;
  max-width: 18ch;
}

.site-compact .hero-compact .hero-copy p {
  margin: 0 auto 1.2rem;
  max-width: 44ch;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: rgba(245, 239, 230, 0.82);
  line-height: 1.75;
}

.site-compact .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-compact .hero-stage {
  order: 2;
  position: relative;
  margin: 0 auto;
  width: min(520px, 100%);
  min-height: unset;
}

.site-compact .hero-stage .orbit-one,
.site-compact .hero-stage .orbit-two,
.site-compact .hero-stage .floating-note,
.site-compact .hero-stage .material-filters {
  display: none !important;
}

.site-compact .sculpture-showcase {
  position: static;
  transform: none;
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  border-radius: var(--compact-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 168, 108, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(30, 24, 18, 0.95), rgba(15, 12, 9, 0.95));
  box-shadow: var(--compact-shadow);
}

.site-compact .sculpture-visual {
  position: static;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--compact-radius) - 2px);
  overflow: hidden;
  background: #120e0b;
}

.site-compact .sculpture-visual img,
.site-compact .sculpture-visual .featured-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-compact .showcase-info {
  text-align: center;
  padding: 0 0.3rem;
}

.site-compact .showcase-info h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  margin: 0.35rem 0 0.2rem;
}

/* Hide any legacy hero decorations from styles.css */
.site-compact .floating-note,
.site-compact .social-proof,
.site-compact .tools-ribbon,
.site-compact .avatar-stack {
  display: none !important;
}

/* ---------- About ---------- */
.site-compact .about-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.site-compact .about-compact > div:first-child {
  text-align: start;
}

.site-compact .about-compact h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
}

.site-compact .about-compact p {
  margin: 0 0 0.9rem;
  color: rgba(245, 239, 230, 0.82);
  line-height: 1.8;
  font-size: 1rem;
}

.site-compact .about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--compact-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #120e0b;
  box-shadow: var(--compact-shadow);
}

.site-compact .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Spotlight (single feature card) ---------- */
.site-compact .spotlight-section {
  display: grid;
  place-items: center;
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(1rem, 2vw, 2rem);
}

.site-compact .spotlight-card {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--compact-radius-lg);
  border: 1px solid rgba(201, 168, 108, 0.32);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 168, 108, 0.18), transparent 45%),
    linear-gradient(165deg, rgba(36, 28, 22, 0.96), rgba(18, 14, 11, 0.94));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.site-compact .spotlight-icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #c9a86c, #b87333);
  color: #1a1410;
  font-weight: 800;
  font-size: 1.15rem;
}

.site-compact .spotlight-card h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
}

.site-compact .spotlight-card > p {
  margin: 0 auto 1.1rem;
  max-width: 40ch;
  color: rgba(245, 239, 230, 0.82);
  line-height: 1.75;
  font-size: clamp(0.95rem, 1.5vw, 1.03rem);
}

.site-compact .spotlight-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.site-compact .spotlight-points li {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 108, 0.32);
  background: rgba(201, 168, 108, 0.1);
  color: #e8d7b5;
  font-size: 0.9rem;
}

/* ---------- Gallery: manual arrow slider (no auto-scroll) ---------- */
.site-compact .gallery-section {
  width: var(--compact-container);
  max-width: none;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  overflow: visible;
}

.site-compact .manual-gallery {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 920px;
}

.site-compact .manual-gallery-stage {
  position: relative;
}

.site-compact .manual-gallery-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1410;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  aspect-ratio: 4 / 3;
}

.site-compact .manual-gallery-copy {
  margin-top: clamp(0.85rem, 2.4vw, 1.25rem);
  padding: 0 clamp(0.35rem, 2vw, 0.75rem);
  text-align: center;
}

.site-compact .manual-gallery-kicker {
  margin: 0 0 0.35rem;
  color: #c9a86c;
  font-size: clamp(0.72rem, 1.8vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-compact .manual-gallery-title {
  margin: 0;
  color: #f5efe6;
  font-size: clamp(1.05rem, 3.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
}

.site-compact .manual-gallery-text {
  margin: 0.45rem auto 0;
  max-width: 42rem;
  color: #b8a894;
  font-size: clamp(0.88rem, 2.4vw, 1.02rem);
  line-height: 1.75;
}

.site-compact .manual-gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  direction: ltr;
  transition: transform 0.4s ease;
  will-change: transform;
}

.site-compact .manual-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #1a1410;
}

.site-compact .manual-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

.site-compact .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(201, 168, 108, 0.45);
  border-radius: 50%;
  background: rgba(20, 16, 12, 0.85);
  color: #e8d7b5;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-compact .gallery-nav:hover {
  background: rgba(201, 168, 108, 0.22);
  border-color: rgba(201, 168, 108, 0.8);
}

.site-compact .gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.site-compact .gallery-nav-prev {
  inset-inline-start: 0.6rem;
}

.site-compact .gallery-nav-next {
  inset-inline-end: 0.6rem;
}

.site-compact .gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 16, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8d7b5;
  font-size: 0.82rem;
  font-weight: 600;
  direction: ltr;
}

@media (max-width: 640px) {
  .site-compact .manual-gallery-viewport {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .site-compact .manual-gallery-copy {
    margin-top: 0.75rem;
    padding: 0 0.15rem;
  }

  .site-compact .manual-gallery-title {
    font-size: 1.05rem;
  }

  .site-compact .manual-gallery-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .site-compact .gallery-nav {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.4rem;
  }
}

/* Social icons — always visible with icon + label */
.site-compact .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.site-compact .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 108, 0.32);
  background: rgba(20, 16, 12, 0.5);
  color: #f5efe6;
  font-size: 0.9rem;
  font-weight: 600;
  width: auto;
  height: auto;
  justify-content: flex-start;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.site-compact .social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.site-compact .social-link span {
  display: inline;
}

.site-compact .social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 108, 0.65);
  background: rgba(201, 168, 108, 0.14);
  color: #e8d7b5;
}

@media (max-width: 480px) {
  .site-compact .social-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
  }
}

/* ---------- Contact CTA ---------- */
.site-compact .cta {
  display: grid;
  place-items: center;
  padding-top: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.site-compact .cta-card {
  width: min(600px, 100%);
  margin: 0 auto;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--compact-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 90% 0%, rgba(184, 115, 51, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(30, 24, 18, 0.95), rgba(15, 12, 9, 0.95));
  box-shadow: var(--compact-shadow);
  text-align: center;
}

.site-compact .cta-copy h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
}

.site-compact .contact-phone {
  display: inline-block;
  margin: 0 auto 1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #e8d7b5;
  font-weight: 700;
}

.site-compact .contact-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-compact .social-links {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.site-compact .cta-bg {
  display: none;
}

/* ---------- Footer ---------- */
.site-compact .site-footer {
  width: var(--compact-container);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.6rem) 0 clamp(1.5rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.site-compact .site-footer .footer-brand p {
  max-width: 32ch;
  color: rgba(245, 239, 230, 0.75);
  line-height: 1.7;
  margin-top: 0.6rem;
}

.site-compact .site-footer h3 {
  font-size: 0.98rem;
  margin: 0 0 0.7rem;
}

.site-compact .site-footer a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(245, 239, 230, 0.78);
  font-size: 0.92rem;
}

.site-compact .site-footer a:hover {
  color: #e8d7b5;
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1100px) {
  .site-compact .hero,
  .site-compact .hero-compact {
    padding-top: clamp(3.5rem, 8vw, 5rem);
  }
}

@media (max-width: 900px) {
  :root {
    --compact-container: min(720px, calc(100% - 28px));
  }

  .site-compact .about-compact {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .site-compact .about-compact > div:first-child {
    text-align: center;
  }

  .site-compact .about-media {
    order: -1;
    aspect-ratio: 5 / 4;
    max-width: 460px;
    margin: 0 auto;
  }

  .site-compact .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-compact .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --compact-container: min(560px, calc(100% - 22px));
  }

  .site-compact .site-header {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .site-compact .header-actions .button-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .site-compact .hero-compact {
    padding-top: 3rem;
    gap: 1.6rem;
  }

  .site-compact .hero-stage {
    width: 100%;
  }

  .site-compact .sculpture-visual {
    aspect-ratio: 5 / 4;
  }

  .site-compact .cta-card,
  .site-compact .spotlight-card {
    padding: 1.4rem 1.2rem;
    border-radius: 20px;
  }

  .site-compact .site-footer {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .site-compact .site-footer .brand,
  .site-compact .site-footer .footer-brand p {
    margin-inline: auto;
  }

  .site-compact .site-footer a {
    padding: 0.35rem 0;
  }

  .site-compact .gallery-section {
    padding: 1.5rem 0 2rem;
  }
}

@media (min-width: 1200px) {
  .site-compact .hero,
  .site-compact .hero-compact {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    text-align: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .site-compact .hero-copy {
    margin: 0;
    max-width: none;
  }

  .site-compact .hero-copy .eyebrow {
    justify-content: flex-start;
  }

  .site-compact .hero-compact h1 {
    margin-inline: 0;
  }

  .site-compact .hero-compact .hero-copy p {
    margin-inline: 0;
  }

  .site-compact .hero-actions {
    justify-content: flex-start;
  }

  .site-compact .hero-stage {
    margin-inline-start: auto;
    margin-inline-end: 0;
    width: 100%;
    max-width: 520px;
  }
}

@media (min-width: 1500px) {
  :root {
    --compact-container: min(1240px, calc(100% - 64px));
  }
}
