/* Fonts are served from this site, so no requests go to Google. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hanken-grotesk-latin-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hanken-grotesk-latin-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hanken-grotesk-latin-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: swaavy's direction. Quiet and carefully arranged, one grid, the work larger than the copy. Light only, by design. */
:root {
  --ivory: #f5f3ee;
  --charcoal: #232522;
  --olive: #68705a;
  --line: #dedcd5;
  --white: #ffffff;
  --text-2: #55584f;   /* secondary text, 6.5:1 on ivory */
  --tint: #ebe8e0;     /* placeholder fill */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 84rem;
  --gutter: clamp(16px, 4.5vw, 64px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; margin: 0; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.small { font-size: 0.9rem; color: var(--text-2); }
.label { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--text-2); }

/* Things swaavy still has to fill in */
.ph { background: var(--tint); color: var(--text-2); font-style: italic; padding: 0 0.3em; border-radius: 2px; }

/* Buttons: square, obvious */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.8rem 1.9rem; font: 500 0.98rem var(--sans); letter-spacing: 0.02em; text-decoration: none; border: 1px solid var(--charcoal); cursor: pointer; transition: background-color .2s, color .2s; }
.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: #3a3d38; }
.btn-line { background: transparent; color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--ivory); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; position: relative; }
.wordmark { font-family: var(--sans); font-size: 1.15rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2.2rem; font-size: 0.95rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav .btn { min-height: 2.6rem; padding: 0.5rem 1.4rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--charcoal); color: var(--charcoal); font: 500 0.95rem var(--sans); min-height: 2.75rem; padding: 0 1.1rem; cursor: pointer; }

/* Hero: what we do, then the transformation */
.hero { display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.3vw, 3.65rem); max-width: 19ch; line-height: 1.12; letter-spacing: -0.035em; }
.hero-side { display: grid; gap: 1.4rem; justify-items: start; }
.hero-side .sub { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.65; color: var(--text-2); max-width: 36ch; }
.ba { margin: 0; display: grid; gap: 0.8rem; }
.ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); }
.ba-item { display: grid; gap: 0.7rem; }
.ba-item img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: var(--white); }
.ba-item p { font-size: 0.95rem; }
.ba-item p span { font-weight: 600; margin-right: 0.5rem; }
.ba-item:last-child p span { color: var(--olive); }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 4vw, 3rem); }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.work figure { margin: 0; display: grid; gap: 0.8rem; }
.work img { width: 100%; aspect-ratio: 685 / 356; object-fit: cover; background: var(--white); }
.work figcaption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.work figcaption span:last-child { color: var(--text-2); }

