/* BIZ MEDIA – site
   Layout: viewfinder. A dark stage where content is framed by camera corner
   marks, and timecodes, durations and aspect ratios act as the page's metadata. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #111113;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --line: #2c2c32;
  --fg: #f4f4f2;
  --muted: #a7a7af;
  --red: #ff4d2e;
  --red-hover: #ff6b51;
  --on-red: #111113;

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --radius: 12px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ink);
}

a { color: inherit; }
img, svg, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: var(--on-red); padding: 10px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Logo ---------- */
.mark { width: 28px; height: 28px; flex: none; }
.mark .k { fill: var(--fg); }
.mark .r { fill: var(--red); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--display); font-size: 20px;
  letter-spacing: -0.01em; white-space: nowrap;
}
.brand b { font-weight: 700; }
.brand span { font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(17, 17, 19, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn { white-space: nowrap; }
@media (max-width: 440px) {
  .nav { gap: 12px; }
  .nav .btn-sm { padding: 0 14px; font-size: 13px; }
  .brand { font-size: 18px; }
}
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-weight: 700; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.035em; }
h1 em { font-style: normal; color: var(--red); }
h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.7vw, 19px); color: var(--muted); max-width: 54ch; margin: 0; }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Viewfinder frame */
.viewfinder {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--surface-2), var(--surface-2)),
    linear-gradient(var(--surface-2), var(--surface-2)),
    linear-gradient(var(--surface-2), var(--surface-2)),
    linear-gradient(var(--surface-2), var(--surface-2));
  background-size: 1px 100%, 1px 100%, 100% 1px, 100% 1px;
  background-position: 33.333% 0, 66.666% 0, 0 33.333%, 0 66.666%;
  background-repeat: no-repeat;
  border-radius: 6px;
  overflow: hidden;
}
.viewfinder.vertical { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--fg); }
.corner.tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.vf-label {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.vf-label.tl { top: 22px; left: 50px; }
.vf-label.tr { top: 22px; right: 50px; color: var(--muted); }
.vf-label.bl { bottom: 22px; left: 50px; color: var(--muted); }
.vf-label.br { bottom: 22px; right: 50px; color: var(--muted); }
.vf-center { position: absolute; inset: 0; display: grid; place-items: center; }
.vf-center .mark { width: clamp(64px, 12vw, 110px); height: auto; }
.vf-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--fg);
  display: grid; place-items: center; background: rgba(17, 17, 19, .55);
}
@media (max-width: 480px) {
  .vf-label.tr, .vf-label.br { display: none; }
  .vf-label.tl { left: 46px; } .vf-label.bl { left: 46px; }
}

/* Spec strip */
.spec-strip {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 18px 0 0;
  border-top: 1px solid var(--line); list-style: none;
  font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.spec-strip li { display: inline-flex; gap: 8px; }
.spec-strip b { color: var(--fg); font-weight: 500; }

/* ---------- Sections ---------- */
.band { border-top: 1px solid var(--line); padding-block: clamp(64px, 9vw, 112px); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { border-top: 2px solid var(--fg); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.service p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; list-style: none; padding-left: 0; }
.chip {
  font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--fg);
  border: 1px solid var(--line); padding: 8px 10px; border-radius: 6px;
}
@media (max-width: 900px) { .services { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Framed callout */
.callout {
  position: relative; border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px 48px; align-items: center;
}
.callout .corner { border-color: var(--red); }
.callout .corner.tl { top: -1px; left: -1px; }
.callout .corner.tr { top: -1px; right: -1px; }
.callout .corner.bl { bottom: -1px; left: -1px; }
.callout .corner.br { bottom: -1px; right: -1px; }
.callout-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.callout-copy p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 820px) { .callout { grid-template-columns: minmax(0, 1fr); } }

/* Why list */
.why { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.why > div {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 40px;
  padding-block: 24px; border-top: 1px solid var(--line);
}
.why > div:last-child { border-bottom: 1px solid var(--line); }
.why dt { font: 600 20px/1.3 var(--display); }
.why dd { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 720px) { .why > div { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; background: var(--surface);
}
.step::before { content: "0" counter(step); font: 500 13px/1 var(--mono); color: var(--red); letter-spacing: .08em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step .dur { margin-top: auto; padding-top: 10px; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.package {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0; background: var(--surface);
}
.package.featured { border-color: var(--red); }
.package-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-red); background: var(--red); padding: 6px 8px; border-radius: 4px; }
.price { font: 700 clamp(34px, 3.4vw, 42px)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font: 500 15px/1 var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-from { font-size: 14px; color: var(--muted); margin: 0 0 -8px; }
.package ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.package li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: 15px; }
.package li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 1px; background: var(--red); }
.package .btn { margin-top: auto; }
.packages-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.packages-note p { margin: 0; }
@media (max-width: 960px) { .packages { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 22px; font: 600 19px/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--red); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 66ch; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact-copy p { margin: 0; color: var(--muted); max-width: 48ch; }
.email-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 14px 18px; background: var(--surface);
}
.email-box span { font: 500 17px/1.3 var(--mono); flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; user-select: all; }
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.next-steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
.next-steps b { font: 500 12px/1.9 var(--mono); color: var(--fg); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); background: var(--surface); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--fg); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink); color: var(--fg);
  font: 400 16px/1.4 var(--body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d7d86; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot small { color: var(--muted); font-size: 13px; flex: 1 1 220px; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.5em; }
.form-status[data-state="ok"] { color: #7ee2a8; }
.form-status[data-state="error"] { color: #ff8a73; }
.form-status[data-state="info"] { color: var(--fg); }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.legal { margin: 20px 0 0; font-size: 13px; }

/* Legal / long text */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.prose-title { font-size: clamp(36px, 5vw, 56px); margin-top: 4px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 28px; }
.prose p, .prose li { color: var(--muted); max-width: 68ch; }
.prose p { margin: 0; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--fg); }

/* Real estate page */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile p { margin: 0; color: var(--muted); }
.tile .chip { align-self: flex-start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.split p { margin: 0 0 16px; color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.fatigue { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fatigue-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 54px; gap: 12px; align-items: center; font: 500 12px/1.2 var(--mono); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.fatigue-bar { height: 10px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.fatigue-bar i { display: block; height: 100%; background: var(--fg); }
.fatigue-row.fresh .fatigue-bar i { background: var(--red); }
.fatigue-cap { margin: 0; font-size: 13px; color: var(--muted); }

.placeholder-case {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 10px;
}
.placeholder-case p { margin: 0; color: var(--muted); max-width: 60ch; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.kpi { border-top: 1px solid var(--line); padding-top: 12px; }
.kpi b { display: block; font: 700 28px/1.1 var(--display); color: var(--fg); }
.kpi span { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .kpis { grid-template-columns: minmax(0, 1fr); } }
