/* The Oktane: the brand home page (23 Nov 2026). It uses oktane.css for the shared parts
   (header, story, principles, founder, contact card, footer) and adds only what is new here. */

/* ---------- opening: the sun of the logo, setting on the horizon ---------- */
.bh-hero { position: relative; background: #161514; color: #F3EDE3; padding: 150px 0 40px; }
.bh-top { text-align: center; }
/* the brand line above the headline: a fine hairline chip with the logo's sun (replaces the old thick pill, 23 Nov) */
.bh-mark { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(243, 237, 227, 0.05); box-shadow: inset 0 0 0 1px rgba(243, 237, 227, 0.14);
  font: 500 14px/1 var(--sans); letter-spacing: 0.01em; color: rgba(243, 237, 227, 0.82); }
.bh-mark svg { width: 22px; height: 13px; fill: #E08374; }
.bh-hero h1 { font-size: clamp(42px, 6vw, 88px); font-weight: 500; line-height: 1.0; letter-spacing: -0.045em; max-width: 14ch; margin: 28px auto 0; color: #F6F1E8; text-wrap: balance; }
.bh-hero .lede { margin: 24px auto 0; max-width: 46ch; color: rgba(243, 237, 227, 0.66); }
.bh-cta { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.bh-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 20px; border-radius: 999px; background: #F3EDE3; color: #1C1B19; font: 500 15px/1 var(--sans); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 4px rgba(224, 131, 116, 0.18); transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.bh-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.bh-pill:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 0 5px rgba(224, 131, 116, 0.28); }
.bh-pill:hover svg { transform: translateX(2px); }
.bh-pill:active { transform: scale(0.97); }
.bh-link { color: rgba(243, 237, 227, 0.78); font-size: 15px; text-decoration: none; padding: 12px 2px; }
.bh-link:hover { color: #fff; }
.bh-co-line { margin-top: 28px; font-size: 14px; color: rgba(243, 237, 227, 0.5); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
.bh-co-line i { opacity: 0.5; }
.bh .fade-dark { --txd: #161514; }

/* the sunset: no box, it is part of the opening. The sun sits on the horizon, its light falls on the water,
   and the three chapters sit on the water. The canvas draws the sun, its glow and the reflection. */
.bh-scape { --hz: 54%; position: relative; height: min(80svh, 780px); min-height: 520px; margin-top: 40px; overflow: hidden; }
.bh-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.bh-cssun { display: none; position: absolute; left: 50%; top: var(--hz); width: min(48vh, 34vw); aspect-ratio: 1; transform: translate(-50%, -66%); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #F3D9B0 0, #C99A5B 45%, #8E5A2E 100%); clip-path: inset(0 0 34% 0); }
.no-gl .bh-gl { display: none; } .no-gl .bh-cssun { display: block; }
.bh-hz { position: absolute; left: 0; right: 0; top: var(--hz); height: 1px; background: linear-gradient(90deg, rgba(243, 237, 227, 0), rgba(243, 237, 227, 0.42) 30%, rgba(243, 237, 227, 0.42) 70%, rgba(243, 237, 227, 0)); }

/* the chapters, centred on the water */
.bh-chaps { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--hz) + 56px); text-align: center; }
.bh-chaps .ch { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.9s var(--ease); pointer-events: none; }
.bh-chaps .ch.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.bh-chaps .t { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: #F6F1E8; max-width: 22ch; margin: 0 auto; text-wrap: balance; text-shadow: 0 2px 24px rgba(22, 21, 20, 0.8); }
/* the three names; the one playing fills a fine line under it */
.bh-tabs { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.bh-tabs button { position: relative; display: grid; gap: 8px; justify-items: center; min-width: 72px; padding: 12px 2px 8px; border: 0; background: none; cursor: pointer; font: 500 15px/1 var(--sans); color: rgba(243, 237, 227, 0.5); transition: color 0.3s ease; -webkit-tap-highlight-color: transparent; }
.bh-tabs button[aria-current] { color: #F6F1E8; }
.bh-tabs button:hover { color: rgba(243, 237, 227, 0.85); }
.bh-tabs button i { position: relative; display: block; width: 100%; height: 1.5px; border-radius: 2px; background: rgba(243, 237, 227, 0.14); overflow: hidden; }
.bh-tabs button i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: #F3EDE3; }
.bh-tabs button.done i::after { transform: scaleX(1); }
.bh-tabs button:focus-visible { outline: 2px solid #F3EDE3; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 899px) {
  .bh-hero { padding: 120px 0 32px; }
  .bh-scape { --hz: 50%; height: min(78svh, 680px); min-height: 500px; margin-top: 24px; }
  .bh-chaps { top: calc(var(--hz) + 40px); }
  .bh-chaps .t { font-size: clamp(24px, 6.6vw, 32px); }
}
@media (max-width: 599px) {
  .bh-hero { padding-top: 108px; }
  .bh-hero h1 { font-size: clamp(36px, 10.6vw, 46px); }
  .bh-cta { flex-direction: column; gap: 6px; }
  .bh-pill { height: 50px; padding: 0 20px 0 24px; font-size: 16px; }
  .bh-co-line { flex-direction: column; gap: 2px; text-align: center; }
  .bh-co-line i { display: none; }
  .bh-tabs { bottom: 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-chaps .ch { transition: none; }
}

/* ---------- our story ---------- */
.bh-story { padding: 40px 0 150px; }
.bh-story .h2 { max-width: 20ch; }
.bh-story .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 6vw, 96px); margin-top: 56px; max-width: 1040px; }
.bh-story .cols p { font-size: 19px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.bh-story .cols p + p { color: var(--mute); }

/* ---------- what we are building ---------- */
.bh-work { padding: 150px 0 140px; }
.bh-work .h2 { max-width: 18ch; }
.bh-work .lede { margin-top: 20px; }
.bh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.bh-card { position: relative; display: flex; flex-direction: column; min-height: 600px; padding: 44px 44px 0; border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.bh-card.dark { background: #161514; color: #F3EDE3; }
.bh-card.light { background: #DDD5C6; color: var(--ink); }
.bh-card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -48px rgba(28, 27, 25, 0.6); }
.bh-card:active { transform: scale(0.99); }
.bh-card .k { font-size: 15px; font-weight: 500; opacity: 0.7; }
.bh-card h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; margin-top: 14px; max-width: 16ch; text-wrap: balance; }
.bh-card p { font-size: 17px; line-height: 1.5; margin-top: 14px; max-width: 34ch; opacity: 0.78; }
.bh-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 16px; font-weight: 500; }
.bh-card .more::after { content: "\2192"; transition: transform 0.4s var(--ease); }
.bh-card:hover .more::after { transform: translateX(4px); }
.bh-card .ph { width: min(270px, 62%); margin: auto auto -22%; padding-top: 40px; transition: transform 0.9s var(--ease); }
.bh-card:hover .ph { transform: translateY(-8px); }
.bh-card .iph { box-shadow: 0 0 0 1.5px #9A958E, 0 0 0 2.5px #4A4540, 0 50px 90px -30px rgba(0, 0, 0, 0.6); }
.bh-card .iscr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-card:focus-visible { outline: 3px solid var(--ox); outline-offset: 4px; }
.bh-also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; padding: 22px 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.bh-also b { font-weight: 500; }
.bh-also span { color: var(--mute); }
.bh-also a { color: var(--ox); text-underline-offset: 0.2em; }
.bh-also .gap { margin-left: auto; display: flex; gap: 18px; }

/* ---------- founder (shared styles; only spacing here) ---------- */
.bh .founder { padding-top: 20px; }

/* ---------- the company ---------- */
.bh-co { padding: 0 0 40px; }
.bh-co dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin: 48px 0 0; }
.bh-co dl > div { border-top: 1px solid var(--line); padding: 20px 0 28px; }
.bh-co dt { font-size: 14px; color: var(--mute); }
.bh-co dd { margin: 6px 0 0; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; }
.bh-co dd a { color: inherit; text-underline-offset: 0.2em; }

/* ---------- phones and tablets ---------- */
@media (max-width: 899px) {
  .bh-story { padding: 24px 0 110px; }
  .bh-story .cols { grid-template-columns: 1fr; margin-top: 36px; }
  .bh-work { padding: 110px 0 100px; }
  .bh-cards { grid-template-columns: 1fr; }
  .bh-card { min-height: 540px; }
  .bh-co dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .bh-story .cols p { font-size: 17px; }
  .bh-work { padding: 88px 0 80px; }
  .bh-cards { margin-top: 36px; gap: 14px; }
  .bh-card { min-height: 500px; padding: 30px 26px 0; border-radius: 24px; }
  .bh-card .ph { width: 64%; }
  .bh-also { padding: 18px 20px; }
  .bh-also .gap { margin-left: 0; }
  .bh-co dl { grid-template-columns: 1fr; }
  .bh-co dd { font-size: 17px; }
}

/* ---------- what we are building: Now and In time (23 Nov 2026) ---------- */
.bh-work .h2 { max-width: 22ch; }
.bh-phase { display: flex; align-items: baseline; gap: 14px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.bh-phase b { font-size: 15px; font-weight: 600; color: var(--ox); letter-spacing: 0.01em; }
.bh-work .bh-cards { margin-top: 24px; }
.bh-stories { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 40px; margin-top: 20px; padding: 36px 44px; border-radius: 28px; background: #F1ECE2; box-shadow: inset 0 0 0 1px var(--line); }
.bh-stories .wave { width: 96px; height: 40px; fill: none; stroke: var(--ox); stroke-width: 3; stroke-linecap: round; }
.bh-stories .k { font-size: 15px; font-weight: 500; color: var(--mute); }
.bh-stories h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; }
.bh-stories p { font-size: 17px; color: var(--mute); margin-top: 8px; max-width: 46ch; }
.bh-stories .links { display: flex; gap: 10px; margin: 0; }
.bh-stories .links a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease; }
.bh-stories .links a:hover { background: rgba(28, 27, 25, 0.06); }
@media (max-width: 899px) {
  .bh-stories { grid-template-columns: 1fr; padding: 30px 28px; }
  .bh-phase { margin-top: 48px; }
  }
@media (max-width: 599px) {
  .bh-stories { border-radius: 24px; padding: 26px 22px; gap: 18px; }
  .bh-stories .wave { width: 80px; height: 32px; }
  .bh-stories .links { flex-wrap: wrap; }
  .bh-phase { flex-direction: column; gap: 4px; }
}

/* ---------- our essence: the three pillars in bold, then the principles (words only, 23 Nov 2026) ---------- */
.bh-ess { padding: 40px 0 150px; }
.pil3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 56px; }
.pil3 article { border-top: 1px solid var(--ink); padding-top: 22px; }
.pil3 .n { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.pil3 h3 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; margin-top: 18px; color: var(--ink); }
.pil3 p { font-size: 19px; line-height: 1.45; color: var(--mute); margin-top: 18px; max-width: 22ch; }
.prin8 { margin-top: 110px; }
.prin8 .sub { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.12; max-width: 26ch; text-wrap: balance; }
.prin8 ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin: 48px 0 0; padding: 0; counter-reset: pr; }
.prin8 li { border-top: 1px solid var(--line); padding-top: 18px; counter-increment: pr; }
.prin8 li::before { content: counter(pr, decimal-leading-zero); display: block; font-size: 13px; color: var(--mute); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.prin8 h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.prin8 p { font-size: 15px; color: var(--mute); margin-top: 6px; line-height: 1.45; }
@media (max-width: 899px) {
  .bh-ess { padding: 24px 0 110px; }
  .pil3 { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .pil3 article { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 18px 0 22px; }
  .pil3 h3 { margin-top: 0; font-size: clamp(40px, 11vw, 60px); }
  .pil3 p { grid-column: 2; margin-top: 8px; font-size: 17px; }
  .prin8 { margin-top: 72px; }
  .prin8 ol { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 420px) { .prin8 ol { grid-template-columns: 1fr; } }

/* ---------- the founder: a dark card, a smaller and sharper portrait (23 Nov 2026) ---------- */
.bh-founder { padding: 20px 0 120px; }
.fcard { display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 28px; background: #161514; color: #F3EDE3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.fp { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 700 / 945; box-shadow: 0 0 0 1px rgba(243, 237, 227, 0.16), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.fp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.ft .k { font-size: 15px; font-weight: 500; color: #E08374; }
.fname { font-size: clamp(36px, 4vw, 58px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; margin-top: 14px; color: #F6F1E8; }
.frole { font-size: 16px; color: rgba(243, 237, 227, 0.6); margin-top: 10px; }
.fbio { font-size: 19px; line-height: 1.6; margin-top: 28px; max-width: 40ch; color: rgba(243, 237, 227, 0.86); text-wrap: pretty; }
.ffacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 32px 0 0; max-width: 560px; }
.ffacts > div { border-top: 1px solid rgba(243, 237, 227, 0.14); padding-top: 14px; }
.ffacts dt { font-size: 13px; color: rgba(243, 237, 227, 0.55); }
.ffacts dd { margin: 6px 0 0; font-size: 16px; line-height: 1.4; color: #F3EDE3; }
.flinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.flinks .btn.ghost { color: #F3EDE3; }
@media (max-width: 899px) {
  .fcard { grid-template-columns: 1fr; gap: 28px; align-items: start; border-radius: 24px; }
  .fp { width: 200px; }
}
@media (max-width: 599px) {
  .bh-founder { padding-bottom: 88px; }
  .fcard { padding: 28px 22px 30px; }
  .fp { width: 168px; border-radius: 14px; }
  .fbio { font-size: 17px; }
  .ffacts { grid-template-columns: 1fr; gap: 12px; }
}

/* ======================================================================
   Overnight polish, 23 Nov 2026: fewer words, bold Helvetica titles, calmer rhythm.
   ====================================================================== */
.bh { --bold: 700; }
.bh .h2, .bh-hero h1, .bh-card h3, .bh-stories h3, .fname, .bh .endcard .h1, .bh-chaps .t, .prin8 .sub { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.bh .h2 { font-weight: var(--bold); letter-spacing: -0.045em; line-height: 1.0; }
.bh .h2 .mute { font-weight: var(--bold); }
.bh-hero h1 { font-weight: var(--bold); letter-spacing: -0.055em; line-height: 0.96; }
.bh-hero .lede { max-width: 34ch; font-size: clamp(17px, 1.5vw, 21px); }
.bh .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }

/* the story: one short paragraph */
.bh-lead { margin-top: 28px; max-width: 40ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.bh-story { padding-bottom: 140px; }

/* principles: names only, in a quiet grid */
.prin8 .sub { font-weight: var(--bold); letter-spacing: -0.035em; max-width: 24ch; }
.prin8 .sub .mute { font-weight: 500; }
.prin8 ol { grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 40px; }
.prin8 li { padding: 18px 0 22px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.prin8 li::before { margin-bottom: 10px; font-weight: 400; }
@media (max-width: 899px) { .prin8 ol { grid-template-columns: 1fr 1fr; gap: 0 20px; } .prin8 li { font-size: 17px; } }
@media (max-width: 420px) { .prin8 ol { grid-template-columns: 1fr 1fr; } }

/* cards and titles */
.bh-card h3, .bh-stories h3 { font-weight: var(--bold); letter-spacing: -0.035em; }
.fname { font-weight: var(--bold); letter-spacing: -0.045em; }
.bh .endcard .h1 { font-weight: var(--bold); letter-spacing: -0.05em; }
.bh-chaps .t { font-weight: 600; }

/* ---------- motion ---------- */
/* the opening comes in softly: each line rises out of a light blur */
@media (prefers-reduced-motion: no-preference) {
  .js .bh-top [data-r] { opacity: 1; transform: none; transition: none; animation: bhIn 1.25s var(--ease) both; }
  .js .bh-top h1[data-r] { animation-delay: 0.1s; }
  .js .bh-top [data-r="2"] { animation-delay: 0.24s; }
  .js .bh-top [data-r="3"] { animation-delay: 0.38s; }
  @keyframes bhIn { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }
  /* the horizon draws itself from the middle when the page opens */
  .js .bh-hz { transform: scaleX(0); animation: bhLine 1.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards; }
  @keyframes bhLine { to { transform: scaleX(1); } }
  /* the three pillar words rise out of a line */
  .js .pil3 h3 { clip-path: inset(-0.1em -0.1em 100% -0.1em); transform: translateY(0.35em); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .pil3 article.in h3 { clip-path: inset(-0.1em -0.1em -0.2em -0.1em); transform: none; }
  .js .pil3 article:nth-child(2) h3 { transition-delay: 0.1s; } .js .pil3 article:nth-child(3) h3 { transition-delay: 0.2s; }
  .js .pil3 article { transition-delay: 0s; }
  /* the principles come in one after another */
  .js .prin8 ol[data-r] { transform: none; }
  .js .prin8 ol li { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
  .js .prin8 ol.in li { opacity: 1; transform: none; }
  .js .prin8 ol.in li:nth-child(2) { transition-delay: 0.05s; } .js .prin8 ol.in li:nth-child(3) { transition-delay: 0.1s; } .js .prin8 ol.in li:nth-child(4) { transition-delay: 0.15s; }
  .js .prin8 ol.in li:nth-child(5) { transition-delay: 0.2s; } .js .prin8 ol.in li:nth-child(6) { transition-delay: 0.25s; } .js .prin8 ol.in li:nth-child(7) { transition-delay: 0.3s; } .js .prin8 ol.in li:nth-child(8) { transition-delay: 0.35s; }
  /* the founder's photo settles into place */
  .js .fcard .fp img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .js .fcard.in .fp img { transform: none; }
}
/* press feedback */
.bh-pill:active, .bh-tabs button:active { transform: scale(0.96); }
.bh-stories .links a:active, .flinks .btn:active { transform: scale(0.97); }
