/* ==========================================================================
   Selfstack — "Sky-led" palette + type
   Colors and type pairing carried over from the design handoff
   (Pool Sky + Mango; Outfit + DM Sans + IBM Plex Mono).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted webfonts

   Previously loaded from fonts.googleapis.com. Self-hosted so the site makes
   no third-party requests at all: Google Fonts sets no cookies, but it does
   transmit the visitor's IP to Google, and it put a render-blocking
   cross-origin stylesheet on the critical path. All three families are SIL
   Open Font License, which expressly permits this.

   DM Sans and Outfit are variable fonts — one file spans the whole weight
   axis, which is why Google served a single URL for every weight requested.
   IBM Plex Mono is static, so 400 and 500 are separate files.

   Latin subset only (U+0000-00FF and friends); the site is English.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('./assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream:      #FFF8F0;  /* page background; text on dark/saturated surfaces */
  --espresso:   #1E1A17;  /* primary text; dark section background          */
  --mango:      #FF8A00;  /* primary brand accent — CTAs, emphasis, links   */
  --mango-tint: #FFEEDC;  /* warm card fill, accent surface                 */
  --mango-hover:#E07600;  /* mango hover state                              */
  /* Mango is too light to be legible as text: #FF8A00 on cream is 2.24:1,
     well under the 4.5:1 WCAG AA minimum. This is the same hue and
     saturation, just darker (HSL lightness 50% -> 30%), and clears AA on
     both cream (5.55:1) and the mango tint (5.15:1). Use --mango for FILLS
     and --mango-text wherever mango appears as text or a meaningful mark. */
  --mango-text: #995300;
  --espresso-hover: #332D28; /* espresso hover state                       */
  --watermelon: #FF4F58;  /* secondary accent — alerts, small highlights    */
  --mint:       #00A896;  /* secondary accent — icons                       */
  --sky:        #8ED8F8;  /* hero surface / large cool field                */
  --sky-tint:   #EAF8FE;  /* cool card fill                                 */
  --sky-ink:    #10353F;  /* headings on sky                                */
  --sky-body:   #1B4C59;  /* body text on sky                               */
  --sky-line:   #7FCDEE;  /* border on sky surfaces                         */
  --butter:     #FFD25E;  /* warm accent, stat/card fill                    */
  --butter-tint:#FFF4DC;  /* warm card fill, lighter than mango tint        */
  --lime:       #B8E020;  /* loud accent — small doses only                 */
  --body:       #6B5D50;  /* body text on cream / warm tints                */
  --espresso-body: #B8A99B; /* body text on espresso                        */

  --espresso-68: rgba(30, 26, 23, 0.68);
  --espresso-66: rgba(30, 26, 23, 0.66);
  --espresso-62: rgba(30, 26, 23, 0.62);
  --espresso-45: rgba(30, 26, 23, 0.45);
  --espresso-40: rgba(30, 26, 23, 0.40);
  --rule:   rgba(30, 26, 23, 0.10);
  --edge:   rgba(30, 26, 23, 0.12);

  --display: 'Outfit', Helvetica, Arial, sans-serif;
  --sans:    'DM Sans', Helvetica, Arial, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 44px;
  --measure: 1140px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--mango-text); text-decoration: none; }
a:hover { color: var(--espresso); }

::selection { background: var(--mango-tint); color: var(--espresso); }

input, textarea, button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  width: 100%;
}

/* Shared type ------------------------------------------------------------- */

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.body {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso-68);
}

.body + .body { margin-top: 18px; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mango-text);
  margin-bottom: 20px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 4px;
}

.btn-teal { background: var(--mango); color: var(--espresso); }
.btn-teal:hover { background: var(--mango-hover); color: var(--espresso); }

.btn-ink { background: var(--espresso); color: var(--cream); }
.btn-ink:hover { background: var(--espresso-hover); color: var(--cream); }

.btn-outline {
  border: 1px solid rgba(30, 26, 23, 0.18);
  color: var(--espresso);
}
.btn-outline:hover { border-color: var(--espresso); color: var(--espresso); }

