:root {
  --navy: #06162a;
  --gold: #c99a4b;
  --ink: #07182e;
  --paper: #ffffff;
  --muted: #66717f;
  --line: rgb(6 22 42 / 14%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  color-scheme: only light;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.presentation { background: #f3f4f4; color: var(--ink); }
.presentation-header, .presentation-footer { display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(24px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.presentation-header p, .presentation-footer { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.presentation-brand, .site-brand { display: inline-flex; align-items: center; gap: 12px; }
.presentation-brand strong, .site-brand strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .16em; }
.presentation-brand small, .site-brand small { display: block; margin-top: 3px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .48em; }
.mark { position: relative; width: 46px; height: 43px; overflow: hidden; flex: none; }
.mark img { position: absolute; width: 125px; max-width: none; left: -40px; top: -26px; }
.presentation-intro { max-width: 1100px; padding: clamp(72px, 10vw, 148px) clamp(24px, 5vw, 80px) 68px; }
.section-number { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.presentation-intro h1 { max-width: 930px; margin: 20px 0 28px; font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.presentation-intro > p:last-child { max-width: 680px; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 clamp(24px, 5vw, 80px) 100px; }
.concept-card { background: white; border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.concept-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgb(6 22 42 / 12%); }
.concept-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; object-position: center; }
.concept-card:nth-child(3) img { object-position: center 58%; }
.concept-meta { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-top: 1px solid var(--line); }
.concept-meta strong, .concept-meta small { display: block; }
.concept-meta strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.concept-meta small { margin-top: 6px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.concept-meta > span:last-child { color: var(--gold); font-size: 24px; }
.recommendation { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 40px; align-items: start; padding: 80px clamp(24px, 5vw, 80px); background: var(--navy); color: white; }
.recommendation > span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.recommendation h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); font-weight: 400; }
.recommendation p { max-width: 560px; margin: 0 0 26px; color: rgb(255 255 255 / 70%); line-height: 1.7; }
.text-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid var(--gold); color: var(--gold); }
.presentation-footer { border-top: 1px solid var(--line); border-bottom: 0; }

.viewer { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 3vw, 48px); background: #020b14; color: rgb(255 255 255 / 68%); font-size: 12px; }
.viewer div { display: flex; align-items: center; gap: 24px; }
.viewer div > span { color: rgb(255 255 255 / 35%); text-transform: uppercase; letter-spacing: .12em; }
.viewer a { transition: color .2s ease; }
.viewer a:hover, .viewer a[aria-current="page"] { color: var(--gold); }
.capture .viewer { display: none; }

.site-header { height: 104px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding: 0 clamp(24px, 4vw, 72px); position: relative; z-index: 10; background: var(--navy); color: white; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.site-brand .wordmark strong { color: white; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 2.5vw, 44px); font-size: 14px; }
.desktop-nav a { position: relative; padding: 14px 0; }
.desktop-nav a::after { content: ""; position: absolute; right: 100%; bottom: 6px; left: 0; height: 1px; background: var(--gold); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); border-radius: 0; background: transparent; color: var(--gold); cursor: pointer; font-size: 14px; letter-spacing: .01em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
.mobile-nav { display: none; }

.hero { min-height: 440px; position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 22 42 / 94%) 0%, rgb(6 22 42 / 72%) 40%, rgb(6 22 42 / 6%) 76%), url("assets/showroom-modern.jpg") center / cover no-repeat; }
.hero-copy { position: relative; z-index: 1; width: min(700px, 52vw); min-height: 440px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 52px 0 52px clamp(32px, 5vw, 80px); }
.hero h1 { max-width: 680px; margin: 0 0 24px; font-family: var(--serif); font-size: clamp(54px, 4.8vw, 74px); font-weight: 400; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy > p { max-width: 520px; margin: 0 0 34px; color: rgb(255 255 255 / 82%); font-size: clamp(17px, 1.55vw, 22px); line-height: 1.55; }
.hero-action { min-height: 54px; }

.info-band { padding: 24px clamp(24px, 5vw, 80px) 34px; background: white; }
.info-band > h2 { margin: 0 auto 20px; text-align: center; font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); font-weight: 400; }
.info-band > h2::after { content: ""; display: block; width: 90px; height: 1px; margin: 13px auto 0; background: var(--gold); }
.info-list { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1220px; margin: auto; }
.info-list article { display: grid; grid-template-columns: 54px 1fr; gap: 4px 18px; align-items: center; padding: 12px clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.info-list article:first-child { border-left: 0; }
.line-icon { grid-row: 1 / 3; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.line-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.info-list h3 { margin: 0; font-size: 16px; font-weight: 600; }
.info-list p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
[data-direction="precision"] .info-list p { display: none; }

.showroom-section { display: grid; grid-template-columns: minmax(320px, .75fr) 1.5fr; min-height: 360px; background: var(--navy); color: white; }
.showroom-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 54px clamp(32px, 5vw, 80px); }
.showroom-copy h2 { max-width: 500px; margin: 0 0 20px; font-family: var(--serif); font-size: clamp(38px, 4vw, 64px); font-weight: 400; line-height: 1.03; }
.showroom-copy p { max-width: 500px; margin: 0 0 28px; color: rgb(255 255 255 / 70%); line-height: 1.65; }
.showroom-image { min-height: 360px; background: url("assets/showroom-event.jpg") center / cover no-repeat; }
.visit-section { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 72px clamp(24px, 5vw, 80px); }
.visit-section h2, .events-section h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); font-weight: 400; }
.visit-section p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; }
.events-section { padding: 72px clamp(24px, 5vw, 80px); background: #f3f4f4; text-align: center; }
.events-section > p:first-child { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.events-section > p:last-child { max-width: 700px; margin: auto; color: var(--muted); line-height: 1.65; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 34px clamp(24px, 5vw, 80px); background: var(--navy); color: white; border-top: 1px solid var(--gold); }
.site-footer > p { margin: 0; color: rgb(255 255 255 / 64%); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .prototype-note { text-align: right; }
.appointment-dialog { max-width: 680px; border: 0; padding: 0; color: var(--ink); box-shadow: 0 32px 100px rgb(0 0 0 / 30%); }
.appointment-dialog::backdrop { background: rgb(2 11 20 / 72%); backdrop-filter: blur(4px); }
.appointment-dialog { width: min(680px, calc(100% - 32px)); }
.dialog-panel { position: relative; padding: 50px; }
.eyebrow { color: var(--gold) !important; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.appointment-dialog h2 { margin: 16px 0; font-family: var(--serif); font-size: 44px; font-weight: 400; }
.appointment-dialog p { color: var(--muted); line-height: 1.65; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.form-grid label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.form-grid input, .form-grid select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 0; padding: 0 13px; background: white; color: var(--ink); font: inherit; }
.form-grid .form-wide { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.appointment-dialog .button { margin-top: 22px; color: var(--navy); }
.appointment-success { padding: 18px 0; }
.dialog-close { position: absolute; top: 16px; right: 18px; border: 0; background: none; cursor: pointer; font-size: 28px; }

[data-direction="gallery"] { --paper: #fff; --muted: #5e6874; }
[data-direction="gallery"] .site-header { background: white; color: var(--ink); border-color: var(--line); }
[data-direction="gallery"] .site-brand .wordmark strong { color: var(--ink); }
[data-direction="gallery"] .mark img { content: url("assets/logo-light.jpg"); }
[data-direction="gallery"] .hero { min-height: 474px; background: white; color: var(--ink); }
[data-direction="gallery"] .hero-media { left: 35%; background-image: url("assets/dental-clinic.jpg"); background-position: center; }
[data-direction="gallery"] .hero-copy { width: 42%; min-height: 474px; padding-top: 44px; padding-bottom: 44px; background: linear-gradient(90deg, white 78%, rgb(255 255 255 / 0)); }
[data-direction="gallery"] .hero h1 { font-size: clamp(54px, 5vw, 78px); }
[data-direction="gallery"] .hero-copy > p { color: var(--muted); }
[data-direction="gallery"] .info-band { padding-top: 26px; }
[data-direction="gallery"] .showroom-section { background: #f3f4f4; color: var(--ink); }
[data-direction="gallery"] .showroom-copy p { color: var(--muted); }
[data-direction="gallery"] .showroom-image { filter: saturate(.25); }

[data-direction="touring"] { --paper: #fff; --muted: #6a625b; }
[data-direction="touring"] .site-header { background: white; color: var(--ink); border-color: var(--line); }
[data-direction="touring"] .site-brand .wordmark strong { color: var(--ink); }
[data-direction="touring"] .mark img { content: url("assets/logo-light.jpg"); }
[data-direction="touring"] .header-action { background: var(--gold); color: white; }
[data-direction="touring"] .hero { min-height: 440px; }
[data-direction="touring"] .hero-media { background-image: linear-gradient(90deg, rgb(6 22 42 / 92%) 0%, rgb(6 22 42 / 68%) 44%, rgb(6 22 42 / 8%) 78%), url("assets/showroom-classic.jpg"); background-position: center 58%; }
[data-direction="touring"] .hero-copy { min-height: 440px; width: min(690px, 52vw); }
[data-direction="touring"] .hero h1 { font-size: clamp(54px, 4.8vw, 74px); }
[data-direction="touring"] .info-band { background: #f7f4f0; }
[data-direction="touring"] .showroom-section { background: var(--navy); }

@media (max-width: 1000px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-card img { aspect-ratio: 16 / 9; }
  .recommendation { grid-template-columns: 1fr; }
  .recommendation > span { margin-bottom: -20px; }
  .desktop-nav, .header-action { display: none; }
  .site-header { grid-template-columns: 1fr auto; height: 86px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { width: 38px; height: 38px; display: grid; align-content: center; gap: 6px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 28px; height: 1px; background: currentColor; }
  .mobile-nav nav { position: absolute; top: 86px; right: 0; left: 0; display: grid; gap: 20px; padding: 30px; background: var(--navy); color: white; box-shadow: 0 20px 40px rgb(0 0 0 / 20%); }
  .viewer + .site-header .mobile-nav nav { top: 86px; }
  .mobile-nav nav .button { margin-top: 8px; }
  .hero-copy { width: 62vw; }
  .info-list article { grid-template-columns: 1fr; text-align: center; }
  .line-icon { grid-row: auto; margin: 0 auto 10px; }
  .showroom-section { grid-template-columns: 1fr; }
  .showroom-image { min-height: 420px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .site-brand { justify-self: center; }
  .site-footer .prototype-note { text-align: center; }
}

@media (max-width: 680px) {
  .presentation-header { align-items: flex-start; }
  .presentation-header p { max-width: 120px; text-align: right; line-height: 1.5; }
  .presentation-intro { padding-top: 76px; }
  .presentation-intro h1 { font-size: 50px; }
  .concept-grid { padding-right: 16px; padding-left: 16px; }
  .recommendation { padding: 58px 24px; }
  .presentation-footer { align-items: flex-start; gap: 28px; }
  .viewer { height: auto; padding-top: 10px; padding-bottom: 10px; }
  .viewer div { gap: 12px; }
  .viewer div > span { display: none; }
  .site-header { padding: 0 20px; }
  .site-brand strong { font-size: 16px; }
  .hero, [data-direction="gallery"] .hero, [data-direction="touring"] .hero { min-height: 720px; display: flex; flex-direction: column; }
  .hero-media, [data-direction="gallery"] .hero-media { position: relative; inset: auto; left: auto; height: 330px; order: 2; background-position: 60% center; }
  [data-direction="precision"] .hero-media { background-image: url("assets/showroom-modern.jpg"); }
  [data-direction="gallery"] .hero-media { background-image: url("assets/dental-clinic.jpg"); }
  [data-direction="touring"] .hero-media { background-image: url("assets/showroom-classic.jpg"); background-position: center 58%; }
  .hero-copy, [data-direction="gallery"] .hero-copy, [data-direction="touring"] .hero-copy { width: 100%; min-height: 390px; padding: 54px 24px; order: 1; background: var(--navy); }
  [data-direction="gallery"] .hero-copy { background: white; }
  .hero h1, [data-direction="gallery"] .hero h1, [data-direction="touring"] .hero h1 { font-size: 49px; }
  .info-band { padding: 46px 24px; }
  .info-list { grid-template-columns: 1fr; }
  .info-list article, .info-list article:first-child { grid-template-columns: 58px 1fr; text-align: left; border: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .line-icon { grid-row: 1 / 3; margin: 0; }
  .showroom-copy { padding: 54px 24px; }
  .showroom-image { min-height: 300px; }
  .visit-section { grid-template-columns: 1fr; padding: 58px 24px; }
  .visit-section .button { justify-self: start; }
  .events-section { padding: 58px 24px; }
  .dialog-panel { padding: 46px 28px 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
