/* tapi.company shared styles · Tapi Master Brand Book v1.0 */
/* Fonts: self-hosted (SIL Open Font License), no third-party requests */
@font-face { font-family: "BIZ UDPMincho"; font-weight: 400; font-display: swap; src: url("fonts/biz-udpmincho-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Mono"; font-weight: 400; font-display: swap; src: url("fonts/fira-mono-latin-400-normal.woff2") format("woff2"); }

/* Tapi Master Brand Book v1.0, p.22: White ground, Night ink, Cream only to highlight */
:root {
  --white: #FFFEFE;
  --night: #0A0A0A;
  --cream: #FAF15C;
  --paper: #F2F2F2;
  --grey:  #D2D2D2;
  --ink-2: #545454;
  --line: 1px solid var(--grey);
  --gutter: 48px;

  --serif: "BIZ UDPMincho", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  "Fira Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--white); color: var(--night); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--night); color: var(--white); font-size: 14px; }
.skip:focus { top: 12px; }

.label { margin: 0; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  border-bottom: var(--line);
}
.site-header .home { display: inline-block; padding: 6px 0; }
.site-header .home img { height: 30px; width: auto; }

.nav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-block; padding: 10px 2px; font-size: 15px; }
.nav a:hover { background: linear-gradient(transparent 62%, var(--cream) 62%, var(--cream) 92%, transparent 92%); }
.menu-toggle { display: none; }

main { flex: 1 0 auto; display: flex; flex-direction: column; }
/* Hero: lead with ambition, follow with clarity */
.hero { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-bottom: var(--line); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 56px var(--gutter) 56px; }
.hero h1 {
  margin: 4px 0 0;
  font: 400 clamp(36px, calc((54.5vw - 96px) / 14), 54px)/1.12 var(--serif); letter-spacing: -0.01em;
  text-wrap: wrap;
}
/* One highlight: the Cream bar sits behind the words that carry the point */
.hl {
  background: linear-gradient(transparent 30%, var(--cream) 30%, var(--cream) 96%, transparent 96%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em;
}
.hero__desc { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.55; }
.hero__voice { margin: 8px 0 0; padding-top: 20px; max-width: 34em; border-top: var(--line); font-weight: 700; font-size: 17px; }

.hero__photo { position: relative; min-height: 420px; background: var(--paper); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 45%; }

/* Our brands (always three) + careers */
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); }
.band > * + * { border-left: var(--line); }

.brand { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px var(--gutter) 36px 32px; transition: background-color .2s ease; }
.brand:first-child { padding-left: var(--gutter); }
.brand .label { min-height: 18px; }
.brand__logo { display: flex; align-items: flex-end; height: 40px; margin-top: 6px; }
.brand__logo img { width: auto; }
.logo-tapihq   { height: 34px; }
.logo-patch    { height: 32px; }
.logo-prequote { height: 26px; margin-bottom: 3px; }
.brand p.desc { margin: 0; max-width: 24ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
/* Whole card is the link; logos are never altered (brand book p.21) */
.brand a::after { content: ""; position: absolute; inset: 0; }
.brand:hover { background: var(--paper); }
.brand:has(a:focus-visible) { background: var(--paper); }
.brand a:focus-visible { outline: none; }
.brand:has(a:focus-visible) { outline: 2px solid var(--night); outline-offset: -4px; }

.careers { display: flex; flex-direction: column; gap: 14px; padding: 28px var(--gutter) 36px 32px; }
.careers h2 { margin: 6px 0 4px; max-width: 18em; font: 400 26px/1.22 var(--serif); }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--cream); font-weight: 600; font-size: 15px;
  transition: background-color .15s ease, color .15s ease;
}
.pill:hover { background: var(--night); color: var(--white); }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 18px var(--gutter); padding-bottom: max(18px, env(safe-area-inset-bottom));
  border-top: var(--line);
}
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.site-footer a { display: inline-block; padding: 6px 2px; }
.site-footer a:hover { background: linear-gradient(transparent 62%, var(--cream) 62%, var(--cream) 92%, transparent 92%); }