/* Services */
.services { border-top: 1px solid var(--charcoal); }
.service { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); align-items: start; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.service li { padding-left: 1.1rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.45rem; height: 1px; background: var(--olive); }
.service .meta { display: grid; gap: 0.25rem; margin-top: 1rem; }
.price { display: grid; gap: 0.3rem; justify-items: start; }
.price b { font-family: var(--sans); font-weight: 400; font-size: 2rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price a { margin-top: 0.6rem; font-size: 0.95rem; }
.service-note { margin-top: 1.6rem; max-width: 46rem; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.6rem; align-content: start; border-top: 1px solid var(--charcoal); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(s); font-size: 0.85rem; color: var(--olive); letter-spacing: 0.06em; }
.steps p { color: var(--text-2); max-width: 24rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-copy { display: grid; gap: 1.2rem; max-width: 38rem; }
.about-copy .intro { font-family: var(--sans); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.3; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-copy { display: grid; gap: 1.1rem; align-content: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.5rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 500; }
input, select, textarea { font: inherit; color: var(--charcoal); background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 0.75rem 0.85rem; width: 100%; min-height: 3rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--charcoal); outline-offset: 0; border-color: var(--charcoal); }
textarea { min-height: 8rem; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.sent { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--line); padding: 1rem 1.2rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-size: 0.92rem; align-items: center; }
.foot-note { margin-top: 1.4rem; }

@media (max-width: 860px) {
  .hero-copy, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.5rem 3rem; }
  .work, .steps { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .js .nav { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.2rem; }
  .js .nav.open { display: flex; }
  .nav a:not(.btn) { padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; min-height: 3rem; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .hero-side, .hero-side .btn { width: 100%; }
  .ba-pair { gap: 0.6rem; }
  .ba-item p { font-size: 0.85rem; }
  .ba-item p span { display: block; margin: 0; }
}

/* Refinements from the local draft */
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.about-title { max-width: 18rem; }
.policy { max-width: 52rem; padding-block: 4rem; }
.policy h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-block: 1.5rem; }
.policy h2 { font-size: 1.7rem; margin-top: 2rem; }
.policy p, .policy ul { margin-top: 1rem; }
.preview-note, .draft { border-left: 2px solid var(--olive); padding-left: 1rem; }
button:disabled { opacity: .6; cursor: not-allowed; }
.work img { aspect-ratio: 3 / 2; }
@media (max-width: 380px) { .wordmark { font-size: .9rem; letter-spacing: .13em; } .menu-btn { padding-inline: .7rem; } }
@media (max-width: 720px) { .top .wrap { flex-wrap: wrap; } .nav { position: static; width: 100%; padding-inline: 0; } .js .nav { position: absolute; padding-inline: var(--gutter); } .menu-btn { display: none; } .js .menu-btn { display: inline-flex; } }

/* Policy pages */
.policy ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* Logo */
.wordmark:has(> img) { display: inline-block; line-height: 0; }
.wordmark img { display: block; height: 30px; width: auto; }
.foot-logo img { height: 52px; }
@media (max-width: 380px) { .wordmark img { height: 26px; } }

/* A compact introduction leaves room for the work. */
.hero-actions { display:flex; align-items:center; gap:1rem 1.5rem; flex-wrap:wrap; }
.hero-link { font-size:.95rem; font-weight:500; padding-block:.75rem; }
@media (max-width:720px) { .hero-actions { width:100%; } .hero-actions .btn { width:auto; } }

/* Editorial accents and a single, quiet entrance for each section. */
.eyebrow { font-size:.75rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--text-2); margin-bottom:1.2rem; }
.hero-heading h1 { max-width:19ch; }
.hero-heading h1 em, .about-title em { font-family:var(--serif); font-style:italic; font-weight:400; letter-spacing:-.025em; }
.about .eyebrow { text-transform:none; letter-spacing:0; font-family:var(--serif); font-size:1.3rem; }
.hero-side .sub { max-width:38ch; }
.hero-actions .hero-link { text-decoration-color:var(--line); transition:text-decoration-color .2s; }
.hero-actions .hero-link:hover { text-decoration-color:var(--charcoal); }
@keyframes studio-enter-left { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:translateX(0); } }
@keyframes studio-enter-right { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:translateX(0); } }
@media (prefers-reduced-motion:no-preference) {
  [data-reveal].is-entering { animation:studio-enter-left .85s cubic-bezier(.22,1,.36,1) both; }
  [data-reveal="right"].is-entering { animation-name:studio-enter-right; }
}
@media (max-width:600px) { .hero-heading h1 { font-size:clamp(2.25rem,8vw,3rem); } .eyebrow { font-size:.7rem; letter-spacing:.08em; } }

/* Insights-led homepage. Insights comes first, Studio follows further down. */
.hero-chart { margin:0; min-width:0; background:var(--white); border:1px solid var(--line); padding:clamp(1.2rem,3vw,2.2rem); display:grid; gap:.8rem; }
.hero-chart-label { font-size:.7rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--olive); }
.hero-chart-title { font-family:var(--serif); font-size:clamp(1.35rem,2.2vw,1.75rem); line-height:1.2; max-width:24ch; }
.hero-chart svg { display:block; width:100%; height:auto; overflow:visible; margin-top:.6rem; }
.hero-chart text { font-family:var(--sans); font-size:13px; fill:var(--text-2); font-variant-numeric:tabular-nums; }
.hero-chart .hc-cat { fill:var(--charcoal); font-size:14px; }
.hero-chart .hc-val { fill:var(--charcoal); font-size:20px; font-weight:600; }
.hero-chart .hc-val-in { fill:var(--ivory); }
.hero-chart .hc-axis { font-size:12px; }
.hc-grid { stroke:var(--line); stroke-width:1; }
.hc-bar-base { fill:var(--charcoal); }
.hc-bar-focus { fill:var(--olive); }
.hero-chart figcaption { font-size:.75rem; line-height:1.5; color:var(--text-2); border-top:1px solid var(--line); padding-top:.8rem; }

