/* ═══════════════════════════════════════════════
   OCTANE — simple inner pages (about, faq, partner)
   Loads after css/styles.css and reuses its tokens,
   nav, hero shell and footer.
   ═══════════════════════════════════════════════ */

.pg-hero .hero-inner {
  min-height: min(72vh, 660px);
  grid-template-rows: auto;
  padding: clamp(126px, 15vh, 176px) 0 clamp(56px, 8vh, 104px);
}
.pg-hero .hero-copy { max-width: min(860px, 100%); }
.pg-hero h1 { font-size: clamp(40px, 5.6vw, 74px); max-width: 20ch; }
.pg-hero .hero-sub { max-width: 620px; }
.pg-hero .hero-rings { color: rgba(51,58,47,.07); }

/* ── Body sections ────────────────────────────── */
.pg-section { padding: clamp(72px, 8vw, 120px) 0; background: var(--blush); }
.pg-section.sage { background: var(--sage); }

.pg-prose { max-width: 660px; margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.pg-prose p { font-size: 19px; color: var(--muted); }
.pg-prose p.lede { color: var(--ink); font-size: 20px; }

/* ── Step cards ───────────────────────────────── */
.pg-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(38px, 4vw, 60px);
}
.pg-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px 28px; box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.2,.6,.2,1), box-shadow .25s cubic-bezier(.2,.6,.2,1);
}
.pg-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.pg-step-num {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em;
  color: var(--olive); display: block; margin-bottom: 16px;
}
.pg-step h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 20px;
  letter-spacing: -.015em; margin-bottom: 10px; color: var(--ink);
}
.pg-step p { color: var(--muted); font-size: 16.5px; }

/* ── Closing band ─────────────────────────────── */
.pg-close { padding: clamp(72px, 8vw, 120px) 0; background: var(--blush); }
.pg-close-panel {
  background: var(--moss); color: var(--blush);
  border-radius: 26px; overflow: hidden; position: relative;
  padding: clamp(48px, 5.5vw, 84px) clamp(32px, 4vw, 72px);
  display: grid; grid-template-columns: 1.25fr auto; align-items: center; gap: 40px;
}
.pg-close-panel h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.005em; max-width: 22ch;
}
.pg-close-panel h2 em { color: var(--sage); }
.pg-close-panel p { color: rgba(235,237,223,.72); margin-top: 16px; max-width: 46ch; }
.pg-close-rings {
  position: absolute; right: -8%; top: -60%; width: min(620px, 60%); aspect-ratio: 1;
  color: rgba(235,237,223,.12); pointer-events: none;
  animation: ringDrift 80s linear infinite;
}
.pg-close-rings svg { width: 100%; height: 100%; }
.pg-close-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; }
.pg-close-actions .btn { justify-content: center; }
.pg-note {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(235,237,223,.5); margin-top: 26px;
}

@media (max-width: 900px) {
  .pg-steps { grid-template-columns: 1fr; }
  .pg-close-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-close-rings { animation: none !important; }
}

/* ── FAQs ─────────────────────────────────────── */
.faq-top {
  background: var(--blush); text-align: center;
  padding: clamp(120px, 15vh, 176px) 0 clamp(40px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}
.faq-top h1 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(48px, 7vw, 88px); line-height: 1.05; color: var(--moss);
}
.faq-top-sub {
  margin: 18px auto 0; max-width: 62ch; font-size: 18px;
  line-height: 1.62; color: var(--muted); text-wrap: pretty;
}

.faq-body { background: var(--blush); padding: clamp(48px, 6vw, 78px) 0 clamp(72px, 8vw, 116px); }
.faq-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

/* Rail */
.faq-rail { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 30px; }
.faq-search { position: relative; }
.faq-search-icon {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--olive); pointer-events: none;
}
.faq-search input {
  width: 100%; font-family: var(--font-head); font-size: 15.5px; color: var(--ink);
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 46px 12px 20px; outline: none;
  transition: border-color .18s cubic-bezier(.2,.6,.2,1), box-shadow .18s cubic-bezier(.2,.6,.2,1);
}
.faq-search input::placeholder { color: rgba(26,30,24,.45); }
.faq-search input:focus { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(51,58,47,.1); }

