/* ===========================================================================
   arsandhu.com — design tokens
   ---------------------------------------------------------------------------
   Every width, gap, font size and radius on the site comes from this block.
   Change a value here and it changes everywhere consistently. Nothing below
   should hard-code a measurement that has a token for it.
   =========================================================================== */
:root{
  /* --- colour ----------------------------------------------------------- */
  --bg:#0d0f12;          /* page */
  --bg-2:#14181d;        /* cards */
  --panel:#191e24;       /* cards on the lighter .story band */
  --band:#090a0d;        /* darker alternating section */
  --line:#262d36;        /* borders and rules */

  --text:#ffffff;        /* headings, and anything that should read as white */
  --text-2:#dfe3e8;      /* body copy — near-white, not grey */
  --muted:#9aa3b0;       /* timestamps, labels, metadata only */

  --amber:#f2a03d; --amber-dk:#d4842a; --amber-glow:rgba(242,160,61,.16);

  /* --- layout ------------------------------------------------------------
     One container width for the entire site. The header, every page body and
     the footer all measure to --wrap, so nothing is narrower than anything
     else by accident. */
  --wrap:1140px;
  --gutter:28px;
  --gutter-sm:20px;

  /* --- spacing scale (4px base) ------------------------------------------ */
  --s-1:4px;  --s-2:8px;  --s-3:12px; --s-4:16px;
  --s-5:20px; --s-6:24px; --s-7:32px; --s-8:44px; --s-9:58px;

  /* --- vertical rhythm --------------------------------------------------- */
  --section-y:44px;      /* space above and below every section */
  --section-y-sm:32px;
  --head-gap:24px;       /* section heading block to its content */
  --gap:12px;            /* default grid/flex gap */
  --gap-lg:20px;

  /* --- cards -------------------------------------------------------------- */
  --card-y:18px; --card-x:20px;
  --radius:12px; --radius-lg:14px; --radius-sm:8px; --radius-pill:999px;

  /* --- type --------------------------------------------------------------- */
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;

  --t-label:12px;        /* mono eyebrows and column headings */
  --t-xs:13px;
  --t-s:15px;
  --t-base:17px;         /* body */
  --t-m:18px;
  --t-l:20px;

  --h3:20px;
  --h2:clamp(28px,3.8vw,44px);
  --h1:clamp(34px,5vw,56px);
  --h-hero:clamp(40px,6.4vw,74px);

  --leading:1.68;
  --leading-long:1.78;   /* long-form prose at full container width */
  --leading-tight:1.1;   /* headings */
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:var(--t-base);line-height:var(--leading);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:760px;margin:0 auto;padding:0 var(--gutter)}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.03em;line-height:var(--leading-tight)}
.lbl{font-family:var(--mono);font-size:var(--t-label);letter-spacing:.16em;text-transform:uppercase;color:var(--amber)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:99;background:var(--amber);color:#1a1206;padding:10px 16px;border-radius:8px}
:focus-visible{outline:2px solid var(--amber);outline-offset:3px}

.btn{display:inline-block;padding:12px 26px;border-radius:var(--radius-sm);text-decoration:none;font-size:15px;line-height:1.2;font-weight:600;transition:.18s;border:0;cursor:pointer;font-family:inherit}
/* Raised, with a solid lip underneath rather than a blur — a hard bottom edge
   reads as depth at small sizes, where a soft shadow just looks smudged. */
.btn-amber{
  background:linear-gradient(180deg,#f8b86a,var(--amber) 55%,#e8933180);
  background-color:var(--amber);
  color:#1a1206;
  border:1px solid #f9c485;
  box-shadow:0 3px 0 #9c5f1c, 0 5px 12px rgba(0,0,0,.38);
  text-shadow:0 1px 0 rgba(255,255,255,.25);
}
.btn-amber:hover{
  background-color:#f5a94c;
  box-shadow:0 4px 0 #9c5f1c, 0 8px 16px rgba(0,0,0,.45);
  transform:translateY(-1px);
}
.btn-amber:active{
  box-shadow:0 1px 0 #9c5f1c, 0 2px 5px rgba(0,0,0,.35);
  transform:translateY(2px);
}
.btn-line{border:1px solid var(--line);color:var(--text);background:transparent}
.btn-line:hover{border-color:var(--amber);color:var(--amber)}

/* header */
header.site{position:sticky;top:0;z-index:30;background:rgba(13,15,18,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;flex-wrap:wrap}
.brand{font-family:var(--mono);font-size:14px;letter-spacing:.06em;font-weight:600;text-decoration:none;white-space:nowrap}
.brand em{color:var(--amber);font-style:normal}
.brand .abbr{display:none}
.nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;font-size:15px;color:var(--text);flex-wrap:wrap}
.nav a{text-decoration:none}
.nav a:hover,.nav a[aria-current="page"]{color:var(--amber)}

/* hero */
.hero{padding:38px 0 34px;position:relative;overflow:hidden;
  background:radial-gradient(760px 420px at 78% 12%,rgba(242,160,61,.10),transparent 60%),
             radial-gradient(600px 400px at 8% 88%,rgba(242,160,61,.05),transparent 60%)}
.hero:before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:74px 74px;opacity:.22;
  -webkit-mask-image:radial-gradient(circle at 50% 40%,#000,transparent 72%);
  mask-image:radial-gradient(circle at 50% 40%,#000,transparent 72%)}
.hero .wrap,.hero .narrow{position:relative}
.hero-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center}
.hero-cards{display:none}
.hero h1{font-size:var(--h-hero);max-width:16ch;margin:14px 0 var(--s-4)}
.hero h1 em{font-style:normal;color:var(--amber)}
.hero p.lead{font-size:var(--t-l);color:var(--text-2);max-width:60ch;margin:0 0 var(--s-6)}
/* rotating headline — both lines stay in the DOM so both are crawlable,
   and they share one grid cell so rotating never shifts the layout */
.slides{display:grid}
/* Sequenced, not crossfaded: the outgoing line clears before the incoming one
   arrives. A true crossfade leaves both legible at once, which on a two-line
   mobile headline reads as a rendering fault. */
.slide{grid-area:1/1;opacity:0;transition:opacity .3s ease}
.slide.is-active{opacity:1;transition:opacity .45s ease .3s}
.avail{display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);font-size:12.5px;color:var(--text-2);border:1px solid var(--line);background:var(--panel);padding:7px 15px;border-radius:999px}
.dot{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.14)}

/* page hero (interior pages) */
.phero{padding:var(--s-9) 0 var(--s-7)}
.phero h1{font-size:var(--h1);max-width:24ch;margin:10px 0 var(--s-4)}
.phero p{font-size:19px;color:var(--text-2);max-width:none;margin:0}

section{padding:var(--section-y) 0;border-top:1px solid var(--line)}
section.band{background:var(--band)}
section.flush{border-top:0}
section.tight{padding:var(--s-8) 0}
.head{margin-bottom:var(--head-gap);max-width:64ch}
.head h2{font-size:var(--h2);margin:10px 0 var(--gap)}
.head p{color:var(--text-2);margin:0;font-size:var(--t-m)}

/* how I help */
.help-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}
.hc{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-2);padding:var(--card-y) var(--card-x);transition:.18s}
.band .hc,.band .st,.band .work a.item,.band .step{background:var(--bg-2)}
.story .hc,.story .st,.story .work a.item,.story .step{background:var(--panel);border-color:#2f3844}
.hc:hover{border-color:var(--amber);background:var(--panel)}
.hn{font-family:var(--mono);font-size:12px;color:var(--amber);letter-spacing:.1em}
.hc h3{font-size:var(--h3);margin:10px 0 7px}
.hc p{color:var(--text-2);font-size:15.5px;margin:0}

/* service detail */
.steps{display:grid;gap:var(--gap)}
.step{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-2);padding:var(--s-5) var(--s-6);display:grid;grid-template-columns:52px 1fr;gap:var(--gap-lg)}
.step .hn{padding-top:6px}
.step h2,.step h3{font-size:22px;margin-bottom:7px}
.step p{color:var(--text-2);margin:0 0 9px}
.step p:last-child{margin-bottom:0}

