  :root {
    --paper: #F3F4F7;
    --surface: #FFFFFF;
    --surface-2: #FAFBFC;
    --ink: #15171E;
    --muted: #5B6270;
    --line: #E3E5EC;
    --graphite: #2A2D36;
    --cook: #F9C23C;
    --cook-tint: rgba(249, 194, 60, 0.10);
    --endit: #8A5A2B;
    --endit-tint: rgba(184, 135, 79, 0.09);
    --land: #0E9053;
    --land-tint: rgba(14, 144, 83, 0.08);
    --sell: #3C68E0;
    --sell-tint: rgba(91, 140, 255, 0.07);
    --build: #D9531E;
    --build-tint: rgba(217, 83, 30, 0.09);
    --snap: #5E9E12;
    --snap-tint: rgba(120, 188, 23, 0.10);
    --focus: #2F5BEA;
    --iq: #C0102A;
    --maxw: 1080px;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #0D0F14;
      --surface: #14171F;
      --surface-2: #171B24;
      --ink: #ECEEF3;
      --muted: #9AA2B1;
      --line: #262B36;
      --graphite: #C6CAD3;
      --cook: #F9C23C;
      --cook-tint: rgba(249, 194, 60, 0.12);
      --endit: #C88F54;
      --endit-tint: rgba(217, 168, 105, 0.11);
      --land: #14AE66;
      --land-tint: rgba(20, 174, 102, 0.11);
      --sell: #7BA2FF;
      --sell-tint: rgba(123, 162, 255, 0.12);
      --build: #FF8A50;
      --build-tint: rgba(255, 138, 80, 0.12);
      --snap: #9BE02B;
      --snap-tint: rgba(155, 224, 43, 0.13);
      --focus: #6486FF;
      --iq: #E4243B;
    }
  }
  :root[data-theme="light"] {
    --paper: #F3F4F7; --surface: #FFFFFF; --surface-2: #FAFBFC; --ink: #15171E;
    --muted: #5B6270; --line: #E3E5EC; --graphite: #2A2D36;
    --cook: #F9C23C; --cook-tint: rgba(249,194,60,0.10); --endit: #8A5A2B; --endit-tint: rgba(184,135,79,0.09); --land: #0E9053; --land-tint: rgba(14,144,83,0.08); --sell: #3C68E0; --sell-tint: rgba(91,140,255,0.07); --build: #D9531E; --build-tint: rgba(217,83,30,0.09); --snap: #5E9E12; --snap-tint: rgba(120,188,23,0.10); --focus: #2F5BEA; --iq: #C0102A;
  }
  :root[data-theme="dark"] {
    --paper: #0D0F14; --surface: #14171F; --surface-2: #171B24; --ink: #ECEEF3;
    --muted: #9AA2B1; --line: #262B36; --graphite: #C6CAD3;
    --cook: #F9C23C; --cook-tint: rgba(249,194,60,0.12); --endit: #C88F54; --endit-tint: rgba(217,168,105,0.11); --land: #14AE66; --land-tint: rgba(20,174,102,0.11); --sell: #7BA2FF; --sell-tint: rgba(123,162,255,0.12); --build: #FF8A50; --build-tint: rgba(255,138,80,0.12); --snap: #9BE02B; --snap-tint: rgba(155,224,43,0.13); --focus: #6486FF; --iq: #E4243B;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
  body {
    margin: 0;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
      radial-gradient(56% 46% at 3% -3%, rgba(249, 194, 60, 0.22), transparent 62%),
      radial-gradient(54% 50% at 100% 2%, rgba(91, 140, 255, 0.20), transparent 62%),
      radial-gradient(50% 48% at -4% 54%, rgba(184, 135, 79, 0.20), transparent 60%),
      radial-gradient(58% 54% at 64% 104%, rgba(48, 185, 130, 0.15), transparent 66%);
    background-repeat: no-repeat;
    background-size: 100% 1400px;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  /* Horizontal gutter for every content column. Longhands only: a shorthand
     `padding` on a co-class (e.g. .hero) would silently reset these to 0. */
  .wrap {
    width: 100%; max-width: var(--maxw); margin: 0 auto;
    padding-left: max(28px, env(safe-area-inset-left));
    padding-right: max(28px, env(safe-area-inset-right));
  }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

  .eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ---- top bar ---- */
  header.bar {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--paper) 82%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
  .mark { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; text-decoration: none; }
  .mark b { font-weight: 800; }
  .mark .iq {
    background: #C0102A; color: #FFFFFF;
    padding: 1px 6px; border-radius: 6px; margin-left: 1px;
  }
  .iqr { color: var(--iq); font-weight: 700; }
  .usuite { color: var(--iq); font-weight: 600; }
  .suitelinks a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
  .suitelinks a:hover { border-bottom-color: currentColor; }
  .c-cook { color: var(--cook); }
  .c-land { color: var(--land); }
  .c-sell { color: var(--sell); }
  .c-endit { color: var(--endit); }
  .c-build { color: var(--build); }
  .c-snap { color: var(--snap); }
  .bigdot { font-size: 1.25em; line-height: 0; }
  .brandwrap { display: flex; align-items: center; gap: 12px; }
  .brand-tag {
    font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    color: var(--iq); padding: 4px 11px; border-radius: 999px; white-space: nowrap;
    border: 1px solid color-mix(in srgb, var(--iq) 45%, transparent);
    background: color-mix(in srgb, var(--iq) 13%, transparent);
    transform: translateY(4px);
  }
  @media (max-width: 620px) { .brand-tag { display: none; } }
  nav.top { display: flex; gap: 26px; }
  nav.top a { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-decoration: none; color: var(--muted); }
  nav.top a:hover { color: var(--ink); }
  @media (max-width: 620px) { nav.top { display: none; } }

  /* ---- hero ---- */
  /* .hero shares its element with .wrap, so set vertical padding only and let
     the wrap's horizontal gutter survive. */
  .hero { padding-top: clamp(32px, 6vw, 66px); padding-bottom: clamp(14px, 2.5vw, 28px); }
  .hero .kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
  .hero .kicker .kickmark { width: 17px; height: 17px; display: block; }
  h1 {
    font-size: clamp(38px, 7.2vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0;
    text-wrap: balance;
    max-width: 15ch;
  }
  h1 .u { color: var(--muted); }
  .lede {
    margin: 30px 0 0;
    font-size: clamp(17px, 2.2vw, 20px);
    color: var(--muted);
    max-width: 54ch;
    line-height: 1.55;
  }
  .meta-row { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 44px; }
  .meta-row div { display: flex; flex-direction: column; gap: 3px; }
  .meta-row .k { font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .meta-row .v { font-size: 18.75px; font-weight: 600; }

  /* ---- section frame ---- */
  section { padding: clamp(52px, 8vw, 88px) 0; border-top: 1px solid var(--line); }
  #brands { background: linear-gradient(180deg, rgba(249, 194, 60, 0.06), transparent 34%); padding-top: clamp(20px, 3vw, 38px); }
  #studio { background: linear-gradient(180deg, rgba(91, 140, 255, 0.07), transparent 34%); }
  #contact { background: linear-gradient(180deg, rgba(48, 185, 130, 0.07), transparent 38%); }
  .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
  .sec-head h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; font-weight: 800; margin: 0; }
  .sec-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 40ch; text-align: right; }
  @media (max-width: 620px){ .sec-head { flex-direction: column; gap: 8px; } .sec-head p { text-align: left; } }

  /* ---- brand panels ---- */
  .brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  @media (max-width: 560px){ .brands { grid-template-columns: 1fr; } }
  .brand {
    --c: var(--graphite);
    --ct: transparent;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 30px 26px;
    display: flex; flex-direction: column;
    min-height: 300px;
    text-decoration: none;
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s, border-color .28s, background .28s;
  }
  .brand:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--c) 60%, transparent); background: linear-gradient(180deg, var(--ct), var(--surface) 42%); }
  .brand.cook { --c: var(--cook); --ct: var(--cook-tint); }
  .brand.endit { --c: var(--endit); --ct: var(--endit-tint); }
  .brand.land { --c: var(--land); --ct: var(--land-tint); }
  .brand.sell { --c: var(--sell); --ct: var(--sell-tint); }
  .brand.build { --c: var(--build); --ct: var(--build-tint); }
  .brand.snap { --c: var(--snap); --ct: var(--snap-tint); }
  .brandhead { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
  .bicon { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,0.16); }
  .bicon.pad { background: #FFFFFF; padding: 2px; object-fit: contain; }
  .brandtitle { min-width: 0; }
  .brand .name { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
  .brand .name .wa { color: var(--c); }
  .brand .kind { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .brand .desc { margin: 18px 0 0; color: var(--ink); font-size: 16px; line-height: 1.5; }
  .brand .spacer { flex: 1; }
  .brand .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
  /* The lead "AI-first" pill wears a muted version of the card's own brand color. */
  .brand .tag.ai {
    color: color-mix(in srgb, var(--c) 82%, var(--muted));
    border-color: color-mix(in srgb, var(--c) 42%, transparent);
    background: var(--ct);
  }
  .brand .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); display: inline-block; }
  /* A live brand shouts a little: the dot and the word run 30% larger. */
  .status.live { font-size: calc(11.5px * 1.3); gap: calc(7px * 1.3); }
  .status.live i { width: calc(7px * 1.3); height: calc(7px * 1.3); }
  /* Live cards carry their store availability beside the status. */
  .live-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .store {
    font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--muted); white-space: nowrap;
    border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px;
  }
  .arrow { font-family: var(--mono); font-size: 13px; color: var(--c); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
  .brand:hover .arrow { opacity: 1; transform: translateX(0); }

  /* ---- capabilities ---- */
  .caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  @media (max-width: 760px){ .caps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 460px){ .caps { grid-template-columns: 1fr; } }
  .cap { background: var(--surface); padding: 24px 22px; }
  .cap .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
  .cap h3 { margin: 12px 0 6px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
  .cap p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

  /* ---- contact ---- */
  .contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
  @media (max-width: 700px){ .contact { grid-template-columns: 1fr; gap: 26px; } }
  .contact h2 { font-size: clamp(26px, 4.4vw, 44px); letter-spacing: -0.03em; font-weight: 800; margin: 10px 0 0; line-height: 1.05; text-wrap: balance; }
  .mailto { display: inline-block; margin-top: 22px; font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--focus) 55%, transparent); padding-bottom: 2px; }
  .mailto:hover { border-color: var(--focus); }
  .contact .card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  .contact .card .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .contact .card .v { font-size: 15px; margin: 4px 0 16px; }
  .contact .card .v:last-child { margin-bottom: 0; }

  footer.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; }
  footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
  footer.foot .legal { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
  footer.foot .copy { display: inline-flex; align-items: center; gap: 6px; }
  footer.foot .mark { font-size: 13px; font-weight: 800; }
  footer.foot .mark .iq { padding: 0 4px; border-radius: 4px; }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .brand, .arrow { transition: none; }
  }
