/* =========================================================
   OVERCAST TRADE — wholesale stylesheet
   Same brand tokens as the consumer site, tuned for buyers:
   denser grids, tables, numbers first.
   ========================================================= */

:root {
  --paper: #F3EEE3;
  --paper-2: #EAE3D3;
  --ink: #141414;
  --red: #FF4B2B;
  --blue: #2F3BFF;
  --yellow: #FFC93C;
  --green: #2E5E3E;
  --muted: #6b665c;
  --display: "Archivo Black", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --radius: 18px;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --pad: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0; letter-spacing: -.01em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); margin: 0; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin: 0 0 14px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper); border: var(--border); border-radius: 999px;
  padding: 13px 24px; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--red); transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--red); }
.btn[aria-disabled="true"] { opacity: .45; }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.btn-light:hover { box-shadow: 6px 6px 0 var(--yellow); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
.chip { background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.chip:hover, .chip.active { background: var(--ink); color: var(--paper); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; font-size: 13px; color: var(--muted); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--paper); overflow: hidden; font-size: 13px; font-weight: 500; }
.announce-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.announce-track span { padding: 9px 36px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--pad); background: var(--paper); border-bottom: 3px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--ink); }
.logo { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; white-space: nowrap; }
.logo span { display: inline-block; color: var(--blue); margin: 0 1px; animation: bob 3s ease-in-out infinite; }
.logo i, .footer-big i { font-style: normal; font-family: var(--sans); font-weight: 700; font-size: .5em; vertical-align: middle; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 3px 10px; letter-spacing: .08em; text-transform: uppercase; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; border: 2px solid transparent; transition: .15s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.on { border-color: var(--ink); background: var(--yellow); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.acct-btn { font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 99px; border: 2px solid var(--ink); white-space: nowrap; }
.acct-btn:hover { background: var(--ink); color: var(--paper); }
.bag-btn { display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); border: 3px solid var(--ink); border-radius: 999px; padding: 7px 8px 7px 16px; font-weight: 700; white-space: nowrap; }
.bag-btn span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 13px; }
.bag-btn span.has { background: var(--yellow); animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.3); } }