/* venture list */
.grp{display:flex;align-items:center;gap:14px;margin:22px 0 10px}
.grp:first-child{margin-top:0}
.grp h2{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--amber);margin:0;font-weight:600;white-space:nowrap;letter-spacing:.16em}
.grp:after{content:"";flex:1;height:1px;background:var(--line)}
.work a.item{display:grid;grid-template-columns:40px 68px 1fr auto;gap:20px;align-items:center;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--bg-2);text-decoration:none;margin-bottom:8px;transition:.18s}
.work a.item:hover{border-color:var(--amber);background:var(--panel);transform:translateX(4px)}
.work .n{font-family:var(--mono);font-size:13px;color:var(--muted)}
.work h3{font-size:21px;margin-bottom:5px}
.work p{color:var(--text-2);font-size:16px;margin:0;max-width:74ch}
.work .meta{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}
.dom{font-family:var(--mono);font-size:11.5px;color:var(--muted);margin-left:10px;letter-spacing:.02em}
.tag{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--amber);border:1px solid rgba(242,160,61,.32);background:var(--amber-glow);padding:3px 9px;border-radius:5px}
.arrow{font-size:22px;color:var(--muted)}
.work a.item:hover .arrow{color:var(--amber)}

/* hero product cards + list thumbnails */
.pcard{position:relative;display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg-2);aspect-ratio:1/1;text-decoration:none}
.pcard img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.pcard:hover{border-color:var(--amber)}
.pcard:hover img{transform:scale(1.05)}
.pcard .cap{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 12px;font-size:14px;font-weight:600;color:var(--text);
  background:linear-gradient(transparent,rgba(6,7,9,.94))}
