:root {
  --bg: #0a0b0b;
  --bg-soft: #101211;
  --panel: #131514;
  --panel-2: #171a18;
  --text: #eee6d8;
  --muted: #aaa294;
  --metal: #b9915c;
  --metal-bright: #d4b27a;
  --line: rgba(238, 230, 216, 0.14);
  --line-strong: rgba(185, 145, 92, 0.38);
  --danger: #d7a18d;
  --success: #c4d0ad;
  --radius: 2px;
  --container: min(1180px, calc(100vw - 64px));
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(185, 145, 92, 0.07), transparent 22rem),
    linear-gradient(180deg, #090a0a 0%, #0c0d0d 50%, #090a0a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--metal-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin: 0 auto; }
.section { padding: 120px 0; position: relative; }
.section-grid { position: relative; }
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: min(1180px, calc(100vw - 64px));
  transform: translateX(-50%);
  pointer-events: none;
  border-left: 1px solid rgba(255,255,255,0.022);
  border-right: 1px solid rgba(255,255,255,0.022);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 11, 0.88);
  backdrop-filter: blur(16px);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.1; gap: 5px; }
.brand-copy strong { letter-spacing: 0.13em; font-size: 13px; font-weight: 650; white-space: nowrap; }
.brand-copy small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 8px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; transition: color 180ms ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav .nav-cta { color: var(--text); border: 1px solid var(--line-strong); padding: 10px 14px; }
.menu-toggle { display: none; }

.hero { min-height: calc(100svh - 76px); display: grid; align-items: center; padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); align-items: center; gap: 72px; }
.hero-copy { padding: 40px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--metal-bright);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.eyebrow::after { content: ""; width: 54px; height: 1px; background: var(--line-strong); }
.eyebrow span { color: var(--muted); font-variant-numeric: tabular-nums; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
}
h2 {
  margin-bottom: 24px;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.3; font-weight: 550; }
p { color: var(--muted); }
.hero-lead { max-width: 680px; font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--metal); color: #111; border-color: var(--metal); font-weight: 700; }
.button-primary:hover, .button-primary:focus-visible { background: var(--metal-bright); }
.button-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--line-strong); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 58px 0 0; border-top: 1px solid var(--line); }
.hero-metrics div { padding: 18px 18px 0 0; border-right: 1px solid var(--line); }
.hero-metrics div:last-child { border-right: 0; padding-left: 18px; }
.hero-metrics div:nth-child(2) { padding-left: 18px; }
.hero-metrics dt { color: var(--metal); font-size: 10px; letter-spacing: 0.16em; }
.hero-metrics dd { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero-visual { position: relative; }
.image-slot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(185,145,92,0.06), transparent 45%),
    linear-gradient(180deg, #151817, #0f1110);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.image-slot::before,
.image-slot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.image-slot::before {
  inset: 16px;
  border: 1px solid rgba(185,145,92,0.22);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(185,145,92,0.12) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(185,145,92,0.12) 50%, transparent 50.2%);
}
.image-slot::after {
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(185,145,92,0.22);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 28px rgba(185,145,92,0.025), 0 0 0 58px rgba(185,145,92,0.02);
}
.image-slot-hero { aspect-ratio: 4 / 5; min-height: 540px; }
.image-slot-wide { aspect-ratio: 16 / 7; }
.image-slot-square { aspect-ratio: 1; }
.image-slot-landscape { aspect-ratio: 4 / 3; }
.image-slot-portrait { aspect-ratio: 4 / 5; }
.image-slot-case { aspect-ratio: 3 / 2; box-shadow: none; }
.slot-index, .slot-name, .slot-meta { position: absolute; z-index: 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.slot-index { top: 26px; left: 28px; color: var(--metal-bright); font-size: 10px; }
.slot-name { left: 28px; bottom: 44px; color: var(--text); font-size: 10px; }
.slot-meta { left: 28px; bottom: 26px; color: var(--muted); font-size: 9px; }
.dial-ornament { position: absolute; right: -52px; bottom: -50px; width: 190px; aspect-ratio: 1; pointer-events: none; opacity: 0.86; }
.dial-ring { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; inset: 0; }
.ring-b { inset: 28px; border-style: dashed; opacity: 0.7; }
.dial-hand { position: absolute; left: 50%; top: 50%; height: 1px; background: var(--metal); transform-origin: left center; }
.hand-a { width: 42%; transform: rotate(-18deg); }
.hand-b { width: 30%; transform: rotate(108deg); }

.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
.section-body { padding-top: 52px; }
.section-body p { max-width: 700px; font-size: 18px; }
.section-body p + p { margin-top: 24px; }
.about-media { margin-top: 70px; }
.section-heading.horizontal { display: flex; justify-content: space-between; align-items: end; gap: 64px; margin-bottom: 52px; }
.section-heading.horizontal h2 { margin-bottom: 0; }
.section-heading.horizontal > p { max-width: 430px; margin-bottom: 6px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 248px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.012); transition: background 180ms ease, border-color 180ms ease; }
.service-card:hover { background: rgba(185,145,92,0.045); border-color: var(--line-strong); }
.service-card > span { display: block; margin-bottom: 52px; color: var(--metal); font: 10px ui-monospace, monospace; }
.service-card p { font-size: 14px; margin-bottom: 0; }