.faq-jump { display: flex; flex-direction: column; }
.faq-jump-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 18px;
}
.faq-jump a {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline; gap: 0 4px;
  font-family: var(--font-head); font-weight: 400; font-size: 16px; line-height: 1.4;
  color: rgba(26,30,24,.62); text-decoration: none;
  padding: 15px 0 15px 20px; border-top: 1px solid var(--line);
  transition: color .2s cubic-bezier(.2,.6,.2,1);
}
.faq-jump a:last-child { border-bottom: 1px solid var(--line); }
.faq-jump a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 2px; height: 26px; background: var(--moss); border-radius: 2px;
  transform-origin: center; transition: transform .22s cubic-bezier(.2,.6,.2,1);
}
.faq-jump a > span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  color: rgba(26,30,24,.34); transition: color .2s cubic-bezier(.2,.6,.2,1);
}
.faq-jump a:hover { color: var(--ink); }
.faq-jump a:hover > span { color: var(--olive); }
.faq-jump a.is-active { color: var(--moss); font-weight: 500; }
.faq-jump a.is-active > span { color: var(--olive); }
.faq-jump a.is-active::before { transform: translateY(-50%) scaleY(1); }

/* Groups */
.faq-empty { color: var(--muted); font-size: 18px; padding: 8px 0 40px; }
.faq-group { padding-bottom: clamp(44px, 5vw, 68px); }
.faq-group[hidden] { display: none; }
.faq-group-head { padding-bottom: 22px; }
.faq-group-head h2 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.015em; line-height: 1.14;
  font-size: clamp(26px, 3vw, 36px); color: var(--ink); text-wrap: pretty;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--sage); border-radius: 14px;
  transition: background .18s cubic-bezier(.2,.6,.2,1);
}
.faq-item[hidden] { display: none; }
.faq-item:hover { background: #e4e7d6; }
.faq-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 24px;
  padding: 20px 18px 20px 26px; font-family: var(--font-head); font-weight: 500; font-size: 17.5px;
  letter-spacing: -.01em; color: var(--ink); text-wrap: pretty;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: none; margin-left: auto; width: 34px; height: 34px;
  border: 1px solid rgba(26,30,24,.14); border-radius: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%234c5646' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M17 11v12M11 17h12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
  transition: transform .25s cubic-bezier(.2,.6,.2,1);
}
.faq-item[open] > summary::after { transform: rotate(135deg); }

.faq-a {
  padding: 0 clamp(26px, 5vw, 64px) 26px 26px;
  max-width: 76ch; display: flex; flex-direction: column; gap: 16px;
}
.faq-a p { font-size: 17px; line-height: 1.62; color: var(--muted); }

.faq-quote { display: flex; flex-direction: column; gap: 6px; }
.faq-quote-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--olive);
}
.faq-quote p { border-left: 1.5px solid rgba(26,30,24,.18); padding-left: 18px; }
.faq-quote.is-octane p { border-left-color: var(--olive); }

.faq-bullets { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.faq-bullets li {
  position: relative; padding-left: 22px;
  font-size: 17px; line-height: 1.62; color: var(--muted);
}
.faq-bullets li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--olive);
}
.faq-opt-key {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--olive); margin-right: 8px;
}

@media (max-width: 980px) {
  .faq-shell { grid-template-columns: 1fr; gap: 36px; }
  .faq-rail { position: static; }
  .faq-jump-label { margin-bottom: 12px; }
  .faq-jump a { padding: 13px 0 13px 20px; }
}
@media (max-width: 760px) {
  .faq-item > summary { font-size: 16.5px; gap: 14px; padding: 18px 14px 18px 20px; }
  .faq-a { padding: 0 20px 22px 20px; }
}

/* ── About: editorial article ─────────────────── */
.ab-article {
  background: var(--blush);
  padding: clamp(128px, 16vh, 190px) var(--gutter, 24px) clamp(80px, 9vw, 130px);
}
.ab-mast, .ab-body { max-width: 680px; margin: 0 auto; }

.ab-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--olive);
}
.ab-mast h1 {
  margin-top: 22px;
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; color: var(--ink);
  text-wrap: balance;
}
.ab-byline {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 30px; padding: 20px 0 0; border-top: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.55; color: var(--muted);
}
.ab-byline-name { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--ink); }

