/* ============================================================
   ACYERN — Luxury Design System
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0C0B09;
  --surface:   #141210;
  --surface2:  #1C1916;
  --cream:     #F0EBE0;
  --cream-dim: #B8B0A3;
  --muted:     #7A746B;
  --gold:      #C4A96B;
  --gold-dim:  #8A7145;
  --line:      rgba(240,235,224,0.07);
  --line-med:  rgba(240,235,224,0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;
  --font-script:  'Tangerine', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(12,11,9,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 38px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.5px;
  line-height: 1;
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--cream); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
}
.icon-btn:hover { color: var(--cream); background: rgba(240,235,224,0.06); }

.mobile-menu-btn { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(12,11,9,0.97);
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.mobile-menu a {
  display: block;
  padding: 16px 40px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--cream); background: rgba(240,235,224,0.03); }
.mobile-menu.open { display: flex; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-img { transform: scale(1.0); }

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 42%, rgba(12,11,9,0.18) 0%, rgba(12,11,9,0.72) 55%, rgba(12,11,9,0.97) 100%),
    linear-gradient(to bottom, rgba(12,11,9,0.65) 0%, rgba(12,11,9,0.1) 35%, rgba(12,11,9,0.1) 60%, rgba(12,11,9,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}

.hero-headline {
  font-family: var(--font-script);
  font-size: clamp(100px, 15vw, 210px);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1s 0.55s ease forwards;
}

.hero-headline em {
  font-style: normal;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
  opacity: 0;
  animation: fadeUp 1s 0.7s ease forwards;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  margin-top: 14px;
  opacity: 0;
  animation: fadeUp 1s 0.85s ease forwards;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 48px;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(240,235,224,0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 1s 1.05s ease forwards;
  transition: color 0.35s, border-color 0.35s;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.btn-ghost span, .btn-ghost { position: relative; z-index: 1; }
.btn-ghost:hover::before { transform: translateX(0); }
.btn-ghost:hover { border-color: var(--gold); color: var(--bg); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
}
.hero-scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}


/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track .dot { color: var(--gold); font-size: 12px; }


/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ============================================================
   CRAFTSMANSHIP
   ============================================================ */
.craftsmanship {
  padding: 120px 0;
  background: var(--bg);
}

.craft-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.craft-left {
  position: sticky;
  top: 120px;
}

.craft-left .section-label { margin-bottom: 48px; }

.craft-quote {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 32px;
  quotes: none;
}

.craft-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.8;
}

.craft-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.craft-article {
  padding: 48px 0;
}
.craft-article:last-child { border-bottom: none; }

.craft-article-divider {
  width: 32px;
  height: 1px;
  background: var(--gold-dim);
  margin-bottom: 24px;
}

.craft-article time {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.craft-article h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 20px;
}

.craft-article p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--cream-dim);
  margin-bottom: 24px;
}

.text-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s, color 0.25s;
}
.text-link:hover { gap: 14px; color: var(--cream); }
.text-link span { transition: transform 0.25s; }
.text-link:hover span { transform: translateX(4px); }


/* ============================================================
   THE ELEMENTS
   ============================================================ */
.elements {
  padding: 80px 0 120px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.elements-header {
  max-width: 1400px;
  margin: 0 auto 56px;
  padding: 0 40px;
}

.elements-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.element-card {
  cursor: pointer;
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}

.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.92);
}
.element-card:hover .card-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,11,9,0.95) 0%, rgba(12,11,9,0.5) 40%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 1;
  transition: opacity 0.45s ease;
}
.element-card:hover .card-overlay { opacity: 0; }

.card-overlay-content {
  transform: translateY(0);
  transition: transform 0.45s ease;
}
.element-card:hover .card-overlay-content { transform: translateY(16px); }

.card-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-element-name {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

.card-color {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0 0 4px 0;
}

.card-price {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0;
}

.card-cta {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 16px;
  min-height: auto;
  min-width: auto;
  border: 1px solid rgba(240,235,224,0.3);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.card-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-title-row h4 {
  margin: 0;
}

.card-title-row .card-cta {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 7px;
}

.card-info {
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.card-info h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 6px;
}
.card-info span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
}


/* ============================================================
   FEATURED FIFTH ELEMENT
   ============================================================ */
.elements-featured {
  max-width: 1400px;
  margin: 2px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Featured card wrapper for single element */
.featured-card-wrapper {
  display: flex;
  flex-direction: column;
}

/* Twin cosmos cards side by side */
.cosmos-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.element-card--featured .card-img-wrap {
  aspect-ratio: 4/3;
}

.featured-aside {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  gap: 0;
}

.featured-aside .section-label {
  margin-bottom: 24px;
}

.featured-name {
  font-family: var(--font-display);
  font-size: clamp(60px, 6vw, 96px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 0.9;
  margin-bottom: 32px;
}

.featured-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--cream-dim);
  margin-bottom: 40px;
  max-width: 420px;
}

@media (max-width: 768px) {
  .elements-featured {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .featured-card-wrapper {
    max-height: 60vh;
  }
  .element-card--featured .card-img-wrap {
    aspect-ratio: 3/4;
  }
  .featured-aside {
    padding: 40px 24px;
  }
}


/* ============================================================
   MATERIAL STORY
   ============================================================ */
.material-story {
  padding: 140px 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.story-inner {
  max-width: 900px;
  margin: 0 auto;
}

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 40px;
}

.story-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 72px;
  letter-spacing: 0.04em;
}

.story-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.spec-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.spec-divider {
  width: 1px;
  height: 40px;
  background: var(--line-med);
}


/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding: 140px 40px;
  background: var(--bg);
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter .section-label { margin-bottom: 28px; }

.newsletter-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 20px;
}

