:root {
  --ink: #101719;
  --paper: #f6f8f7;
  --white: #ffffff;
  --red: #d52f28;
  --aqua: #76e1dc;
  --yellow: #f4c64f;
  --line: #cbd3d1;
  --muted: #64706e;
  --radius: 6px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-weight: 760;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:not(.button):hover { color: var(--aqua); }

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-button { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
}
.button:hover { background: #c92a24; border-color: #c92a24; }
.button-small { min-height: 38px; padding: 7px 13px; }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-secondary:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { background: var(--aqua); border-color: var(--aqua); }
.button svg, .text-link svg { width: 18px; height: 18px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.hero {
  position: relative;
  min-height: min(780px, 82vh);
  display: flex;
  align-items: center;
  color: var(--white);
  background: url("assets/editor-desk.webp") center 48% / cover no-repeat;
  overflow: hidden;
}
.hero-shade { position: absolute; inset: 0; background: rgba(7, 18, 20, .68); }
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 36px auto 0;
  padding-right: min(42vw, 470px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow.dark { color: #a22520; }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-copy { max-width: 660px; margin: 26px 0 30px; font-size: clamp(17px, 2vw, 21px); color: #eef2f1; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-weight: 700;
}
.text-link:hover { color: var(--aqua); }
.hero-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--ink);
}
.service-item {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(22px, 3vw, 46px);
  border-right: 1px solid #3a4546;
}
.service-item:last-child { border-right: 0; }
.service-item > svg { width: 28px; height: 28px; color: var(--aqua); }
.service-number { color: #8f9b99; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-item strong, .service-item div span { display: block; }
.service-item strong { font-size: 16px; }
.service-item div span { color: #aeb8b6; font-size: 13px; margin-top: 2px; }

.brief-section { padding: 104px 24px 118px; }
.section-intro { width: min(var(--max), 100%); margin: 0 auto 42px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -28px; }
.section-intro h2, .gear-copy h2, .process-strip h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; }
.section-intro > p:last-child { margin: 0 0 6px; color: var(--muted); font-size: 17px; }
.brief-tool {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--aqua);
}
.brief-progress { margin-bottom: 38px; color: var(--muted); font-size: 13px; font-weight: 750; }
.progress-track { height: 4px; margin-top: 10px; background: #e2e8e6; overflow: hidden; }
.progress-track span { display: block; width: 33.333%; height: 100%; background: var(--red); transition: width .25s ease; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.1; }
.field-help { margin: 9px 0 24px; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card {
  position: relative;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}
.choice-card:has(input:checked) { border-color: var(--ink); background: #e9fafa; }
.choice-card input { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; accent-color: var(--red); }
.choice-icon { position: absolute; top: 18px; left: 20px; color: var(--red); }
.choice-icon svg { width: 28px; height: 28px; }
.choice-card strong { margin-bottom: 5px; font-size: 19px; }
.choice-card > span:last-child { color: var(--muted); font-size: 14px; }
.branch-fields { margin-top: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label:not(.choice-card, .check-line) { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 730; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9ba7a5;
  border-radius: 4px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(118,225,220,.5); }
.optional { color: var(--muted); font-size: 12px; font-weight: 500; }
.field-note { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 500; }
.check-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; cursor: pointer; }
.check-line input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--red); }
.form-actions { min-height: 50px; display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; }
.form-actions [data-back] { margin-right: auto; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #a22520; font-weight: 700; }
.confirmation { max-width: 620px; padding: 12px 0; }
.confirmation-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; color: var(--ink); background: var(--aqua); border-radius: 50%; }
.confirmation h3 { margin: 6px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.confirmation p:not(.eyebrow) { color: var(--muted); }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.gear-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; background: #173e40; color: var(--white); }
.gear-photo { min-height: 440px; }
.gear-photo img { width: 100%; height: 100%; object-fit: cover; }
.gear-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 100px); }
.gear-copy p:not(.eyebrow) { max-width: 560px; margin: 22px 0 28px; color: #d4e4e2; font-size: 17px; }

.process-strip { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 104px 0; }
.process-strip > div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: start; }
.process-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 58px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-strip li { min-height: 150px; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 26px 24px 12px 0; border-right: 1px solid var(--line); }
.process-strip li + li { padding-left: 24px; }
.process-strip li:last-child { border-right: 0; }
.process-strip li > span { color: var(--red); font: 800 13px ui-monospace, monospace; }
.process-strip strong { font-size: 17px; }
.process-strip li p { color: var(--muted); margin: 7px 0 0; font-size: 14px; }

.about-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 8vw, 110px); padding: 104px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: #173e40; }
.about-copy h2 { margin: 0 0 24px; font-size: clamp(34px, 5vw, 62px); line-height: 1.04; }
.about-copy > p:not(.eyebrow) { max-width: 720px; color: #d4e4e2; font-size: 17px; }
.contact-details { padding-top: 6px; }
.contact-details h3 { margin: 0 0 30px; font-size: clamp(26px, 3vw, 38px); }
.contact-details dl { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.contact-details dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-details dt { color: #a9c6c4; font-size: 13px; font-weight: 700; }
.contact-details dd { margin: 0; }
.contact-details address { font-style: normal; }
.contact-details a, footer a { color: inherit; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 10px 40px; padding: 48px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--ink); }
.footer-brand { grid-row: span 2; align-self: start; font-size: 19px; }
footer p { margin: 0; text-align: right; color: #c1ccca; }
.preview-note { font-size: 12px; }

@media (max-width: 820px) {
  .site-header { padding-inline: 20px; }
  .menu-button { display: inline-grid; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 22px;
    color: var(--ink);
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .button { color: var(--white); padding-inline: 14px; }
  .hero { min-height: 710px; background-position: 42% center; }
  .hero-content { width: calc(100% - 40px); padding-right: 0; margin-top: 50px; }
  .hero h1 { max-width: 620px; font-size: clamp(46px, 13vw, 74px); }
  .hero-copy { max-width: 590px; }
  .hero-cue { display: none; }
  .service-band { grid-template-columns: 1fr; }
  .service-item { min-height: 94px; border-right: 0; border-bottom: 1px solid #3a4546; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro .eyebrow { margin-bottom: -4px; }
  .gear-section, .about-section { grid-template-columns: 1fr; }
  .gear-copy { min-height: 490px; }
  .process-strip > div { grid-template-columns: 1fr; gap: 0; }
  .process-strip ol { grid-template-columns: 1fr; }
  .process-strip li, .process-strip li + li { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero { min-height: 690px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .brief-section { padding: 76px 16px 92px; }
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .choice-card { min-height: 162px; }
  .brief-tool { padding: 22px 18px; box-shadow: 6px 6px 0 var(--aqua); }
  .form-actions { flex-wrap: wrap; }
  .form-actions .button { flex: 1 1 auto; }
  .gear-photo { min-height: 330px; }
  .gear-copy { min-height: 460px; padding: 48px 22px; }
  footer { grid-template-columns: 1fr; }
  footer p { text-align: left; }
  .footer-brand { grid-row: auto; margin-bottom: 20px; }
  .about-section { padding: 76px 22px; }
  .contact-details dl > div { grid-template-columns: 74px 1fr; }
}

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