/* Tablet: hero stacks, brands in a row, careers below */
@media (max-width: 1099px) {
  .hero { flex: 0 0 auto; grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .hero h1 br { display: none; }
  .hero h1 { text-wrap: balance; }
  .hero__photo { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 1099px) {
  .band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .careers { grid-column: 1 / -1; border-left: 0 !important; border-top: var(--line); padding-left: var(--gutter); }
  .brand { padding-right: 24px; }
}

/* Mobile and small tablet: one column */
@media (max-width: 799px) {
  :root { --gutter: 24px; }
  .site-header { min-height: 64px; position: relative; }
  .site-header .home img { height: 28px; }

  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: var(--line); border-radius: 999px; background: none; color: inherit;
    font: 600 14px var(--sans); cursor: pointer;
  }
  .nav ul { display: none; }
  .nav.open ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 10;
    padding: 8px var(--gutter) 16px; background: var(--white); border-bottom: var(--line);
  }
  .nav.open a { display: block; padding: 12px 0; font-size: 17px; }

  .hero__text { padding: 40px var(--gutter) 40px; gap: 16px; }
  .hero h1 { font-size: 36px; }
  .hero__desc, .hero__voice { font-size: 16px; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero__photo img { object-position: 50% 45%; }

  .band { grid-template-columns: 1fr; }
  .band > * + * { border-left: 0; border-top: var(--line); }
  .brand, .brand:first-child, .careers { padding: 28px var(--gutter) 32px; }
  /* the three brands read as one group under one label */
  .band > .brand + .brand { border-top: 0; padding-top: 4px; }
  .brand { gap: 10px; }
  .brand .label:empty { display: none; }
  .brand p.desc { max-width: none; }
  .careers h2 { font-size: 24px; }

  .site-footer { flex-direction: column-reverse; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Shared page furniture ===== */
.nav a[aria-current="page"] { background: linear-gradient(transparent 62%, var(--cream) 62%, var(--cream) 92%, transparent 92%); }
.section { padding: 72px var(--gutter); border-bottom: var(--line); }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 44rem; margin-bottom: 40px; }
.section__head h2 { margin: 0; font: 400 36px/1.18 var(--serif); letter-spacing: -0.005em; }
.section__head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.photo { position: relative; overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== About ===== */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-bottom: var(--line); }
.about-hero__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 64px var(--gutter); }
.about-hero h1 { margin: 4px 0 0; max-width: 15em; font: 400 clamp(36px, calc((54.5vw - 96px) / 15), 52px)/1.12 var(--serif); letter-spacing: -0.01em; }
.about-hero__desc { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.55; }
.about-hero .photo { min-height: 460px; }
.about-hero .photo img { position: absolute; inset: 0; object-position: 50% 30%; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; padding-top: 22px; max-width: 36rem; border-top: var(--line); }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { order: 2; font-size: 14px; color: var(--ink-2); }
.facts dd { order: 1; margin: 0; font: 400 28px/1.2 var(--mono); }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; }
.story__lead { display: flex; flex-direction: column; gap: 14px; }
.story__lead h2 { margin: 0; max-width: 14em; font: 400 36px/1.18 var(--serif); }
.story__lead .photo { margin-top: 24px; aspect-ratio: 13 / 12; max-width: 460px; }
.story__body { display: flex; flex-direction: column; gap: 18px; max-width: 38rem; padding-top: 34px; }
.story__body p { margin: 0; font-size: 18px; line-height: 1.6; }
.story__body .voice { margin-top: 8px; padding-top: 20px; border-top: var(--line); font-weight: 700; }

.team-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; grid-auto-rows: clamp(300px, 30vw, 460px); gap: 12px; }

.about-brands { border-bottom: var(--line); }
.about-brands > .section { padding-bottom: 40px; }
.about-brands .section__head { margin-bottom: 0; }
.about-brands .band { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.values li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 8px 0; }
.values li + li { padding-left: 24px; border-left: var(--line); }
.values h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.values p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.awards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.awards li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 4px 0; }
.awards li + li { padding-left: 24px; border-left: var(--line); }
.awards strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.awards span { font: 400 13px/1.45 var(--mono); color: var(--ink-2); }

