:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #545454;
  --line: #dedede;
  --surface: #f6f6f6;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.6 Heebo, Arial, sans-serif;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { color: var(--white); background: var(--ink); }
#top, #wholesale, #contact { scroll-margin-block-start: 84px; }

.wrap { width: min(100% - 48px, 1140px); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: 8px 24px auto auto;
  z-index: 20;
  padding: 8px 14px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-nav {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  background: var(--white);
  border-block-end: 1px solid var(--line);
}
.nav-inner, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.nav-inner a, .footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.wordmark {
  font: 800 1.13rem/1 Heebo, Arial, sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
}
.jump-link { gap: .6em; font-weight: 600; }
.jump-link span { font-size: 1.2em; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  padding-block: clamp(36px, 6vw, 76px);
}
.hero-copy { max-width: 520px; }
.eyebrow {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  margin-block-end: 14px;
}
.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.055em;
}
.hero-tagline {
  margin-block: clamp(22px, 4vw, 38px) clamp(20px, 3vw, 30px);
  font-size: clamp(1.4rem, 3.4vw, 2.25rem);
  line-height: 1.3;
  font-weight: 500;
}
.intro {
  max-width: 34ch;
  margin-block: 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 12px 19px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.hero-booking-note { margin-block-start: 9px; color: var(--muted); font-size: .87rem; }
.btn-primary:hover { background: #383838; }
.product { width: min(100%, 320px); justify-self: center; }
.product img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  filter: grayscale(1);
}
.product figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-block-start: 11px;
  color: var(--muted);
  font-size: .82rem;
}
.product figcaption bdi { color: var(--ink); font-weight: 700; letter-spacing: .12em; }

.pilot, .counter-demo, .wholesale, .contact { border-block-start: 1px solid var(--line); }
.pilot, .counter-demo, .wholesale { padding-block: clamp(32px, 5.5vw, 64px); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.steps li { border-block-start: 1px solid var(--line); padding-block-start: 16px; }
.steps p, .contact p { color: var(--muted); margin-block-start: 8px; }

.counter-intro { margin-block: 10px 24px; color: var(--muted); }
.counter-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.counter-scenes img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1);
  background: var(--surface);
}
.counter-scenes figcaption { padding-block-start: 14px; }
.counter-scenes blockquote { margin: 6px 0 0; font-size: clamp(1.06rem, 2.2vw, 1.25rem); }

.calculator { margin-block: 26px 40px; padding: clamp(16px, 4vw, 36px); background: var(--surface); }
.calc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 24px;
}
.calc-head p { color: var(--muted); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
.slider label { display: block; font-weight: 600; }
.slider output { display: block; color: var(--muted); }
.slider input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.slider-limits { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.results > div { min-width: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); }
.results dt { color: var(--muted); font-size: .86rem; }
.results dd { font-size: clamp(1.16rem, 3vw, 2rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.results .profit-note { font-size: .86rem; font-weight: 400; color: var(--muted); }
.note { margin-block-start: 14px; font-size: .87rem; color: var(--muted); }

.price-list h3 { margin-block-end: 16px; }
.price-list table { width: 100%; border-collapse: collapse; text-align: start; }
.price-list th, .price-list td { padding: 12px 9px; text-align: start; border-block-end: 1px solid var(--line); }
.price-list thead th { border-block-start: 1px solid var(--line); background: var(--surface); }
.price-list tbody th { font-weight: 600; }
.price-list bdi { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list small { display: block; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding-block: clamp(32px, 5.5vw, 64px);
}
.contact-portrait {
  display: block;
  width: 100%;
  height: auto;
}
.contact .eyebrow { margin-block: 0 10px; }
.contact-copy .btn-primary { margin-block-start: 18px; }
.footer { border-block-start: 1px solid var(--line); font-size: .9rem; }
.footer .wordmark { font-size: .85rem; }

.pilot-dialog-open { overflow: hidden; }
.pilot-dialog {
  position: fixed;
  width: min(510px, 100% - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(16px, 5vw, 32px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: auto;
}
.pilot-dialog::backdrop { background: #0009; }
.pilot-close {
  position: absolute;
  inset: 10px auto auto 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.pilot-dialog-brand { margin-block-end: 10px; padding-inline-end: 52px; color: var(--muted); font-size: .88rem; }
.pilot-dialog h2 { margin-block-end: 8px; font-size: clamp(1.5rem, 5vw, 2rem); }
.pilot-notice {
  margin-block: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border-inline-start: 2px solid var(--ink);
}
.pilot-dialog form { margin-block-start: 16px; }
.pilot-calendar { padding: 10px; border: 1px solid var(--line); }
.pilot-calendar-header { display: flex; align-items: center; justify-content: space-between; margin-block-end: 8px; }
.pilot-month-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: pointer;
}
.pilot-month-nav:disabled { color: #777; cursor: default; }
.pilot-calendar-weekdays, .pilot-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
}
.pilot-calendar-day {
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--white);
  cursor: pointer;
}
.pilot-calendar-day[aria-current="date"] { border-color: var(--ink); }
.pilot-calendar-day:not(:disabled):hover { background: var(--surface); }
.pilot-calendar-day[aria-pressed="true"],
.pilot-calendar-day[aria-pressed="true"]:hover { color: var(--white); background: var(--ink); }
.pilot-calendar-day:disabled { color: #777; cursor: default; }
.pilot-date-error { margin-block-start: 8px; font-weight: 700; }
.pilot-selected-date, .pilot-date-note { margin-block-start: 8px; font-size: .9rem; }
.pilot-message-preview { margin-block-start: 8px; padding: 10px; background: var(--surface); }
.pilot-continue { display: flex; justify-content: center; margin-block-start: 14px; }
.pilot-continue[aria-disabled="true"] { opacity: .58; cursor: default; }
.pilot-copy {
  display: block;
  min-height: 44px;
  margin-inline: auto;
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}
.pilot-copy-status:empty { display: none; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .calc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 590px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .counter-scenes { grid-template-columns: 1fr; }
  .product { width: min(67vw, 250px); }
  .contact { grid-template-columns: 1fr; }
  .contact-portrait { width: min(100%, 180px); }
}

@media (max-width: 380px) {
  .wordmark { font-size: 1rem; }
  .jump-link { font-size: .9rem; }
  .price-list th, .price-list td { padding-inline: 5px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
