/* ============================================================
   Austen Smart – quiet system (Nov 2026)
   White space, large tight type, one accent: CHOOSE TO lime.
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --paper: #ffffff;
  --grey: #f5f5f7;
  --mid: #6e6e73;
  --faint: #86868b;
  --rule: #d2d2d7;
  --lime: #b4ff00;
  --wrap: 1120px;
  --pad: 140px;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center > * { margin-left: auto; margin-right: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--faint); }
.h-big { font-size: clamp(2.2rem, 5.2vw, 4.2rem); max-width: 18ch; margin-top: 14px; }
.h-sec { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 12px; }
.sub { margin-top: 22px; font-size: 1.25rem; line-height: 1.5; color: var(--mid); max-width: 34em; }
.body-copy { margin-top: 26px; }
.body-copy p { font-size: 1.1rem; line-height: 1.6; color: var(--mid); }
.body-copy p + p { margin-top: 16px; }
.fine { margin-top: 28px; font-size: 0.85rem; line-height: 1.55; color: var(--faint); max-width: 44em; }
.tlink { font-weight: 500; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .2s; }
.tlink:hover { opacity: 0.6; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 1rem; padding: 14px 26px; border-radius: 980px; background: var(--ink); color: #fff; border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.on-ink .btn { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Surfaces ---------- */
.sec { padding: var(--pad) 0; }
.sec--tight { padding-top: 40px; }
.sec--rule { border-top: 1px solid var(--rule); }
.on-grey { background: var(--grey); }
.on-ink { background: #000; color: #fff; }
.on-ink .eyebrow { color: #a1a1a6; }
.on-ink .sub, .on-ink .body-copy p { color: #a1a1a6; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255,255,255,0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: rgba(0,0,0,0.08); }
.nav__inner { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.85rem; color: var(--mid); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links .nav__cta { color: #fff; background: var(--ink); padding: 7px 16px; border-radius: 980px; }
.nav__links .nav__cta:hover { color: #fff; background: #000; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }
.nav__toggle span { width: 20px; height: 1.5px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 200px 0 150px; }
.hero__title { font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -0.048em; line-height: 1.0; max-width: 13ch; margin-top: 18px; }
.hero__sub { margin-top: 30px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--mid); max-width: 36em; }
.hero__sub--left { margin-left: 0; }
.hero__note { margin-top: 22px; font-size: 0.9rem; color: var(--faint); }
.page-hero { padding: 180px 0 90px; }
.page-hero__title { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -0.045em; max-width: 15ch; margin-top: 14px; }
.page-hero .split { align-items: end; }

/* ---------- Lists ---------- */
.list { list-style: none; margin-top: 22px; }
.list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--rule); font-size: 0.98rem; line-height: 1.45; }
.list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.narrow .list { margin-top: 30px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.on-grey .quote { background: var(--paper); }
.quote blockquote { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.35; letter-spacing: -0.02em; }
.quote blockquote::before { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.quote figcaption span { color: var(--faint); }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.5rem; color: var(--faint); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--mid); padding: 0 0 24px; font-size: 1.02rem; line-height: 1.6; }

/* ---------- About columns ---------- */
.cols { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.col { border-top: 1px solid var(--ink); padding-top: 20px; }
.col__index { font-size: 0.85rem; font-weight: 600; color: var(--faint); }
.col p:not(.col__index) { margin-top: 12px; color: var(--mid); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.steps { list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 22px 0 22px 44px; border-top: 1px solid var(--rule); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 22px; width: 26px; height: 26px; border-radius: 50%; background: var(--grey); font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; }
.steps strong { font-family: var(--display); font-size: 1.15rem; }
.steps p { margin-top: 6px; color: var(--mid); font-size: 0.98rem; }
.booking__frame { border-radius: var(--radius); overflow: hidden; background: var(--grey); min-height: 720px; }
.booking__frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking__fallback { padding: 40px; }
.booking .fine { margin-top: 16px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal p { margin-top: 14px; color: var(--mid); font-size: 1.02rem; line-height: 1.65; }

/* ---------- CTA and footer ---------- */
.cta { background: var(--grey); }
.footer { background: var(--grey); border-top: 1px solid var(--rule); padding: 36px 0 44px; font-size: 0.78rem; color: var(--faint); line-height: 1.55; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.footer__nav a { color: var(--mid); font-size: 0.82rem; }
.footer__nav a:hover { color: var(--ink); }
.footer__co { margin-top: 18px; }
.footer__fca { margin-top: 8px; max-width: 60em; }
.footer__legal { margin-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root { --pad: 110px; }
  .cols { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .split, .book { grid-template-columns: 1fr; gap: 44px; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  :root { --pad: 84px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 140px 0 100px; }
  .page-hero { padding: 130px 0 60px; }
  .nav__toggle { display: flex; }
  .nav__links { position: fixed; inset: 56px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px 0 18px; transform: translateY(calc(-100% - 80px)); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .nav__links.is-open { transform: translateY(0); visibility: visible; transition: transform .3s var(--ease); }
  .nav__links a { padding: 14px 20px; font-size: 1rem; }
  .nav__links .nav__cta { margin: 10px 20px 0; text-align: center; padding: 12px; }
  .cols { grid-template-columns: 1fr; }
  .booking__frame, .booking__frame iframe { min-height: 0; height: 900px; }
}

/* ---------- Home: what I do and the case studies ---------- */
.hero__title { font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 17ch; }
.lede { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; letter-spacing: -0.02em; }
.intro { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.intro .lede { margin-top: 18px; }
.intro .lede + .lede { color: var(--mid); }
.duo { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 44px 40px; }
.card .fine { margin-top: 22px; }
.list li::before { background: var(--ink); box-shadow: none; }
.case { margin-top: 96px; }
.case__quote { margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--ink); }
.case__quote blockquote { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.02em; }
.case__quote blockquote::before { content: "“"; }
.case__quote blockquote::after { content: "”"; }
.case__quote figcaption { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.9rem; }
.case__quote figcaption span { color: var(--faint); }
.bw { filter: grayscale(1); }
.sec:not(.on-grey) .quote { background: var(--grey); }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr; } .case { margin-top: 64px; } }
@media (max-width: 640px) { .card { padding: 32px 24px; } }

/* ---------- Buttons: equal widths, 48px tall, 16px apart ---------- */
.btn { min-width: 168px; min-height: 48px; padding: 0 28px; font-weight: 600; text-align: center; }
.actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; }
.cta .hero__note { margin-top: 20px; }
@media (max-width: 640px) {
  .actions { display: grid; grid-auto-flow: row; }
  .btn { padding: 12px 20px; }
}

/* ---------- Links inside copy ---------- */
.body-copy a, .col p a, .quote figcaption a { color: var(--ink); border-bottom: 1px solid var(--faint); transition: border-color .2s; }
.body-copy a:hover, .col p a:hover, .quote figcaption a:hover { border-color: var(--ink); }