.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 0; }
.join .photo { min-height: 440px; }
.join .photo img { position: absolute; inset: 0; object-position: 50% 35%; }
.join__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 64px var(--gutter); }
.join__text h2 { margin: 0; max-width: 13em; font: 400 40px/1.15 var(--serif); }
.join__text p { margin: 0; font-size: 17px; }

@media (max-width: 1099px) {
  .about-hero, .join { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 44px; }
  .about-hero .photo, .join .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .story { grid-template-columns: 1fr; }
  .story__body { padding-top: 0; }
  .story__lead .photo { display: none; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li, .values li + li { padding: 24px 24px 24px 0; border-left: 0; border-bottom: var(--line); }
  .values li:nth-child(even) { padding-left: 24px; border-left: var(--line); }
  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awards li, .awards li + li { padding: 20px 24px 20px 0; border-left: 0; border-bottom: var(--line); }
  .awards li:nth-child(even) { padding-left: 24px; border-left: var(--line); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .team-grid .photo { aspect-ratio: 3 / 4; }
  .team-grid .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .about-brands .band .careers { display: none; }
}

@media (max-width: 799px) {
  .section { padding: 48px var(--gutter); }
  .section__head { margin-bottom: 28px; }
  .section__head h2, .story__lead h2 { font-size: 28px; }
  .about-hero__text, .join__text { padding: 40px var(--gutter); }
  .about-hero h1 { font-size: 34px; }
  .about-hero__desc, .story__body p { font-size: 16px; }
  .facts dd { font-size: 22px; }
  .join__text h2 { font-size: 30px; }
  .values, .awards { grid-template-columns: 1fr; }
  .values li, .values li + li, .values li:nth-child(even),
  .awards li, .awards li + li, .awards li:nth-child(even) { padding: 20px 0; border-left: 0; }
  .about-brands .band { grid-template-columns: 1fr; }
}

/* ===== Careers ===== */
.careers-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-bottom: var(--line); }
.careers-hero__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 64px var(--gutter); }
.careers-hero h1 { margin: 4px 0 0; max-width: 14em; font: 400 clamp(36px, calc((54.5vw - 96px) / 13), 52px)/1.12 var(--serif); letter-spacing: -0.01em; }
.careers-hero__desc { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.55; }
.careers-hero .pill { margin-top: 6px; }
.careers-hero .photo { min-height: 440px; }
.careers-hero .photo img { position: absolute; inset: 0; object-position: 50% 30%; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.points li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 8px 0; }
.points li + li { padding-left: 24px; border-left: var(--line); }
.points h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.points p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.team-figure { margin: 40px 0 0; }
.team-figure .photo { aspect-ratio: 1438 / 849; max-height: 560px; width: 100%; }
.team-figure figcaption { margin-top: 10px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }

/* Roles widget */
.roles { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
.roles__head { display: flex; flex-direction: column; gap: 14px; }
.roles__head h2 { margin: 0; font: 400 36px/1.18 var(--serif); }
.roles__head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filters[hidden] { display: none; }
.chip { min-height: 40px; padding: 0 16px; border: var(--line); border-radius: 999px; background: var(--white); color: var(--night); font: 600 14px var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--night); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }

