/* =========================================================
   Inspirations + The Philosophy
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.24em; }
.row > span { display: inline-block; }

/* =========================================================
   INSPIRATIONS
   ========================================================= */
/* ---------- 1 · hero: featured story opens to full screen ---------- */
.in-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--linen); }
.in-hero__head { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 4vh); z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.in-hero__title { font-size: clamp(3.2rem, 9.6vw, 10rem); line-height: .86; letter-spacing: -.035em; font-weight: 300; }
.in-hero__title em { font-style: italic; padding-left: .7em; }
.in-hero__lede { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; color: var(--ink-soft); max-width: 28ch; margin: 0 0 .5em; }
.in-feature { position: absolute; inset: 0; z-index: 2; display: block; color: var(--on-dark); }
.in-feature__frame { position: absolute; inset: 0; overflow: hidden; background: var(--night); clip-path: inset(56% 34% 4% 34% round 20vw 20vw 0px 0px); will-change: clip-path; }
.in-feature__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.in-feature__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,17,5,.35), rgba(30,17,5,0) 30%, rgba(30,17,5,.2) 55%, rgba(30,17,5,.85)); opacity: var(--shade, .3); }
.in-feature__copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vh, 72px); z-index: 2; display: grid; gap: 18px; }
.in-feature__meta { display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: .86rem; letter-spacing: .04em; color: var(--on-dark-soft); }
.in-feature__meta b { font-weight: 400; color: var(--terra-light); }
.in-feature__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.02em; max-width: 20ch; }
.in-feature__go { display: inline-flex; align-items: center; gap: 14px; font-size: .94rem; letter-spacing: .05em; padding-top: 18px; border-top: 1px solid var(--on-dark-line); }
.in-feature__go svg { transition: transform .5s var(--ease-out); }
.in-feature:hover .in-feature__go svg { transform: translateX(6px); }
.has-gsap .in-feature__copy > * { opacity: 0; }
.no-gsap .in-feature__frame { clip-path: none; }
@media (max-width: 900px) {
  .in-hero__head { flex-direction: column; align-items: flex-start; }
  .in-hero__title em { padding-left: .35em; }
  .in-feature__frame { clip-path: inset(52% 12% 5% 12% round 50vw 50vw 0px 0px); }
}

/* ---------- 2 · sticky chapter filter ---------- */
.in-filter { position: sticky; top: 0; z-index: 40; background: rgba(247,241,231,.96); border-bottom: 1px solid var(--line); transition: top .6s var(--ease-out); }
.header-visible .in-filter { top: var(--header-h); }
.in-filter__inner { position: relative; display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.in-filter__inner::-webkit-scrollbar { display: none; }
.in-filter .chip { padding: 22px 0; font-size: .92rem; color: var(--ink-faint); transition: color .3s; flex: none; }
.in-filter .chip:hover, .in-filter .chip[aria-pressed="true"] { color: var(--ink); }
.in-filter .chip[aria-pressed="true"]::after { display: none; }
.in-filter__pill { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--terra); transition: transform .7s var(--ease-out), width .7s var(--ease-out); }

/* ---------- 3 · stories: calm, readable grid ---------- */
.in-stories { padding: clamp(56px, 7vw, 100px) 0 clamp(90px, 11vw, 160px); }
.in-count { margin: 0 0 clamp(32px, 4vw, 52px); font-size: .9rem; color: var(--ink-faint); letter-spacing: .04em; }
.in-count b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); font-variant-numeric: lining-nums; margin-right: 6px; }
.in-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(24px, 2.6vw, 40px); }
.in-card { display: flex; flex-direction: column; color: var(--ink); }
.in-card.is-hidden { display: none; }
.in-card__img { display: block; position: relative; aspect-ratio: 4/4.6; overflow: hidden; background: var(--linen-deep);
  border-radius: 50% 50% 3px 3px / 26% 26% 3px 3px; }
.in-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.in-card:hover .in-card__img img { transform: scale(1.05); }
.in-card__meta { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: .82rem; letter-spacing: .03em; color: var(--ink-faint); }
.in-card__meta .cat { color: var(--terra-deep); }
.in-card__meta .cat + span::before { content: ""; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; opacity: .6; }
.in-card__title { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.7vw, 1.75rem); line-height: 1.15; margin: 10px 0 10px; transition: color .4s; }
.in-card:hover .in-card__title { color: var(--terra-deep); }
.in-card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.in-card__text { margin-bottom: 16px; }
.in-card__more { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: .86rem; letter-spacing: .04em; color: var(--ink); }
.in-card__more svg { transition: transform .5s var(--ease-out); }
.in-card:hover .in-card__more svg { transform: translateX(5px); }
.in-empty { padding: 60px 0; text-align: center; display: grid; justify-items: center; gap: 12px; }
@media (max-width: 1080px) { .in-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .in-grid { grid-template-columns: 1fr; gap: 52px; }
  .in-card__img { aspect-ratio: 4/3.4; border-radius: 50% 50% 3px 3px / 22% 22% 3px 3px; }
  .in-card__title { font-size: 1.55rem; }
}

