:root {
  --canvas: #F7F4EF;
  --surface: #FBF9F6;
  --ink: #181715;
  --muted: #6B635A;
  --rule: #DDD6CB;
  --sandstone: #C4B39A;
  --brass: #9A7B4F;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--canvas);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.08) contrast(1.22);
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-link:hover { color: var(--brass); }
.lang-toggle { display: flex; align-items: center; gap: 8px; }
.lang-toggle button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  cursor: pointer;
}
.lang-toggle button.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.lang-sep { color: var(--rule); font-size: 0.75rem; }

/* Hero (12-col Asymmetric 60/40) */
.hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 6vw 80px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
}
.hero-media {
  grid-column: 1 / 8;
  position: relative;
  background: linear-gradient(145deg, #ebe4d8, #d8cfc0);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(247, 244, 239, 0.82);
  padding: 4px 10px;
}
.hero-copy { grid-column: 8 / 13; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
  font-weight: 500;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.lead {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 34px;
  max-width: 44ch;
}
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 15px 30px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 350ms var(--ease), color 350ms var(--ease);
}
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-full { width: 100%; text-align: center; }

/* Swiss Editorial Ledger */
.ledger-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 6vw 84px;
}
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ledger-item {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--rule);
}
.ledger-item:not(:first-child) { padding-left: 28px; }
.ledger-item:last-child { border-right: none; padding-right: 0; }
.ledger-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin-bottom: 12px;
}
.ledger-item strong { display: block; font-size: 1.65rem; margin-bottom: 8px; }
.ledger-item p { font-size: 0.88rem; color: var(--muted); }

/* Watchmaker Silhouette Blueprints */
.blueprints-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 6vw 96px;
}
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.blueprints-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.bp-card {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.bp-svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  stroke: var(--ink);
  stroke-width: 0.9;
  fill: none;
}
.bp-svg .brass-tick { stroke: var(--brass); stroke-width: 0.8; }
.bp-code {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}
.bp-card strong { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.bp-card p { font-size: 0.86rem; color: var(--muted); }

/* Guided Atelier Consultation */
.audition-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 6vw 110px;
}
.atelier-frame {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 44px 42px;
}
.atelier-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px
}
.atelier-top .eyebrow { margin-bottom: 0; }
.step-counter {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap; }
.progress-track { height: 1px; background: var(--rule); margin-bottom: 36px; }
.progress-fill {
  height: 1px;
  width: 20%;
  background: var(--brass);
  transition: width 400ms var(--ease);
}
.quiz-step { display: none; opacity: 0; transform: translateY(6px); }
.quiz-step.active {
  display: block;
  animation: stepIn 400ms var(--ease) forwards;
}
@keyframes stepIn {
  to { opacity: 1; transform: translateY(0); }
}
.step-title { font-size: clamp(1.55rem, 2.5vw, 2.05rem); margin-bottom: 26px; line-height: 1.24; }
.choice-list { display: grid; gap: 12px; }
.choice-btn {
  text-align: left;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.choice-btn:hover { border-color: var(--brass); background: var(--canvas); }
.choice-btn.selected { border-color: var(--ink); background: var(--canvas); }
.choice-title { display: block; font-size: 0.94rem; font-weight: 500; color: var(--ink); }
.choice-sub { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 3px; }

.input-stack { display: grid; gap: 22px; margin-bottom: 24px; }
.input-stack input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 12px 2px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}
.input-stack input:focus { border-bottom-color: var(--ink); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px;
  cursor: pointer;
}
.consent input { margin-top: 4px; accent-color: var(--ink); }
.atelier-nav { margin-top: 24px; min-height: 28px; }
.btn-ghost {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--ink); }
.done-body { color: var(--muted); font-size: 0.96rem; max-width: 52ch; }
.status-msg { margin-top: 16px; font-size: 0.86rem; color: #8b1e1e; display: none; }
.status-msg.err { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  text-align: center;
  padding: 32px 6vw;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile Ergonomics */
@media (max-width: 900px) {
  .brand-logo { height: 42px; }
  .nav-link { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 6vw 56px;
    min-height: auto;
  }
  .hero-media, .hero-copy { grid-column: 1 / -1; }
  .btn-primary { width: 100%; text-align: center; }
  .ledger-grid, .blueprints-grid { grid-template-columns: 1fr; }
  .ledger-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 26px 0 !important; }
  .ledger-item:last-child { border-bottom: none; }
  .atelier-frame { padding: 30px 22px; }
}