.diagnostics { background: linear-gradient(180deg, rgba(185,145,92,0.035), transparent 75%); }
.diagnostic-shell { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: start; }
.diagnostic-intro { position: sticky; top: 112px; }
.diagnostic-panel { border: 1px solid var(--line-strong); background: #0f1110; }
.symptom-list { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.symptom-button { min-height: 72px; padding: 14px 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.symptom-button:nth-child(even) { border-right: 0; }
.symptom-button:nth-last-child(-n+2) { border-bottom: 0; }
.symptom-button:hover, .symptom-button:focus-visible { color: var(--text); background: rgba(255,255,255,0.025); }
.symptom-button.is-active { color: #111; background: var(--metal); }
.diagnostic-result { padding: 36px; }
.result-topline { display: grid; gap: 8px; margin-bottom: 22px; }
.result-topline span, .next-step span { color: var(--metal); text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; }
.result-topline strong { font-family: Georgia, serif; font-size: 28px; line-height: 1.15; font-weight: 500; }
.diagnostic-result > p { font-size: 15px; }
.next-step { margin: 28px 0; padding: 20px 0 0 20px; border-top: 1px solid var(--line); border-left: 1px solid var(--line-strong); }
.next-step p { margin: 8px 0 0; color: var(--text); }

.process-track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process-track li { position: relative; padding: 28px 24px 18px 0; border-right: 1px solid var(--line); min-height: 230px; }
.process-track li + li { padding-left: 24px; }
.process-track li:last-child { border-right: 0; }
.process-track li::before { content: ""; position: absolute; top: -4px; left: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--metal); }
.process-track span { color: var(--metal); font-size: 10px; letter-spacing: 0.12em; }
.process-track h3 { margin-top: 52px; }
.process-track p { font-size: 13px; }

.split-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.split-media-grid.reverse > :first-child { order: 2; }
.split-media-grid.reverse > :last-child { order: 1; }
.complex-copy p { max-width: 600px; }
.technical-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.technical-list li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.technical-list li::before { content: "+"; position: absolute; left: 0; color: var(--metal); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-grid div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid span { display: block; color: var(--metal); font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 8px; }
.spec-grid strong { font-size: 13px; font-weight: 500; }

.master-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 84px; align-items: center; }
.master-copy blockquote { margin: 42px 0 0; padding: 26px 0 0 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line-strong); color: var(--text); font-family: Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); background: var(--panel); }
.case-content { padding: 26px; }
.case-kicker { display: inline-block; margin-bottom: 10px; color: var(--metal); text-transform: uppercase; font-size: 10px; letter-spacing: 0.15em; }
.case-content h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.case-content p { margin-bottom: 0; font-size: 14px; }
.workbench-band { margin-top: 24px; }

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 46px 22px 0; color: var(--text); font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 19px; color: var(--metal); font-size: 24px; line-height: 1; transition: transform 180ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 54px 22px 0; margin: 0; font-size: 14px; }

.intake { background: #0d0f0e; }
.intake-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: 76px; }
.intake-note { margin-top: 42px; padding: 18px 0 0 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line-strong); }
.intake-note span { color: var(--metal); text-transform: uppercase; font-size: 9px; letter-spacing: 0.14em; }
.intake-note p { margin: 6px 0 0; font-size: 14px; }
.intake-form { border: 1px solid var(--line); padding: 34px; background: #111312; }
.form-row { display: grid; gap: 18px; }
.form-row.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .consent { color: var(--text); font-size: 12px; letter-spacing: 0.04em; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0b0d0c;
  color: var(--text);
  min-height: 50px;
  padding: 12px 14px;
}
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: #777269; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--metal) 50%), linear-gradient(135deg, var(--metal) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
input:focus, textarea:focus, select:focus { border-color: var(--metal); outline: none; box-shadow: 0 0 0 2px rgba(185,145,92,0.12); }
.field-error { min-height: 16px; color: var(--danger); font-size: 11px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--metal); }
.form-submit-row { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.form-status { margin: 0; font-size: 13px; color: var(--success); }

.contacts-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; align-items: end; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-cards > * { min-height: 128px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; display: grid; align-content: space-between; gap: 20px; }
.contact-cards a:hover { background: rgba(185,145,92,0.045); }
.contact-cards span { color: var(--metal); text-transform: uppercase; font-size: 9px; letter-spacing: 0.14em; }
.contact-cards strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.footer-grid p, .footer-grid > a { margin: 0; color: var(--muted); font-size: 11px; }
.footer-grid > a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --container: min(928px, calc(100vw - 48px)); }
  .section-grid::before { width: min(928px, calc(100vw - 48px)); }
  .hero-grid { gap: 44px; grid-template-columns: 1.05fr 0.95fr; }
  .image-slot-hero { min-height: 480px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 12px; }
  .diagnostic-shell, .faq-grid, .contacts-grid, .intake-grid { gap: 48px; }
  .split-media-grid, .master-grid { gap: 52px; }
}