/* --------------------------------------------------------------------------
   Reveal-on-scroll primitives
   JS flips `is-visible`; everything degrades to visible without JS.
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s var(--ease);
}

/* The reveal end-state. Per-element rules below set each element's STARTING
   offset and are scoped with :not(.is-visible) so this rule always wins once
   the class lands — they have equal specificity, so without that scoping the
   later rule would win on source order and elements would finish a few pixels
   low, having faded in but never travelled. Note the transitions there are
   deliberately NOT scoped: they must apply in both states or the element
   snaps into place instead of animating. */
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 26, 23, 0.07);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.045em;
  color: var(--espresso);
}

/* On /privacy/ and 404 the wordmark is an anchor back to the home page.
   Pin the colour so it matches the plain <div> version on index.html
   instead of picking up the global link colour. */
a.wordmark:hover { color: var(--mango-text); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  /* Trimmed from 96vh/80px: the hero centres its content, so a tall
     min-height left a band of empty sky under the last line before the
     colour changed. */
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 130px var(--gutter) 56px;
  background: var(--sky);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mango-text);
  background: var(--mango-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 34px;
}

.js .eyebrow-pill[data-reveal] { transition: opacity .7s ease, transform .7s var(--ease); }
.js .eyebrow-pill[data-reveal]:not(.is-visible) { transform: translateY(14px); }

.hero-title {
  margin: 0;
  max-width: 19ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--sky-ink);
  /* Even line lengths instead of a long first line and an orphaned last word.
     Browsers without support just fall back to normal greedy wrapping. */
  text-wrap: balance;
}

.hero-lede {
  margin: 30px 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.62;
  color: var(--sky-body);
}

.js .hero-lede[data-reveal]:not(.is-visible) { transform: translateY(20px); }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.js .hero-actions[data-reveal]:not(.is-visible) { transform: translateY(16px); }

.hero-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 84px;
  padding-top: 34px;
  border-top: 1px solid var(--sky-line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--sky-body);
}

.js .hero-points[data-reveal] { transition: opacity 1s ease; }
.js .hero-points[data-reveal]:not(.is-visible) { transform: none; }

/* --------------------------------------------------------------------------
   Founders

   Deliberately not a symmetrical grid: the second column is pushed down and
   its portrait is inset from the right edge, so the pair reads as an
   editorial spread rather than two matching cards.
   -------------------------------------------------------------------------- */

.founders { padding: 0 var(--gutter) 150px; }

.founders-intro {
  max-width: 62ch;
  margin-bottom: 68px;
}

.js .founders-intro[data-reveal] { transition: opacity .8s ease, transform .8s var(--ease); }
.js .founders-intro[data-reveal]:not(.is-visible) { transform: translateY(18px); }

.founders-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 76px);
}

.founder {
  flex: 1 1 0;
  min-width: 0;
  max-width: 470px;
}

.js .founder[data-reveal] { transition: opacity .9s ease, transform .9s var(--ease); }
.js .founder[data-reveal]:not(.is-visible) { transform: translateY(30px); }

.portrait {
  position: relative;
  /* Square to match the source headshots — a taller frame would crop these
     tightly-framed shots inward at the sides. */
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sky-tint);
  border: 1px solid var(--sky-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Until an image actually decodes, show the slot label instead of a broken
   image icon. JS adds .is-loaded on the load event. */
.js .portrait img { opacity: 0; transition: opacity .6s ease; }
.js .portrait.is-loaded img { opacity: 1; }
.js .portrait.is-loaded { border-color: transparent; }
.js .portrait.is-loaded .portrait-fallback { display: none; }

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--espresso-40);
}

.founder-body {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

/* Short mango tick sitting on the rule. */
.founder-body {
  position: relative;
}

.founder-body::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--mango);
}

.founder-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.founder-role {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mango-text);
}

.founder-body p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.64;
  color: var(--espresso-66);
}

/* --------------------------------------------------------------------------
   Offerings
   -------------------------------------------------------------------------- */

/* The only section that needs top padding. Everywhere else the previous
   section's bottom padding is the same cream and reads as the gap; here the
   hero's padding is sky, so without this the eyebrow starts flush against
   the colour boundary. */
.offerings { padding: 104px var(--gutter) 150px; }

.section-intro {
  max-width: 60ch;
  margin-bottom: 46px;
}