/* ---------- Order pad drawer ---------- */
.pad {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(480px, 100vw);
  background: var(--paper); border-left: var(--border); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.pad-open .pad { transform: none; }
.scrim { position: fixed; inset: 0; z-index: 150; background: rgba(20, 20, 20, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pad-open .scrim { opacity: 1; pointer-events: auto; }
.pad-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: var(--border); }
.pad-head h3 { font-size: 28px; }
.pad-head p { font-size: 13px; }
.pad-head button { background: none; border: var(--border); border-radius: 50%; width: 40px; height: 40px; font-weight: 700; }
.pad-progress { padding: 0 24px; font-size: 14px; }
.pad-progress:empty { display: none; }
.meterline p { margin: 14px 0 6px; }
.meterline small { color: var(--muted); }
.bar { height: 10px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; background: #fff6; }
.bar span { display: block; height: 100%; background: var(--green); transition: width .4s; }
.tier-hint { margin: 8px 0 4px; font-size: 13px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; }
.pad-items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.pad-style { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 2px dashed #0002; }
.pad-style img { width: 64px; aspect-ratio: 4/5; object-fit: cover; border: 2px solid var(--ink); border-radius: 10px; }
.pad-style.short img { border-color: var(--red); }
.pad-top { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.sku { font-size: 12px; color: var(--muted); margin: 2px 0 6px; letter-spacing: .03em; }
.pad-run { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.pad-run span { font-size: 12px; background: var(--paper-2); border-radius: 6px; padding: 2px 7px; }
.warn { color: var(--red); font-size: 13px; font-weight: 700; margin: 6px 0 0; font-style: normal; font-family: var(--sans); }
.good { color: var(--green); font-style: normal; font-family: var(--sans); font-weight: 700; }
.pad-sum { text-align: right; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.pad-sum small { color: var(--muted); }
.pad-empty { text-align: center; padding: 60px 10px; }
.empty-cloud { font-size: 80px; color: var(--blue); animation: bob 3s ease-in-out infinite; }
.pad-totals { padding: 16px 24px 22px; border-top: var(--border); font-variant-numeric: tabular-nums; }
.pad-totals:empty { display: none; }
.pad-totals .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.pad-totals .row small { color: var(--muted); }
.pad-totals .row.good { color: var(--green); font-weight: 700; }
.pad-totals .total { font-weight: 700; font-size: 19px; margin: 10px 0 4px; }
.rrp-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.tiny { font-size: 12px; text-align: center; color: var(--muted); margin: 10px 0 0; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 180%);
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1);
  background: var(--yellow); border: var(--border); border-radius: 999px; box-shadow: var(--shadow);
  padding: 12px 22px; font-weight: 700; max-width: 90vw; text-align: center;
}
#toast.show { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .announce-track, .logo span, .empty-cloud { animation: none; } }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(60px, 9vw, 120px) var(--pad); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(38px, 6vw, 76px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 16px 0 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted, .dark .section-head p { color: #b9b3a6; }

/* =========================================================
   HOME
   ========================================================= */
.t-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.t-hero h1 { font-size: clamp(48px, 8vw, 116px); }
.t-hero h1 em { color: var(--blue); }
.t-hero .lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 560px; margin: 22px 0 30px; }
.t-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pill-live { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; margin-bottom: 22px; background: #fff8; }
.pill-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } }
/* Clean grid — nothing overlaps: tall photo left, product + margin ticket stacked right */
.hero-stack {
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr auto;
  gap: 16px; padding: 0 8px 8px 0; /* room for the offset shadows */
}
.hero-stack img { width: 100%; height: 100%; object-fit: cover; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-stack .a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3/4; }
.hero-stack .b { grid-column: 2; grid-row: 1; aspect-ratio: 4/5; min-height: 0; }
.hero-stack .ticket {
  grid-column: 2; grid-row: 2; background: var(--paper); border: var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px; font-size: 14px;
}
.ticket b { font-family: var(--display); font-weight: 400; font-size: 34px; display: block; line-height: 1; color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--border); border-bottom: var(--border); padding: 0; }
.kpis div { padding: 26px var(--pad); border-right: var(--border); }
.kpis div:last-child { border-right: 0; }
.kpis b { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); display: block; line-height: 1; }
.kpis span { font-size: 14px; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { border: var(--border); border-radius: var(--radius); padding: 26px; background: var(--paper); box-shadow: var(--shadow); }
.why-card .ico { font-size: 34px; display: grid; place-items: center; width: 58px; height: 58px; border: var(--border); border-radius: 50%; background: var(--c, var(--yellow)); margin-bottom: 18px; }
.why-card h3 { font-size: 24px; margin-bottom: 10px; }
.why-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* margin calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.calc-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.calc-picker button { border: 2px solid var(--paper); background: transparent; border-radius: 14px; padding: 6px; text-align: left; color: var(--paper); }
.calc-picker button img { aspect-ratio: 1; object-fit: cover; border-radius: 9px; width: 100%; margin-bottom: 6px; }
.calc-picker button span { font-size: 12px; font-weight: 700; display: block; line-height: 1.2; }
.calc-picker button.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.calc-out { background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); box-shadow: 8px 8px 0 var(--yellow); }
.calc-out h3 { font-size: 32px; margin-bottom: 4px; }
.calc-rows { margin: 20px 0; font-variant-numeric: tabular-nums; }
.calc-rows div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 2px dashed #0002; }
.calc-rows div b { font-size: 18px; }
.calc-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-big div { background: var(--paper-2); border-radius: 14px; padding: 16px; }
.calc-big b { font-family: var(--display); font-weight: 400; font-size: 40px; display: block; line-height: 1; color: var(--green); }
.calc-big span { font-size: 13px; color: var(--muted); }
.calc-units { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-weight: 700; }
.calc-units input[type="range"] { flex: 1; accent-color: var(--ink); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--border); border-radius: var(--radius); overflow: hidden; counter-reset: s; }
.steps li { list-style: none; padding: 28px; border-right: var(--border); position: relative; background: var(--paper); }
.steps li:last-child { border-right: 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 54px; color: var(--c); -webkit-text-stroke: 2px var(--ink); display: block; line-height: 1; margin-bottom: 16px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }
.steps-wrap { padding: 0; margin: 0; }

