/* sutf.in — Supreme Tailoring Firm (design of 7 Oct 2026).
   The logo's blue, warm paper, tape-measure yellow; Archivo for words, Instrument Serif italic for the heritage notes.
   Tailoring details: twill texture on blue, dashed "stitch" outlines, woven-label eyebrows, swing-tag prices,
   a tape measure for the timeline. Built by _build/site.py; never edit assets/site.css by hand. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --blue: #0F3F85; --blue-600: #1552A8; --blue-700: #0C356F; --navy: #0A2A5C; --navy-900: #071D40;
  --sky: #E8EFFA; --sky-2: #F2F6FC;
  --paper: #F7F5F0; --white: #fff; --ink: #0E1726; --muted: #4B5565; --line: #E2E6EE; --line-2: #D5DBE5;
  --tape: #F5B700; --tape-ink: #3B2A00; --wa: #1A7F45; --wa-700: #146637;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(9,38,84,.06), 0 10px 30px rgba(9,38,84,.08);
  --shadow-lg: 0 2px 4px rgba(9,38,84,.06), 0 24px 60px rgba(9,38,84,.16);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 32px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* the phone menu and the enquiry list wait just off the right edge; never let them widen the page */
html { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--paper); font-synthesis: none; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 82%; line-height: 1.08; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.25rem; font-stretch: 88%; }
p { margin: 0; text-wrap: pretty; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--tape); color: var(--tape-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.split-head .section-head { margin-bottom: 0; }
.bg-white { background: var(--white); }
.bg-sky { background: var(--sky-2); }

/* Woven label: the small tag stitched into a garment */
.label { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding: 9px 13px; border-radius: 4px; outline: 1px dashed rgba(255,255,255,.6); outline-offset: -4px; }
.label-light { background: var(--white); color: var(--blue); outline-color: rgba(15,63,133,.45); }
.label-tape { background: var(--tape); color: var(--tape-ink); outline-color: rgba(59,42,0,.4); }

/* Twill: the diagonal weave of drill fabric, faint on the blue sections */
.twill { background-color: var(--blue); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 7px), radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.10), transparent 60%); color: var(--white); }
.twill h1, .twill h2, .twill h3 { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-700); color: var(--white); }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(15,63,133,.35); }
.btn-ghost:hover { background: var(--sky); color: var(--blue); border-color: var(--blue); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--sky); color: var(--blue); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue-600); }
.link svg { width: 18px; height: 18px; transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }

/* Top bar and header */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.82); font-size: .8125rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-links { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; min-width: 0; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-name { display: block; font-weight: 800; font-stretch: 80%; font-size: 1.28rem; line-height: 1.05; letter-spacing: -.005em; white-space: nowrap; }
.brand-sub { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96875rem; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--sky-2); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--tape); border-radius: 0; }
.nav .m-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.list-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 700; font-size: .9375rem; color: var(--navy); cursor: pointer; }
.list-btn:hover { border-color: var(--blue); color: var(--blue); }
.list-btn svg { width: 20px; height: 20px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--tape); color: var(--tape-ink); font-size: .8125rem; font-weight: 800; }
.count[data-n="0"] { background: var(--sky); color: var(--muted); }
.menu-btn { display: none; flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--navy); cursor: pointer; place-items: center; }
.menu-btn svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .serif { color: var(--tape); font-size: 1.08em; display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 560px; }
.hero .btns { margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: rgba(255,255,255,.9); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--tape); flex: none; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.collage::before { content: ""; position: absolute; inset: -6% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); pointer-events: none; }
.swatch-card { position: relative; background: var(--white); border-radius: var(--radius); padding: 10px; box-shadow: 0 20px 50px rgba(3,14,36,.35); transform: rotate(var(--r, 0deg)); transition: transform .25s; text-decoration: none; color: var(--ink); }
@media (hover: hover) { .swatch-card:hover { transform: rotate(0deg) translateY(-4px); } }
.swatch-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.swatch-card .label { position: absolute; left: 18px; bottom: 18px; }
.swatch-card:nth-child(1) { --r: -2deg; }
.swatch-card:nth-child(2) { --r: 1.6deg; margin-top: 34px; }
.swatch-card:nth-child(3) { --r: 1.2deg; margin-top: -34px; }
.swatch-card:nth-child(4) { --r: -1.4deg; }