.questions { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:0 clamp(1.5rem,3vw,2.5rem); border-top:1px solid var(--charcoal); }
.questions li { font-family:var(--serif); font-style:italic; font-size:clamp(1.25rem,1.9vw,1.55rem); line-height:1.3; padding-block:1.2rem; border-bottom:1px solid var(--line); }

#insights { background:#eeece5; }
.packages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.5rem,3vw,2.5rem); }
.package { display:flex; flex-direction:column; gap:1.1rem; border-top:1px solid var(--charcoal); padding-top:1.4rem; min-width:0; }
.package h3 { font-size:1.6rem; }
.package-line { color:var(--text-2); }
.package ul { margin:0; padding:0; list-style:none; display:grid; gap:.4rem; font-size:.94rem; }
.package li { padding-left:1.1rem; position:relative; }
.package li::before { content:""; position:absolute; left:0; top:.8em; width:.45rem; height:1px; background:var(--olive); }
.package .price { margin-top:auto; grid-template-columns:auto 1fr; }
.pilot-note { margin-top:2.2rem; padding:1.1rem 1.3rem; background:var(--ivory); border-left:2px solid var(--olive); max-width:46rem; }
.pilot-note b { font-weight:600; }

.sample-intro { max-width:44rem; font-size:1.1rem; margin-bottom:2rem; }
.findings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.finding { background:var(--white); padding:clamp(1.2rem,2.5vw,1.8rem); display:grid; gap:.7rem; align-content:start; }
.finding-num { font-family:var(--serif); font-size:clamp(2.2rem,3.6vw,3rem); line-height:1; font-variant-numeric:lining-nums tabular-nums; }
.finding-num span { font-size:.45em; color:var(--text-2); font-style:italic; margin-inline:.2em; }
.finding p:not(.finding-num) { font-size:.95rem; color:var(--text-2); }
.sample-links { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem 1.5rem; margin-top:2rem; }
.sample-links .btn { gap:1.5rem; font-size:.9rem; }
.sample-source { margin-top:1.2rem; }

.steps-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.studio-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(2rem,5vw,4.5rem); align-items:center; margin-bottom:clamp(2.5rem,5vw,4rem); }
.studio-split .comparison { aspect-ratio:5/4; }
.studio-copy { display:grid; gap:1.1rem; max-width:36rem; }
.studio-copy .intro { font-size:clamp(1.25rem,2vw,1.5rem); line-height:1.4; }
.studio-copy p:not(.intro) { color:var(--text-2); }

@media (max-width:1000px) { .steps-4 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:860px) {
  .packages, .findings-grid, .studio-split, .steps-4 { grid-template-columns:minmax(0,1fr); }
  .package { padding-top:1.2rem; }
}
@media (max-width:680px) { .hero-chart text.hc-cat { font-size:20px; } .hero-chart .hc-axis { font-size:17px; } .hero-chart .hc-val { font-size:24px; } }

/* Insights path: sample, packages, then the brief. Studio is a related service. */
.package-extra { margin-top:1.8rem; font-weight:500; }
#insights .sample-links { margin-top:1.8rem; }
.studio-line { margin-top:1.8rem; padding-top:1.2rem; border-top:1px solid var(--line); color:var(--text-2); max-width:46rem; }
.studio-line a { color:var(--charcoal); font-weight:500; }
.sample-ask { margin-top:2rem; font-weight:500; }
.policy-table { overflow-x:auto; margin-top:1rem; }
.policy table { width:100%; border-collapse:collapse; font-size:.95rem; background:var(--white); border:1px solid var(--line); }
.policy th, .policy td { text-align:left; vertical-align:top; padding:.7rem .9rem; border-bottom:1px solid var(--line); }
.policy th { font-weight:500; font-size:.85rem; color:var(--text-2); border-bottom-color:var(--charcoal); }