.job-list { margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.job-row { border-bottom: var(--line); }
.job-row a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: 22px 16px 22px 0; transition: background-color .15s ease, padding .15s ease; }
.job-row a:hover, .job-row a:focus-visible { background: var(--paper); padding-left: 16px; }
.job-row__title { grid-column: 1; font-size: 18px; font-weight: 600; line-height: 1.35; }
.job-row__meta { grid-column: 1; font: 400 13px/1.45 var(--mono); color: var(--ink-2); }
.job-row__brand { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; color: var(--ink-2); }
.job-skel { height: 76px; border-bottom: var(--line); background: linear-gradient(90deg, var(--white) 0, var(--paper) 40%, var(--white) 80%) 0 0 / 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.job-msg { padding: 28px 0; border-top: var(--line); }
.job-msg h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.job-msg p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.job-more { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.job-more a, .job-privacy a, .job-privacy-fallback a { text-decoration: underline; text-underline-offset: 3px; }
.job-privacy, .job-privacy-fallback { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.job-privacy p { margin: 0; }
.ghost { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--night); border-radius: 999px; font-weight: 600; font-size: 15px; }
.ghost:hover { background: var(--night); color: var(--white); }

/* Role detail */
.job-detail { max-width: 46rem; }
.job-back { display: inline-block; margin-bottom: 24px; padding: 6px 0; font-size: 14px; }
.job-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.job-title { margin: 0; font: 400 clamp(32px, 4vw, 48px)/1.12 var(--serif); }
.job-meta { margin: 12px 0 24px; font: 400 13px/1.5 var(--mono); color: var(--ink-2); }
.job-body { margin: 40px 0 32px; padding-top: 32px; border-top: var(--line); font-size: 16px; line-height: 1.7; }
.job-body h1, .job-body h2, .job-body h3, .job-body h4 { margin: 32px 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.job-body > :first-child { margin-top: 0; }
.job-body p { margin: 0 0 14px; }
.job-body ul, .job-body ol { margin: 0 0 16px; padding-left: 22px; }
.job-body li { margin: 0 0 7px; }
.job-body a[href] { text-decoration: underline; text-underline-offset: 3px; }
.job-body p:empty, .job-body p:has(> br:only-child) { display: none; }
.is-role .careers-hero, .is-role .careers-team, .is-role .careers-values, .is-role .roles__head { display: none; }
.is-role .roles { grid-template-columns: 1fr; }

.quote { margin: 0; max-width: 40rem; }
.quote blockquote { margin: 0; font: 400 30px/1.25 var(--serif); }
.quote figcaption { margin-top: 14px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }

@media (max-width: 1099px) {
  .careers-hero { grid-template-columns: 1fr; }
  .careers-hero h1 { font-size: 44px; }
  .careers-hero .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .roles { grid-template-columns: 1fr; }
}
@media (max-width: 799px) {
  .careers-hero__text { padding: 40px var(--gutter); }
  .careers-hero h1 { font-size: 34px; }
  .careers-hero__desc { font-size: 16px; }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 20px 0; border-left: 0; border-bottom: var(--line); }
  .roles__head h2 { font-size: 28px; }
  .job-row a { grid-template-columns: 1fr; }
  .job-row__brand { grid-column: 1; grid-row: auto; }
  .quote blockquote { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .job-skel { animation: none; } }

/* ===== About (v2: the original page's photography and voice) ===== */
.ab-hero { padding: 64px var(--gutter) 0; }
.ab-hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.ab-hero h1 { margin: 10px 0 0; font: 400 clamp(48px, 6vw, 88px)/1.02 var(--serif); letter-spacing: -0.015em; }
.ab-hero__body { display: flex; flex-direction: column; gap: 20px; }
.ab-hero__body p { margin: 0; font-size: 18px; line-height: 1.6; }
.ab-hero .facts { margin-top: 4px; }
.ab-hero__img { margin: 48px 0 0; }
.ab-hero__img img { width: 100%; height: auto; }

.ab-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding: 88px var(--gutter) 48px; }
.ab-story h2 { margin: 0; font: 400 44px/1.1 var(--serif); }
.ab-story__body { display: flex; flex-direction: column; gap: 18px; max-width: 40rem; }
.ab-story__body p { margin: 0; font-size: 18px; line-height: 1.6; }
.ab-story__body .voice { padding-top: 20px; border-top: var(--line); font-weight: 700; }

.strip { overflow: hidden; padding: 8px 0 88px; border-bottom: var(--line); }
.strip__track { display: flex; gap: 12px; width: max-content; animation: strip 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip figure { margin: 0; }
.strip img { height: 300px; width: auto; border-radius: 4px; }
@keyframes strip { to { transform: translateX(-50%); } }

.ab-team { padding: 88px var(--gutter); border-bottom: var(--line); }
.ab-team__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; margin-bottom: 40px; }
.ab-team h2 { margin: 0; font: 400 44px/1.1 var(--serif); }
.ab-team__head p { margin: 0; max-width: 40rem; font-size: 18px; line-height: 1.6; }
.ab-team img { width: 100%; height: auto; }

.ab-values { padding: 88px var(--gutter); border-bottom: var(--line); }
.ab-values > h2 { margin: 10px 0 40px; font: 400 44px/1.1 var(--serif); }
.ab-value { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: center; padding: 40px 0; border-top: var(--line); }
.ab-value h3 { margin: 0 0 12px; font: 400 34px/1.15 var(--serif); }
.ab-value p { margin: 0; max-width: 30rem; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ab-value img { width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 4px; }
.ab-value--flip .ab-value__text { order: 2; }
.ab-value--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ab-value img, .ab-value picture { display: block; aspect-ratio: 16 / 9; height: auto; max-height: none; }

.ab-awards { padding: 88px var(--gutter); border-bottom: var(--line); }
.ab-awards__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; margin-bottom: 48px; }
.ab-awards h2 { margin: 0; font: 400 44px/1.1 var(--serif); }
.ab-awards__head p { margin: 0; max-width: 40rem; font-size: 18px; line-height: 1.6; }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.badges img { height: 150px; width: auto; }
.badges strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.badges span { display: block; margin-top: 4px; font: 400 12.5px/1.45 var(--mono); color: var(--ink-2); }

.ab-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ab-join .photo { min-height: 480px; }
.ab-join .photo img { position: absolute; inset: 0; object-position: 50% 35%; }
.ab-join__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 72px var(--gutter); }
.ab-join h2 { margin: 0; max-width: 12em; font: 400 44px/1.1 var(--serif); }
.ab-join p { margin: 0; max-width: 34rem; font-size: 17px; line-height: 1.6; }

@media (max-width: 1099px) {
  .ab-hero__top, .ab-story, .ab-team__head, .ab-awards__head, .ab-value, .ab-value--flip, .ab-join { grid-template-columns: 1fr; }
  .ab-value--flip .ab-value__text { order: 0; }
  .ab-join .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 799px) {
  .ab-hero { padding-top: 40px; }
  .ab-hero h1 { font-size: 46px; }
  .ab-hero__body p, .ab-story__body p, .ab-team__head p, .ab-awards__head p { font-size: 16px; }
  .ab-hero__img { margin-top: 32px; }
  .ab-story, .ab-team, .ab-values, .ab-awards { padding-top: 56px; padding-bottom: 56px; }
  .ab-story { padding-bottom: 32px; }
  .ab-story h2, .ab-team h2, .ab-values > h2, .ab-awards h2, .ab-join h2 { font-size: 32px; }
  .ab-value { padding: 28px 0; }
  .ab-value h3 { font-size: 26px; }
  .strip { padding-bottom: 56px; }
  .strip img { height: 200px; }
  .badges img { height: 120px; }
  .ab-join__text { padding: 48px var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip__track { animation: none; }
  .strip__track [aria-hidden="true"] { display: none; }
}

/* ===== Investors & Press ===== */
.pg-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-bottom: var(--line); }
.pg-hero__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 64px var(--gutter); }
.pg-hero h1 { margin: 4px 0 0; max-width: 13em; font: 400 clamp(38px, calc((54.5vw - 96px) / 12), 56px)/1.1 var(--serif); letter-spacing: -0.01em; }
.pg-hero__desc { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.6; }
.pg-hero .photo { min-height: 460px; }
.pg-hero .photo img { position: absolute; inset: 0; object-position: 50% 40%; }
.pg-hero--text { grid-template-columns: 1fr; }
.pg-hero--text .pg-hero__text { padding-top: 80px; padding-bottom: 72px; }
.pg-hero .pill { margin-top: 4px; }