/* Clients */
.clients { padding-block: 34px; border-bottom: 1px solid var(--line); background: var(--white); }
.clients .wrap { display: flex; align-items: center; gap: 28px; }
.clients-title { flex: none; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 150px; line-height: 1.35; }
.logo-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.logo-row::-webkit-scrollbar { display: none; }
.logo-tile { flex: none; display: grid; place-items: center; width: 128px; height: 68px; padding: 8px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.logo-tile img { max-height: 50px; width: auto; object-fit: contain; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.clients-grid .logo-tile { width: auto; height: 84px; }
.clients-grid .logo-tile img { max-height: 62px; }

/* Industry (category) cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
@media (hover: hover) { .cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); } }
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent, var(--blue)); z-index: 1; }
.cat-media { position: relative; background: linear-gradient(180deg, var(--sky-2), #fff); height: 250px; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px 0 0; transition: transform .35s; }
@media (hover: hover) { .cat-card:hover .cat-media img { transform: scale(1.04); } }
.cat-count { position: absolute; right: 14px; top: 16px; background: var(--white); border-radius: 999px; padding: 4px 11px; font-size: .8125rem; font-weight: 700; color: var(--navy); box-shadow: 0 2px 8px rgba(9,38,84,.12); }
.cat-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.cat-body h3 { font-size: 1.375rem; }
.cat-body p { color: var(--muted); font-size: .9375rem; }
.cat-body .link { margin-top: 6px; color: var(--accent, var(--blue-600)); }

/* Product cards */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.p-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; position: relative; }
@media (hover: hover) { .p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.p-card[hidden] { display: none; }
.p-media { display: block; position: relative; background: #fff; aspect-ratio: 1; border-bottom: 1px solid var(--line); }
.p-media img { width: 100%; height: 100%; object-fit: contain; }
.p-media .p-more { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--muted); padding: 3px 9px; }
.p-body { display: grid; gap: 6px; padding: 14px 16px 16px; align-content: start; }
.p-meta { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-meta i { font-style: normal; color: var(--accent, var(--blue)); }
.p-card h3 { font-size: 1.125rem; font-stretch: 90%; line-height: 1.2; }
.p-card h3 a { color: var(--navy); text-decoration: none; }
.p-card h3 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.p-card h3 a:hover { color: var(--blue); }
.dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 4px; padding: 0; list-style: none; }
.dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.dots .more { font-size: .75rem; color: var(--muted); font-weight: 600; line-height: 16px; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.add-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--blue); font-weight: 700; font-size: .875rem; cursor: pointer; }
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { border-color: var(--blue); background: var(--sky-2); }
.add-btn.added { background: var(--sky); border-color: var(--blue); }

/* Swing-tag price: a tag with a punched hole */
.price { position: relative; display: inline-flex; align-items: baseline; gap: 4px; background: var(--tape); color: var(--tape-ink); font-weight: 800; font-size: .9375rem; line-height: 1; padding: 7px 11px 7px 21px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); border-radius: 0 5px 5px 0; white-space: nowrap; }
.price::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(59,42,0,.35); }
.price small { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.price-lg { font-size: 1.375rem; padding: 10px 16px 10px 28px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.price-lg::before { left: 11px; width: 8px; height: 8px; margin-top: -4px; }

/* Catalogue toolbar */
.toolbar { display: grid; gap: 16px; margin-bottom: 28px; }
.search { position: relative; max-width: 520px; }
.search input { width: 100%; min-height: 52px; padding: 12px 44px 12px 48px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,82,168,.15); }
.search > svg { position: absolute; left: 17px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; font-size: .9375rem; color: var(--ink); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip .n { font-size: .75rem; font-weight: 700; color: inherit; opacity: .7; }
.result-note { color: var(--muted); font-size: .9375rem; min-height: 1.5em; }
.empty { display: none; padding: 40px 20px; text-align: center; background: var(--white); border-radius: var(--radius); border: 1.5px dashed var(--line-2); }
.empty.show { display: block; }

/* Branding (logo placement) */
.brand-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.shirt-art { position: relative; background: var(--sky-2); border-radius: 24px; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); }
.shirt-art > svg { width: 100%; height: auto; }
.spots { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.spots li { display: flex; align-items: center; gap: 7px; }
.spots b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font-size: .8125rem; font-weight: 800; }
.try-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.try-logo .fine { flex-basis: 100%; }
.shirt-art.has-logo .spot-dot { opacity: 0; }
.method-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.method { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--line); }
.method .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.method .ic svg { width: 24px; height: 24px; }
.method h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.method p { color: var(--muted); font-size: .9375rem; }

