:root {
    --bg: #0A0A0B;
    --bg-2: #131315;
    --line: #2A2A2E;
    --fg: #F2F0EA;
    --fg-2: #A9A6A0;     --fg-3: #8C8983;     --red: #FF3B2F;      --red-hover: #FF5B50;
    --ink: #0A0A0B;
    --sans: "Helvetica Neue", Helvetica, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --gutter: 40px;
    --max: 1280px;
    --col-gap: 24px;
    --section: 144px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
  body { background: var(--bg); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;  }
  a { color: inherit; }
  ul, ol { list-style: none; }
  svg { display: block; }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

  .wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

  .skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--fg); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none; }
  .skip:focus { top: 16px; }

  .label { font-family: var(--mono); font-size: 13px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); display: flex; align-items: center; gap: 12px; }
  .label .n { color: var(--red); }
  .sq { flex: none; width: 8px; height: 8px; background: var(--red); }
  h1, h2, h3 { font-weight: 700; color: var(--fg); }
  h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.035em; max-width: 17ch; }
  h3 { letter-spacing: -.025em; line-height: 1.1; }
  .red { color: var(--red); }

  .btn { display: inline-flex; align-items: center; gap: 14px; background: var(--red); color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1; padding: 18px 22px; text-decoration: none; transition: background-color .2s ease; }
  .btn:hover { background: var(--red-hover); }
  .btn:focus-visible { outline-color: var(--fg); }
  .btn svg { width: 16px; height: 16px; }
  .btn--sm { font-size: 15px; padding: 11px 16px; }
  .btn--lg { font-size: 20px; padding: 24px 28px; }
  .link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--red); transition: color .2s ease; }
  .link:hover { color: var(--red); }

  .top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .top__in { display: flex; align-items: center; gap: 36px; height: 76px; }
  .mark { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
  .mark svg { width: 22px; height: 22px; }
  .top nav { margin-left: auto; display: flex; gap: 32px; }
  .top nav a { font-size: 15px; color: var(--fg-2); text-decoration: none; padding: 6px 0; transition: color .2s ease; }
  .top nav a:hover { color: var(--fg); }

  .hero { padding-top: 64px; }
  .hero__grid { align-items: center; }
  .hero__copy { grid-column: 1 / 8; }
  .hero h1 { font-size: clamp(54px, 7.3vw, 112px); line-height: .94; letter-spacing: -.05em; margin: 32px 0 36px; }
  .lead { font-size: clamp(18px, 1.45vw, 21px); color: var(--fg-2); max-width: 31em; }
  .lead strong { color: var(--fg); font-weight: 600; }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 44px; }
  .hero__art { grid-column: 8 / 13; justify-self: end; width: 100%; max-width: 500px; }
  .hero__art svg { width: 100%; height: auto; overflow: visible; }

  .shipped { margin-top: 64px; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
  .shipped .label { grid-column: 1 / 4; }
  .shipped ul { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .shipped a { display: block; text-decoration: none; padding: 4px 0; }
  .shipped b { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.02em; transition: color .2s ease; }
  .shipped b::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
  .shipped span { display: block; padding-left: 17px; font-size: 15px; color: var(--fg-2); }
  .shipped a:hover b { color: var(--red); }

  .section { padding-top: var(--section); }
  .sec-head { margin-bottom: 72px; row-gap: 20px; align-items: start; }
  .sec-head .label { grid-column: 1 / 5; padding-top: 14px; }
  .sec-head h2 { grid-column: 5 / 13; }
  .sec-head .intro { grid-column: 5 / 12; color: var(--fg-2); font-size: 19px; max-width: 34em; }

  .ruled { position: relative; border-top: 1px solid var(--line); }
  .ruled::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--red); }

  .num { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--red); }

  .cap { padding: 40px 0 44px; align-items: start; row-gap: 16px; }
  .cap__head { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 14px; }
  .cap h3 { font-size: clamp(26px, 2.4vw, 34px); }
  .cap__body { grid-column: 5 / 12; }
  .cap__body p { font-size: 19px; color: var(--fg-2); max-width: 36em; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
  .tags li { font-family: var(--mono); font-size: 13px; color: var(--fg-3); }

  .work { padding: 52px 0 64px; align-items: start; row-gap: 32px; }
  .work__emblem { grid-column: 1 / 5; width: 100%; max-width: 300px; aspect-ratio: 1; background: var(--bg-2); display: grid; place-items: center; }
  .work__emblem svg { width: 64%; height: auto; }
  .work__main { grid-column: 5 / 13; }
  .work__kind { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
  .work h3 { font-size: clamp(46px, 5.4vw, 80px); letter-spacing: -.045em; line-height: .95; margin: 14px 0 40px; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
  .facts dd { font-size: 16px; line-height: 1.55; color: var(--fg-2); }
  .work__link { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

  .partner { align-items: start; row-gap: 48px; }
  .partner__art { grid-column: 1 / 5; width: 100%; max-width: 300px; }
  .partner__art svg { width: 100%; height: auto; }
  .partner__cols { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .pcol { padding-top: 32px; }
  .pcol h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 14px 0 16px; }
  .pcol p { color: var(--fg-2); }
  .ticks { margin-top: 24px; display: grid; gap: 10px; }
  .ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; color: var(--fg); }
  .ticks li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--red); transform: translateY(-4px); }

  .process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--col-gap); position: relative; }
  .process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
  .step { position: relative; }
  .glyph { width: 56px; height: 56px; background: var(--bg); position: relative; }
  .glyph svg { width: 56px; height: 56px; }
  .step .num { display: block; margin: 28px 0 10px; }
  .step h3 { font-size: 24px; margin-bottom: 12px; }
  .step p { font-size: 16px; color: var(--fg-2); max-width: 17em; }

  .contact { position: relative; overflow: hidden; padding: var(--section) 0 300px; }
  .contact__copy { grid-column: 1 / 9; position: relative; z-index: 1; }
  .contact h2 { font-size: clamp(44px, 6.2vw, 96px); line-height: .96; letter-spacing: -.05em; max-width: 13ch; margin: 32px 0 32px; }
  .contact p.sub { font-size: 20px; color: var(--fg-2); max-width: 30em; }
  .contact .actions { margin-top: 48px; }
  .contact__sun { position: absolute; right: -4vw; bottom: 0; width: min(48vw, 720px); height: auto; overflow: visible; }

  footer { border-top: 1px solid var(--line); }
  .foot a { color: var(--fg-2); text-decoration: none; }
  .foot a:hover { color: var(--fg); }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px 0 40px; font-family: var(--mono); font-size: 13px; color: var(--fg-3); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  @media (max-width: 1080px) {
    :root { --section: 136px; }
    .hero__copy { grid-column: 1 / 13; }
    .hero__art { grid-column: 1 / 13; justify-self: start; max-width: 440px; margin-top: 72px; }
    .shipped .label { grid-column: 1 / 13; margin-bottom: 16px; }
    .shipped ul { grid-column: 1 / 13; }
    .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
    .process::before { display: none; }
  }

  @media (max-width: 720px) {
    :root { --gutter: 20px; --col-gap: 16px; --section: 112px; }
    body { font-size: 17px; }
    .top__in { height: 64px; }
    .top nav { display: none; }
    .top .btn { margin-left: auto; }
    .hero { padding-top: 48px; }
    .hero h1 { font-size: clamp(46px, 13.6vw, 64px); margin: 24px 0 24px; }
    .actions { gap: 20px 28px; margin-top: 36px; }
    .hero__art { max-width: 340px; margin-top: 56px; }
    .shipped { margin-top: 72px; }
    .shipped ul { grid-template-columns: 1fr; gap: 14px; }

    .sec-head { margin-bottom: 44px; }
    .sec-head .label, .sec-head h2, .sec-head .intro { grid-column: 1 / 13; }
    .sec-head .label { padding-top: 0; }
    h2 { font-size: clamp(34px, 9.6vw, 42px); }

    .cap { padding: 32px 0 36px; }
    .cap__head, .cap__body { grid-column: 1 / 13; }
    .cap__body p { font-size: 17px; }

    .work { padding: 36px 0 48px; row-gap: 24px; }
    .work__emblem { grid-column: 1 / 13; max-width: 104px; }
    .work__main { grid-column: 1 / 13; }
    .work h3 { font-size: 46px; margin: 10px 0 28px; }
    .facts { grid-template-columns: 1fr; gap: 22px; }
    .facts dt { margin-bottom: 6px; }
    .work__link { margin-top: 32px; }

    .partner__art { grid-column: 1 / 13; max-width: 168px; }
    .partner__cols { grid-column: 1 / 13; grid-template-columns: 1fr; gap: 8px; }

    .process { grid-template-columns: 1fr; row-gap: 0; }
    .process::before { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 36px; }
    .step:last-child { padding-bottom: 0; }
    .glyph { grid-row: 1 / 4; }
    .step .num { margin: 4px 0 6px; }
    .step h3 { font-size: 22px; margin-bottom: 8px; }

    .contact { padding-bottom: 62vw; }
    .contact__copy { grid-column: 1 / 13; }
    .contact h2 { font-size: clamp(42px, 12.4vw, 56px); margin: 24px 0 24px; }
    .contact p.sub { font-size: 18px; }
    .btn--lg { font-size: 18px; padding: 20px 22px; }
    .contact__sun { width: 96vw; right: -22vw; }
  }
/* Keep the wordmark and contact reachable on narrow screens and at text zoom. */
@media (max-width: 420px) {
  .top__in { gap: 12px; }
  .mark { font-size: 18px; gap: 8px; }
  .mark svg { width: 20px; height: 20px; }
  .btn--sm { padding: 12px; font-size: 14px; }
  .label { font-size: 11px; letter-spacing: .055em; }
  .hero h1 { font-size: clamp(42px, 13vw, 54px); }
  .contact .btn--lg { font-size: 17px; padding: 22px; }
}
@media (max-width: 350px) {
  :root { --gutter: 16px; }
  .mark { font-size: 16px; }
  .top__in { gap: 8px; }
}