.ab-body { margin-top: clamp(40px, 5vw, 60px); }
.ab-body p {
  font-size: 19.5px; line-height: 1.72; color: var(--ink); text-wrap: pretty;
  margin-bottom: 26px;
}
.ab-p { position: relative; }
.ab-open {
  font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 30px) !important;
  line-height: 1.32 !important; color: var(--ink); margin-bottom: 30px !important;
}
.ab-endnote {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 16.5px !important; color: var(--muted) !important;
}
.ab-endnote a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.ab-endnote a:hover { color: var(--ink); }

/* Editorial photography — hangs in the left margin */
.ab-photo { margin: 8px 0 30px; }
.ab-photo img {
  display: block; width: 100%; height: auto; border-radius: 16px;
}
@media (min-width: 900px) {
  .ab-photo {
    float: left; width: 300px; margin: 6px 34px 26px 0;
    margin-left: max(-190px, calc(24px - (100vw - 680px) / 2));
    shape-outside: inset(0 round 16px);
  }
}
@media (min-width: 1320px) {
  .ab-photo { width: 330px; margin-left: max(-270px, calc(24px - (100vw - 680px) / 2)); }
}

/* Second founder note — same measure, separated by a hairline */
.ab-article-alt { border-top: 1px solid var(--line); padding-top: clamp(80px, 9vw, 130px); }
.ab-photo image-slot { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.ab-photo figcaption {
  margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  line-height: 1.5; color: var(--muted);
}
.ab-closing {
  font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 30px) !important;
  line-height: 1.32 !important; color: var(--moss);
  margin-top: 40px !important; padding-top: 30px; border-top: 1px solid var(--line);
}

/* Inline author box — floats into the left margin, text wraps */
.ab-author {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--sage); border-radius: 14px; padding: 22px 24px;
  margin: 4px 0 22px; max-width: 340px;
}
.ab-author-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--olive);
}
.ab-author-name { font-family: var(--font-serif); font-size: 22px; line-height: 1.24; color: var(--ink); }
.ab-author-meta { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (min-width: 900px) {
  .ab-author {
    float: left; width: 320px; margin: 6px 32px 22px 0;
    /* never pull further left than the real side margin allows */
    margin-left: max(-150px, calc(24px - (100vw - 680px) / 2));
  }
}
@media (min-width: 1320px) {
  .ab-author { margin-left: max(-230px, calc(24px - (100vw - 680px) / 2)); }
}

/* Margin callouts */
.ab-note {
  display: block; margin: 26px 0; padding-left: 18px; border-left: 2px solid var(--olive);
  font-size: 16px; line-height: 1.55; color: var(--muted);
}
.ab-note-label {
  display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 8px;
}
.ab-note.is-pull { display: flex; flex-direction: column; gap: 2px; }
.ab-note.is-pull span {
  font-family: var(--font-serif); font-size: 25px; line-height: 1.24; color: var(--ink);
}
.ab-note.is-pull span:last-child { font-style: italic; color: var(--olive); }

@media (min-width: 1320px) {
  .ab-note {
    position: absolute; top: 4px; right: -300px; width: 250px; margin: 0;
    border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px;
  }
  .ab-note.is-pull span { font-size: 27px; }
}
@media (max-width: 760px) {
  .ab-body p { font-size: 17.5px; margin-bottom: 22px; }
  .ab-open { font-size: 21px !important; }
  .ab-note.is-pull span { font-size: 22px; }
}

/* ── About: team ──────────────────────────────── */
.ab-team {
  background: var(--blush); border-top: 1px solid var(--line);
  padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 10vw, 140px); text-align: center;
}
.ab-team h2 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; color: var(--ink);
}
.ab-team-sub {
  margin: 20px auto 0; max-width: 62ch; font-size: 18px; line-height: 1.62;
  color: var(--muted); text-wrap: pretty;
}
.ab-team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1140px; margin: clamp(44px, 5vw, 72px) auto 0; text-align: left;
}
.ab-member {
  background: var(--sage); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.ab-member image-slot { display: block; width: 100%; aspect-ratio: 1 / 1; }
.ab-member-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 3px; }
.ab-member h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em; color: var(--ink);
}
.ab-member p { font-size: 14px; line-height: 1.45; color: var(--muted); }

@media (max-width: 1000px) { .ab-team-grid { grid-template-columns: repeat(3, 1fr); max-width: 720px; } }
@media (max-width: 760px) { .ab-team-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; } }
@media (max-width: 420px) { .ab-team-grid { grid-template-columns: 1fr; max-width: 300px; } }