@media (max-width: 820px) {
  :root { --container: min(704px, calc(100vw - 40px)); }
  .section-grid::before { width: min(704px, calc(100vw - 40px)); }
  .section { padding: 88px 0; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line-strong);
    background: #0c0e0d;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; margin-top: 8px; text-align: center; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; }
  .hero { min-height: auto; padding: 72px 0; }
  .hero-grid, .split-grid, .diagnostic-shell, .split-media-grid, .master-grid, .faq-grid, .intake-grid, .contacts-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  .hero-visual { width: min(100%, 560px); }
  .image-slot-hero { min-height: 0; }
  .split-grid, .diagnostic-shell, .split-media-grid, .master-grid, .faq-grid, .intake-grid, .contacts-grid { gap: 44px; }
  .section-body { padding-top: 0; }
  .section-heading.horizontal { align-items: start; flex-direction: column; gap: 10px; }
  .diagnostic-intro { position: static; }
  .split-media-grid.reverse > :first-child, .split-media-grid.reverse > :last-child { order: initial; }
  .case-grid { grid-template-columns: 1fr; }
  .master-grid .image-slot { width: min(100%, 560px); }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid p { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 32px); }
  body { font-size: 16px; }
  .section-grid::before { width: calc(100vw - 32px); }
  .section { padding: 72px 0; }
  .header-inner { height: 68px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 7px; }
  .brand img { width: 36px; height: 36px; }
  .main-nav { top: 78px; left: 16px; right: 16px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.35rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
  .hero-lead, .section-body p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; margin-top: 42px; }
  .hero-metrics div, .hero-metrics div:nth-child(2), .hero-metrics div:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-metrics div:last-child { border-bottom: 0; }
  .dial-ornament { width: 128px; right: -28px; bottom: -30px; }
  .about-media { margin-top: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .service-card > span { margin-bottom: 34px; }
  .symptom-list { grid-template-columns: 1fr; }
  .symptom-button, .symptom-button:nth-child(even), .symptom-button:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .symptom-button:last-child { border-bottom: 0; }
  .diagnostic-result { padding: 26px 20px; }
  .result-topline strong { font-size: 24px; }
  .process-track { grid-template-columns: 1fr; overflow: visible; border-top: 1px solid var(--line); }
  .process-track li, .process-track li + li { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-track li::before { top: 21px; left: auto; right: 0; }
  .process-track h3 { margin-top: 18px; }
  .spec-grid, .contact-cards { grid-template-columns: 1fr; }
  .case-content h3 { font-size: 23px; }
  .faq-list summary { font-size: 16px; }
  .intake-form { padding: 22px 16px; }
  .form-row.two-cols { grid-template-columns: 1fr; gap: 0; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid p { grid-column: auto; order: initial; }
  .footer-brand { margin-bottom: 8px; }
  .slot-name { max-width: calc(100% - 56px); overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

.about::after,
.complex::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
}
.about::after {
  width: 360px;
  aspect-ratio: 1;
  right: max(1vw, calc((100vw - 1180px) / 2 - 120px));
  top: 44px;
  background-image: url('../images/dial-grid.svg');
}
.complex::after {
  width: min(620px, 52vw);
  aspect-ratio: 2 / 1;
  left: max(1vw, calc((100vw - 1180px) / 2 - 180px));
  bottom: 8px;
  background-image: url('../images/movement-schematic.svg');
}

@media (max-width: 820px) {
  .about::after { width: 260px; right: -90px; top: 12px; opacity: 0.35; }
  .complex::after { width: 460px; left: -180px; opacity: 0.3; }
}

/* ATELIER CHRONO — visual refinement v2 */
:root {
  --metal-soft: rgba(185, 145, 92, 0.14);
  --metal-faint: rgba(185, 145, 92, 0.07);
  --cream-faint: rgba(238, 230, 216, 0.035);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.2, .8, .2, 1.08);
  --scroll-progress: 0%;
  --hero-x: 72%;
  --hero-y: 24%;
}

::selection { background: var(--metal); color: #0b0b0b; }

body {
  background:
    radial-gradient(circle at 82% 7%, rgba(212, 178, 122, 0.07), transparent 24rem),
    radial-gradient(circle at 18% 54%, rgba(185, 145, 92, 0.035), transparent 30rem),
    linear-gradient(180deg, #080909 0%, #0d0f0e 46%, #080909 100%);
}

.site-header {
  border-bottom-color: rgba(238, 230, 216, 0.1);
  background: rgba(8, 9, 9, 0.76);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--metal-bright));
  box-shadow: 0 0 18px rgba(212, 178, 122, 0.45);
  transition: width 90ms linear;
}

.brand img {
  filter: drop-shadow(0 0 16px rgba(185, 145, 92, 0.08));
  transition: transform 420ms var(--ease-out), filter 420ms ease;
}

.brand:hover img,
.brand:focus-visible img { transform: rotate(8deg); filter: drop-shadow(0 0 22px rgba(185, 145, 92, 0.18)); }

.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--metal);
  transition: right 260ms var(--ease-out);
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after,
.main-nav a[aria-current="true"]::after { right: 0; }
.main-nav a[aria-current="true"] { color: var(--text); }

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(212, 178, 122, 0.105), transparent 16rem),
    conic-gradient(from 240deg at 72% 44%, transparent 0 76%, rgba(185, 145, 92, 0.025) 84%, transparent 92%);
  transition: background-position 180ms ease;
}