.pcard .cap span{display:block;font-family:var(--mono);font-size:10px;color:var(--amber);letter-spacing:.1em;margin-top:3px}
.thumb{width:68px;height:68px;object-fit:cover;border:1px solid var(--line);border-radius:9px;display:block;background:var(--bg)}
.thumb-mono{display:grid;place-items:center;font-family:var(--mono);font-weight:700;font-size:23px;letter-spacing:.01em;
  color:var(--amber);background:linear-gradient(155deg,#1d232b,#0f1216);text-shadow:0 1px 0 rgba(0,0,0,.5)}
.work a.item:hover .thumb{border-color:var(--amber)}

/* related ventures */
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rel-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;
  background:var(--bg-2);padding:20px;text-decoration:none;transition:.18s}
.rel-card:hover{border-color:var(--amber);transform:translateY(-2px)}
.rel-card .thumb{width:52px;height:52px;margin-bottom:14px}
.rel-card .thumb-mono{font-size:19px}
.rel-card h3{font-size:19px;margin-bottom:4px}
.rel-card .dom{display:block;margin:0 0 10px;padding:0}
.rel-card p{color:var(--text-2);font-size:15px;margin:0 0 16px;flex:1}
.rel-go{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--amber)}
.story .rel-card{background:var(--panel);border-color:#2f3844}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.st{border:1px solid var(--line);border-radius:12px;background:var(--bg-2);padding:18px 20px}
.st b{display:block;font-size:38px;letter-spacing:-.045em;line-height:1;color:var(--amber)}
.st span{font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* story */
.story{background:var(--bg-2)}
.story-grid{display:grid;grid-template-columns:0.86fr 1.14fr;gap:48px;align-items:start}
/* The left column opens with a small "// About" label above its heading. The
   right column has no label, so without this offset its first line sits level
   with the label rather than with the heading it belongs to. */
.story-grid > div:last-child{padding-top:30px}
.story h2{font-size:clamp(28px,3.8vw,44px);margin:10px 0 0}
.story p{color:var(--text-2)}
.big{font-size:21px;line-height:1.5;color:var(--text);border-left:2px solid var(--amber);padding-left:22px;margin:0 0 22px}
.story-grid .big{margin-bottom:0}

/* prose */
/* Long-form text spans the full container, matching the footer grid.
   Line length runs long at this width, so the leading is opened up a little
   to keep it readable. The venture page's prose stays inside its grid column
   beside the detail card. */
.prose{max-width:none}
.wrap > .prose,
.wrap > .plinks,
.wrap > .legal-nav{margin-left:0;margin-right:0}
.wrap > .prose p{line-height:var(--leading-long)}

.prose p{color:var(--text-2);margin:0 0 18px;font-size:17.5px}
.prose h2{font-size:26px;margin:32px 0 12px;color:var(--text)}
.prose h3{font-size:20px;margin:24px 0 10px}
.prose em{color:var(--text)}
.prose ul{color:var(--text-2);padding-left:22px}
.prose li{margin-bottom:10px}
.prose a{color:var(--amber)}

/* rows (insights list) */
.rows a{display:flex;justify-content:space-between;align-items:baseline;gap:22px;padding:14px 0;border-bottom:1px solid var(--line);text-decoration:none}
.rows a:first-child{border-top:1px solid var(--line)}
.rows a:hover h2,.rows a:hover h2,.rows a:hover h3{color:var(--amber)}
.rows h2,.rows h3{font-size:20px;font-weight:600;letter-spacing:-.015em;margin-bottom:8px}
.rows p{color:var(--text-2);font-size:16px;margin:0;max-width:72ch}
.rows time{font-family:var(--mono);font-size:12.5px;color:var(--muted);white-space:nowrap}

/* venture detail */
.vgrid{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start}
.vcard{border:1px solid var(--line);border-radius:12px;background:var(--bg-2);padding:20px;position:sticky;top:92px}
.poster{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;background:var(--bg)}
.vcard dt{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
.vcard dd{margin:0 0 13px;font-size:15.5px}
.vcard dd:last-of-type{margin-bottom:18px}
.vcard a.visit{display:block;text-align:center}

/* breadcrumbs */
.crumbs{font-family:var(--mono);font-size:12px;color:var(--muted);letter-spacing:.06em;padding-top:20px}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:var(--amber)}
.crumbs span{margin:0 8px;opacity:.5}

/* contact form */
.form{display:grid;gap:18px;max-width:620px}
.field label{display:block;font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-2);margin-bottom:8px}
.field input,.field textarea{width:100%;background:var(--bg-2);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:14px 16px;font-family:inherit;font-size:16px}
.field input:focus,.field textarea:focus{border-color:var(--amber);outline:none}
.field textarea{min-height:170px;resize:vertical}
.err{color:#f87171;font-size:14px;margin-top:7px}
.flash{border:1px solid rgba(74,222,128,.4);background:rgba(74,222,128,.1);color:#bbf7d0;padding:16px 20px;border-radius:10px;margin-bottom:28px}
.hp{position:absolute;left:-9999px}

/* profiles */
.plinks{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.plinks a{font-family:var(--mono);font-size:12.5px;letter-spacing:.06em;border:1px solid var(--line);border-radius:8px;padding:9px 15px;text-decoration:none;color:var(--text-2)}
.plinks a:hover{border-color:var(--amber);color:var(--amber)}

/* spacing scale — used in place of inline margins in the Blade views */
.mt-s{margin-top:16px}
.mt-m{margin-top:24px}
.mt-l{margin-top:34px}
.mr-s{margin-right:12px}

/* cta */
.cta{text-align:center}
.cta h2{font-size:clamp(30px,4.4vw,52px);margin-bottom:14px}
.cta p{color:var(--text-2);max-width:52ch;margin:0 auto 26px;font-size:18px}

footer.site{border-top:1px solid var(--line);color:var(--text-2);font-size:15px}
body:has(.consent:not([hidden])) footer.site{padding-bottom:120px}

.foot-grid{display:grid;grid-template-columns:1.5fr .8fr .9fr 1.15fr;gap:34px;padding-top:38px;padding-bottom:30px}
.foot-name{font-size:17px;font-weight:700;color:var(--text);letter-spacing:-.02em;margin:0}
.foot-name em{color:var(--amber);font-style:normal}
.foot-cred{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--amber);margin:6px 0 14px}
.foot-brand p{margin:0 0 14px;max-width:44ch;line-height:1.6}
.foot-head{font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--text);margin:0 0 16px}
.foot-grid ul{list-style:none;margin:0;padding:0}
.foot-grid li{margin-bottom:10px;line-height:1.5}
.foot-grid a{text-decoration:none}
.foot-grid a:hover{color:var(--amber)}
.foot-contact li{font-family:var(--mono);font-size:13px}
.foot-address{line-height:1.7;margin-top:14px}
/* The button must not wrap — it is the footer's only real call to action. */
.foot-action{margin-top:18px}
.foot-action .btn{display:inline-block;white-space:nowrap;padding:12px 22px;font-size:14.5px;font-family:var(--sans)}

.contact-lines{display:flex;gap:22px;flex-wrap:wrap;font-size:17px}
.contact-lines a{color:var(--amber);text-decoration:none;border-bottom:1px solid rgba(242,160,61,.35);padding-bottom:2px}
.contact-lines a:hover{border-color:var(--amber)}
.contact-address{font-style:normal;color:var(--text-2);font-size:15.5px;margin-top:12px}

.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  padding-top:22px;padding-bottom:30px;border-top:1px solid var(--line);font-size:13.5px}

/* FAQs — two columns, but as a masonry-ish column flow rather than a grid,
   so an open answer does not push its neighbour down. */
.faqs{columns:2;column-gap:16px}
.faq{break-inside:avoid;display:inline-block;width:100%;border:1px solid var(--line);border-radius:12px;
  background:var(--bg-2);padding:16px 20px;margin-bottom:12px}
.faq[open]{border-color:var(--amber)}
.faq summary{cursor:pointer;list-style:none;display:flex;gap:12px;align-items:flex-start}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";margin-left:auto;color:var(--amber);font-size:20px;line-height:1;flex:none}
.faq[open] summary:after{content:"\2212"}
.faq summary h2{font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.4}
.faq-a p{color:var(--text-2);font-size:15.5px;margin:12px 0 0}

/* legal pages */
.legal h2{font-size:22px;margin:30px 0 10px}
.legal ul{margin:0 0 18px}
.legal li{margin-bottom:8px}
.legal-nav{display:flex;gap:22px;flex-wrap:wrap;padding-top:22px;border-top:1px solid var(--line);font-size:15px}
.legal-nav a{color:var(--amber);text-decoration:none}

/* cookie consent */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(9,10,13,.97);
  backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(0,0,0,.45)}