.js .section-intro[data-reveal] { transition: opacity .8s ease, transform .8s var(--ease); }
.js .section-intro[data-reveal]:not(.is-visible) { transform: translateY(18px); }

.section-intro .h2 { font-size: clamp(28px, 3.2vw, 44px); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  background: var(--mango-tint);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cards .card:nth-child(3n+2) { background: var(--sky-tint); }
.cards .card:nth-child(3n+3) { background: var(--butter-tint); }

.js .card[data-reveal] { transition: opacity .8s ease, transform .8s var(--ease); }
.js .card[data-reveal]:not(.is-visible) { transform: translateY(28px); }

.card-num {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 138, 0, 0.18);
  color: var(--mango-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.cards .card:nth-child(3n+2) .card-num { background: rgba(0, 168, 150, 0.16); color: var(--mint); }
.cards .card:nth-child(3n+3) .card-num { background: rgba(255, 210, 94, 0.35); color: var(--espresso); }

.card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--espresso-66);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { padding: 0 var(--gutter) 130px; }

.contact-card {
  background: var(--espresso);
  color: var(--cream);
  border-radius: 14px;
  padding: clamp(40px, 5.5vw, 76px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 56px;
}

.js .contact-card [data-reveal]:not(.is-visible) { transform: translateY(22px); }

.contact-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-copy {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--espresso-body);
}

/* Links on the dark contact card. --mango-text is tuned for cream and drops
   to 2.95:1 here, so this surface keeps the brighter --mango (7.31:1 on
   espresso). Underlined because colour alone is not a sufficient distinction
   from the surrounding body text. */
.contact-copy a {
  color: var(--mango);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-copy a:hover { color: var(--butter); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.18);
  border-radius: 6px;
  padding: 15px;
  font-size: 16px;
  color: var(--cream);
  outline: none;
  width: 100%;
  transition: border-color .2s ease;
}

.contact-form textarea { resize: vertical; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 248, 240, 0.45); }

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--sky); }

/* The contact card is on the dark espresso surface, where the global
   espresso focus ring is invisible. Use a light ring rather than none —
   border-color alone is not a sufficient focus indicator (WCAG 2.4.7). */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.contact-form [aria-invalid="true"] { border-color: var(--watermelon); }

.contact-form button {
  background: var(--mango);
  color: var(--espresso);
  border: none;
  border-radius: 6px;
  padding: 17px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease;
}

.contact-form button:hover:not(:disabled) { background: var(--mango-hover); }
.contact-form button:disabled { cursor: default; opacity: .75; }

.form-status {
  margin: 0;
  min-height: 1em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--espresso-body);
}

.form-status.is-error { color: #FFA9AE; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: 0 var(--gutter) 54px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--espresso-68);
  border-top: 1px solid var(--rule);
  padding-top: 26px;
}


/* --------------------------------------------------------------------------
   Skip link

   First focusable element on the page; visible only when focused.
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--espresso);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  transition: transform .18s var(--ease);
}

/* :focus, not :focus-visible. A skip link must appear for ANY focus —
   :focus-visible is heuristic and does not always match, which would leave
   a keyboard user tabbing into an invisible control. */
.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--cream);
  outline-offset: -4px;
}

/* --------------------------------------------------------------------------
   Hero meta line — the plain-language locality/service-area signal that
   matches the Organization schema.
   -------------------------------------------------------------------------- */

.hero-meta {
  margin: 34px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--sky-body);
}

.js .hero-meta[data-reveal]:not(.is-visible) { transform: translateY(12px); }

/* --------------------------------------------------------------------------
   Founder pull-quotes
   -------------------------------------------------------------------------- */

.founder-quote {
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--mango);
}

.founder-quote p {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--espresso);
}

.founder-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--espresso-68);
}

/* --------------------------------------------------------------------------
   FAQ

   Built on <details>/<summary> so it works with no JavaScript, is keyboard
   operable for free, and keeps every answer in the DOM for crawlers and
   answer engines whether or not it is expanded.
   -------------------------------------------------------------------------- */

.faq { padding: 0 var(--gutter) 150px; }

.faq-list {
  max-width: var(--measure);
  margin: 0 auto;
  border-top: 1px solid var(--edge);
}

.faq-item {
  border-bottom: 1px solid var(--edge);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--espresso);
  transition: color .2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--mango-text); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
}