/* =========================================================
   THE PHILOSOPHY
   ========================================================= */
/* ---------- 1 · two become one ---------- */
.ph-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--linen); }
.ph-hero__stage { position: absolute; inset: 0; }
.ph-hero__title { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 2svh); z-index: 3; font-size: clamp(3rem, min(8.4vw, 11.5svh), 9rem); line-height: .88; letter-spacing: -.035em; font-weight: 300; text-align: center; }
.ph-hero__title em { font-style: italic; }
.ph-hero { --ph-after: clamp(84px, 13svh, 116px); }
/* vertical budget: header + title (about 21svh) + gap, then the arches, then a reserved band for the sentence */
.ph-pair { position: absolute; left: 50%; bottom: calc(var(--ph-after) + 2.5svh); width: min(760px, 62vw); height: min(560px, calc(72svh - var(--header-h) - var(--ph-after))); transform: translateX(-50%); }
.ph-arch { position: absolute; bottom: 0; width: 44%; height: 100%; margin: 0; border-radius: var(--arch); overflow: hidden; background: var(--night); will-change: transform; }
.ph-arch img { width: 100%; height: 100%; object-fit: cover; }
.ph-arch figcaption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.5rem); color: var(--on-dark); text-shadow: 0 4px 20px rgba(30,17,5,.5); }
.ph-arch--l { left: 0; }
.ph-arch--r { right: 0; }
.ph-arch--one { left: 28%; width: 44%; opacity: 0; z-index: 2; }
.ph-hero__after { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.5svh; z-index: 3; margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.35; color: var(--ink); opacity: 0; }
.ph-hero__after em { color: var(--terra-deep); }
.ph-hero__hint { position: absolute; right: var(--gutter); bottom: 6vh; z-index: 3; display: inline-flex; align-items: center; gap: 12px; font-size: .84rem; letter-spacing: .05em; color: var(--ink-faint); }
.ph-hero__hint i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.ph-hero__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
.no-gsap .ph-arch--one { display: none; }
@media (max-width: 900px) {
  .ph-hero__title { text-align: left; font-size: clamp(2.8rem, 12vw, 4rem); }
  .ph-pair { width: 88vw; height: 48svh; bottom: 13vh; }
  .ph-arch figcaption { font-size: 1.1rem; bottom: 12px; }
  .ph-hero__after { font-size: 1.1rem; bottom: 3vh; }
  .ph-hero__hint { display: none; }
}

/* ---------- 2 · imagine ---------- */
.ph-imagine { padding: clamp(100px, 13vw, 210px) 0 clamp(80px, 10vw, 160px); }
.ph-imagine__big { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.8vw, 5rem); line-height: 1.08; letter-spacing: -.015em; max-width: 24ch; margin: 0; }
.ph-imagine__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: end; margin-top: clamp(64px, 9vw, 140px); }
.ph-imagine__img { aspect-ratio: 3/4; max-width: 460px; }
.ph-imagine__img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; }
.ph-imagine__lede { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.3; color: var(--ink); margin: 0 0 1em; max-width: 26ch; }
@media (max-width: 900px) { .ph-imagine__row { grid-template-columns: 1fr; } .ph-imagine__img { max-width: 84%; } }

