:root {
  --black: #000000;
  --white: #FFFFFF;
  --mist: #F2F2F0;
  --stone: #BDBDB9;
  --graphite: #5E5E5B;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 50; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(2.75rem, 6.5vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; }
h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--graphite); max-width: 36em; }
.muted { color: var(--graphite); }
.measure { max-width: 34em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--serif); font-size: 1.75rem; text-decoration: none; line-height: 1; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 0.95rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; background: none; border: 1px solid var(--black); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 0.9rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px;
  background: var(--black); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 0.98rem; border: 1px solid var(--black); cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.nav .btn { padding: 10px 20px; color: var(--white); }
.nav .btn:hover { text-decoration: none; }

/* Sections */
section { padding: clamp(64px, 9vw, 128px) 0; }
.band { background: var(--mist); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 44em; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 0; }
.hero + section { padding-top: clamp(56px, 7vw, 96px); }
.hero-text { display: grid; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.hero-text h1 { max-width: 14em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Before / after */
.compare { position: relative; overflow: hidden; background: var(--mist); --pos: 50%; aspect-ratio: 16 / 9; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after-img { clip-path: inset(0 0 0 var(--pos)); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.compare .handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--white); pointer-events: none;
  display: grid; place-items: center;
}
.compare .handle svg { width: 26px; height: 26px; }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare input[type="range"]:focus-visible + .divider + .handle { outline: 2px solid var(--black); outline-offset: 3px; }
.compare .tag {
  position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; pointer-events: none;
}
.compare .tag.before { left: 16px; background: var(--black); color: var(--white); }
.compare .tag.after { right: 16px; background: var(--white); color: var(--black); }
.compare-caption { margin-top: 14px; font-size: 0.9rem; color: var(--graphite); }

/* Two paths */
.paths { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.path { display: grid; gap: 18px; text-decoration: none; }
.path:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.path img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.path h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.1; }
.path p { color: var(--graphite); max-width: 30em; }
.path .more { font-weight: 600; text-decoration: underline; }

/* Work grid */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 24px); }
.work figure { margin: 0; display: grid; gap: 10px; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { font-size: 0.9rem; color: var(--graphite); }
.work .w1 { grid-column: span 7; } .work .w1 img { aspect-ratio: 4 / 3; }
.work .w2 { grid-column: span 5; } .work .w2 img { aspect-ratio: 4 / 5; }
.work .w3 { grid-column: span 4; } .work .w3 img { aspect-ratio: 4 / 5; }
.work .w4 { grid-column: span 8; } .work .w4 img { aspect-ratio: 16 / 10; }
.work .w5 { grid-column: span 6; } .work .w5 img { aspect-ratio: 4 / 3; }
.work .w6 { grid-column: span 6; } .work .w6 img { aspect-ratio: 4 / 3; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--black); }
.about .copy { display: grid; gap: 20px; }
.about .copy p { max-width: 32em; }
.promises { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--stone); max-width: 36em; }
.promises li { padding: 18px 0; border-bottom: 1px solid var(--stone); display: grid; gap: 4px; }
.promises h3 { font-size: 1.05rem; }
.promises p { color: var(--graphite); font-size: 0.98rem; }

/* Service rows */
.page-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; margin-top: clamp(32px, 5vw, 56px); }
.rows { display: grid; gap: clamp(56px, 8vw, 112px); }
.row { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.row:nth-child(even) .media { order: 2; }
.row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row .copy { display: grid; gap: 16px; }
.row .copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.row ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--graphite); display: grid; gap: 6px; }

/* Lists of spaces / services in text */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stone); }
.spaces div { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--stone); display: grid; gap: 6px; }
.spaces p { color: var(--graphite); font-size: 0.98rem; }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--black); padding-top: 18px; display: grid; gap: 8px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.steps p { color: var(--graphite); font-size: 0.98rem; }

.spec { font-size: 0.85em; opacity: 0.8; }

/* Post-production comparisons */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.pairs .compare { aspect-ratio: 3 / 2; }

.tiers { display: grid; gap: 0; border-top: 1px solid var(--stone); }
.tier { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--stone); }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
.tier .detail { display: grid; gap: 14px; }
.tier .includes { color: var(--graphite); }
.tier .how { font-size: 0.95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--stone); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 24px; color: var(--graphite); max-width: 40em; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact .copy { display: grid; gap: 18px; align-content: start; }
.contact address { font-style: normal; color: var(--graphite); }
form { display: grid; gap: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--black);
  background: var(--white); border: 1px solid var(--stone); border-radius: 0; padding: 13px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.form-status { font-size: 0.95rem; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--stone); padding: 40px 0 48px; font-size: 0.92rem; color: var(--graphite); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: baseline; }
.site-footer .wordmark { color: var(--black); font-size: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    background: var(--white); padding: 24px var(--gutter) 32px; border-bottom: 1px solid var(--stone);
    font-size: 1.1rem;
  }
  .nav.open { display: flex; }
  .paths, .about, .row, .contact, .tier, .pairs { grid-template-columns: 1fr; }
  .path:nth-child(2) { margin-top: 0; }
  .row:nth-child(even) .media { order: 0; }
  .spaces { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work .w1, .work .w2, .work .w3, .work .w4, .work .w5, .work .w6 { grid-column: span 12; }
  .work .w2 img, .work .w3 img { aspect-ratio: 4 / 3; }
  .page-hero img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .compare.hero-compare { aspect-ratio: 4 / 5; }
  .fields, .spaces, .steps { grid-template-columns: 1fr; }
  .spaces div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