.consent[hidden]{display:none}
.consent-inner{max-width:var(--wrap);margin:0 auto;padding:18px var(--gutter);display:flex;align-items:center;
  justify-content:space-between;gap:26px;flex-wrap:wrap}
.consent-title{font-family:var(--mono);font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--amber);margin:0 0 6px}
.consent p{margin:0;color:var(--text-2);font-size:15px;max-width:78ch}
.consent a{color:var(--amber)}
.consent-actions{display:flex;gap:10px;flex-wrap:wrap;flex:none}
.consent-actions .btn{padding:10px 20px;font-size:14.5px}

.foot-legal a{text-decoration:none;margin-left:18px}
.foot-legal a:first-child{margin-left:0}
.foot-legal a:hover{color:var(--amber)}

@media(min-width:1040px){
  .hero-grid{grid-template-columns:1.06fr .94fr;gap:56px}
  .hero-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  /* Offsetting the second column stops the 2x2 reading as a flat sheet. */
  .hero-cards .pcard:nth-child(2),.hero-cards .pcard:nth-child(4){transform:translateY(22px)}
}

/* ---- tablet ---- */
@media(max-width:960px){
  .stats,.help-grid{grid-template-columns:1fr 1fr}
  .story-grid,.vgrid{grid-template-columns:1fr;gap:34px}
  .rel-grid{grid-template-columns:1fr 1fr}
  .story-grid > div:last-child{padding-top:0}
  .vcard{position:static}
  /* Rows get tall once the copy wraps, so a left column leaves the tile
     floating halfway down. Pin it to the top-right corner instead and give
     the copy the full width beneath it. */
  .work a.item{grid-template-columns:1fr;gap:0;position:relative}
  .thumb{position:absolute;top:16px;right:16px;width:56px;height:56px;margin:0}
  .work h3,.work .dom{padding-right:66px}
  .work .n,.arrow{display:none}
  .thumb{width:56px;height:56px}
  .thumb-mono{font-size:19px}
  .step{grid-template-columns:1fr;gap:10px}
  .rows a{flex-direction:column;gap:10px}
  /* The poster is a sidebar element on desktop; full-bleed below it is huge. */
  .poster{max-width:300px}
}