/* ---------- 3 · founders ---------- */
.ph-founders { padding: clamp(100px, 12vw, 190px) 0; overflow: hidden; }
.ph-founders__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ph-founders__photos { position: relative; margin: 0; aspect-ratio: 4/5.2; }
.ph-founders__a { position: absolute; left: 0; top: 0; width: 78%; height: 84%; }
.ph-founders__a img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; }
.ph-founders__b { position: absolute; right: 0; bottom: 0; width: 46%; height: 40%; overflow: hidden; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.ph-founders__b img { width: 100%; height: 100%; object-fit: cover; }
.ph-founders__text h2 { font-size: clamp(2.5rem, 4.6vw, 4.8rem); line-height: .98; margin-bottom: 32px; }
.ph-founders__text .lede { color: var(--on-dark); max-width: 40ch; }
.ph-founders__text p { color: var(--on-dark-soft); max-width: 52ch; }
@media (max-width: 900px) { .ph-founders__grid { grid-template-columns: 1fr; } .ph-founders__photos { width: 92%; } }

/* ---------- 4 · the obvious vs what few know ---------- */
.ph-reveal { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--night); color: var(--on-dark); }
.ph-reveal__layer { position: absolute; inset: 0; }
.ph-reveal__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-reveal__layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,17,5,.35), rgba(30,17,5,.15) 40%, rgba(30,17,5,.85)), linear-gradient(90deg, rgba(30,17,5,.6), rgba(30,17,5,0) 60%); }
.ph-reveal__layer--a img { filter: saturate(.5) contrast(.92); }
.ph-reveal__layer--b { clip-path: inset(100% 30% 0% 30% round 50vw 50vw 0px 0px); }
.ph-reveal__copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); z-index: 2; }
.ph-reveal__line { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6.6vw, 7rem); line-height: .96; letter-spacing: -.025em; margin: 0 0 22px; max-width: 14ch; }
.ph-reveal__sub { margin: 0; max-width: 46ch; color: var(--on-dark-soft); padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
.no-gsap .ph-reveal { height: auto; }
.no-gsap .ph-reveal__layer { position: relative; height: 90svh; clip-path: none; }

/* ---------- 5 · four principles ---------- */
.ph-values { padding: clamp(100px, 12vw, 190px) 0; }
.ph-values__head { margin-bottom: clamp(48px, 6vw, 88px); }
.ph-values__head h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; max-width: 16ch; }
.ph-values__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ph-value { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 16px 48px; align-items: end; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.ph-value__big { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 6.4rem); line-height: .95; letter-spacing: -.025em; color: var(--ink); }
.ph-value__big span { font-style: italic; color: var(--ink-faint); transition: color .8s var(--ease); }
.ph-value.is-lit .ph-value__big span { color: var(--terra-deep); }
.ph-value__text { margin: 0 0 .6em; color: var(--ink-soft); max-width: 36ch; }
@media (max-width: 900px) {
  .ph-value { grid-template-columns: 1fr; }
  .ph-value__big { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .ph-value__big span { display: block; }
}
.ph-reveal__copy .kicker { text-shadow: 0 2px 18px rgba(30,17,5,.8); }
@media (max-width: 900px) {
  .ph-founders__photos { aspect-ratio: auto; height: 118vw; }
  .ph-founders__b { width: 44%; height: 34%; bottom: 12%; }
}

/* ---------- legal pages (terms, privacy, cookies) ---------- */
.legal__hero { padding: calc(var(--header-h) + clamp(44px, 9vh, 110px)) 0 clamp(52px, 8vh, 96px); }
.legal__hero h1 { margin: 14px 0 18px; max-width: 18ch; }
.legal__lede { margin: 0; max-width: 46ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.35; color: var(--on-dark-soft); }
.legal__date { margin: 24px 0 0; font-size: .86rem; letter-spacing: .03em; color: var(--on-dark-faint); }
.legal__layout { display: grid; grid-template-columns: minmax(190px, 3fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 110px); padding-top: clamp(52px, 7vw, 100px); padding-bottom: clamp(80px, 10vw, 150px); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100svh - var(--header-h) - 56px); overflow: auto; }
.legal__toc-title { margin: 0 0 14px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal__toc a { display: block; margin-left: -1px; padding: 8px 0 8px 18px; border-left: 1px solid transparent; font-size: .92rem; line-height: 1.35; color: var(--ink-faint); transition: color .4s var(--ease), border-color .4s var(--ease); }
.legal__toc a:hover { color: var(--ink); }
.legal__toc a.is-current { color: var(--ink); border-left-color: var(--terra); }
.legal__text { max-width: 72ch; }
.legal__section { padding: 0 0 clamp(34px, 4vw, 56px); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__section h2 { display: flex; align-items: baseline; gap: 16px; margin: 0 0 18px; font-size: clamp(1.75rem, 2.4vw, 2.3rem); line-height: 1.1; }
.legal__section h2 .n { flex: none; font-family: var(--serif); font-size: .78em; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--terra); font-variant-numeric: lining-nums; }
.legal__section h3 { margin: 28px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.legal__text p, .legal__text li { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.legal__text p { margin: 0 0 14px; }
.legal__text ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal__text li { margin: 6px 0; }
.legal__text strong { font-weight: 500; color: var(--ink); }
.legal__text a:not(.btn) { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__text a:not(.btn):hover { color: var(--ink); }
.legal__text code { font-family: ui-monospace, Consolas, monospace; font-size: .86em; padding: 2px 6px; background: var(--linen-deep); border-radius: 2px; color: var(--ink); }
.ph { padding: 0 .25em; border-radius: 2px; background: rgba(168, 95, 67, .16); color: var(--terra-deep); }
.legal__table { margin: 18px 0 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.legal__table table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: .92rem; }
.legal__table th, .legal__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.legal__table th { font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); background: var(--linen); }
.legal__table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) {
  .legal__layout { grid-template-columns: 1fr; padding-top: 44px; }
  .legal__toc { display: none; }
  .legal__hero h1 { max-width: none; }
}