.newsletter-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 56px;
  line-height: 1.8;
}

.newsletter-field {
  display: flex;
  border-bottom: 1px solid var(--line-med);
  transition: border-color 0.3s;
}
.newsletter-field:focus-within { border-color: var(--gold); }

.newsletter-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
  padding: 16px 0;
  caret-color: var(--gold);
  -webkit-appearance: none;
  appearance: none;
}
.newsletter-field input::placeholder { color: var(--muted); }

.newsletter-field button {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 0 16px 24px;
  transition: color 0.25s, letter-spacing 0.3s;
  white-space: nowrap;
}
.newsletter-field button:hover { color: var(--cream); letter-spacing: 0.3em; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 80px 0 48px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.25s;
  display: block;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-wordmark {
  font-family: var(--font-script);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
  line-height: 1;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--muted);
}


/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface2);
  border: 1px solid var(--line-med);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.modal-backdrop.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.25s, border-color 0.25s;
  z-index: 1;
}
.modal-close:hover { color: var(--cream); border-color: var(--line-med); }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}
.modal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-element-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}

.modal-color {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 28px;
}

.modal-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--cream-dim);
  margin-bottom: 36px;
}

.modal-sizes {
  margin-bottom: 36px;
}

.modal-sizes label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.size-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 8px;
}

.size-btn {
  padding: 12px 8px;
  border: 1px solid var(--line-med);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.size-btn.active {
  border-color: var(--gold);
  background: rgba(212, 175, 100, 0.05);
  color: var(--gold);
}

.size-btn small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.size-btn.active small {
  color: var(--gold);
}

.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}