/* terms */
.terms { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--border); border-radius: var(--radius); overflow: hidden; background: var(--paper); font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 2px solid #0001; vertical-align: top; }
.tbl thead th { background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody th { font-weight: 700; width: 40%; }
.tier-cards { display: grid; gap: 14px; }
.tier { border: var(--border); border-radius: var(--radius); padding: 22px; background: var(--c, var(--paper)); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tier b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.tier p { margin: 0; font-weight: 700; }
.tier small { display: block; font-weight: 400; color: inherit; opacity: .75; }

/* stockists */
.stockists-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.uk-map { position: relative; aspect-ratio: 3/4; max-width: 440px; margin: 0 auto; width: 100%; }
.uk-map svg { width: 100%; height: 100%; }
.stockist-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stockist { border: 2px solid var(--paper); border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; transition: .15s; }
.stockist:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.stockist b { display: block; }
.stockist small { opacity: .7; font-size: 12px; white-space: nowrap; }

/* quote */
.quote-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 50px); align-items: center; background: var(--yellow); border-top: var(--border); border-bottom: var(--border); }
.quote-band img { width: clamp(120px, 16vw, 200px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--border); }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; }
.quote-band cite { display: block; font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 700; margin-top: 16px; }

/* faq */
.faq { max-width: 900px; }
.faq details { border-bottom: var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 700; font-size: 19px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 720px; }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(44px, 8vw, 110px); margin-bottom: 26px; }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   LINE SHEET
   ========================================================= */
.ls-head { padding-bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.ls-head h1 { font-size: clamp(44px, 7vw, 96px); }
.ls-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.ls-meta span { border: 2px solid var(--ink); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; background: #fff6; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 30; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 12px var(--pad); background: var(--paper); border-top: var(--border); border-bottom: var(--border);
}
.toolbar .group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.toolbar input[type="search"], .toolbar select { border: 2px solid var(--ink); border-radius: 99px; padding: 6px 14px; background: #fff8; font-size: 14px; }
.view-toggle { display: flex; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; }
.view-toggle button { border: 0; background: none; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.view-toggle button.active { background: var(--ink); color: var(--paper); }

.styles { padding-top: 30px; display: grid; gap: 22px; }
.style-row { display: grid; grid-template-columns: 220px 1fr 1.35fr; gap: clamp(16px, 2.4vw, 32px); border: var(--border); border-radius: var(--radius); padding: 18px; background: var(--paper); transition: box-shadow .2s, transform .2s; }
.style-row.in-order { box-shadow: 8px 8px 0 var(--green); }
.style-img { position: relative; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; }
.style-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.style-img img.alt { position: absolute; inset: 0; opacity: 0; }
.style-img:hover img.alt { opacity: 1; }
.sticker { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 3px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.style-info h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 4px 0 6px; }
.style-info .tagline { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; }
.price-grid div { padding: 10px 12px; border-right: 2px solid var(--ink); }
.price-grid div:last-child { border-right: 0; background: var(--green); color: var(--paper); }
.price-grid small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.price-grid b { font-size: 22px; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; font-size: 14px; }
.facts li { display: flex; gap: 8px; }
.facts li span:first-child { color: var(--muted); min-width: 86px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.stock.low::before { background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); }
.stock.mto::before { background: var(--blue); }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); vertical-align: -2px; margin-right: 8px; }

.matrix { overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 6px 4px; text-align: center; }
.matrix thead th { font-size: 12px; letter-spacing: .06em; color: var(--muted); border-bottom: 2px solid var(--ink); }
.matrix tbody th { text-align: left; font-weight: 500; white-space: nowrap; padding-right: 10px; }
.matrix tbody tr { border-bottom: 1px dashed #0002; }
.matrix td.r, .matrix th.r { text-align: right; font-weight: 700; padding-left: 10px; }
.matrix input { width: 100%; min-width: 42px; max-width: 64px; text-align: center; border: 2px solid #0003; border-radius: 8px; padding: 6px 2px; background: #fff9; -moz-appearance: textfield; }
.matrix input::-webkit-outer-spin-button, .matrix input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.matrix input:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.matrix input:not(:placeholder-shown) { border-color: var(--ink); background: var(--yellow); font-weight: 700; }
.matrix-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.mf-actions { display: flex; gap: 6px; }

/* compact table view */
.styles.compact .style-row { grid-template-columns: 90px 1fr 1.6fr; padding: 12px; }
.styles.compact .style-info .tagline, .styles.compact .facts { display: none; }
.styles.compact .style-info h2 { font-size: 20px; }
.styles.compact .price-grid b { font-size: 16px; }

.ls-summary { position: sticky; bottom: 16px; z-index: 40; margin: 30px var(--pad) 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 10px 10px 10px 26px; box-shadow: 6px 6px 0 var(--yellow); transform: translateY(150%); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.ls-summary.show { transform: none; }
.ls-summary .btn { background: var(--yellow); color: var(--ink); box-shadow: none; }

/* =========================================================
   APPLY + PORTAL
   ========================================================= */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.split-aside h1 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 20px; }
.split-aside img { border: var(--border); border-radius: var(--radius); margin-top: 26px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--paper); font-size: 13px; font-weight: 700; }

.form { border: var(--border); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px); background: #fff6; box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-family: var(--display); font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.form legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 2px solid var(--ink); border-radius: 12px; padding: 11px 14px; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.field textarea { min-height: 100px; resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; border: 2px solid var(--ink); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 500; transition: .15s; }
.pills input:checked + span { background: var(--ink); color: var(--paper); }
.pills input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue); }
.consent { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; }
.success { text-align: center; padding: 40px 10px; }
.success .big { font-size: 80px; }
.success h2 { font-size: 44px; margin: 10px 0 12px; }
.success p { max-width: 440px; margin: 0 auto 20px; color: var(--muted); }