.hero-grid { position: relative; z-index: 1; }
.hero-copy { position: relative; }
.hero-copy::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 42px;
  width: 1px;
  height: min(68%, 390px);
  background: linear-gradient(to bottom, transparent, var(--line-strong) 14%, var(--line-strong) 82%, transparent);
}

h1, h2 { text-wrap: balance; }
h3 { text-wrap: pretty; }
.hero-lead, .section-heading > p, .section-body p { text-wrap: pretty; }

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 50px;
  transition: transform 260ms var(--ease-out), background 220ms ease, border-color 220ms ease, box-shadow 260ms ease;
}
.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.18) 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease-out);
}
.button:hover::before,
.button:focus-visible::before { transform: translateX(130%); }
.button:hover,
.button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
.button:active { transform: translateY(0) scale(0.985); }

.hero-metrics {
  background: linear-gradient(90deg, rgba(255,255,255,0.012), transparent);
}
.hero-metrics div { transition: background 240ms ease; }
.hero-metrics div:hover { background: rgba(185,145,92,0.03); }

.hero-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --float-y: 0px;
  transform-style: preserve-3d;
}
.hero-visual.reveal.is-visible {
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, var(--float-y), 0);
  transition: opacity 680ms ease, transform 480ms var(--ease-out);
}

.image-slot {
  background:
    radial-gradient(circle at 50% 43%, rgba(212,178,122,0.075), transparent 25%),
    linear-gradient(135deg, rgba(185,145,92,0.075), transparent 45%),
    linear-gradient(180deg, #151817, #0d0f0e);
  box-shadow: 0 30px 85px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.014);
  transition: transform 500ms var(--ease-out), border-color 320ms ease, box-shadow 500ms ease;
}
.image-slot::before {
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 31px, rgba(185,145,92,0.04) 32px, transparent 33px),
    linear-gradient(90deg, transparent 49.8%, rgba(185,145,92,0.14) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(185,145,92,0.14) 50%, transparent 50.2%);
}
.image-slot:hover { border-color: rgba(212,178,122,0.42); box-shadow: 0 36px 95px rgba(0,0,0,0.38), 0 0 0 1px rgba(185,145,92,0.08); }
.slot-index::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 0 3px 10px;
  background: var(--line-strong);
}

.dial-ornament { mix-blend-mode: screen; }
.ring-a { animation: dialRotate 34s linear infinite; }
.ring-b { animation: dialRotateReverse 22s linear infinite; }
.hand-a { animation: handSweep 14s linear infinite; }
.hand-b { animation: handTick 9s steps(18, end) infinite; }

.section { isolation: isolate; }
.section-heading .eyebrow { margin-bottom: 18px; }

.service-grid { box-shadow: 0 24px 70px rgba(0,0,0,0.12); }
.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.018), rgba(255,255,255,0.005));
  transition: transform 360ms var(--ease-out), background 300ms ease, border-color 300ms ease, box-shadow 360ms ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--metal-bright);
  box-shadow: 0 0 16px rgba(212,178,122,0.35);
  transition: width 460ms var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(185,145,92,0.32);
  border-bottom: 1px solid rgba(185,145,92,0.32);
  transition: width 300ms ease, height 300ms ease;
}
.service-card:hover,
.service-card:focus-within { transform: translateY(-4px); background: rgba(185,145,92,0.045); box-shadow: 0 18px 45px rgba(0,0,0,0.18); }
.service-card:hover::before,
.service-card:focus-within::before { width: 100%; }
.service-card:hover::after { width: 26px; height: 26px; }
.service-card:active { transform: translateY(-1px); }