/* Marker drawn as a rotating plus, so state is not conveyed by color alone. */
.faq-item summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: auto;
  margin-top: 5px;
  background:
    linear-gradient(var(--mango-text), var(--mango-text)) center / 100% 2px no-repeat,
    linear-gradient(var(--mango-text), var(--mango-text)) center / 2px 100% no-repeat;
  transition: transform .25s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(135deg); }

.faq-answer {
  padding: 0 46px 26px 0;
  max-width: 74ch;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Privacy note under the contact form
   -------------------------------------------------------------------------- */

.form-privacy {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--espresso-body);
}

.form-privacy a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   Footer links
   -------------------------------------------------------------------------- */

.footer-brand { font-weight: 700; color: var(--espresso); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a,
.footer-link-btn {
  color: var(--espresso-68);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover,
.footer-link-btn:hover { color: var(--mango-text); }

/* The cookie-preferences control is a real button because it opens a dialog,
   but it should read as a footer link. It stays hidden until consent.js
   registers a non-essential category. */
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  cursor: pointer;
}

.footer-link-btn[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Consent banner

   Unused today — consent.js renders nothing while no non-essential tag is
   registered. These rules exist so that adding one is a one-line change
   rather than a design exercise. See the header comment in consent.js.
   -------------------------------------------------------------------------- */

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 90;
  width: calc(100% - 40px);
  max-width: 620px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  padding: 20px 24px;
  background: var(--espresso);
  color: var(--espresso-body);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(30, 26, 23, 0.24);
  font-size: 13.5px;
  line-height: 1.55;
}

.consent-copy { margin: 0; flex: 1 1 260px; }

.consent-copy a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions { display: flex; gap: 10px; margin-left: auto; }

.consent-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  background: var(--mango);
  color: var(--espresso);
}

.consent-btn:hover { background: var(--mango-hover); }

.consent-btn-quiet {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 248, 240, 0.28);
}

.consent-btn-quiet:hover { background: rgba(255, 248, 240, 0.08); }

.consent-btn:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Document pages (/privacy/) and the 404 page

   Standalone pages hand-authored against these classes. There is no build
   step and no templating, so their header and footer are duplicated markup —
   keep them in sync with index.html when either changes.
   -------------------------------------------------------------------------- */

.doc {
  padding: 132px var(--gutter) 40px;
}

.doc-inner {
  max-width: 680px;
  margin: 0 auto;
}

.doc h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.doc-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--espresso-68);
  margin: 0 0 44px;
}

.doc h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.66;
  color: var(--body);
}

.doc p { margin: 0 0 16px; }

.doc ul { margin: 0 0 16px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }

.doc a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc strong { color: var(--espresso); font-weight: 700; }

.doc-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--espresso);
}

/* 404 */

.notfound {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 132px var(--gutter) 80px;
}

.notfound-inner { max-width: var(--measure); margin: 0 auto; }

.notfound-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--mango-text);
  margin: 0 0 16px;
}

.notfound h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 16ch;
}

.notfound p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 52ch;
  margin: 0 0 32px;
}

.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 560px) {
  .doc { padding-top: 108px; }
  .notfound { padding-top: 108px; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  :root { --gutter: 24px; }

  .hero { padding-top: 116px; padding-bottom: 44px; min-height: auto; }
  .offerings { padding-top: 72px; }
  .hero-points { margin-top: 56px; }
  .offerings { padding-bottom: 100px; }

  .founders { padding-bottom: 100px; }
  .founders-intro { margin-bottom: 48px; }
  .founders-row { flex-direction: column; gap: 56px; }
  .founder { max-width: 440px; }
  .contact { padding-bottom: 96px; }
  .contact-card { gap: 36px; }

  .faq { padding-bottom: 100px; }
  .faq-item summary { font-size: 17px; padding: 20px 0; }
  .faq-answer { padding-right: 30px; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px var(--gutter); }
  .contact-card { padding: 36px 24px; }

  .hero-meta { font-size: 11.5px; line-height: 1.7; }
  .faq-item summary { font-size: 16px; gap: 12px; }
  .faq-answer { padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* --------------------------------------------------------------------------
   Reduced motion — every reveal starts visible.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}
