/* Outgrow Studio — built from Paper "Outgrow studio" → Home v25 Work-first (Desktop) */

:root {
  --bg: #F1EDE5;
  --ink: #1E1B17;
  --ink-2: #111110;
  --muted: #7B756B;
  --faint: #A9A298;
  --line: #D8D1C4;
  --line-soft: #ECECEA;
  --dark: #1E1B17;
  --dark-line: #3A342D;
  --dark-muted: #8C857A;
  --dark-dim: #6E675D;
  --dark-body: #B5AEA2;
  --cream: #F1EDE5;
  --jade: #0B7A52;
  --gutter: 24px;
  --h-xl: 640px;
  --h-l: 600px;
  --h-m: 440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; }

.pad { padding-inline: var(--gutter); }
.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px; line-height: 16px; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase;
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--jade); flex-shrink: 0; }
.dark { background: var(--dark); color: var(--cream); }
.dark .mono { color: var(--dark-muted); }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.nav-side { display: flex; align-items: center; gap: 28px; width: 420px; font-size: 14px; font-weight: 500; line-height: 18px; }
.nav-right { justify-content: flex-end; }
.nav-side a:hover { opacity: .6; }
.wordmark { display: block; line-height: 0; }
.wordmark img { height: 22px; width: auto; }
.dot-link { display: inline-flex; align-items: center; gap: 8px; }

/* Hero */
.hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: 72px;
}
.hero h1 { max-width: 980px; font-size: 92px; line-height: 88px; letter-spacing: -.055em; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; width: 300px; flex-shrink: 0; padding-bottom: 8px; }
.hero-side p { color: var(--muted); font-size: 15px; line-height: 22px; text-align: right; }
.pill {
  background: var(--ink); color: var(--cream);
  border-radius: 999px; padding: 12px 18px;
  font-size: 14px; font-weight: 500; line-height: 18px;
  transition: background .2s;
}
.pill:hover { background: var(--jade); }