.diagnostic-panel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}
.diagnostic-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.025);
}
.symptom-button {
  position: relative;
  overflow: hidden;
  transition: background 260ms ease, color 260ms ease, transform 260ms var(--ease-out);
}
.symptom-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--metal-bright);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 260ms var(--ease-out);
}
.symptom-button.is-active::before { transform: scaleY(1); }
.symptom-button:active { transform: scale(0.985); }
.diagnostic-result { transition: opacity 180ms ease, transform 260ms var(--ease-out); }
.diagnostic-result.is-updating { opacity: 0.35; transform: translateY(6px); }

.process-track li { transition: background 300ms ease; }
.process-track li:hover { background: linear-gradient(180deg, rgba(185,145,92,0.035), transparent 80%); }
.process-track li::before { box-shadow: 0 0 0 5px rgba(185,145,92,0.07), 0 0 18px rgba(185,145,92,0.2); }

.technical-list li,
.spec-grid div,
.contact-cards > * { transition: background 240ms ease, border-color 240ms ease, transform 280ms var(--ease-out); }
.technical-list li:hover,
.spec-grid div:hover,
.contact-cards > *:hover { background: rgba(185,145,92,0.035); }

.case-card {
  overflow: hidden;
  transition: transform 400ms var(--ease-out), border-color 300ms ease, box-shadow 400ms ease;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 26px 68px rgba(0,0,0,0.22); }
.case-card .image-slot { transition: transform 700ms var(--ease-out), border-color 300ms ease; }
.case-card:hover .image-slot { transform: scale(1.012); }

.faq-list details { overflow: clip; }
.faq-list summary { transition: color 220ms ease, padding-left 260ms var(--ease-out), background 220ms ease; }
.faq-list summary:hover,
.faq-list summary:focus-visible { color: var(--metal-bright); padding-left: 10px; background: linear-gradient(90deg, rgba(185,145,92,0.035), transparent 70%); }
.faq-list details[open] summary { color: var(--metal-bright); }
.faq-list details[open] p { animation: faqIn 320ms var(--ease-out) both; }

.intake-form {
  position: relative;
  box-shadow: 0 28px 78px rgba(0,0,0,0.22);
}
.intake-form::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(185,145,92,0.055);
}
input, textarea, select {
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}
input:hover, textarea:hover, select:hover { border-color: rgba(185,145,92,0.3); }
input:focus, textarea:focus, select:focus { background: #0e100f; box-shadow: 0 0 0 3px rgba(185,145,92,0.09), inset 0 0 0 1px rgba(212,178,122,0.08); }

.contact-cards > * { position: relative; overflow: hidden; }
.contact-cards > *::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(185,145,92,0.28);
  border-right: 1px solid rgba(185,145,92,0.28);
}
.contact-cards a:hover { transform: translateY(-2px); }

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.992);
  filter: blur(3px);
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 760ms var(--ease-out) var(--reveal-delay, 0ms),
    filter 600ms ease var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