/* Ordering steps, joined by a seam */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 10px, transparent 10px 17px); }
.step { position: relative; display: grid; gap: 10px; align-content: start; text-align: center; justify-items: center; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font-weight: 800; font-size: 1.375rem; font-stretch: 80%; box-shadow: 0 0 0 6px var(--blue); position: relative; z-index: 1; }
.step h3 { font-size: 1.125rem; }
.step p { color: rgba(255,255,255,.82); font-size: .9375rem; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.why .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue); outline: 1px dashed rgba(15,63,133,.35); outline-offset: -5px; }
.why .ic svg { width: 26px; height: 26px; }
.why h3 { font-size: 1.125rem; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .9375rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 22px; display: grid; gap: 4px; border-left: 1px dashed var(--line-2); }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 800; font-stretch: 78%; color: var(--blue); line-height: 1; }
.stat span { color: var(--muted); font-size: .9375rem; font-weight: 600; }

/* Heritage: a tape measure through the years */
.tape-line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 70px 0 0; list-style: none; }
.tape-line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; border-radius: 4px; background-color: var(--tape); background-image: repeating-linear-gradient(90deg, rgba(59,42,0,.85) 0 2px, transparent 2px 60px), repeating-linear-gradient(90deg, rgba(59,42,0,.6) 0 1.5px, transparent 1.5px 12px); background-size: 100% 22px, 100% 12px; background-repeat: no-repeat; box-shadow: 0 6px 18px rgba(120,90,0,.18); }
.mile { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.mile::before { content: ""; position: absolute; left: 30px; top: -30px; width: 2px; height: 30px; background: var(--navy); }
.mile .yr { position: absolute; left: 16px; top: -64px; background: var(--navy); color: var(--white); font-weight: 800; font-stretch: 78%; font-size: 1.125rem; padding: 4px 10px; border-radius: 6px; }
.mile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mile p { color: var(--muted); font-size: .96875rem; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 1.0625rem; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3F85' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* Call-to-action band */
.cta-band { position: relative; border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.cta-band::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 16px; pointer-events: none; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 12px; font-size: 1.0625rem; }
.cta-band .btns { justify-content: flex-end; position: relative; z-index: 1; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 60px); }
.page-hero h1 { margin: 14px 0 14px; font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem); }
.page-hero .lead { font-size: 1.125rem; color: rgba(255,255,255,.86); max-width: 720px; }
.page-hero .btns { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .875rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 600; }
.twill .crumbs a { color: rgba(255,255,255,.88); }
.twill .crumbs { color: var(--white); }
.light-crumbs { color: var(--muted); padding-top: 22px; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.who li { background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.35); border-radius: 999px; padding: 6px 13px; font-size: .875rem; }