/* Featured */
.featured { padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.featured-img {
  height: 760px; border-radius: 6px; padding: 24px;
  background: url(/v25/holmesly.jpg) 50% 60% / cover no-repeat;
  display: flex; align-items: flex-start;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border-radius: 999px; padding: 8px 14px 8px 10px;
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; line-height: 14px;
}
.featured-cap { display: flex; align-items: flex-start; gap: 24px; }
.cap-name { width: 344px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; line-height: 20px; }
.cap-name b { font-weight: 500; }
.cap-name span { color: var(--muted); }
.cap-line { flex: 1; color: var(--ink-2); font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 34px; }
.cap-line span { color: var(--faint); }
.cap-stat { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.cap-stat div { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cap-stat strong { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 44px; }
.cap-stat span { color: var(--muted); font-size: 14px; line-height: 18px; }

/* Clients */
.clients { padding-top: 96px; }
.clients-head {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-soft); padding-top: 40px; margin-bottom: 32px;
}
.logos {
  display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between;
  align-items: center; row-gap: 28px; column-gap: 24px; opacity: .75; padding-bottom: 24px;
}
.logos img { width: auto; max-width: 150px; object-fit: contain; }
.logo-png { filter: brightness(0) contrast(98%); opacity: .62; }

/* Statement */
.statement { margin-top: 120px; padding-top: 140px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 64px; }
.split { display: flex; gap: 24px; }
.split > :first-child { width: 344px; flex-shrink: 0; }
.statement .label { padding-top: 14px; }
.statement-text { flex: 1; font-size: 64px; line-height: 68px; letter-spacing: -.045em; }
.statement-text span, .founder-main h2 span { color: var(--dark-dim); }
.principles { flex: 1; display: flex; gap: 24px; border-top: 1px solid var(--dark-line); padding-top: 28px; }
.principles > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.principles b { font-weight: 600; line-height: 20px; }
.principles p { color: var(--dark-muted); line-height: 22px; }

/* Work */
.work { padding-top: 160px; display: flex; flex-direction: column; gap: 20px; }
.work-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.work-head b { font-weight: 600; }
.work-head-right { width: 100px; }
.row { display: flex; gap: 20px; }
.gap-top { padding-top: 100px; }
.g1 { flex: 1 1 0; }
.g2 { flex: 2 1 0; }
.drop-200 { padding-top: 200px; }
.drop-160 { padding-top: 160px; }
.proj { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.proj .img { width: 100%; border-radius: 6px; background-size: cover; background-position: 50%; }
.proj .img.bordered { border: 1px solid var(--line-soft); }
.proj-cap { display: flex; gap: 20px; line-height: 20px; }
.proj-cap div { display: flex; flex-direction: column; gap: 2px; }
.proj-cap b { font-weight: 500; }
.proj-cap span { color: var(--muted); }
.proj-cap .stat { padding-top: 6px; }
.kind { flex-shrink: 0; }
.w160 { width: 160px; }
.w120 { width: 120px; }

/* Services */
.services { display: flex; padding-top: 180px; padding-bottom: 160px; }
.services-intro { width: 440px; flex-shrink: 0; padding-right: 80px; display: flex; flex-direction: column; gap: 14px; }
.services-intro h2 { color: var(--ink-2); font-size: 20px; letter-spacing: -.03em; line-height: 24px; }
.services-intro h2 span { color: var(--faint); }
.services-intro p { color: var(--muted); line-height: 22px; }
.acc { flex: 1; border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; display: flex; align-items: center; padding: 22px 0; cursor: pointer;
  font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 48px;
}
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc .num { width: 110px; flex-shrink: 0; }
.acc .name { flex: 1; }
.acc small { font-size: 15px; letter-spacing: 0; line-height: 20px; font-weight: 600; vertical-align: middle; }
.acc i, .faq i { font-style: normal; font-weight: 400; }
.acc i { font-size: 32px; line-height: 32px; }
.acc i::before, .faq i::before { content: "+"; }
.acc details[open] i::before, .faq details[open] i::before { content: "–"; }
.acc-body { display: flex; gap: 24px; padding: 2px 0 32px 110px; }
.acc-img { width: 420px; height: 260px; flex-shrink: 0; border-radius: 4px; background: 50% 30% / cover no-repeat; }
.acc-body > div:last-child { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 16px; font-weight: 500; line-height: 23px; max-width: 560px; }
.acc ul { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; line-height: 20px; }
.acc li::before { content: "· "; }

/* Founder */
.founder { padding-block: 120px; display: flex; gap: 64px; }
.founder-side { width: 344px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.founder-side img { width: 344px; height: 420px; object-fit: cover; border-radius: 6px; }
.founder-side div { display: flex; flex-direction: column; gap: 4px; }
.founder-side b { font-weight: 600; line-height: 20px; }
.founder-side span { color: var(--dark-muted); font-size: 14px; line-height: 20px; }
.founder-main { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.founder-main h2 { font-size: 48px; letter-spacing: -.04em; line-height: 54px; }
.founder-copy { max-width: 720px; display: flex; flex-direction: column; gap: 16px; color: var(--dark-body); font-size: 17px; line-height: 27px; }
.facts { display: flex; flex-wrap: wrap; gap: 48px; border-top: 1px solid var(--dark-line); padding-top: 32px; }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts strong { font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 36px; }
.facts span { color: var(--dark-muted); font-size: 14px; line-height: 20px; }

/* Process + FAQ */
.twocol { display: flex; gap: 24px; padding-top: 160px; }
.twocol-side { width: 344px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.twocol-side h2 { font-size: 40px; letter-spacing: -.04em; line-height: 44px; }
.twocol-side h2 span { color: var(--faint); }
.twocol-side p { color: var(--muted); line-height: 22px; max-width: 280px; }
.list { flex: 1; border-top: 1px solid var(--ink); }
.step { display: flex; gap: 32px; border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.step .mono { width: 120px; flex-shrink: 0; padding-top: 8px; }
.step .mono.jade { color: var(--jade); }
.step div { display: flex; flex-direction: column; gap: 8px; }
.step h3 { font-size: 28px; letter-spacing: -.03em; line-height: 32px; }
.step p, .faq p { color: var(--muted); font-size: 16px; line-height: 24px; max-width: 640px; }
.step p { max-width: 560px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 28px;
}
.faq i { font-size: 24px; line-height: 24px; }
.faq details[open] summary { padding-bottom: 12px; }
.faq details p { padding-bottom: 28px; }

/* Footer */
.footer { margin-top: 160px; padding-top: 120px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; }
.link-btn { color: var(--cream); font-size: 15px; font-weight: 500; line-height: 20px; }
.link-btn:hover, .socials a:hover { color: #2FCF8C; }
.email {
  display: block; white-space: nowrap; border-bottom: 1px solid var(--dark-line); padding-bottom: 36px;
  font-size: clamp(40px, 11.4vw, 168px); font-weight: 700; letter-spacing: -.07em; line-height: .95;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 18px; }
.footer-bottom .muted { color: var(--dark-muted); width: 340px; flex-shrink: 0; }
.footer-bottom .right { text-align: right; }
.socials { display: flex; gap: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --h-xl: 52vw; --h-l: 48vw; --h-m: 36vw; }
  .hero h1 { font-size: 72px; line-height: 70px; }
  .statement-text { font-size: 52px; line-height: 56px; }
  .founder-main h2 { font-size: 40px; line-height: 46px; }
  .featured-img { height: 56vw; }
  .cap-name, .cap-stat { width: 220px; }
  .split > :first-child, .twocol-side, .founder-side { width: 280px; }
  .founder-side img { width: 280px; height: 340px; }
  .services-intro { width: 320px; padding-right: 40px; }
  .acc summary { font-size: 36px; line-height: 40px; }
  .acc .num { width: 80px; }
  .acc-body { padding-left: 80px; }
  .acc-img { width: 300px; height: 200px; }
  .logos { grid-template-columns: repeat(4, auto); }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; --h-xl: 70vw; --h-l: 70vw; --h-m: 70vw; }
  .nav-side { width: auto; }
  .nav > .nav-side:first-child { display: none; }
  .hero { flex-direction: column; align-items: flex-start; padding-top: 48px; gap: 24px; }
  .hero h1 { font-size: 44px; line-height: 44px; }
  .hero-side { width: auto; align-items: flex-start; }
  .hero-side p { text-align: left; }
  .featured-img { height: 110vw; background-position: 40% 60%; padding: 12px; }
  .featured-cap { flex-direction: column; gap: 12px; }
  .cap-name, .cap-stat { width: auto; }
  .cap-stat, .cap-stat div { align-items: flex-start; text-align: left; }
  .cap-line { font-size: 22px; line-height: 28px; }
  .clients { padding-top: 64px; }
  .clients-head { flex-direction: column; gap: 6px; }
  .logos { grid-template-columns: repeat(3, 1fr); justify-items: start; }
  .logos img { max-width: 100px; }
  .split, .twocol, .founder, .services { flex-direction: column; gap: 24px; }
  .split > :first-child, .twocol-side, .founder-side, .services-intro { width: auto; padding-right: 0; }
  .split > span:empty { display: none; }
  .statement { margin-top: 80px; padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .statement-text { font-size: 34px; line-height: 38px; }
  .principles { flex-direction: column; }
  .work { padding-top: 100px; }
  .row { flex-direction: column; gap: 48px; }
  .gap-top { padding-top: 48px; }
  .drop-200, .drop-160 { padding-top: 0; }
  .spacer { display: none; }
  .w160, .w120 { width: 96px; }
  .services { padding-top: 100px; padding-bottom: 100px; }
  .acc summary { font-size: 28px; line-height: 32px; padding: 18px 0; }
  .acc .num { width: 52px; }
  .acc i { font-size: 24px; }
  .acc-body { flex-direction: column; padding-left: 0; }
  .acc-img { width: 100%; height: 56vw; }
  .founder { padding-block: 80px; }
  .founder-side img { width: 100%; height: auto; aspect-ratio: 344 / 420; }
  .founder-main h2 { font-size: 30px; line-height: 36px; }
  .facts { flex-direction: column; gap: 24px; }
  .facts strong { font-size: 26px; line-height: 30px; }
  .twocol { padding-top: 100px; }
  .twocol-side h2 { font-size: 32px; line-height: 36px; }
  .step { flex-direction: column; gap: 8px; }
  .step .mono { padding-top: 0; }
  .step h3 { font-size: 24px; line-height: 28px; }
  .faq summary { font-size: 18px; line-height: 24px; padding: 20px 0; }
  .footer { margin-top: 100px; padding-top: 80px; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .muted { width: auto; }
  .footer-bottom .right { text-align: left; }
  .socials { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Case studies ---------- */
a.proj .img { transition: opacity .25s; }
a.proj:hover .img { opacity: .88; }
.proj-cap .cs-link { color: var(--ink); font-weight: 500; padding-top: 6px; }
a.proj:hover .cs-link { color: var(--jade); }

.cs-head { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.back { color: var(--muted); font-size: 14px; font-weight: 500; }
.back:hover { color: var(--ink); }
.cs-head h1 { font-size: 120px; line-height: 110px; letter-spacing: -.06em; }
.cs-line { max-width: 820px; color: var(--ink-2); font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 34px; }
.cs-meta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 16px; }
.cs-meta div { display: flex; flex-direction: column; gap: 4px; line-height: 20px; }
.cs-meta span { color: var(--muted); font-size: 14px; }
.cs-meta b { font-weight: 500; }
.cs-hero { display: block; width: 100%; border-radius: 6px; background: #E6E0D4; aspect-ratio: 16 / 9; object-fit: cover; }

.cs-body { display: flex; gap: 24px; padding-top: 96px; }
.cs-index { width: 344px; flex-shrink: 0; position: sticky; top: 24px; align-self: flex-start; display: flex; flex-direction: column; gap: 28px; }
.cs-about { color: var(--muted); line-height: 22px; }
.cs-index nav { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.cs-index nav a { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cs-index nav a span { color: var(--faint); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; padding-top: 2px; width: 20px; }
.cs-index nav a:hover { color: var(--jade); }
.cs-index .pill { align-self: flex-start; }
.cs-chapters { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 120px; }
.chapter { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 24px; }
.chapter-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.chapter-head h2 { font-size: 40px; letter-spacing: -.04em; line-height: 44px; margin-bottom: 6px; }
.chapter-head p { color: var(--muted); font-size: 17px; line-height: 26px; }
.chapter-head p + p { margin-top: 10px; }
.media { display: flex; flex-direction: column; gap: 12px; }
.media-row { display: grid; gap: 12px; }
.media-row.n2 { grid-template-columns: 1fr 1fr; }
.media figure { display: flex; flex-direction: column; gap: 8px; }
.media img, .media video { width: 100%; height: auto; border-radius: 6px; display: block; background: #E6E0D4; }
.media figcaption { color: var(--muted); font-size: 14px; line-height: 18px; }
.media-cap { padding-top: 16px; }
.media-cap:first-child { padding-top: 0; }
.media-link { align-self: flex-start; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.media-link:hover { color: var(--jade); border-color: var(--jade); }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote { background: #E9E3D8; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote blockquote { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 32px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; line-height: 20px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.quote figcaption div { display: flex; flex-direction: column; }
.quote figcaption span { color: var(--muted); font-size: 14px; }

.next { display: flex; flex-direction: column; gap: 20px; padding-top: 160px; }
.next-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
.next-row h2 { font-size: 92px; line-height: 88px; letter-spacing: -.055em; }
.next-row p { max-width: 420px; color: var(--muted); font-size: 17px; line-height: 26px; text-align: right; }
.next img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 6px; transition: opacity .25s; }
.next:hover img { opacity: .88; }
.next:hover h2 { color: var(--jade); }

@media (max-width: 1200px) {
  .cs-head h1 { font-size: 92px; line-height: 88px; }
  .cs-meta { grid-template-columns: repeat(3, 1fr); }
  .cs-index { width: 260px; }
  .next-row h2 { font-size: 72px; line-height: 70px; }
}
@media (max-width: 860px) {
  .cs-head { padding-top: 32px; }
  .cs-head h1 { font-size: 56px; line-height: 54px; }
  .cs-line { font-size: 22px; line-height: 28px; }
  .cs-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cs-body { flex-direction: column; padding-top: 48px; gap: 48px; }
  .cs-index { position: static; width: auto; }
  .cs-index nav { display: none; }
  .cs-chapters { gap: 80px; }
  .chapter-head h2 { font-size: 30px; line-height: 34px; }
  .media-row.n2 { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote blockquote { font-size: 22px; line-height: 28px; }
  .next { padding-top: 100px; }
  .next-row { flex-direction: column; align-items: flex-start; }
  .next-row h2 { font-size: 48px; line-height: 48px; }
  .next-row p { text-align: left; }
}
