/* HomeView — marketing site styles */

:root {
  /* Paper */
  --bg: #EEEAE0;
  --bg-band: #F4F1E9;
  --surface: #F6F3EC;
  --surface-sunk: #E6E1D4;
  --white: #FFFFFF;
  --line: #DCD6C8;
  --line-input: #CFC8B8;

  /* Ink */
  --ink: #151513;
  --ink-soft: #3D3B36;
  --text: #4A4741;
  --text-muted: #5E5B53;
  --on-ink: #F6F3EC;

  /* Copper */
  --accent: #8E5A2B;
  --accent-hover: #6B4220;
  --accent-mark: #C47A3A;
  --accent-on-dark: #D9965A;
  --accent-tint: #F7E3CF;

  /* Night (sample viewer, dark cards, footer) */
  --night: #0F110F;
  --night-text: #F2EFE7;
  --night-muted: #B5B0A4;
  --night-soft: #C9C4B8;
  --night-faint: #8A867C;
  --night-label: #9A958A;
  --viewer: #1B2524;
  --viewer-line: #2C3836;
  --viewer-btn-line: #3A4846;
  --viewer-text: #E4E8E6;
  --viewer-sub: #9AA5A2;
  --mint: #5DBE94;
  --mint-ink: #0F1A16;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1240px;
  --gutter: 24px;
  --section-y: 96px;
  --header-h: 72px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img, video, svg { display: block; max-width: 100%; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

input, select, textarea, button { font: inherit; color: inherit; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p, figure { margin: 0; }

section[id] { scroll-margin-top: var(--header-h); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--accent-on-dark); }

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow--rule::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.h2--card {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
}

.body-lg { font-size: 17px; line-height: 1.6; color: var(--text); }
.body { font-size: 15px; line-height: 1.6; color: var(--text); }

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: #2B2A26; color: var(--on-ink); }

.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-ink); }

.btn--block { width: 100%; min-height: 56px; }

.btn--caps {
  min-height: 44px;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Brand ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand__word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 234, 224, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav .brand { margin-right: auto; }

.nav__links {
  display: flex;
  gap: 4px 24px;
  font-size: 14px;
}

.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 12px 0;
}
.nav__links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero__copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__copy .lead { max-width: 520px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero__note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero__media { flex: 1.25 1 480px; min-width: 0; }

.screen {
  background: var(--ink);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(40, 30, 15, 0.45);
}

.screen video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
}

.media-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

/* ---------- Problem band ---------- */

.band {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 24px 64px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.statement p {
  flex: 1 1 360px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.statement p + p { color: var(--accent); }

/* ---------- How it works ---------- */

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step__media {
  height: 260px;
  background: var(--surface-sunk);
  overflow: hidden;
}

.step__media--phone {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.step__media--phone img {
  width: 168px;
  height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: 22px 22px 0 0;
  border: 6px solid var(--ink);
  border-bottom: 0;
}

.step__media--model { background: var(--viewer); }
.step__media--model img { width: 100%; height: 100%; object-fit: cover; }

.step__media--share {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.share-link svg { flex: none; }
.share-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.embed-code {
  margin: 0;
  background: var(--ink);
  color: #CFC9BA;
  border-radius: 10px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow: hidden;
}

.step__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Sample viewer ---------- */

.dark {
  background: var(--night);
  color: var(--night-text);
}

.sample-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 40px;
}

.sample-head .section-head { max-width: 600px; }

.sample-head p {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--night-muted);
}

.viewer-frame {
  background: var(--viewer);
  border: 1px solid var(--viewer-line);
  border-radius: 16px;
  overflow: hidden;
}

.viewer-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 560px;
  max-height: 86vh;
  border: 0;
}

.footage-head { margin-top: 72px; }

.footage-head .h3--lg {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pair {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pair__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pair__images img,
.pair__images video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: var(--viewer);
}

.pair figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pair figcaption strong { font-size: 18px; font-weight: 600; }
.pair figcaption span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night-label);
  text-align: right;
}

.pairs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
}

.sync-toggle {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--viewer-btn-line);
  background: transparent;
  color: var(--viewer-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.sync-toggle:hover { border-color: var(--accent-on-dark); }

.fineprint-dark {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night-faint);
}

/* ---------- Audiences ---------- */

.audiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.audience {
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audience > p { font-size: 16px; line-height: 1.6; color: var(--text); }

.audience--dark {
  background: var(--ink);
  color: var(--night-text);
}
.audience--dark > p { color: var(--night-soft); }

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stat__num {
  font-size: 64px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.stat__num span { color: var(--accent); }

.stat p {
  flex: 1 1 220px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.audience > .source { font-size: 11px; line-height: 1.5; color: var(--text-muted); }

.audience__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-top: auto;
}

/* ---------- Pricing ---------- */

.band--top { border-bottom: 0; }

.pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}

.pricing__copy {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing__copy .body-lg { max-width: 460px; }

.price-card {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 8px 8px 0 var(--ink);
}

.price-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-card__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag {
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.price__amount {
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price__note { font-size: 15px; color: var(--text-muted); }

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 2px; }

.terms { font-size: 12px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Booking ---------- */

.book {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.book__copy {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 15px;
}
.contact a { color: var(--ink); }
.contact span { color: var(--text-muted); }

.service-area {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-area h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.service-area p { font-size: 15px; line-height: 1.6; color: var(--text); }

.book__panel {
  flex: 1.4 1 460px;
  min-width: 0;
  padding: 36px;
  border-radius: 20px;
}

.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.form .full { grid-column: 1 / -1; }

.roles {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roles legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-input);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.choice input { margin: 0; accent-color: var(--accent); }
.choice:hover { border-color: var(--ink-soft); }
.choice:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.choice input:focus { outline: none; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-input);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  font-weight: 400;
}

.field input, .field select { height: 48px; padding: 0 14px; }
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }

.form-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-size: 14px;
}

.sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0;
  text-align: center;
}
.sent h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; outline: none; }
.sent p { font-size: 15px; color: var(--text); }
.sent .btn { margin-top: 12px; min-height: 44px; padding: 0 20px; }

[hidden] { display: none !important; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--night-soft);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer__brand .brand { color: var(--night-text); }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}
.footer__meta a { color: var(--night-text); }
.footer__meta a:hover { color: var(--accent-on-dark); }

.text-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--accent); }

/* ---------- Agent page ---------- */

.sample-note {
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-size: 13px;
  line-height: 1.5;
}
.sample-note p { padding-top: 10px; padding-bottom: 10px; }
.sample-note a { color: var(--accent-hover); font-weight: 600; }

.agent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.agent { display: flex; align-items: center; gap: 20px; min-width: 0; }

.avatar {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent-on-dark);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.agent__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.agent__brokerage { font-size: 15px; color: var(--text-muted); }

.agent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.agent-main { padding-top: 64px; padding-bottom: var(--section-y); }

.listings-head { margin-bottom: 32px; }
.listings-head p { max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--text); }

.listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.listing { overflow: hidden; display: flex; flex-direction: column; }

.listing__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--viewer);
  cursor: pointer;
  overflow: hidden;
}
.listing__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s ease;
}
.listing__media:hover img { transform: scale(1.03); }
.listing__media:focus-visible { outline-offset: -3px; }

.badge-3d, .listing__status {
  position: absolute;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.badge-3d { left: 14px; background: var(--mint); color: var(--mint-ink); }
.listing__status { right: 14px; background: rgba(15, 17, 15, 0.82); color: var(--viewer-text); }
.listing__status--new { background: var(--accent-tint); color: var(--accent-hover); }

.listing__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.listing__price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.listing__title { font-size: 17px; font-weight: 600; }
.listing__meta { font-size: 14px; color: var(--text); }
.listing__place { font-size: 14px; color: var(--text-muted); }

.listing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.agent-foot { border-top: 1px solid var(--line); font-size: 14px; }
.agent-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.agent-foot a { color: var(--ink-soft); }
.agent-foot .brand { color: var(--ink); }
.agent-foot__by { font-size: 13px; color: var(--text-muted); margin-right: 4px; }

/* 3D tour pop-up */
html:has(dialog[open]) { overflow: hidden; }

.tour {
  width: min(1200px, calc(100vw - 32px));
  height: min(840px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--viewer-line);
  border-radius: 16px;
  background: var(--viewer);
  color: var(--night-text);
  overflow: hidden;
}
.tour[open] { display: flex; flex-direction: column; }
.tour::backdrop { background: rgba(15, 17, 15, 0.6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

.tour__bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 20px;
  background: var(--night);
  border-bottom: 1px solid var(--viewer-line);
}
.tour__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}
.tour__title { font-size: 15px; font-weight: 600; }

.tour__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--viewer-btn-line);
  background: transparent;
  color: var(--viewer-text);
  cursor: pointer;
}
.tour__close:hover { border-color: var(--mint); }

.tour iframe { flex: 1; width: 100%; border: 0; display: block; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  :root { --section-y: 72px; --gutter: 20px; --header-h: 64px; }

  .nav { padding-top: 10px; padding-bottom: 10px; }
  .nav__links { display: none; }

  .hero { padding-top: 48px; gap: 40px; }
  .lead { font-size: 17px; }

  .steps { margin-top: 40px; }

  .viewer-frame { border-radius: 12px; }
  .viewer-frame iframe { min-height: 640px; }

  .footage-head { margin-top: 56px; }

  .audience { padding: 28px; }
  .stat__num { font-size: 56px; }

  .price-card { padding: 28px; box-shadow: 6px 6px 0 var(--ink); }
  .price__amount { font-size: 60px; }

  .book__panel { padding: 24px; }

  .agent-head { padding-top: 32px; padding-bottom: 32px; }
  .avatar { width: 64px; height: 64px; font-size: 21px; }
  .agent-main { padding-top: 48px; }
  .listings { grid-template-columns: 1fr; }

  .tour { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
}

@media (max-width: 400px) {
  .hero__actions .btn { width: 100%; }
  .media-meta { flex-direction: column; gap: 4px; }
}