/* Product page */
.pdp > *, .two > *, .hero-grid > *, .brand-grid > * { min-width: 0; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; padding-block: 28px clamp(48px, 6vw, 80px); }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.gal-main { position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1; touch-action: pan-y; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.gal-nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; }
.gal-count { position: absolute; left: 14px; bottom: 14px; background: rgba(10,42,92,.85); color: #fff; font-size: .8125rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.gal-thumbs button { flex: none; width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 3px; cursor: pointer; }
.gal-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pdp-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pdp-info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-top: 6px; }
.pdp-info .summary { font-size: 1.125rem; color: var(--muted); margin-top: 12px; }
.pdp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pdp-note { color: var(--muted); font-size: .875rem; }
.spec h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; margin-bottom: 10px; }
.colours { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.colours li { display: flex; align-items: center; gap: 7px; font-size: .9375rem; }
.colours .dot { width: 22px; height: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--white); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; font-size: .9375rem; }
.ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks svg { width: 22px; height: 22px; color: var(--wa); margin-top: 1px; }
.order-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow); position: relative; }
.order-box::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--line-2); border-radius: 14px; pointer-events: none; }
.order-box > * { position: relative; }
.order-grid { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: .875rem; font-weight: 700; color: var(--navy); }
.field small { color: var(--muted); font-weight: 400; font-size: .8125rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,82,168,.15); }
.qty { display: grid; grid-template-columns: 44px 1fr 44px; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--white); min-height: 48px; }
.qty button { border: 0; background: var(--sky-2); color: var(--blue); cursor: pointer; display: grid; place-items: center; }
.qty button svg { width: 18px; height: 18px; }
.qty input { border: 0; min-height: 0; text-align: center; font-weight: 700; width: 100%; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9375rem; }
.share-row button, .share-row a { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; color: var(--blue-600); font-weight: 700; cursor: pointer; text-decoration: none; }
.share-row svg { width: 18px; height: 18px; }

/* The shirt-and-pant set (corporate page) */
.set-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.5vw, 40px); position: relative; }
.set-band::after { content: ""; position: absolute; inset: 9px; border: 1.5px dashed var(--line-2); border-radius: 18px; pointer-events: none; }
.set-pics { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.set-pics a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.set-pics img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.set-plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.set-copy { display: grid; gap: 14px; position: relative; z-index: 1; }
.set-copy p { color: var(--muted); font-size: 1.05rem; }
.set-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.set-and { font-weight: 800; color: var(--navy); }
.set-note { display: grid; gap: 10px; background: var(--sky-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px 16px; }
.set-note p { color: var(--ink); font-size: .9375rem; }
.spec-more { margin-top: 10px; font-size: .9375rem; }

/* Fabric guide */
.fabric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.fabric { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; }
.fabric h2 { font-size: 1.5rem; }
.fabric .what { color: var(--muted); }
.fabric dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .9375rem; }
.fabric dt { font-weight: 700; color: var(--navy); }
.fabric dd { margin: 0; color: var(--muted); }
.ticks.care { max-width: 760px; }

/* Measuring guide */
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.measure-grid > * { min-width: 0; }
.measure-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.measure-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.measure-list b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font-weight: 800; }
.measure-list h3 { font-size: 1.0625rem; }
.measure-list p { color: var(--muted); font-size: .9375rem; }
.card.tip { display: grid; gap: 8px; }
.card.tip p { color: var(--muted); }