.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; }
.split2 h2 { margin: 14px 0 0; font: 400 40px/1.12 var(--serif); }
.split2 .lead { margin: 0; max-width: 40rem; font-size: 18px; line-height: 1.6; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.pillars li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 8px 0; }
.pillars li + li { padding-left: 24px; border-left: var(--line); }
.pillars .label { margin: 0; }
.pillars h3 { margin: 0; font: 400 26px/1.2 var(--serif); }
.pillars p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pillars img { align-self: flex-start; height: 30px; width: auto; margin-top: auto; padding-top: 12px; box-sizing: content-box; }

.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.people li { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 4px 0; }
.people li + li { padding-left: 24px; border-left: var(--line); }
.people strong { font-size: 18px; font-weight: 600; }
.people span { font: 400 13px/1.45 var(--mono); color: var(--ink-2); }

.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.contact-row a.mail { font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

.boiler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.boiler li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 8px 0; }
.boiler li + li { padding-left: 24px; border-left: var(--line); }
.boiler p { margin: 0; font-size: 15px; line-height: 1.65; }
.boiler li:first-child p { font: 400 24px/1.3 var(--serif); }
.copy-btn { align-self: flex-start; min-height: 36px; padding: 0 14px; border: var(--line); border-radius: 999px; background: var(--white); color: var(--night); font: 600 13px var(--sans); cursor: pointer; }
.copy-btn:hover { border-color: var(--night); }

