/* Storehub — Design 1 "Clarity": light, crisp, corporate SaaS */
@layer reset, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: none; text-size-adjust: none; }
  body { min-height: 100dvh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img, svg, video { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  p, h1, h2, h3, h4 { overflow-wrap: break-word; }
}

@layer base {
  :root {
    color-scheme: light;
    /* storehub.io brand palette */
    --ink: #02094c;
    --ink-2: #2f373d;
    --muted: #54595f;
    --grey: #7e868c;
    --line: #e5e7ec;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --navy-50: #eef0f8;
    --brand: #f56c20;
    --brand-600: #f45a2a;
    --brand-ink: #b94a0e; /* darker brand orange for small text on white (AA contrast) */
    --brand-50: #fef1e8;
    --accent: var(--brand);
    --danger: #b91c1c;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgb(2 9 76 / .06), 0 8px 24px -8px rgb(2 9 76 / .12);
    --shadow-lg: 0 30px 60px -20px rgb(2 9 76 / .25);
    --max: 1180px;
    --pad: clamp(1rem, 4vw, 2rem);
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    accent-color: var(--brand);
  }

  @view-transition { navigation: auto; }

  html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body { font-family: var(--font); color: var(--ink-2); background: var(--bg); font-size: 1.0625rem; }
  h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
  h1 { font-size: clamp(2.25rem, 5vw + .5rem, 3.75rem); font-weight: 800; }
  h2 { font-size: clamp(1.75rem, 2.5vw + .75rem, 2.6rem); font-weight: 750; }
  h3 { font-size: 1.2rem; font-weight: 700; }
  p { text-wrap: pretty; }
  a { color: var(--brand-ink); text-underline-offset: .2em; }
  a:hover { color: var(--ink); }
  :focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 60%, white); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--brand); color: white; }
}