/* Uniform designer */
.designer-hero { padding-block: 26px 30px; }
.designer-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); margin: 12px 0 10px; }
.designer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(18px, 3vw, 36px); align-items: start; padding-block: 24px 64px; }
.d-stage-col { position: sticky; top: calc(var(--header-h) + 12px); display: grid; gap: 10px; min-width: 0; }
.d-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.d-bar .chips { gap: 6px; }
.chip-sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.chip:disabled { opacity: .45; cursor: default; }
.d-stage { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: min(68vh, 640px); }
.d-stage svg { display: block; width: 100%; height: min(68vh, 640px); }
.d-summary { color: var(--muted); font-size: .9375rem; text-align: center; min-height: 1.6em; }
.d-panel { display: grid; gap: 14px; min-width: 0; }
.d-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.d-step h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-stretch: 88%; }
.d-step h2 b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tape); color: var(--tape-ink); font-size: .9375rem; }
.d-step h2 small { font-weight: 500; color: var(--muted); font-size: .875rem; font-stretch: 100%; }
.d-types { gap: 8px; }
.d-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.part { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; text-align: left; }
.part i { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.part span { display: grid; line-height: 1.2; font-weight: 700; font-size: .9375rem; color: var(--navy); min-width: 0; }
.part small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.part[aria-pressed="true"] { border-color: var(--blue); background: var(--sky-2); box-shadow: 0 0 0 3px rgba(21,82,168,.15); }
.part:disabled { cursor: default; opacity: .7; }
.d-colour-label { font-size: .875rem; font-weight: 700; color: var(--navy); }
.d-colours { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
.sw { display: grid; justify-items: center; gap: 4px; padding: 6px 2px; border-radius: 10px; border: 1.5px solid transparent; background: none; cursor: pointer; font-size: .75rem; line-height: 1.15; color: var(--ink); text-align: center; }
.sw i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.sw:hover { background: var(--sky-2); }
.sw[aria-pressed="true"] { border-color: var(--blue); background: var(--sky-2); font-weight: 700; }
.sw[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--white), 0 0 0 5px var(--blue); }
.d-options #d-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 4px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--blue); }
.seg { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: var(--white); padding: 8px 14px; font-weight: 600; font-size: .875rem; cursor: pointer; color: var(--ink); min-height: 38px; }
.seg button + button { border-left: 1.5px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-actions .btn { width: 100%; white-space: normal; text-align: center; }
.d-saved { display: flex; flex-wrap: wrap; gap: 10px; }
.saved-item { position: relative; }
.saved-open { display: block; width: 74px; height: 160px; padding: 4px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; position: relative; }
.saved-open svg { width: 100%; height: 100%; }
.saved-open b { position: absolute; left: 6px; top: 4px; font-weight: 800; color: var(--navy); }
.saved-del { position: absolute; right: -12px; top: -12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: #8A1C1C; font-weight: 800; cursor: pointer; line-height: 1; }

.d-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.idea { display: inline-flex; align-items: center; gap: 0; min-height: 38px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; font-weight: 600; font-size: .8125rem; color: var(--ink); }
.idea i { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white), inset 0 0 0 1px rgba(0,0,0,.2); }
.idea i + i { margin-left: -6px; }
.idea span { margin-left: 8px; }
.idea:hover { border-color: var(--blue); }
.d-pal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.seg-sm button { min-height: 32px; padding: 5px 11px; font-size: .8125rem; }
.linklike { border: 0; background: none; padding: 0; color: var(--blue-600); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.d-saved { align-items: flex-start; }
.saved-item { display: grid; gap: 6px; justify-items: center; }
.saved-name { width: 96px; min-height: 44px; padding: 4px 6px; border-radius: 8px; border: 1.5px solid var(--line-2); font-size: 1rem; font-weight: 700; text-align: center; color: var(--navy); }
.saved-name:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,82,168,.15); }
.saved-help { flex-basis: 100%; }
.d-logo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.d-approve { border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--sky-2); }
.d-approve summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--navy); }
.d-approve-body { display: grid; gap: 10px; padding: 0 14px 14px; }
.d-approve .btn { width: fit-content; }
.designer-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 3vw, 28px); }
.designer-band img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.designer-band > div { display: grid; gap: 12px; }
.designer-band p { color: var(--muted); font-size: 1.05rem; }
.approval { display: none; }
/* Designer additions (7 Oct 2026): who wears it, sizes, QR code, offline use */
.d-fig { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.d-sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.d-size { display: grid; gap: 4px; justify-items: center; }
.d-size span { font-weight: 800; font-size: .875rem; color: var(--navy); letter-spacing: .04em; }
.d-size input { width: 100%; min-height: 44px; padding: 6px 4px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 1rem; font-weight: 700; text-align: center; color: var(--navy); background: var(--white); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.d-size input::-webkit-outer-spin-button, .d-size input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.d-size input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,82,168,.15); }
#d-size-total { font-weight: 600; color: var(--navy); }
.d-actions .d-wide { grid-column: 1 / -1; }
/* the QR code opens over everything, big and clear for the buyer's camera */
.d-qr { position: fixed; z-index: 130; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; padding: 16px; background: rgba(7,29,64,.6); }
.d-qr-card { width: min(360px, 100%); max-height: 100%; overflow-y: auto; display: grid; gap: 10px; justify-items: center; text-align: center; background: var(--white); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-lg); }
.d-qr-code { width: min(300px, 100%); aspect-ratio: 1; background: #fff; }
.d-qr-code svg { display: block; width: 100%; height: 100%; }
.d-qr-card b { color: var(--navy); font-size: 1.15rem; }
.d-qr-card .btn { min-width: 140px; }
.d-offline { background: var(--sky-2); border-style: dashed; border-color: var(--line-2); }
.d-offline h2 { font-size: 1.1rem; }
.d-offline h2 svg { width: 22px; height: 22px; color: var(--blue); }
.d-offline p:not(.fine) { color: var(--muted); }
.d-ready { display: flex; align-items: center; gap: 6px; color: #17703D; font-weight: 700; }
.d-ready svg { width: 18px; height: 18px; flex: none; }
.prose { max-width: 72ch; display: grid; gap: 10px; }
.prose h2 { font-size: 1.35rem; margin-top: 14px; }
.prose p { color: var(--ink); line-height: 1.65; }

/* Which to choose, on uniforms that look alike */
.choose { background: var(--white); border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.choose h2 { font-size: 1.125rem; font-stretch: 90%; text-transform: none; letter-spacing: 0; color: var(--navy); margin: 0; }
.choose p { color: var(--muted); font-size: .9375rem; }

/* Two-column info blocks (contact, about) */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.contact-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-list .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list .k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list .v { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.0625rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.map { width: 100%; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--sky-2); aspect-ratio: 4 / 3; min-height: 260px; position: relative; } /* the width is set, so the minimum height can't widen it on small phones */
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, rgba(15,63,133,.04) 0 2px, transparent 2px 9px), var(--sky-2); }
.map-load svg.pin { width: 40px; height: 40px; color: var(--blue); }
.reg { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .875rem; }
.reg b { color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-msg.error { display: block; background: #FDECEC; color: #8A1C1C; }
.form-items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.form-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--sky-2); border-radius: 10px; font-size: .9375rem; }
.fine { color: var(--muted); font-size: .8125rem; }

/* Enquiry drawer */
.drawer-bg { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; background: rgba(7,29,64,.5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); box-shadow: -20px 0 60px rgba(7,29,64,.25); display: grid; grid-template-rows: auto 1fr auto; clip-path: inset(0 0 0 100%); transition: clip-path .28s ease, visibility .28s; visibility: hidden; }
.drawer-open .drawer { clip-path: inset(0 0 0 -90px); visibility: visible; }
.drawer-open .drawer-bg { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--navy); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { overflow-y: auto; padding: 18px max(20px, env(safe-area-inset-right)) 18px 20px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.line-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.line-item h3 { font-size: 1rem; font-stretch: 92%; }
.line-item h3 a { display: inline-block; padding-block: 4px; } /* a 24px-tall tap target */
.line-item .meta { color: var(--muted); font-size: .8125rem; }
.line-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.line-ctrl .qty { min-height: 44px; grid-template-columns: 44px 56px 44px; }
.qty button, .qty input { min-height: 44px; }
.line-ctrl select { min-height: 44px; padding: 4px 8px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; font-size: 1rem; max-width: 160px; }
.line-ctrl .rm { border: 0; background: none; color: #8A1C1C; font-weight: 700; font-size: .875rem; cursor: pointer; min-height: 44px; padding: 6px 8px; margin-left: auto; }
.line-item input.note { grid-column: 1 / -1; min-height: 44px; padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--line-2); font-size: 1rem; }
.drawer-empty { text-align: center; padding: 30px 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.drawer-empty svg { width: 54px; height: 54px; color: var(--line-2); }

/* Toast */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 160%); visibility: hidden; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; transition: transform .25s, visibility .25s; width: max-content; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast button { background: var(--tape); color: var(--tape-ink); border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 800; cursor: pointer; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h2 { color: var(--white); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-stretch: 100%; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--white); }
.foot-brand img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 2px; }
.foot-brand b { font-size: 1.25rem; font-stretch: 80%; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.2); font-size: .8125rem; color: rgba(255,255,255,.62); }