.modal-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.modal-spec span:first-child {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-spec span:last-child {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.06em;
}

.modal-price-row {
  margin-bottom: 28px;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--cream);
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  margin-top: auto;
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--bg);
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-inner { grid-template-columns: 1fr; gap: 48px; }
  .craft-left { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn { width: 48px; height: 48px; }

  .nav-inner { padding: 0 16px; height: 64px; }
  .nav-logo { font-size: clamp(32px, 8vw, 38px); }

  .hero {
    min-height: 550px;
  }
  .hero-headline { font-size: clamp(48px, 14vw, 100px); }
  .hero-eyebrow { font-size: 9px; margin-bottom: 20px; }
  .hero-tagline { font-size: 10px; margin-top: 12px; }
  .hero-sub { font-size: 12px; margin-top: 12px; }
  .btn-ghost {
    margin-top: 32px;
    padding: 12px 32px;
    font-size: 9px;
  }
  .hero-scroll-hint { bottom: 24px; gap: 8px; }
  .hero-scroll-hint span { font-size: 8px; }
  .scroll-line { height: 30px; }

  .marquee-track { gap: 24px; }
  .marquee-track span { font-size: 8px; }

  .craftsmanship { padding: 80px 0; }
  .craft-inner {
    padding: 0 16px;
    gap: 36px;
  }
  .craft-left { top: 80px; }
  .craft-quote { font-size: clamp(28px, 3vw, 36px); }
  .craft-meta { font-size: 11px; }
  .craft-article h3 { font-size: clamp(20px, 2vw, 28px); }
  .craft-article p { font-size: 12px; }

  .elements { padding: 60px 0 80px; }
  .elements-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 30px; }
  .elements-header { padding: 0 16px; margin-bottom: 40px; }
  .card-element-name { font-size: 32px; }
  .card-color { font-size: 9px; }
  .card-price { font-size: 10px; }
  .card-cta {
    padding: 12px 20px;
    font-size: 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .material-story {
    padding: 80px 16px;
    border-top: 1px solid var(--line);
  }
  .story-headline { font-size: clamp(32px, 5vw, 52px); }
  .story-sub { font-size: 12px; max-width: 100%; }
  .story-specs {
    gap: 24px;
    flex-direction: column;
    align-items: center;
  }
  .spec { gap: 6px; }
  .spec-label { font-size: 8px; }
  .spec-val { font-size: 18px; }
  .spec-divider { display: none; }

  .newsletter { padding: 80px 16px; }
  .newsletter-heading { font-size: clamp(32px, 5vw, 56px); }
  .newsletter-sub { font-size: 11px; margin-bottom: 40px; }
  .newsletter-field input { font-size: 12px; padding: 14px 0; }
  .newsletter-field button {
    font-size: 9px;
    padding: 14px 0 14px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { padding: 0 16px; }
  .footer-col-heading { font-size: 8px; }
  .footer-col-link { font-size: 9px; padding: 8px 0; }

  .modal-body { grid-template-columns: 1fr; }
  .modal-img-wrap { aspect-ratio: 3/4; }
  .modal-details {
    padding: 28px 16px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .modal-name { font-size: clamp(32px, 5vw, 48px); }
  .modal-color { font-size: 10px; }
  .modal-desc { font-size: 12px; }
  .modal-element-label { font-size: 8px; }
  .modal-sizes label { font-size: 9px; }
  .size-buttons { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .size-btn {
    padding: 10px 6px;
    font-size: 10px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .size-btn small { font-size: 8px; margin-top: 2px; }
  .modal-spec { padding: 12px 0; }
  .modal-spec span:first-child { font-size: 9px; }
  .modal-spec span:last-child { font-size: 11px; }
  .modal-price { font-size: 32px; }
  .btn-primary {
    padding: 14px 16px;
    font-size: 9px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .elements-featured {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .cosmos-twin { grid-template-columns: 1fr; }
  .featured-aside { padding: 40px 20px; }
  .featured-name { font-size: clamp(44px, 5vw, 72px); }
  .featured-desc { font-size: 13px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; height: 60px; }
  .nav-logo { font-size: 28px; }
  .mobile-menu-btn { width: 44px; height: 44px; }

  .hero { min-height: 500px; padding: 0 12px; }
  .hero-headline { font-size: clamp(40px, 12vw, 70px); }
  .hero-content { padding: 0 12px; }
  .btn-ghost { margin-top: 24px; padding: 11px 28px; }

  .marquee-track { gap: 20px; }

  .craftsmanship { padding: 60px 0; }
  .craft-inner { padding: 0 12px; gap: 24px; }
  .craft-quote { font-size: clamp(22px, 2.5vw, 28px); margin-bottom: 20px; }
  .craft-article { padding: 32px 0; }
  .craft-article h3 { font-size: clamp(18px, 1.8vw, 24px); margin-bottom: 12px; }
  .craft-article p { font-size: 11px; line-height: 1.7; margin-bottom: 16px; }

  .elements-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 20px;
  }
  .elements-header { padding: 0 12px; margin-bottom: 30px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 12px; }

  .material-story { padding: 60px 12px; }
  .story-headline { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 30px; }
  .story-specs { gap: 20px; }

  .newsletter { padding: 60px 12px; }
  .newsletter-heading { font-size: clamp(28px, 4.5vw, 44px); }
  .newsletter-inner { max-width: 100%; }

  .cart-section { padding: 60px 12px; }
  .cart-item { grid-template-columns: 70px 1fr 28px; gap: 12px; }
  .cart-item img { width: 70px; }
  .remove-btn { width: 28px; height: 28px; font-size: 16px; }
  .cart-summary { padding: 20px; }

  .modal-details { padding: 20px 12px; }
  .size-buttons { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .modal-spec { padding: 10px 0; }

  .featured-aside { padding: 32px 16px; }
}

/* Expanded article state */
article.expanded {
  opacity: 1;
}

article.expanded p {
  max-height: none;
}

/* Button states */
.btn-primary {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 24px;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal {
    max-height: 88vh;
    border-radius: 8px;
  }

  .modal-body {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .modal-details {
    padding: 28px 16px;
    max-height: none;
    overflow: visible;
  }

  .modal-img-wrap {
    aspect-ratio: 3/4;
    max-height: 50vh;
  }

  .size-buttons {
    grid-template-columns: repeat(4, 1fr);
  }

  .modal-sizes {
    margin-bottom: 24px;
  }

  .modal-specs {
    margin-bottom: 20px;
  }
}

/* ── SHOPPING CART ──────────────────────────────────── */
.cart-section {
  padding: 120px 40px;
  background: var(--bg);
}

.cart-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-section h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 48px;
}

.cart-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-empty {
  font-size: 14px;
  color: var(--muted);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-item img {
  width: 120px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--surface);
}

.item-details h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}

.item-details p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0;
}

.item-size {
  margin-top: 8px !important;
  font-weight: 500;
}

.item-price {
  margin-top: 8px !important;
  color: var(--gold);
  font-weight: 400;
}

.remove-btn {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--surface);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 12px;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  border: none;
  padding-top: 20px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  border-top: 1px solid var(--gold);
  margin-bottom: 20px;
}

.cart-btn {
  margin-bottom: 12px;
}

.cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-section .btn-ghost {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: all 0.2s;
}

.cart-section .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Cart responsive */
@media (max-width: 768px) {
  .cart-content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
    order: -1;
  }

  .cart-item {
    grid-template-columns: 80px 1fr 30px;
  }

  .cart-item img {
    width: 80px;
  }
}