@layer layout {
  .container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
  .section { padding-block: clamp(4rem, 8vw, 7rem); }
  .section--soft { background: var(--bg-soft); }
  .section--ink { background: var(--ink); color: #c9cde3; }
  .section--ink :is(h2, h3) { color: white; }
  .section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
  .section__head--center { margin-inline: auto; text-align: center; }
  .section__head p { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; }
  .section--ink .section__head p { color: #9ba1c4; }
  .section--ink .eyebrow { color: var(--brand); }
  .grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
  .grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
  .grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
  .grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
  .split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
}

@layer components {
  /* Skip link */
  .skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
  .skip-link:focus { top: 1rem; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, white 82%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
    &.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgb(2 9 76 / .25); }
  }
  .site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
  .brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
  .brand svg { width: 2rem; height: 2rem; }
  .brand span b { color: var(--brand); font-weight: 800; }
  .nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
  .nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; padding: .5rem .8rem; border-radius: 8px; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
  .nav__cta { display: flex; gap: .5rem; margin-left: .75rem; }
  .nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; cursor: pointer; }
  .nav-toggle svg { width: 1.5rem; height: 1.5rem; }

  @media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav {
      position: fixed; inset: 4.25rem 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
      background: white; padding: 1rem var(--pad) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
      translate: 0 -120%; visibility: hidden; transition: translate .25s ease, visibility .25s;
    }
    .nav a:not(.btn) { padding: .8rem 1rem; }
    .nav__cta { margin: .5rem 0 0; flex-direction: column; }
    .nav-open .nav { translate: 0 0; visibility: visible; }
  }

  /* Buttons */
  .btn {
    --_bg: var(--brand); --_fg: white; --_bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.35rem; border-radius: 999px; font-weight: 650; font-size: .98rem; line-height: 1.2;
    background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd); text-decoration: none; cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
    &:hover { color: var(--_fg); background: color-mix(in oklab, var(--_bg) 88%, black); transform: translateY(-1px); box-shadow: 0 8px 20px -10px var(--_bg); }
    &:disabled { opacity: .6; cursor: progress; }
  }
  .btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line); &:hover { background: var(--bg-soft); box-shadow: none; } }
  .btn--light { --_bg: white; --_fg: var(--ink); }
  .btn--sm { padding: .55rem 1rem; font-size: .92rem; }
  .btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

  /* Eyebrow / pills */
  .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 1rem; }
  .pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: .85rem; font-weight: 600; border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
  .pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-600) 25%, transparent); }

  /* Hero */
  .hero { position: relative; overflow: clip; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6rem);
    background:
      radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
      radial-gradient(40rem 24rem at -10% 10%, var(--navy-50), transparent 70%);
  }
  .hero h1 { margin-block: 1.25rem 1.25rem; }
  .hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand), var(--brand-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero__lead { font-size: clamp(1.1rem, 1vw + .8rem, 1.3rem); color: var(--ink-2); max-width: 36rem; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .hero__trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.25rem; font-size: .92rem; color: var(--muted); }
  .hero__trust strong { color: var(--ink); }
  .stars { color: var(--accent); letter-spacing: .1em; }

  /* Mock dashboard */
  .mock { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
  .mock__bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: .8rem; color: var(--muted); }
  .mock__bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--line); }
  .mock__bar span { margin-left: auto; }
  .mock__body { padding: 1.25rem; display: grid; gap: 1rem; }
  .mock__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .mock__stat { background: var(--bg-soft); border-radius: 12px; padding: .8rem; }
  .mock__stat small { display: block; color: var(--muted); font-size: .75rem; }
  .mock__stat b { font-size: 1.35rem; color: var(--ink); }
  .mock__log { list-style: none; padding: 0; display: grid; gap: .5rem; }
  .mock__log li { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; color: var(--ink); }
  .mock__log li small { color: var(--muted); font-size: .75rem; }
  .mock__dot { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 8px; background: var(--brand-50); color: var(--brand-ink); font-weight: 800; font-size: .8rem; }
  .mock__dot--in { background: var(--navy-50); color: var(--ink); }
  .mock__caption { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 1rem; }

  /* Logo strip */
  .logos { padding-block: 2.5rem; border-block: 1px solid var(--line); }
  .logos p { text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.25rem; }
  .logos ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; }
  .logos li { font-weight: 750; color: var(--grey); font-size: 1.1rem; letter-spacing: -0.01em; }

  /* Cards */
  .card { container-type: inline-size; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
  a.card { display: block; text-decoration: none; color: inherit; &:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
  .card h3 { margin-bottom: .5rem; }
  .card p { color: var(--muted); }
  .card__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--brand); margin-bottom: 1.1rem; }
  :is(.card--feature, .audience--partner) .card__icon { background: rgb(255 255 255 / .1); }
  .card__icon svg { width: 1.4rem; height: 1.4rem; }
  .card__link { display: inline-flex; margin-top: 1rem; font-weight: 650; color: var(--brand-ink); }
  .card--feature { background: linear-gradient(160deg, var(--ink), #121c6e); color: #c9cde3; border: 0; }
  .card--feature :is(h3) { color: white; }
  .card--feature p { color: #c9cde3; }

  .audience { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
  .audience--partner { background: linear-gradient(160deg, var(--ink), #121c6e); color: #c9cde3; border-color: transparent; }
  .audience--partner :is(h3, .audience__tag) { color: white; }
  .audience__tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-ink); }
  .audience h3 { font-size: 1.6rem; }
  .ticks { list-style: none; padding: 0; display: grid; gap: .55rem; }
  .ticks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; }
  .ticks li::before { content: "✓"; font-weight: 800; color: var(--brand-600); }
  .audience--partner .ticks li::before { color: var(--brand); }
  .audience .btn { justify-self: start; margin-top: .5rem; }

  /* Bento */
  .bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(6, 1fr); }
  .bento > * { grid-column: span 2; }
  .bento > .bento--wide { grid-column: span 4; }
  .bento > .bento--half { grid-column: span 3; }
  @media (max-width: 900px) { .bento > * , .bento > .bento--wide, .bento > .bento--half { grid-column: 1 / -1; } }

  /* Steps */
  .steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .steps li { counter-increment: step; position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); }
  .steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: .85rem; color: var(--brand-ink); margin-bottom: .75rem; letter-spacing: .08em; }
  .section--ink .steps li { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); }
  .section--ink .steps li::before { color: var(--brand); }
  .steps h3 { margin-bottom: .4rem; }

  /* Stats */
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; text-align: center; }
  .stats b { display: block; font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
  .section--ink .stats b { color: white; }
  .stats span { color: var(--muted); font-size: .95rem; }

  /* Quotes */
  .quote { display: grid; gap: 1rem; align-content: start; }
  .quote blockquote { font-size: 1.1rem; color: var(--ink); }
  .quote figcaption { font-size: .9rem; color: var(--muted); }

  /* CTA band */
  .cta-band { border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(120deg, var(--ink), #16217a); color: #d5d8ea; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: center; }
  .cta-band h2 { color: white; }
  .cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
  @media (max-width: 700px) { .cta-band__actions { justify-content: flex-start; } }

  /* FAQ */
  .faq { display: grid; gap: .75rem; max-width: 50rem; margin-inline: auto; }
  .faq details { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 0 1.25rem; }
  .faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: rotate .2s; }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details p { padding-bottom: 1.1rem; color: var(--muted); }

  /* Status badges (explorer + matrix) */
  .status { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: .85rem; font-weight: 800; flex: none; }
  .status--y { background: #dcfce7; color: #15803d; }
  .status--p { background: #fef3c7; color: #b45309; }
  .status--n { background: #f1f5f9; color: #94a3b8; }
  .status--na { background: transparent; color: #cbd5e1; }
  .legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: .9rem; color: var(--muted); margin-block: 1rem; }
  .legend span { display: inline-flex; align-items: center; gap: .4rem; }

  /* Explorer */
  .explorer { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
  .explorer__controls { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); padding: 1.5rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .explorer__field label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .35rem; }
  .explorer__field select { width: 100%; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: white; font-weight: 600; color: var(--ink); }
  .explorer__result { padding: 1.5rem; }
  .explorer__flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
  .explorer__node { display: grid; text-align: center; padding: .7rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); min-width: 10rem; }
  .explorer__node small { font-weight: 600; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .explorer__node--hub { background: var(--ink); color: white; border-color: var(--ink); min-width: auto; }
  .explorer__node--hub small { color: var(--brand); }
  .explorer__hub { color: var(--brand); font-size: 1.3rem; }
  .explorer__cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
  .explorer__cols h4 { font-size: .95rem; margin-bottom: .75rem; }
  .explorer__list { list-style: none; padding: 0; display: grid; gap: .5rem; }
  .explorer__item { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem .75rem; border-radius: 10px; background: var(--bg-soft); }
  .explorer__item--n { opacity: .6; }
  .explorer__label { display: grid; color: var(--ink); font-weight: 550; font-size: .95rem; }
  .explorer__note-inline { color: var(--muted); font-weight: 450; font-size: .82rem; }
  .explorer__disclaimer, .explorer__empty { margin-top: 1.25rem; font-size: .85rem; color: var(--muted); }

  /* Matrix */
  .matrix-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
  .matrix { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 56rem; }
  .matrix th, .matrix td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); text-align: center; }
  .matrix thead th { position: sticky; top: 0; background: var(--bg-soft); color: var(--ink); font-size: .8rem; font-weight: 700; vertical-align: bottom; }
  .matrix tbody th[scope="row"] { text-align: left; font-weight: 550; color: var(--ink); position: sticky; left: 0; background: white; min-width: 13rem; }
  .matrix thead th:first-child { text-align: left; position: sticky; left: 0; z-index: 1; }
  .matrix__group th { text-align: left !important; background: var(--brand-50) !important; color: var(--brand-ink) !important; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
  .matrix tbody tr:hover td, .matrix tbody tr:hover th[scope="row"] { background: var(--bg-soft); }

  /* Tag list */
  .tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
  .tags li { padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: white; font-size: .9rem; font-weight: 600; color: var(--ink); }

  /* Forms */
  .form { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
  .form .field--full, .form > .btn, .form__status, .form__legal { grid-column: 1 / -1; }
  @media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
  .field { display: grid; gap: .35rem; }
  .field__label { font-size: .88rem; font-weight: 650; color: var(--ink); }
  .field :is(input, select, textarea) { width: 100%; padding: .75rem .9rem; border: 1px solid #d3d7e0; border-radius: 10px; background: white; transition: border-color .15s, box-shadow .15s; }
  .field :is(input, select, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
  .field :is(input, textarea):user-invalid { border-color: var(--danger); }
  .field textarea { min-height: 8rem; resize: vertical; }
  .form__status { font-weight: 600; min-height: 1.5em; }
  .form__status[data-state="ok"] { color: var(--ink); }
  .form__status[data-state="error"] { color: var(--danger); }
  .form__legal { font-size: .82rem; color: var(--muted); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .segmented { display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.5rem; }
  .segmented label { position: relative; }
  .segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .segmented span { display: block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 650; font-size: .92rem; color: var(--muted); }
  .segmented input:checked + span { background: white; color: var(--ink); box-shadow: var(--shadow); }
  .segmented input:focus-visible + span { outline: 3px solid color-mix(in oklab, var(--brand) 60%, white); }
  form:has(input[name="enquiry"][value="partner"]:checked) .only-customer,
  form:has(input[name="enquiry"][value="customer"]:checked) .only-partner { display: none; }

  /* Commission calculator */
  .calc { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: white; color: var(--ink-2); box-shadow: var(--shadow-lg); }
  .calc h3 { color: var(--ink); }
  .calc input[type="range"] { width: 100%; }
  .calc__row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--ink); }
  .calc__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .calc__out div { background: var(--bg-soft); border-radius: 12px; padding: 1rem; }
  .calc__out small { display: block; font-size: .8rem; color: var(--muted); }
  .calc__out b { font-size: 1.5rem; color: var(--brand); }
  .calc__fine { font-size: .8rem; color: var(--muted); }

  /* Contact list */
  .contact-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
  .contact-list li { display: grid; gap: .1rem; }
  .contact-list small { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
  .contact-list a, .contact-list span { font-weight: 650; color: var(--ink); text-decoration: none; }

  /* Page hero (inner pages) */
  .page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); background: radial-gradient(50rem 22rem at 90% -20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%), var(--bg-soft); border-bottom: 1px solid var(--line); }
  .page-hero h1 { font-size: clamp(2rem, 4vw + .5rem, 3.2rem); margin-bottom: 1rem; max-width: 22ch; }
  .page-hero p { font-size: 1.2rem; max-width: 42rem; }

  /* Footer */
  .site-footer { background: var(--ink); color: #9ba1c4; padding-block: 4rem 2rem; font-size: .95rem; }
  .site-footer a { color: #d5d8ea; text-decoration: none; &:hover { color: white; } }
  .site-footer .brand { color: white; }
  .footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(3, 1fr); }
  @media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
  .footer-grid h4 { color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
  .footer-grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
  .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
  .social { display: flex; gap: 1rem; }
}

@layer utilities {
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .center { text-align: center; }
  .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
  .muted { color: var(--muted); }
  .js-reveal [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
  .js-reveal [data-reveal].is-visible { opacity: 1; translate: 0 0; }
}