.facts-table { width: 100%; margin: 40px 0 0; border-collapse: collapse; }
.facts-table th, .facts-table td { padding: 16px 0; border-top: var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.facts-table th { width: 30%; font: 400 13px/1.6 var(--mono); color: var(--ink-2); padding-right: 24px; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: var(--line); }

.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; }
.kit li { display: flex; flex-direction: column; border: var(--line); }
.kit .kit__img { display: flex; align-items: center; justify-content: center; height: 160px; padding: 24px; background: var(--white); border-bottom: var(--line); }
.kit .kit__img img { max-height: 44px; width: auto; max-width: 100%; }
.kit .kit__img--photo { padding: 0; }
.kit .kit__img--photo img { max-height: none; height: 100%; width: 100%; object-fit: cover; }
.kit .kit__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; }
.kit .kit__meta a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.naming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.naming li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: var(--line); font-size: 15px; line-height: 1.5; }
.naming b { font-weight: 700; }
.naming .no { color: var(--ink-2); }

@media (max-width: 1099px) {
  .pg-hero, .split2 { grid-template-columns: 1fr; }
  .pg-hero .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .pg-hero h1 { font-size: 46px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people li, .people li + li { padding: 20px 24px 20px 0; border-left: 0; border-bottom: var(--line); }
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boiler { grid-template-columns: 1fr; }
  .boiler li, .boiler li + li { padding: 24px 0; border-left: 0; border-bottom: var(--line); }
}
@media (max-width: 799px) {
  .pg-hero__text { padding: 40px var(--gutter); }
  .pg-hero--text .pg-hero__text { padding-top: 48px; padding-bottom: 40px; }
  .pg-hero h1 { font-size: 36px; }
  .pg-hero__desc, .split2 .lead { font-size: 16px; }
  .split2 h2 { font-size: 30px; }
  .pillars, .people, .naming { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 20px 0; border-left: 0; border-bottom: var(--line); }
  .people li, .people li + li { padding: 16px 0; }
  .naming li { grid-template-columns: 1fr; gap: 4px; }
  .facts-table th { width: 40%; }
  .boiler li:first-child p { font-size: 20px; }
}

/* Investors: milestones, integrations, opportunity */
.timeline { margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.timeline li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: var(--line); }
.timeline .yr { font: 400 22px/1.3 var(--mono); }
.timeline ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.timeline ul li { display: block; padding: 0; border: 0; font-size: 16px; line-height: 1.5; }
.badge-row { display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.badge-row img { height: 88px; width: auto; }
.logo-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); border-bottom: var(--line); }
.logo-list li { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px; font-size: 18px; font-weight: 600; text-align: center; }
.logo-list li + li { border-left: var(--line); }
.big-statement { margin: 0; max-width: 22em; font: 400 clamp(30px, 3.4vw, 44px)/1.2 var(--serif); }
.op-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.op-points li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 8px 0; }
.op-points li + li { padding-left: 24px; border-left: var(--line); }
.op-points h3 { margin: 0; font-size: 18px; font-weight: 700; }
.op-points p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 1099px) {
  .logo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-list li:nth-child(4) { border-left: 0; }
  .logo-list li:nth-child(n+4) { border-top: var(--line); }
}
@media (max-width: 799px) {
  .timeline li { grid-template-columns: 1fr; }
  .timeline .yr { font-size: 18px; }
  .badge-row img { height: 64px; }
  .logo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-list li:nth-child(n) { border-left: 0; border-top: var(--line); }
  .logo-list li:nth-child(even) { border-left: var(--line); }
  .logo-list li:first-child, .logo-list li:nth-child(2) { border-top: 0; }
  .op-points { grid-template-columns: 1fr; }
  .op-points li, .op-points li + li { padding: 20px 0; border-left: 0; border-bottom: var(--line); }
}