.signin { max-width: 520px; margin: 0 auto; text-align: center; }
.signin h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 14px; }
.signin .form { text-align: left; margin-top: 28px; }
.signin .demo-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-bottom: 30px; }
.dash-head h1 { font-size: clamp(38px, 5.4vw, 72px); }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 0; padding-bottom: 30px; }
.dash-card { border: var(--border); border-radius: var(--radius); padding: 20px; background: var(--c, var(--paper)); }
.dash-card small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .75; }
.dash-card b { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); display: block; line-height: 1.1; margin-top: 6px; }
.dash-card .bar { margin-top: 10px; background: #fff8; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; padding-top: 0; align-items: start; }
.panel { border: var(--border); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: var(--border); }
.panel-head h2 { font-size: 22px; }
.orders { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.orders th, .orders td { padding: 12px 16px; text-align: left; border-bottom: 1px dashed #0002; }
.orders th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.orders td.r, .orders th.r { text-align: right; }
.orders tr.new td { background: #ffc93c55; }
.status { display: inline-block; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; border: 2px solid var(--ink); }
.status.Delivered { background: var(--green); color: var(--paper); border-color: var(--green); }
.status.Invoiced { background: var(--paper-2); }
.status.Received, .status.Awaiting { background: var(--yellow); }
.reorder-list { list-style: none; margin: 0; padding: 8px 20px 16px; }
.reorder-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed #0002; }
.reorder-list img { width: 48px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.reorder-list small { display: block; color: var(--muted); font-size: 12px; }
.assets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 20px; }
.assets a { border: 2px solid var(--ink); border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.assets a:hover { background: var(--yellow); }
.placed-banner { margin: 0 var(--pad) 24px; background: var(--green); color: var(--paper); border: var(--border); border-radius: var(--radius); padding: 18px 24px; font-weight: 700; display: flex; gap: 12px; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 70px var(--pad) 26px; }
.footer-big { font-family: var(--display); font-size: clamp(54px, 12vw, 180px); line-height: .85; letter-spacing: -.03em; margin-bottom: 50px; }
.footer-big span { color: var(--yellow); }
.footer-big i { color: var(--ink); font-size: .16em; vertical-align: top; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 2px solid #fff3; }
.footer-grid h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.footer-grid a { display: block; padding: 3px 0; opacity: .85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-grid p { margin: 0 0 12px; opacity: .85; font-size: 15px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; font-size: 12px; opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .style-row { grid-template-columns: 160px 1fr; }
  .style-row .matrix { grid-column: 1 / -1; }
  .styles.compact .style-row { grid-template-columns: 70px 1fr; }
}
@media (max-width: 960px) {
  .t-hero, .calc, .terms, .stockists-wrap, .split, .dash-grid { grid-template-columns: 1fr; }
  .split-aside { position: static; }
  .why-grid, .dash-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: var(--border); }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(2) { border-right: 0; }
  .kpis div:nth-child(-n+2) { border-bottom: var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .uk-map { max-width: 320px; }
}
@media (max-width: 620px) {
  :root { --header-h: 64px; }
  .acct-btn { display: none; }
  .logo { font-size: 19px; }
  .why-grid, .dash-cards, .steps, .fields, .stockist-list, .assets { grid-template-columns: 1fr; }
  .steps li { border-right: 0 !important; border-bottom: var(--border); }
  .steps li:last-child { border-bottom: 0; }
  .style-row { grid-template-columns: 1fr; }
  .style-img { max-width: 220px; }
  .calc-picker { grid-template-columns: repeat(4, 1fr); }
  .quote-band { grid-template-columns: 1fr; text-align: center; }
  .quote-band img { margin: 0 auto; }
  .orders .hide-sm { display: none; }
}