@media(max-width:900px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .foot-brand{grid-column:1 / -1}
}

/* ---- phone ---- */
@media(max-width:700px){
  /* Narrower gutters buy back ~16px of line length on a 375px screen. */
  .wrap,.narrow{padding:0 var(--gutter-sm)}

  section{padding:var(--section-y-sm) 0}
  .hero{padding:28px 0 26px}
  .phero{padding:32px 0 24px}
  .head{margin-bottom:20px}

  .stats,.help-grid,.foot-grid,.rel-grid{grid-template-columns:1fr}
  .faqs{columns:1}
  .foot-grid{gap:26px}

  /* Two compact rows: brand + CTA, then the nav beneath. */
  .nav{min-height:0;padding:9px 20px;gap:10px}
  .brand .full{display:none}
  .brand .abbr{display:inline}
  .nav nav[aria-label="Primary"]{order:3;flex-basis:100%;display:flex;justify-content:center}
  .nav ul{gap:14px;font-size:13.5px;justify-content:center;width:100%}
  /* Matched to the wordmark's line box so the two sit on the same baseline
     band — the lip is drawn outside the height, not added to it. */
  .nav .btn{
    padding:0 16px;
    height:26px;
    line-height:24px;
    font-size:14.5px;
    font-weight:700;
    border-radius:6px;
    box-shadow:0 2px 0 #9c5f1c,0 3px 7px rgba(0,0,0,.35);
  }

  /* Type: the desktop clamps bottom out too large for a 375px viewport. */
  .hero h1{font-size:clamp(30px,8.4vw,44px);margin:12px 0 14px}
  .hero p.lead{font-size:17px;margin-bottom:20px}
  .phero h1{font-size:clamp(27px,7.6vw,38px)}
  .phero p{font-size:17px}
  .head h2{font-size:clamp(24px,6.6vw,32px)}
  .story h2{font-size:clamp(24px,6.6vw,32px)}
  .prose p{font-size:16.5px}
  .prose h2{font-size:22px;margin:26px 0 10px}
  .big{font-size:18.5px;padding-left:16px}
  .avail{font-size:11.5px}

  /* Buttons wrap on narrow screens — inline margins alone leave them touching. */
  .btn{padding:10px 18px;font-size:14.5px;border-radius:7px}
  .hero .btn,.mt-m .btn{margin-bottom:10px}

  .work a.item{padding:14px 16px}
  .thumb{top:14px;right:14px;width:48px;height:48px}
  .thumb-mono{font-size:17px}
  .work h3,.work .dom{padding-right:58px}
  .work h3{font-size:18px}
  .work p{font-size:15px}
  /* Multi-domain entries (aopa.uk · aopa.pk · aopa.ae) crowd the name inline. */
  .dom{display:block;margin-left:0;margin-top:4px}
  .grp{margin:18px 0 10px}

  .st b{font-size:32px}
  .poster{max-width:100%}
  .hc,.step{padding:16px 18px}
  .contact-lines{gap:12px;font-size:16px}
  .foot-bottom{padding-bottom:24px}
  .consent-inner{padding:14px 20px;gap:14px}
  .consent p{font-size:14px}
  .consent-actions{width:100%}
  .consent-actions .btn{flex:1;text-align:center}
}

@media(max-width:380px){
  .nav ul{gap:11px;font-size:13px}
  .brand{font-size:13px}
  .wrap,.narrow{padding:0 16px}
}

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