.sources { margin-top: 28px; font-family: "Fira Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.6; color: #545454; }
.op-points sup { font-size: 0.7em; line-height: 0; }
.name-group { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding: 28px 0; border-top: var(--line); }
.name-group:last-child { border-bottom: var(--line); }
.split2 + .name-group { margin-top: 48px; }
.name-row { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0; padding: 0; list-style: none; font-size: 20px; font-weight: 600; line-height: 1.4; }
@media (max-width: 700px) {
  .name-group { grid-template-columns: 1fr; gap: 12px; }
  .name-row { font-size: 17px; gap: 8px 24px; }
}
.people { column-gap: 24px; }
.people li, .people li + li { padding: 24px 0 8px; border-left: 0; }
.people img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; background: var(--paper); }
@media (max-width: 700px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .people li, .people li + li { padding: 16px 0; border-left: 0; }
}
.people { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.people-label { margin: 56px 0 0; }
.people-label + .people { margin-top: 16px; }
@media (max-width: 1099px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split2 h2:first-child { margin-top: 0; }
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 48px 0 0; padding: 0; list-style: none; }
.routes li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: var(--line); transition: background-color .15s ease; }
.routes li:hover { background: var(--paper); }
.routes h3 { margin: 6px 0 0; font: 400 26px/1.15 var(--serif); }
.routes p:not(.label) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.routes a { margin-top: auto; padding-top: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 1099px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .routes { grid-template-columns: 1fr; } }
.hero__photo--video { background: #0A0A0A; }
.hero__photo--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1099px) { .hero__photo--video { aspect-ratio: 4 / 3; } }

/* Hero film: click-to-watch overlay and modal */
.video-open { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; border: 0; background: transparent; cursor: pointer; }
.video-open__pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--white); color: var(--night); font: 600 15px/1 var(--sans); transition: background-color .15s ease, color .15s ease; }
.video-open__icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.video-open:hover .video-open__pill, .video-open:focus-visible .video-open__pill { background: var(--night); color: var(--white); }
.video-open:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
.film { width: min(92vw, calc(86vh * 4 / 3)); max-width: none; padding: 0; border: 0; background: #0A0A0A; overflow: visible; }
.film::backdrop { background: rgba(10, 10, 10, .88); }
.film__frame { aspect-ratio: 4 / 3; }
.film__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.film__close { position: absolute; right: 0; bottom: calc(100% + 12px); min-height: 40px; padding: 0 18px; border: 1px solid rgba(255,254,254,.5); border-radius: 999px; background: transparent; color: var(--white); font: 600 14px/1 var(--sans); cursor: pointer; }
.film__close:hover, .film__close:focus-visible { background: var(--white); color: var(--night); }
@media (prefers-reduced-motion: reduce) { .video-open__pill { transition: none; } }
.people .li-link { align-self: flex-start; margin-top: 6px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.people .li-link:hover { background: linear-gradient(transparent 62%, var(--cream) 62%, var(--cream) 92%, transparent 92%); }