@keyframes dialRotate { to { transform: rotate(360deg); } }
@keyframes dialRotateReverse { to { transform: rotate(-360deg); } }
@keyframes handSweep { to { transform: rotate(342deg); } }
@keyframes handTick { to { transform: rotate(468deg); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (hover: none) {
  .service-card:hover,
  .case-card:hover,
  .image-slot:hover,
  .contact-cards a:hover { transform: none; box-shadow: initial; }
  .service-card:hover::after { width: 10px; height: 10px; }
}

@media (max-width: 1100px) {
  .hero-copy::before { left: -22px; }
  .service-card { min-height: 226px; }
}

@media (max-width: 820px) {
  :root { --container: min(704px, calc(100vw - 36px)); }
  .section-grid::before { width: min(704px, calc(100vw - 36px)); }

  body.menu-open { overflow: hidden; }
  .site-header::before {
    content: "";
    position: fixed;
    inset: 76px 0 0;
    background: rgba(4,5,5,0.62);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
  }
  .site-header.menu-open::before { opacity: 1; visibility: visible; pointer-events: auto; }

  .main-nav {
    display: flex;
    top: 88px;
    padding: 10px;
    background: rgba(12,14,13,0.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    transition: opacity 240ms ease, transform 320ms var(--ease-out), visibility 240ms ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .main-nav a { min-height: 52px; display: flex; align-items: center; font-size: 14px; }
  .main-nav a:not(.nav-cta)::after { left: 12px; right: auto; bottom: 7px; width: 0; }
  .main-nav a:not(.nav-cta):hover::after,
  .main-nav a:not(.nav-cta):focus-visible::after,
  .main-nav a[aria-current="true"]::after { width: 30px; right: auto; }
  .main-nav .nav-cta { justify-content: center; margin-top: 10px; background: var(--metal); color: #101110; font-weight: 700; }

  .menu-toggle { position: relative; overflow: hidden; transition: border-color 220ms ease, background 220ms ease; }
  .menu-toggle span { transition: transform 320ms var(--ease-out), opacity 220ms ease; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--line-strong); background: var(--metal-faint); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding: 54px 0 72px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy::before { display: none; }
  .hero-copy.reveal { opacity: 1; transform: none; filter: none; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; max-width: 760px; margin-bottom: 22px; }
  .hero-lead { order: 3; max-width: 690px; }
  .hero-actions { order: 4; margin-top: 26px; }
  .hero-visual { order: 5; margin-top: 44px; width: min(100%, 620px); align-self: center; }
  .hero-metrics { order: 6; width: 100%; margin-top: 38px; }
  .hero-visual.reveal.is-visible { transform: none; }

  .section { padding: 82px 0; }
  .section-heading.horizontal { margin-bottom: 38px; }
  .split-grid, .diagnostic-shell, .split-media-grid, .master-grid, .faq-grid, .intake-grid, .contacts-grid { gap: 38px; }
  .service-grid { gap: 1px; border: 0; background: var(--line); }
  .service-card { border: 0; min-height: 200px; }
  .diagnostic-panel { border-color: rgba(185,145,92,0.42); }
  .process-track { scrollbar-width: thin; scrollbar-color: var(--metal) transparent; scroll-snap-type: x proximity; }
  .process-track li { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 28px); }
  .section-grid::before { width: calc(100vw - 28px); }

  .header-inner { height: 64px; }
  .brand { gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 10.5px; letter-spacing: 0.11em; }
  .brand-copy small { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .site-header::before { inset: 64px 0 0; }
  .main-nav { top: 74px; left: 14px; right: 14px; }

  .hero { padding: 38px 0 60px; }
  .eyebrow { gap: 9px; margin-bottom: 16px; font-size: 10px; letter-spacing: 0.16em; }
  .eyebrow::after { width: 34px; }
  h1 { font-size: clamp(2.42rem, 12.1vw, 3.55rem); line-height: 0.98; letter-spacing: -0.04em; }
  h2 { font-size: clamp(2rem, 9.5vw, 2.82rem); line-height: 1.03; }
  h3 { font-size: 17px; }
  p { line-height: 1.62; }

  .hero-actions { gap: 10px; }
  .button { min-height: 52px; padding-inline: 16px; font-size: 10.5px; }
  .hero-visual { margin-top: 32px; }
  .image-slot-hero { max-height: 76svh; }
  .image-slot::before { inset: 11px; }
  .slot-index { top: 20px; left: 20px; }
  .slot-name { left: 20px; bottom: 38px; font-size: 9px; }
  .slot-meta { left: 20px; bottom: 20px; }
  .dial-ornament { right: -18px; bottom: -18px; width: 112px; }

  .hero-metrics { margin-top: 32px; border: 1px solid var(--line); }
  .hero-metrics div,
  .hero-metrics div:nth-child(2),
  .hero-metrics div:last-child { padding: 15px 16px; border-bottom: 1px solid var(--line); }
  .hero-metrics dd { margin-top: 5px; font-size: 12px; }

  .section { padding: 64px 0; }
  .section-heading.horizontal { gap: 8px; margin-bottom: 30px; }
  .section-heading.horizontal > p { font-size: 15px; }
  .section-body p { font-size: 16px; }
  .about-media { margin-top: 34px; }

  .service-grid { border: 0; gap: 10px; background: transparent; }
  .service-card {
    min-height: 0;
    padding: 22px 20px 24px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,0.018), rgba(255,255,255,0.006));
  }
  .service-card > span { margin-bottom: 24px; }
  .service-card p { font-size: 14px; }

  .diagnostic-shell { gap: 28px; }
  .diagnostic-intro p { margin-bottom: 0; }
  .symptom-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
  .symptom-button,
  .symptom-button:nth-child(even),
  .symptom-button:nth-last-child(-n+2),
  .symptom-button:last-child {
    min-height: 66px;
    padding: 12px 12px;
    border: 0;
    background: #0f1110;
    font-size: 13px;
    line-height: 1.28;
  }
  .symptom-button.is-active { background: var(--metal); }
  .diagnostic-result { padding: 24px 18px; }
  .result-topline { margin-bottom: 18px; }
  .result-topline strong { font-size: 22px; }
  .diagnostic-result > p { font-size: 14px; }
  .next-step { margin: 22px 0; padding: 18px 0 0 16px; }
  .next-step p { font-size: 14px; }

  .process-track { display: grid; grid-template-columns: 1fr; border-left: 1px solid var(--line); border-top: 0; padding-left: 22px; }
  .process-track li,
  .process-track li + li { padding: 22px 0 22px 16px; border-bottom: 1px solid var(--line); }
  .process-track li::before { left: -26px; right: auto; top: 28px; width: 7px; height: 7px; }
  .process-track h3 { margin-top: 12px; margin-bottom: 8px; }
  .process-track p { margin-bottom: 0; font-size: 14px; }

  .split-media-grid, .master-grid { gap: 30px; }
  .technical-list { margin-top: 28px; }
  .technical-list li { padding-block: 14px; font-size: 14px; }
  .spec-grid { margin-top: 28px; }
  .spec-grid div { padding: 16px; }
  .master-copy blockquote { margin-top: 28px; padding: 20px 0 0 18px; font-size: 1.28rem; }

  .case-grid { gap: 14px; }
  .case-content { padding: 22px 18px; }
  .case-content h3 { font-size: 22px; }
  .workbench-band { margin-top: 14px; }

  .faq-grid { gap: 24px; }
  .faq-list summary { min-height: 64px; display: flex; align-items: center; padding: 18px 42px 18px 0; font-size: 16px; line-height: 1.35; }
  .faq-list summary::after { top: 50%; transform: translateY(-50%); }
  .faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
  .faq-list details p { padding: 0 34px 20px 0; font-size: 14px; }

  .intake-grid { gap: 26px; }
  .intake-note { margin-top: 28px; }
  .intake-form { padding: 24px 16px 20px; }
  .intake-form::before { inset: 7px; }
  .field { margin-bottom: 14px; }
  .field label, .consent { font-size: 13px; }
  input, textarea, select { min-height: 52px; font-size: 16px; }
  textarea { min-height: 120px; }
  .consent { gap: 12px; line-height: 1.45; }
  .consent input { flex: 0 0 20px; width: 20px; height: 20px; }
  .form-submit-row { margin-top: 20px; gap: 12px; }

  .contacts-grid { gap: 26px; }
  .contact-cards { border: 0; gap: 8px; }
  .contact-cards > * { min-height: 104px; padding: 18px; border: 1px solid var(--line); }
  .contact-cards strong { font-size: 15px; }

  .site-footer { padding: 26px 0 32px; }
  .footer-grid { gap: 16px; }
}

@media (max-width: 380px) {
  :root { --container: calc(100vw - 24px); }
  .section-grid::before { width: calc(100vw - 24px); }
  h1 { font-size: clamp(2.25rem, 11.8vw, 3rem); }
  h2 { font-size: clamp(1.88rem, 9vw, 2.5rem); }
  .symptom-button { font-size: 12.5px; }
  .brand-copy strong { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-a, .ring-b, .hand-a, .hand-b { animation: none !important; }
  .hero-visual.reveal.is-visible { transform: none !important; }
  .site-header::after { transition: none !important; }
}


/* Connected site photography */
.image-slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  transform: scale(1.001);
  transition: transform 900ms var(--ease-out), filter 500ms ease;
}
.image-slot::before,
.image-slot::after { z-index: 1; }
.image-slot::before {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(212,178,122,0.09) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(212,178,122,0.09) 50%, transparent 50.2%);
  mix-blend-mode: screen;
}
.image-slot::after { opacity: 0.48; }
.image-slot:hover > img { transform: scale(1.028); }
.image-slot-hero > img { object-position: 48% 52%; }
.image-slot-wide[data-image-id="workshop"] > img { object-position: 50% 54%; }
.image-slot-portrait > img { object-position: 50% 42%; }
.image-slot-case > img { object-position: center; }
.image-slot[data-image-id="workbench"] > img { object-position: 50% 52%; }
@media (hover: none) {
  .image-slot:hover > img { transform: scale(1.001); }
}
@media (prefers-reduced-motion: reduce) {
  .image-slot > img { transition: none; }
}

/* ATELIER CHRONO — mobile stability and interaction refinement v3 */
html {
  background: #080909;
  color-scheme: dark;
  overscroll-behavior-y: none;
  scroll-padding-top: 88px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #080909;
  overscroll-behavior-y: none;
}

main,
.site-footer {
  background-color: #080909;
}

section[id] { scroll-margin-top: 88px; }

.hero {
  --hero-x: 72%;
  --hero-y: 24%;
}

.hero::after {
  inset: 0;
  background:
    radial-gradient(circle 16rem at var(--hero-x) var(--hero-y), rgba(212, 178, 122, 0.105), transparent 72%),
    conic-gradient(from 240deg at 72% 44%, transparent 0 76%, rgba(185, 145, 92, 0.025) 84%, transparent 92%);
  transition: none;
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  section[id] { scroll-margin-top: 76px; }

  /* Avoid mobile Safari/Chrome compositor flashes during fast scrolling */
  body::before {
    position: absolute;
    min-height: 100%;
  }

  .site-header {
    background: #090a0a;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header::before,
  .main-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header::before { background: rgba(4, 5, 5, 0.82); }
  .main-nav { background: #0c0e0d; }

  .reveal {
    filter: none;
    transform: translateY(14px);
    transition: opacity 520ms ease var(--reveal-delay, 0ms), transform 560ms var(--ease-out) var(--reveal-delay, 0ms);
  }

  .hero::after {
    background:
      radial-gradient(circle 14rem at 76% 24%, rgba(212, 178, 122, 0.07), transparent 74%),
      conic-gradient(from 240deg at 72% 44%, transparent 0 78%, rgba(185, 145, 92, 0.018) 86%, transparent 94%);
  }

  /* Keep editorial order consistent: copy first, photography second */
  .split-media-grid.reverse > :first-child { order: 2; }
  .split-media-grid.reverse > :last-child { order: 1; }

  .image-slot-wide { aspect-ratio: 16 / 9; }
  .image-slot::after { opacity: 0.28; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 24px); }
  .section-grid::before { width: calc(100vw - 24px); opacity: 0.72; }

  html { scroll-padding-top: 70px; }
  section[id] { scroll-margin-top: 70px; }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand img { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 10px; letter-spacing: 0.1em; }
  .menu-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
  .site-header::before { inset: calc(60px + env(safe-area-inset-top, 0px)) 0 0; }

  .main-nav {
    top: calc(68px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 82px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
  }
  .main-nav a { min-height: 50px; padding: 12px; }

  .hero { padding: 30px 0 52px; }
  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 11.6vw, 3.35rem);
    line-height: 0.99;
    letter-spacing: -0.038em;
  }
  .hero-lead { margin-bottom: 0; line-height: 1.56; }
  .hero-actions { margin-top: 22px; }
  .hero-visual { margin-top: 28px; }
  .image-slot-hero { max-height: none; aspect-ratio: 4 / 4.7; }
  .image-slot-hero > img { object-position: 48% 46%; }
  .dial-ornament { opacity: 0.58; }

  .hero-metrics {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
  }
  .hero-metrics div,
  .hero-metrics div:nth-child(2),
  .hero-metrics div:last-child {
    min-width: 0;
    padding: 12px 10px 13px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .hero-metrics div:last-child { border-right: 0; }
  .hero-metrics dt { font-size: 9px; }
  .hero-metrics dd { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }

  .section { padding: 56px 0; }
  .section-heading.horizontal { margin-bottom: 26px; }
  .section-heading.horizontal > p { font-size: 16px; line-height: 1.55; }
  .split-grid,
  .diagnostic-shell,
  .split-media-grid,
  .master-grid,
  .faq-grid,
  .intake-grid,
  .contacts-grid { gap: 26px; }

  .about-media { margin-top: 28px; }
  .image-slot-wide { aspect-ratio: 4 / 3; }
  .image-slot::before { opacity: 0.48; }
  .image-slot::after { display: none; }
  .image-slot { box-shadow: 0 20px 54px rgba(0,0,0,0.25); }

  .service-grid { gap: 8px; }
  .service-card { padding: 20px 18px 22px; }
  .service-card > span { margin-bottom: 18px; }
  .service-card h3 { margin-bottom: 8px; }
  .service-card p { font-size: 14px; line-height: 1.5; }

  .diagnostic-panel { border-color: rgba(185,145,92,0.34); }
  .symptom-list { gap: 1px; }
  .symptom-button,
  .symptom-button:nth-child(even),
  .symptom-button:nth-last-child(-n+2),
  .symptom-button:last-child {
    min-height: 62px;
    padding: 10px 11px;
    font-size: 13px;
  }
  .diagnostic-result { padding: 22px 16px; }
  .result-topline strong { font-size: 21px; line-height: 1.18; }
  .diagnostic-result .button { width: 100%; }

  .process-track { padding-left: 18px; }
  .process-track li,
  .process-track li + li { padding: 18px 0 18px 14px; }
  .process-track li::before { left: -22px; top: 24px; }

  .technical-list { margin-top: 22px; }
  .spec-grid { margin-top: 22px; }
  .master-copy blockquote { margin-top: 22px; font-size: 1.2rem; line-height: 1.4; }

  .case-grid { gap: 10px; }
  .case-content { padding: 20px 16px; }
  .case-content h3 { font-size: 21px; line-height: 1.2; }
  .workbench-band { margin-top: 10px; }

  .faq-list summary {
    min-height: 60px;
    padding-block: 16px;
  }
  .faq-list details p { padding-right: 18px; }

  .intake-form {
    padding: 20px 14px 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.2);
  }
  .intake-form::before { display: none; }
  .field { margin-bottom: 12px; }
  input, textarea, select { min-height: 50px; }
  textarea { min-height: 112px; }

  .contact-cards { gap: 6px; }
  .contact-cards > * { min-height: 94px; padding: 16px; gap: 12px; }

  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  :root { --container: calc(100vw - 20px); }
  .section-grid::before { width: calc(100vw - 20px); }

  .brand-copy strong { font-size: 9.5px; }
  .hero h1 { font-size: clamp(2.18rem, 11.3vw, 2.85rem); }
  .hero-metrics div,
  .hero-metrics div:nth-child(2),
  .hero-metrics div:last-child { padding-inline: 8px; }
  .hero-metrics dd { font-size: 10.5px; }
  .symptom-button { font-size: 12.5px; }
}