/* Touch screens: every button and link at least 44px tall (Apple's and Google's guidance) */
@media (pointer: coarse) {
  .saved-del { width: 44px; height: 44px; right: -14px; top: -14px; }
  .btn-sm, .chip, .chip-sm, .idea, .seg button, .seg-sm button { min-height: 44px; }
  .link, .share-row a, .share-row button { min-height: 44px; }
  .add-btn { min-height: 44px; }
  .crumbs a { display: inline-block; padding: 11px 4px; margin-inline: -4px; }
  .linklike { display: inline-block; padding-block: 12px; }
}

/* Phone action bar */
.actbar { display: none; }

/* Gentle entrance for sections (skipped when the visitor prefers less motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Header on tablets and phones: the menu folds away ── */
@media (max-width: 1140px) {
  .list-btn .txt { display: none; }
  .list-btn { padding: 8px 12px; }
  .nav a { padding: 10px 9px; }
}
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; z-index: 55; display: grid; align-content: start; gap: 4px; padding: 16px var(--gutter) 120px; background: var(--paper); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .28s ease, visibility .28s; overflow-y: auto; }
  .nav a { font-size: 1.25rem; font-weight: 700; padding: 14px 12px; border-bottom: 1px dashed var(--line-2); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--tape); }
  .nav-open .nav { clip-path: inset(0); visibility: visible; }
  .nav .m-only { display: block; font-size: 1.0625rem; font-weight: 600; padding-left: 26px; color: var(--muted); }
}
@media (max-width: 600px) { .header-actions .btn-quote { display: none; } }
@media (max-width: 600px) { .d-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .header-actions .list-btn { display: none; } }
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .btn { white-space: normal; text-align: center; }
  .seg button { padding: 8px 10px; font-size: .8125rem; }
  .brand-name { font-size: 1.05rem; }
}
@media (max-width: 350px) {
  :root { --gutter: 12px; }
  .d-step { padding: 14px; }
  .d-parts { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
  .brand img { width: 36px; height: 36px; }
  .brand { gap: 8px; }
}

/* ── Tablet ── */
@media (max-width: 1040px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: auto; }
  .cat-card:nth-child(5) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Phone ── */
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .75rem; letter-spacing: .1em; }
  .hero-grid, .brand-grid, .two, .pdp, .cta-band, .set-band, .measure-grid { grid-template-columns: 1fr; }
  .designer { grid-template-columns: 1fr; padding-top: 0; }
  .designer-band { grid-template-columns: 1fr; }
  .d-stage-col { display: contents; }
  .d-stage { position: sticky; top: var(--header-h); z-index: 5; box-shadow: 0 10px 24px rgba(9,38,84,.14); }
  .d-stage { min-height: 40vh; min-height: 40svh; }
  .d-typing .d-stage { min-height: 0; }
  .d-stage svg { height: 40vh; height: 40svh; transition: height .2s; }
  .d-typing .d-stage svg { height: 18vh; height: 18svh; }
  .d-bar { display: grid; gap: 6px; }
  .d-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .d-bar .chips::-webkit-scrollbar { display: none; }
  .d-bar .chip { white-space: nowrap; }
  .d-summary { font-size: .8125rem; }
  .designer-hero .lead { font-size: 1rem; }
  .fabric-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .collage { gap: 12px; }
  .collage::before { display: none; }
  .swatch-card { padding: 7px; }
  .swatch-card .label { left: 10px; bottom: 10px; font-size: .75rem; letter-spacing: .08em; padding: 7px 9px; }
  .swatch-card:nth-child(2) { margin-top: 20px; }
  .swatch-card:nth-child(3) { margin-top: -20px; }
  .clients .wrap { display: grid; gap: 14px; }
  .clients-title { max-width: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-media { height: 220px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 12px; }
  .p-card h3 { font-size: 1rem; }
  .p-foot { flex-wrap: wrap; }
  .add-btn .txt { display: none; }
  .add-btn { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; padding: 0; justify-content: center; box-shadow: 0 2px 8px rgba(9,38,84,.15); }
  .add-btn svg { width: 20px; height: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { grid-template-columns: 56px 1fr; text-align: left; justify-items: start; column-gap: 16px; row-gap: 4px; padding-bottom: 26px; }
  .step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.45) 0 9px, transparent 9px 15px); }
  .step:last-child::before { display: none; }
  .step-n { grid-row: span 2; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .tape-line { grid-template-columns: 1fr; padding: 0 0 0 64px; gap: 26px; }
  .tape-line::before { left: 0; right: auto; top: 0; bottom: 0; width: 34px; height: auto; background-image: repeating-linear-gradient(180deg, rgba(59,42,0,.85) 0 2px, transparent 2px 60px), repeating-linear-gradient(180deg, rgba(59,42,0,.6) 0 1.5px, transparent 1.5px 12px); background-size: 18px 100%, 10px 100%; }
  .mile { padding-top: 44px; }
  .mile::before { left: -30px; top: 26px; width: 30px; height: 2px; }
  .mile .yr { left: 16px; top: 12px; }
  .cta-band .btns { justify-content: flex-start; }
  .gallery { position: static; }
  .order-grid, .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .actbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(9,38,84,.10); padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); gap: 8px; }
  .actbar a, .actbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; border: 0; font-size: .75rem; font-weight: 700; text-decoration: none; cursor: pointer; position: relative; }
  .actbar svg { width: 22px; height: 22px; }
  .actbar .call { background: var(--sky); color: var(--blue); }
  .actbar .wa { background: var(--wa); color: #fff; }
  .actbar .lst { background: var(--navy); color: #fff; }
  .actbar .count { position: absolute; top: 3px; right: calc(50% - 28px); min-width: 22px; height: 22px; font-size: .75rem; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 440px) {
  .order-actions { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cat-card { grid-template-columns: 116px 1fr; grid-template-rows: none; }
  .cat-card::before { top: 0; bottom: 0; left: 0; right: auto; width: 5px; height: auto; }
  .cat-media { height: auto; min-height: 132px; }
  .cat-media img { padding: 8px 2px 0 8px; }
  .cat-count { top: auto; bottom: 8px; right: auto; left: 12px; font-size: .75rem; padding: 2px 8px; }
  .cat-body { padding: 14px 14px 14px 12px; gap: 4px; align-content: center; }
  .cat-body h3 { font-size: 1.125rem; }
  .cat-body p { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-body .link { margin-top: 0; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .p-grid { gap: 10px; }
  .price { font-size: .875rem; padding-left: 19px; }
}

/* Print: the catalogue page prints as a clean list */
@media print {
  .topbar, .site-header, .actbar, .drawer, .drawer-bg, .toast, .site-footer, .toolbar, .add-btn, .cta-band { display: none !important; }
  body { background: #fff; padding: 0; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .p-card { break-inside: avoid; box-shadow: none; }
}

/* The uniform designer's approval sheet: when it is printed, only the sheet shows */
@media print {
  body.printing-approval > *:not(main), body.printing-approval main > *:not(#approval) { display: none !important; }
  body.printing-approval #approval { display: block !important; color: #0E1726; font-size: 11pt; }
  @page { size: A4; margin: 12mm; }
  #approval header { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid #0F3F85; padding-bottom: 8px; }
  #approval header img { width: 48px; height: 48px; }
  #approval header b { display: block; font-size: 16pt; color: #0A2A5C; }
  #approval header span { color: #4B5565; }
  #approval .ap-who { display: flex; gap: 24px; margin: 10px 0; }
  #approval .ap-who span, #approval .ap-notes { display: grid; }
  #approval small { font-size: 8pt; letter-spacing: .1em; text-transform: uppercase; color: #4B5565; }
  #approval .ap-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
  #approval .ap-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  #approval figure { margin: 0; border: 1px solid #D5DBE5; border-radius: 6px; padding: 4px; text-align: center; }
  #approval figure svg { width: 100%; height: auto; max-height: 150mm; }
  #approval figcaption { font-size: 9pt; color: #4B5565; }
  #approval h2 { font-size: 15pt; color: #0A2A5C; margin: 0 0 6px; }
  #approval table { border-collapse: collapse; width: 100%; }
  #approval th, #approval td { text-align: left; padding: 5px 4px; border-bottom: 1px solid #E2E6EE; vertical-align: middle; }
  #approval th { width: 34%; color: #4B5565; font-weight: 600; }
  #approval td i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #approval .ap-terms, #approval .ap-link { font-size: 8.5pt; color: #4B5565; margin-top: 8px; overflow-wrap: anywhere; }
  #approval .ap-qr { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
  #approval .ap-qr svg { flex: none; width: 30mm; height: 30mm; }
  #approval .ap-qr .ap-link { margin: 0; display: grid; gap: 2px; }
  #approval .ap-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
  #approval .ap-sign span { border-top: 1px solid #0E1726; padding-top: 6px; font-size: 9pt; }
  #approval footer { margin-top: 18px; font-size: 8pt; color: #4B5565; border-top: 1px dashed #D5DBE5; padding-top: 6px; }
  #approval svg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
