:root{
    --bg:#0b0b0c;
    --bg-alt:#141414;
    --panel:#17171799;
    --ink:#f3efe8;
    --ink-dim:#b9b4ac;
    --muted:#7a766f;
    --red:#c8202b;
    --red-bright:#e8323d;
    --red-deep:#5c0f14;
    --hairline:rgba(243,239,232,.09);
    --hairline-strong:rgba(243,239,232,.16);

    --font-display:'Oswald',sans-serif;
    --font-body:'Inter',sans-serif;
    --font-mono:'JetBrains Mono',monospace;

    --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px;
    --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px; --sp-10:132px;

    --container:1280px;
    --header-h:84px;
    --ease:cubic-bezier(.16,.8,.28,1);
  }

  /* ---------- responsive spacing scale ---------- */
  @media (max-width:900px){
    :root{ --sp-9:72px; --sp-10:96px; }
  }
  @media (max-width:640px){
    :root{ --sp-7:36px; --sp-8:48px; --sp-9:56px; --sp-10:72px; --header-h:64px; }
  }

  *,*::before,*::after{box-sizing:border-box;}
  html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%; text-size-adjust:100%;
  }
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    -webkit-tap-highlight-color:transparent;
  }
  section{scroll-margin-top: calc(var(--header-h) + 16px);}
  img,svg{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;margin:0;padding:0;}
  button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;}
  h1,h2,h3,p{margin:0;}

  ::selection{background:var(--red);color:#fff;}

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

  .skip-link{
    position:absolute; left:-999px; top:0; z-index:1000;
    background:var(--red); color:#fff; padding:12px 20px;
    font-family:var(--font-mono); font-size:13px;
  }
  .skip-link:focus{left:16px; top:16px;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
  }

  /* ---------- grain overlay ---------- */
  .grain{
    position:fixed; inset:0; z-index:2; pointer-events:none;
    opacity:.045; mix-blend-mode:overlay;
  }

  /* ---------- crawling stitch background ---------- */
  .stitch-field{
    position:fixed; inset:0; z-index:-1; pointer-events:none;
  }
  .stitch-line{ fill:none; vector-effect:non-scaling-stroke; }
  .stitch-line.red{ stroke:var(--red-bright); opacity:.68; }
  .stitch-line.ink{ stroke:var(--ink); opacity:.4; }
  @keyframes stitchCrawl{ from{ stroke-dashoffset:0; } to{ stroke-dashoffset:-100; } }
  @keyframes stitchCrawlRev{ from{ stroke-dashoffset:0; } to{ stroke-dashoffset:100; } }
  .stitch-field .stitch-line:nth-child(1){ animation:stitchCrawl 10s linear infinite; animation-delay:-1s; }
  .stitch-field .stitch-line:nth-child(2){ animation:stitchCrawlRev 14s linear infinite; animation-delay:-4s; }
  .stitch-field .stitch-line:nth-child(3){ animation:stitchCrawl 8s linear infinite; animation-delay:-3s; }
  .stitch-field .stitch-line:nth-child(4){ animation:stitchCrawlRev 16s linear infinite; animation-delay:-6s; }
  .stitch-field .stitch-line:nth-child(5){ animation:stitchCrawl 11s linear infinite; animation-delay:-5s; }
  .stitch-field .stitch-line:nth-child(6){ animation:stitchCrawlRev 13s linear infinite; animation-delay:-2s; }
  .stitch-field .stitch-line:nth-child(7){ animation:stitchCrawlRev 9s linear infinite; animation-delay:-7s; }
  .stitch-field .stitch-line:nth-child(8){ animation:stitchCrawl 18s linear infinite; animation-delay:-3s; }
  .stitch-field .stitch-line:nth-child(9){ animation:stitchCrawl 12s linear infinite; animation-delay:-8s; }
  .stitch-field .stitch-line:nth-child(10){ animation:stitchCrawlRev 15s linear infinite; animation-delay:-1s; }
  .stitch-field .stitch-line:nth-child(11){ animation:stitchCrawl 7s linear infinite; animation-delay:-4s; }
  .stitch-field .stitch-line:nth-child(12){ animation:stitchCrawlRev 17s linear infinite; animation-delay:-9s; }
  .stitch-field .stitch-line:nth-child(13){ animation:stitchCrawlRev 10s linear infinite; animation-delay:-6s; }
  .stitch-field .stitch-line:nth-child(14){ animation:stitchCrawl 14s linear infinite; animation-delay:-2s; }
  .stitch-field .stitch-line:nth-child(15){ animation:stitchCrawl 9.5s linear infinite; animation-delay:-5s; }
  .stitch-field .stitch-line:nth-child(16){ animation:stitchCrawlRev 19s linear infinite; animation-delay:-7s; }
  .stitch-field .stitch-line:nth-child(17){ animation:stitchCrawl 8s linear infinite; animation-delay:-3s; }
  .stitch-field .stitch-line:nth-child(18){ animation:stitchCrawlRev 15s linear infinite; animation-delay:-5s; }
  .stitch-field .stitch-line:nth-child(19){ animation:stitchCrawl 9s linear infinite; animation-delay:-2s; }
  .stitch-field .stitch-line:nth-child(20){ animation:stitchCrawlRev 17s linear infinite; animation-delay:-6s; }

  /* half the animated threads on phones — the rest is invisible noise that costs battery */
  @media (max-width:640px){
    .stitch-field .stitch-line:nth-child(n+11){ display:none; }
  }

  .grain-filter{
    position:absolute; width:0; height:0;
  }

  /* scroll position is preserved by JS while the menu is fixed */
  body.is-menu-open{ position:fixed; left:0; right:0; width:100%; overflow:hidden; }

  /* ---------- crawling embroidery threads (ambient background) ---------- */
  .crawl-threads{
    position:fixed; inset:0; z-index:-1; pointer-events:none;
  }
  .crawl-threads svg{ width:100%; height:100%; display:block; }
  @media (prefers-reduced-motion: reduce){
    .crawl-threads{ display:none; }
  }
  @media (max-width:640px){
    .crawl-threads{ opacity:.65; }
    .crawl-threads .t3{ display:none; }
  }

  .container{
    position:relative;
    max-width:var(--container);
    margin:0 auto;
    padding:0 var(--sp-6);
  }
  @media (max-width:640px){ .container{padding:0 var(--sp-4);} }

  /* keeps content clear of notches / rounded corners in landscape */
  @supports (padding:max(0px)){
    .container{
      padding-left:max(var(--sp-6), env(safe-area-inset-left));
      padding-right:max(var(--sp-6), env(safe-area-inset-right));
    }
    @media (max-width:640px){
      .container{
        padding-left:max(var(--sp-4), env(safe-area-inset-left));
        padding-right:max(var(--sp-4), env(safe-area-inset-right));
      }
    }
  }

  /* ---------- eyebrow / heading system ---------- */
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-family:var(--font-mono); font-size:12px; letter-spacing:.22em;
    text-transform:uppercase; color:var(--red-bright); margin-bottom:var(--sp-4);
  }
  .eyebrow svg{width:22px; height:10px; flex:none; color:var(--red-bright);}

  h2.heading{
    font-family:var(--font-display); font-weight:700; text-transform:uppercase;
    font-size:clamp(30px, 4.4vw, 54px); line-height:1.02; letter-spacing:-.01em;
    color:var(--ink); max-width:16ch;
  }
  .section-head{ margin-bottom: var(--sp-8); }
  .section-head p.lede{
    margin-top:var(--sp-4); max-width:56ch; color:var(--ink-dim); font-size:17px;
  }

  @media (max-width:560px){
    .eyebrow{ font-size:11px; letter-spacing:.16em; gap:8px; }
    h2.heading{ max-width:18ch; }
    .section-head p.lede{ font-size:16px; }
  }

  /* ---------- thread scroll progress (desktop only) ---------- */
  .thread-rail{
    position:fixed; left:28px; top:140px; bottom:100px; width:2px; z-index:40;
    background-image:linear-gradient(var(--hairline-strong) 60%, transparent 0);
    background-size:2px 10px; background-repeat:repeat-y;
  }
  .thread-fill{
    position:absolute; left:0; top:0; width:2px; height:0%;
    background:var(--red-bright); transition:height .12s linear;
  }
  .thread-fill::after{
    content:''; position:absolute; left:50%; bottom:-1px; width:9px; height:9px;
    background:var(--red-bright); border-radius:50%; transform:translateX(-50%);
    box-shadow:0 0 0 4px var(--bg), 0 0 14px 2px rgba(232,50,61,.7);
  }
  @media (max-width:1080px){ .thread-rail{display:none;} }

  /* ---------- header ---------- */
  .site-header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    height:var(--header-h);
    display:flex; align-items:center;
    border-bottom:1px solid transparent;
    background:transparent;
    transition:background .25s var(--ease), border-color .25s var(--ease);
  }
  .site-header.is-scrolled{
    background:rgba(11,11,12,.86); backdrop-filter:blur(10px);
    border-bottom-color:var(--hairline);
  }
  .nav-wrap{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:var(--sp-5);
  }
  .brand{ display:flex; align-items:center; gap:12px; }
  .brand-mark{
    width:38px; height:38px; flex:none; object-fit:contain;
    transition:transform .25s var(--ease);
  }
  .brand-word{
    font-family:var(--font-display); font-weight:700; font-size:19px;
    letter-spacing:.04em; text-transform:uppercase;
  }
  .nav-links{ display:flex; align-items:center; gap:var(--sp-6); }
  .nav-links a{
    font-size:14px; color:var(--ink-dim); transition:color .18s;
    position:relative; padding:6px 0;
  }
  .nav-links a.tg{ display:flex; align-items:center; gap:7px; color:var(--ink-dim); }
  .nav-links a.tg svg{ width:16px; height:16px; }

  @media (hover:hover){
    .brand:hover .brand-mark{ transform:rotate(-8deg) scale(1.06); }
    .nav-links a:hover{ color:var(--ink); }
  }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    font-family:var(--font-body); font-weight:600; font-size:14px;
    padding:13px 22px; min-height:44px; white-space:nowrap;
    transition:transform .18s var(--ease), background .18s, border-color .18s;
  }
  .btn svg{ width:15px; height:15px; }
  .btn-primary{
    background:var(--red); color:#fff; border-radius:999px; border:1px solid var(--red);
  }
  .btn-primary:disabled{ opacity:.7; cursor:not-allowed; transform:none; }
  .btn-primary.is-sent{ background:#2a7a3b; border-color:#2a7a3b; }
  .btn-outline{
    background:transparent; color:var(--ink); border:1px solid var(--hairline-strong); border-radius:12px;
  }
  .btn-block{ width:100%; justify-content:center; }

  @media (hover:hover){
    .btn-primary:hover{ background:var(--red-bright); transform:translateY(-1px); }
    .btn-outline:hover{ border-color:var(--ink-dim); }
  }
  .btn:active{ transform:scale(.97); }

  .nav-toggle{
    display:none; flex-direction:column; align-items:center; justify-content:center;
    gap:5px; width:44px; height:44px; margin-right:-8px; z-index:110;
  }
  .nav-toggle span{ width:22px; height:2px; background:var(--ink); transition:transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  .mobile-menu{
    position:fixed; inset:0; z-index:105; background:var(--bg);
    display:flex; flex-direction:column; gap:var(--sp-5);
    padding:calc(var(--header-h) + var(--sp-6)) var(--sp-5) var(--sp-7);
    padding-left:max(var(--sp-5), env(safe-area-inset-left));
    padding-right:max(var(--sp-5), env(safe-area-inset-right));
    overflow-y:auto; overscroll-behavior:contain;
    transform:translateY(-100%); visibility:hidden;
    transition:transform .32s var(--ease), visibility .32s;
  }
  .mobile-menu.is-open{ transform:translateY(0); visibility:visible; }
  .mobile-menu a{
    font-family:var(--font-display); text-transform:uppercase;
    font-size:clamp(26px, 7.5vw, 34px); line-height:1.15;
    font-weight:600; color:var(--ink);
  }
  .mobile-menu .tg{
    display:inline-flex; align-items:center; gap:10px;
    font-family:var(--font-body); text-transform:none; font-size:16px; color:var(--ink-dim);
  }
  .mobile-menu .tg svg{ width:18px; height:18px; }
  .mobile-menu .btn-primary{
    margin-top:auto; width:100%;
    font-family:var(--font-body); text-transform:none; font-size:15px;
  }

  @media (max-width:900px){
    .nav-links{ display:none; }
    .nav-toggle{ display:flex; }
    .nav-wrap{ gap:var(--sp-4); }
  }
  /* the same CTA already sits inside the mobile menu */
  @media (max-width:560px){
    .site-header .btn-primary{ display:none; }
    .brand-word{ font-size:17px; }
    .brand-mark{ width:34px; height:34px; }
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative; min-height:100vh; min-height:100svh;
    display:flex; align-items:center;
    padding:calc(var(--header-h) + var(--sp-7)) 0 var(--sp-8);
    overflow:hidden;
  }
  .hero-glow{
    position:absolute; top:-6%; left:50%; transform:translateX(-50%); width:60%; aspect-ratio:1/1;
    background:var(--red); opacity:.14; filter:blur(130px);
    border-radius:50%; pointer-events:none;
  }
  .hero-glow.b{
    top:auto; bottom:-16%; width:44%;
    background:var(--red-deep); opacity:.42; filter:blur(100px);
  }
  .hero-inner{
    position:relative; z-index:2;
    display:flex; flex-direction:column; align-items:center; text-align:center;
  }
  .hero .eyebrow{ margin-bottom:var(--sp-5); }
  .hero h1{
    font-family:var(--font-display); font-weight:700; text-transform:uppercase;
    font-size:clamp(42px, 8vw, 110px); line-height:.97; letter-spacing:-.01em;
  }
  .hero h1 .l2{ color:var(--red); }
  .hero p.lede{ margin-top:var(--sp-5); max-width:52ch; color:var(--ink-dim); font-size:18px; }
  .hero-ctas{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:var(--sp-7); }

  @media (max-width:420px){
    .hero-ctas{ flex-direction:column; align-items:stretch; width:100%; max-width:340px; }
  }
  /* phones held sideways: the viewport is too short for a full-height hero */
  @media (orientation:landscape) and (max-height:540px){
    .hero{ min-height:auto; padding:calc(var(--header-h) + var(--sp-6)) 0 var(--sp-7); }
    .hero h1{ font-size:clamp(32px, 6.5vw, 52px); }
    .hero p.lede{ font-size:16px; margin-top:var(--sp-4); }
    .hero-ctas{ margin-top:var(--sp-5); }
    .mobile-menu{ gap:var(--sp-3); padding-top:calc(var(--header-h) + var(--sp-4)); }
    .mobile-menu a{ font-size:24px; }
  }

  /* ---------- hero drop-in ---------- */
  .hero-drop{
    animation:heroDrop 1.1s cubic-bezier(.2,.72,.26,1) both;
    will-change:transform;
  }
  .hero-drop:nth-child(1){ animation-delay:.05s; }
  .hero-drop:nth-child(2){ animation-delay:.14s; }
  .hero-drop:nth-child(3){ animation-delay:.23s; }
  .hero-drop:nth-child(4){ animation-delay:.32s; }

  @keyframes heroDrop{
    from{ opacity:0; transform:translate3d(0,-70vh,0); }
    to  { opacity:1; transform:translate3d(0,0,0); }
  }

  @media (prefers-reduced-motion: reduce){
    .hero-drop{ animation:none; opacity:1; transform:none; }
  }

  /* ---------- reveal ---------- */
  .reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible{ opacity:1; transform:none; }

  /* ---------- section mascots (background watermarks) ---------- */
  .mascot{
    position:absolute; z-index:-1; display:block;
    width:var(--m-size,520px);
    pointer-events:none; user-select:none;
  }
  .mascot img{
    display:block; width:100%; height:auto;
    opacity:.3; filter:brightness(.7) blur(.6px);
    animation:mascotFloat 12s ease-in-out infinite;
  }
  .mascot.reveal{ transform:translateY(38px) rotate(var(--m-tilt,0deg)); }
  .mascot.reveal.is-visible{ transform:rotate(var(--m-tilt,0deg)); }

  @keyframes mascotFloat{
    0%,100%{ transform:translate3d(0,0,0); }
    50%    { transform:translate3d(0,-22px,0); }
  }

  .mascot-about  { --m-size:clamp(300px,38vw,560px); --m-tilt:-7deg; left:calc(var(--m-size) * -.34);  bottom:-70px; }
  .mascot-catalog{ --m-size:clamp(320px,40vw,600px); --m-tilt:6deg;  right:calc(var(--m-size) * -.28); top:-90px; }
  .mascot-custom { --m-size:clamp(300px,38vw,560px); --m-tilt:-5deg; right:calc(var(--m-size) * -.3); bottom:-80px; }
  .mascot-contact{ --m-size:clamp(300px,36vw,540px); --m-tilt:8deg;  left:calc(var(--m-size) * -.3);  bottom:-70px; }

  @media (max-width:900px){
    .mascot img{ opacity:.16; }
  }

  /* ---------- about ---------- */
  .about{ padding:var(--sp-9) 0; border-top:1px solid var(--hairline); overflow:clip; }
  .about-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:var(--sp-9); align-items:start; }
  .about-copy{ margin-top:24px; }
  .about-copy p{ color:var(--ink-dim); font-size:17px; margin-bottom:var(--sp-4); max-width:46ch; }
  .about-copy p:last-child{ margin-bottom:0; }

  .values-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--hairline); border:1px solid var(--hairline); border-radius:16px; overflow:hidden; }
  .value-card{ background:var(--bg); padding:var(--sp-5); position:relative; }
  .value-card svg{ width:24px; height:24px; color:var(--red-bright); margin-bottom:var(--sp-3); }
  .value-card strong{ display:block; font-size:15px; margin-bottom:6px; }
  .value-card span{ display:block; font-size:14px; color:var(--muted); line-height:1.55; }

  @media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:var(--sp-7); } }
  @media (max-width:560px){
    .values-grid{ grid-template-columns:1fr; }
    .about-copy{ margin-top:var(--sp-4); }
    .about-copy p{ font-size:16px; }
  }

  /* ---------- catalog ---------- */
  .catalog{ padding:var(--sp-9) 0; border-top:1px solid var(--hairline); overflow:clip; }
  .catalog-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:var(--sp-7); }
  .tab-btn{
    padding:10px 18px; min-height:40px; border:1px solid var(--hairline-strong); border-radius:999px;
    font-size:13px; color:var(--ink-dim); transition:.18s;
  }
  .tab-btn[aria-selected="true"]{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
  @media (hover:hover){
    .tab-btn:hover{ color:var(--ink); border-color:var(--ink-dim); }
  }

  /* on phones the filters become one swipeable row instead of three stacked ones */
  @media (max-width:600px){
    .catalog-tabs{
      flex-wrap:nowrap; overflow-x:auto; scroll-snap-type:x proximity;
      scrollbar-width:none; -webkit-overflow-scrolling:touch;
      margin-inline:calc(-1 * var(--sp-4)); padding-inline:var(--sp-4);
      padding-bottom:2px;
    }
    .catalog-tabs::-webkit-scrollbar{ display:none; }
    .tab-btn{ flex:none; scroll-snap-align:center; }
  }

  .catalog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-5); }
  .product-card{
    position:relative;
    border:1px solid var(--hairline-strong); border-radius:18px; padding:var(--sp-6);
    background:linear-gradient(160deg, var(--bg-alt), var(--bg));
    transition:transform .22s var(--ease), border-color .22s, box-shadow .22s;
  }
  .product-card.is-hidden{ display:none; }
  @media (hover:hover){
    .product-card:hover{
      transform:translateY(-4px); border-color:rgba(232,50,61,.25);
      box-shadow:0 18px 40px -22px rgba(232,50,61,.45);
    }
  }

  /* stitched border reveal on hover */
  .stitch-outline{
    position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:1;
  }
  .stitch-outline rect{
    fill:none; stroke:var(--red-bright); stroke-width:1.6;
    stroke-dasharray:100; stroke-dashoffset:100;
    transition:stroke-dashoffset .8s var(--ease);
    vector-effect:non-scaling-stroke;
  }
  .product-card:focus-within .stitch-outline rect{
    stroke-dashoffset:0;
  }
  @media (hover:hover){
    .product-card:hover .stitch-outline rect{ stroke-dashoffset:0; }
  }
  /* without a cursor the stitching draws itself as the card scrolls into view */
  @media (hover:none){
    .product-card.is-visible .stitch-outline rect{ stroke-dashoffset:0; }
  }
  .product-icon{ width:44px; height:44px; color:var(--red-bright); margin-bottom:var(--sp-5); }
  .product-card h3{ font-family:var(--font-display); text-transform:uppercase; font-size:19px; font-weight:600; margin-bottom:8px; }
  .product-card p{ color:var(--muted); font-size:14px; line-height:1.6; margin-bottom:var(--sp-5); }
  .product-foot{ display:flex; align-items:center; justify-content:space-between; padding-top:var(--sp-4); border-top:1px solid var(--hairline); }
  .product-price{ font-family:var(--font-mono); font-size:13px; color:var(--ink-dim); }
  .product-link{ font-size:13px; font-weight:600; color:var(--red-bright); display:flex; align-items:center; gap:6px; }
  .product-link svg{ width:13px; height:13px; }

  @media (max-width:960px){ .catalog-grid{ grid-template-columns:repeat(2,1fr); gap:var(--sp-4); } }
  @media (max-width:600px){
    .catalog-grid{ grid-template-columns:1fr; }
    .product-card{ padding:var(--sp-5); border-radius:16px; }
    .product-icon{ width:38px; height:38px; margin-bottom:var(--sp-4); }
    .product-card p{ margin-bottom:var(--sp-4); }
    .product-link{ padding:6px 0; }
  }

  /* ---------- custom order process ---------- */
  .custom{ padding:var(--sp-9) 0; border-top:1px solid var(--hairline); overflow:clip; }
  .custom h2.heading{ margin-bottom:40px; }
  .custom-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:var(--sp-9); align-items:start; }

  .steps-list{ position:relative; }
  .step-item{ display:grid; grid-template-columns:56px 1fr; gap:var(--sp-5); padding-bottom:var(--sp-7); position:relative; }
  .step-item:last-child{ padding-bottom:0; }
  .step-num{
    font-family:var(--font-mono); font-size:14px; color:var(--red-bright);
    width:40px; height:40px; border:1px solid var(--hairline-strong); border-radius:50%;
    display:flex; align-items:center; justify-content:center; background:var(--bg); z-index:1;
  }
  .step-item::before{
    content:''; position:absolute; left:19px; top:40px; bottom:0; width:2px;
    background-image:linear-gradient(var(--hairline-strong) 60%, transparent 0);
    background-size:2px 8px; background-repeat:repeat-y;
  }
  .step-item:last-child::before{ display:none; }
  .step-item h3{ font-size:17px; font-weight:700; margin-bottom:6px; }
  .step-item p{ color:var(--muted); font-size:14.5px; max-width:52ch; }

  .custom-aside{
    border:1px solid var(--hairline-strong); border-radius:18px; padding:var(--sp-7);
    background:linear-gradient(160deg, var(--bg-alt), var(--bg)); position:sticky; top:120px;
  }
  .aside-row{ display:flex; justify-content:space-between; align-items:baseline; padding:14px 0; border-bottom:1px solid var(--hairline); }
  .aside-row:last-of-type{ border-bottom:none; }
  .aside-row span{ font-size:13px; color:var(--muted); }
  .aside-row strong{ font-size:15px; }
  .custom-aside .btn-primary{ margin-top:var(--sp-5); }

  @media (max-width:960px){
    .custom-grid{ grid-template-columns:1fr; gap:var(--sp-7); }
    .custom-aside{ position:static; }
    .custom h2.heading{ margin-bottom:var(--sp-6); }
  }
  @media (max-width:480px){
    .step-item{ grid-template-columns:44px 1fr; gap:var(--sp-4); padding-bottom:var(--sp-6); }
    .step-item::before{ left:19px; }
    .step-item p{ font-size:14px; }
    .custom-aside{ padding:var(--sp-5); border-radius:16px; }
    .aside-row{ padding:12px 0; }
  }

  /* ---------- contact ---------- */
  .contact{ padding:var(--sp-9) 0 var(--sp-10); border-top:1px solid var(--hairline); overflow:clip; }
  .contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:var(--sp-9); }

  .channel-btn{
    display:flex; align-items:center; gap:14px; padding:18px 20px;
    border:1px solid var(--hairline-strong); border-radius:14px; margin-bottom:12px;
    transition:.18s;
  }
  .channel-btn.primary{ background:var(--red); border-color:var(--red); }
  .channel-btn.primary strong{ color:#fff; }
  .channel-btn svg{ width:20px; height:20px; flex:none; }
  .channel-btn strong{ display:block; font-size:14.5px; }
  .channel-btn span{ display:block; font-size:12.5px; color:var(--ink-dim); overflow-wrap:anywhere; }
  .channel-btn.primary span{ color:rgba(255,255,255,.75); }
  .channel-btn:active{ transform:scale(.99); }
  @media (hover:hover){
    .channel-btn:hover{ border-color:var(--ink-dim); }
    .channel-btn.primary:hover{ background:var(--red-bright); }
  }

  .field{ margin-bottom:var(--sp-4); }
  .field label{ display:block; font-size:13px; color:var(--ink-dim); margin-bottom:8px; }
  .field input, .field textarea{
    width:100%; background:var(--bg-alt); border:1px solid var(--hairline-strong); border-radius:10px;
    padding:13px 15px; color:var(--ink); font-family:var(--font-body); font-size:14.5px;
    transition:border-color .18s;
  }
  .field input:focus, .field textarea:focus{ border-color:var(--red-bright); outline:none; }
  .field textarea{ resize:vertical; min-height:110px; }
  .form-note{ font-size:12.5px; color:var(--muted); margin-top:10px; }
  .form-status{ font-size:13px; color:var(--red-bright); margin-top:12px; min-height:1em; }
  .form-status.is-success{ color:#7ec88a; }

  @media (max-width:900px){
    .contact-grid{ grid-template-columns:1fr; gap:var(--sp-7); }
    /* 16px keeps iOS from zooming in when a field is focused */
    .field input, .field textarea{ font-size:16px; padding:14px 15px; }
    .field textarea{ min-height:130px; }
  }
  @media (max-width:560px){
    .channel-btn{ padding:16px; gap:12px; }
  }

  /* ---------- footer ---------- */
  .site-footer{ border-top:1px solid var(--hairline); padding:var(--sp-8) 0 var(--sp-6); }
  .footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:var(--sp-6); }
  .footer-grid p{ color:var(--muted); font-size:14px; max-width:32ch; margin-top:var(--sp-3); }
  .footer-col h4{ font-family:var(--font-mono); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:var(--sp-4); }
  .footer-col a{ display:block; font-size:14px; color:var(--ink-dim); margin-bottom:10px; }
  @media (hover:hover){
    .footer-col a:hover{ color:var(--ink); }
  }
  .footer-bottom{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
    margin-top:var(--sp-8); padding-top:var(--sp-5); border-top:1px solid var(--hairline);
    font-size:12.5px; color:var(--muted);
  }

  @media (max-width:800px){
    .footer-grid{ grid-template-columns:1fr 1fr; gap:var(--sp-7) var(--sp-5); }
    .footer-col a{ padding:5px 0; margin-bottom:2px; }
  }
  @media (max-width:480px){
    .footer-grid{ grid-template-columns:1fr; }
    .footer-bottom{ flex-direction:column; gap:6px; margin-top:var(--sp-7); }
  }
  @supports (padding:max(0px)){
    .site-footer{ padding-bottom:max(var(--sp-6), env(safe-area-inset-bottom)); }
  }