/* Haus of Stitch — storefront */
:root {
  --black: #000;
  --white: #fff;
  --gold: #E3B04B;          /* thread gold, from the logo */
  --gold-ink: #8A6514;      /* gold that passes contrast on white */
  --paper: #F4F3EF;         /* product photo ground */
  --rule: #E4E2DC;
  --muted: #6B6862;
  --muted-dark: #A8A49B;
  --ok: #1F7A4D;
  --err: #B3261E;
  --wa: #1FAF54;
  --radius-sm: 6px;
  --radius: 14px;
  --wrap: 1240px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--black); background: var(--white); font-variation-settings: 'wdth' 100; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 800px) { .wrap { padding: 0 32px; } }

/* type */
.display { font-weight: 800; font-stretch: 125%; font-variation-settings: 'wdth' 125; letter-spacing: -0.01em; line-height: 0.98; margin: 0; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.1; }
.h-section { font-size: clamp(28px, 4vw, 44px); font-weight: 800; font-variation-settings: 'wdth' 125; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 52ch; }
.on-dark .lede, .on-dark .muted { color: var(--muted-dark); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--black); background: var(--black); color: var(--white); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: #262626; border-color: #262626; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-gold:hover { background: #F0C266; border-color: #F0C266; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); border-color: currentColor; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #179447; border-color: #179447; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* announcement + header */
.announce { background: var(--gold); color: var(--black); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }
.preview-bar { background: #2b2b2b; color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.preview-bar a { color: var(--gold); }
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { font-weight: 800; font-variation-settings: 'wdth' 125; font-size: 18px; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #d9d6cf; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bag-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); }
.bag-link:hover { border-color: var(--gold); }
.bag-link svg { width: 20px; height: 20px; }
.bag-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: var(--black); font-size: 13px; display: inline-grid; place-items: center; padding: 0 6px; }
.bag-count[data-n="0"] { background: rgba(255,255,255,.18); color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 8px 16px 20px; margin: 0; border-top: 1px solid #222; }
  .nav.open { display: flex; }
  .nav a { font-size: 18px; padding: 12px; }
  .menu-btn { display: inline-flex; }
  .brand span { display: none; }
  .site-header .wrap { gap: 8px; }
}

/* hero */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 96px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 5.2vw, 80px); }
.hero .lede { margin: 26px 0 34px; color: #cfcbc2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-art.is-photo img { border-radius: var(--radius); }
.hero-art .mono { position: absolute; inset: 22%; width: 56%; height: auto; border-radius: 0; object-fit: contain; }
.hero-art .ring { position: absolute; inset: 0; }
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.stitch .thread { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 16 11; }
.stitch .reveal { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: sew 2.6s cubic-bezier(.55,.1,.3,1) .25s forwards; }
@keyframes sew { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .stitch .reveal { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 56px; gap: 28px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 56px); font-variation-settings: 'wdth' 108; font-stretch: 108%; }
  .hero-art { max-width: 220px; justify-self: start; order: -1; }
  .hero-art.is-photo { max-width: none; aspect-ratio: 4/3; }
}

/* sections */
.section { padding: 80px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-ink); }

/* collections */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.col-tile { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--black); color: #fff; text-decoration: none; }
.col-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.col-tile:hover img { transform: scale(1.03); }
.col-tile .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%); }
.col-tile .txt { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.col-tile h3 { font-size: 30px; font-weight: 800; font-variation-settings: 'wdth' 125; margin: 0 0 4px; }
.col-tile p { margin: 0; color: #d9d6cf; font-size: 15px; }
.col-tile .empty-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.col-tile .empty-mark img { width: 42%; height: auto; object-fit: contain; opacity: .9; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.card { text-decoration: none; display: block; }
.card .img { position: relative; aspect-ratio: 4/5; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card .img .alt { opacity: 0; }
.card:hover .img .alt { opacity: 1; }
.card .img .ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--black); }
.card .img .ph img { position: static; width: 46%; height: auto; }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card .tag.sale { background: var(--gold); }
.card .tag.out { background: var(--black); color: #fff; }
.card h3 { font-size: 16px; font-weight: 600; margin: 14px 0 2px; line-height: 1.3; }
.price { font-weight: 700; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.empty-state { padding: 56px 24px; border: 2px dashed var(--rule); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* custom band */
.band { background: var(--black); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(30px, 4.4vw, 54px); }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: baseline; color: #e8e4da; }
.band li::before { content: ''; flex: none; width: 18px; border-top: 3px dashed var(--gold); transform: translateY(-4px); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.stars { display: flex; gap: 3px; }
.stars i { width: 22px; height: 22px; background: #DCDCE6; display: grid; place-items: center; }
.stars i.on { background: #00B67A; }
.stars i svg { width: 15px; height: 15px; fill: #fff; }
.review h3 { font-size: 17px; margin: 0; }
.review p { margin: 0; color: #2c2b28; }
.review .by { margin-top: auto; font-size: 14px; color: var(--muted); }
.tp-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tp-embed { margin-top: 24px; }

/* newsletter */
.signup { border-top: 1.5px solid var(--rule); padding: 72px 0; }
.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .signup .wrap { grid-template-columns: 1fr; } }
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input[type=email] { flex: 1 1 240px; min-height: 52px; border-radius: 999px; border: 2px solid var(--black); padding: 0 22px; background: #fff; }
.on-dark .signup-form input[type=email] { background: transparent; border-color: #555; color: #fff; }
.on-dark .signup-form input[type=email]:focus { border-color: var(--gold); }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.on-dark .form-msg.ok { color: var(--gold); }
.form-msg.err { color: var(--err); }
.on-dark .form-msg.err { color: #ff8a80; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--black); color: #cfcbc2; padding: 64px 0 40px; margin-top: 0; }
.site-footer .cols4 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-footer .cols4 { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal { border-top: 1px solid #262626; margin-top: 48px; padding-top: 20px; font-size: 13px; color: #8c887f; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #179447; }

/* page header (shop, pages) */
.page-head { background: var(--black); color: #fff; padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(36px, 6vw, 72px); }
.page-head p { margin: 14px 0 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.chip { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #444; font-weight: 600; font-size: 15px; color: #e8e4da; }
.chip:hover { border-color: var(--gold); }
.chip[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #000; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 40px 0 80px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; } }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.gallery .main { aspect-ratio: 4/5; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery .thumbs button { flex: none; width: 76px; aspect-ratio: 4/5; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--black); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 96px; }
.buy h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; font-variation-settings: 'wdth' 115; }
.buy .price { font-size: 24px; }
.opt { border: 0; padding: 0; margin: 28px 0 0; }
.opt legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label { min-width: 52px; min-height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border: 1.5px solid var(--rule); border-radius: 10px; font-weight: 600; cursor: pointer; }
.pills label:hover { border-color: var(--black); }
.pills input:checked + label { background: var(--black); color: #fff; border-color: var(--black); }
.pills input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.qty-row { display: flex; gap: 12px; margin-top: 28px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--rule); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 999px; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-row .btn { flex: 1; }
.desc { margin-top: 32px; padding-top: 24px; border-top: 1.5px solid var(--rule); }
.desc h2 { font-size: 20px; margin-top: 1.2em; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); font-size: 15px; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--wa); margin-top: 1px; }
.added { margin-top: 12px; font-weight: 600; color: var(--ok); min-height: 1.5em; }
.stock-note { color: var(--gold-ink); font-weight: 600; font-size: 15px; margin-top: 8px; }

/* bag */
.bag { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 48px 0 96px; align-items: start; }
@media (max-width: 900px) { .bag { grid-template-columns: 1fr; gap: 32px; } }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1.5px solid var(--rule); align-items: start; }
.line:first-child { border-top: 1.5px solid var(--rule); }
.line .thumb { aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: var(--paper); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font-size: 17px; margin: 0 0 4px; }
.line h3 a { text-decoration: none; }
.line .meta { color: var(--muted); font-size: 15px; }
.line .controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.line .qty { height: 40px; }
.line .qty button { width: 36px; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 4px; }
.summary { background: var(--paper); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.summary h2 { font-size: 22px; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { border-top: 1.5px solid var(--rule); padding-top: 14px; margin-top: 4px; font-size: 20px; font-weight: 800; color: var(--black); }
.pay { display: grid; gap: 12px; margin-top: 24px; }
.free-hint { font-size: 14px; margin: 12px 0 0; color: var(--gold-ink); font-weight: 600; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert.err { background: #FCEDEC; color: var(--err); }
.alert.info { background: var(--paper); }

/* custom page */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; border-top: 3px dashed var(--gold); padding-top: 20px; }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-variation-settings: 'wdth' 125; font-size: 44px; line-height: 1; margin-bottom: 12px; color: var(--gold-ink); }
.steps h3 { font-size: 20px; }
.steps p { margin: 0; color: var(--muted); }
.builder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; gap: 28px; } }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1.5px solid #cfccc4; border-radius: 10px; padding: 12px 14px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px rgba(227,176,75,.45); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .row2 { grid-template-columns: 1fr; } }
.services { display: grid; gap: 16px; }
.service { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.service h3 { font-size: 19px; margin-bottom: 6px; }
.service p { margin: 0; color: var(--muted); }

/* prose pages */
.prose { max-width: 68ch; padding: 48px 0 96px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose p, .prose li { color: #2c2b28; }

/* success */
.success { max-width: 720px; padding: 64px 0 96px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-bottom: 24px; }
.success .tick svg { width: 32px; height: 32px; }
.order-box { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.order-box .li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }

/* full-screen states: launch, maintenance */
.screen { min-height: 100vh; min-height: 100dvh; background: var(--black); color: #fff; display: grid; place-items: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden; }
.screen .inner { position: relative; z-index: 1; max-width: 640px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.screen .logo { width: 132px; height: 132px; margin-bottom: 36px; }
.screen h1 { font-size: clamp(34px, 6vw, 62px); }
.screen p.lede { margin: 18px auto 32px; color: #cfcbc2; }
.countdown { display: flex; gap: clamp(10px, 3vw, 28px); justify-content: center; margin: 4px 0 40px; }
.countdown div { min-width: 70px; }
.countdown b { display: block; font-size: clamp(40px, 8vw, 72px); font-weight: 800; font-variation-settings: 'wdth' 125; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 14px; color: #a8a49b; }
.screen .signup-form { width: 100%; max-width: 480px; }
.screen .foot { position: absolute; bottom: 20px; left: 0; right: 0; font-size: 13px; color: #77736b; z-index: 1; }
.screen .foot a { color: #a8a49b; }
.needle { width: min(420px, 80vw); height: 60px; margin: 0 auto 28px; }
.needle .thread { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 10; animation: run 1.2s linear infinite; }
@keyframes run { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .needle .thread { animation: none; } }

/* hero thread (art-relative coordinates) */
.hero-art .ring { width: 100%; height: 100%; overflow: visible; }
.hero-thread { fill: none; stroke: var(--gold); stroke-width: .62; stroke-linecap: round; stroke-dasharray: 3 2.1; }
.hero-art .ring .reveal { fill: none; stroke: #fff; stroke-width: 6; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: sew 2.8s cubic-bezier(.5,.05,.3,1) .2s forwards; }
@media (prefers-reduced-motion: reduce) { .hero-art .ring .reveal { animation: none; stroke-dashoffset: 0; } }
.hero-art img { position: absolute; inset: 4%; width: 92%; height: 92%; }
.hero-art .mono { inset: 24% 20%; width: 60%; height: auto; }

@media (max-width: 720px) {
  .col-tile { aspect-ratio: 16/10; }
  .col-tile img { object-position: center 30%; }
  .section { padding: 56px 0; }
  .h-section { font-variation-settings: 'wdth' 112; }
  .page-head h1, .screen h1, .band h2 { font-variation-settings: 'wdth' 110; font-stretch: 110%; }
}
body { overflow-x: clip; }
.page-head .lede { color: #cfcbc2; }

/* seasonal drop-down + external tab */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #d9d6cf; }
.nav-drop-btn:hover, .nav-drop-btn.is-current, .nav-drop.open .nav-drop-btn { color: var(--white); background: rgba(255,255,255,.08); }
.nav-drop-btn .chev { width: 16px; height: 16px; transition: transform .15s; }
.nav-drop.open .chev { transform: rotate(180deg); }
.nav-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; background: var(--black); border: 1px solid #2c2c2c; border-radius: 14px; padding: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.35); z-index: 45; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.open .nav-menu { display: grid; }
@media (hover: hover) and (min-width: 861px) { .nav-drop:hover .nav-menu { display: grid; } .nav-drop:hover .chev { transform: rotate(180deg); } }
.nav-menu a { padding: 10px 14px; border-radius: 9px; white-space: nowrap; }
.nav-menu a:first-child { color: var(--gold); }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--white); }
.nav-ext { display: inline-flex; align-items: center; gap: 6px; }
.nav-ext .ext { width: 14px; height: 14px; opacity: .75; }
@media (max-width: 860px) {
  .nav-drop-btn { font-size: 18px; padding: 12px; width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav-drop-btn .chev { width: 20px; height: 20px; }
  .nav-menu { position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; background: none; }
  .nav-menu::before { display: none; }
  .nav-menu a { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .nav-drop-btn .chev { transition: none; } }

/* HOS monogram: stitched in row by row, then a gold shine every few seconds */
.hero-art .mono-wrap { position: absolute; left: 20%; top: 25.85%; width: 60%; aspect-ratio: 600 / 483; max-width: 100%; overflow: hidden; }
.mono-stitch { display: block; width: 100%; height: 100%; }
.mono-stitch .row { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; animation: stitch-row .2s cubic-bezier(.4,0,.6,1) forwards; animation-delay: calc(.45s + var(--i) * .065s); }
.mono-stitch .row.rtl { transform-origin: right center; }
@keyframes stitch-row { to { transform: scaleX(1); } }
.mono-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 220, .95) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0; animation: hos-shine 7s ease-in-out 2.6s infinite; }
@keyframes hos-shine { 0% { background-position: 160% 0; } 22%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) {
  .mono-stitch .row { animation: none; transform: none; }
  .mono-wrap::after { animation: none; display: none; }
}

/* size guide */
.size-legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px; }
.sg-link { background: none; border: 0; padding: 0; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.sg-link:hover { color: var(--gold-ink); }
.sg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.sg-title { font-size: 24px; font-weight: 800; font-variation-settings: 'wdth' 115; margin: 0; }
.unit-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--rule); }
.unit-toggle button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.unit-toggle button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.sg-scroll { overflow-x: auto; border: 1.5px solid var(--rule); border-radius: var(--radius); }
.sg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
.sg-table th, .sg-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sg-table thead th { background: var(--black); color: var(--white); font-size: 14px; font-weight: 700; }
.sg-table thead th:first-child { color: var(--gold); }
.sg-table tbody th { font-weight: 800; }
.sg-table tbody tr:last-child > * { border-bottom: 0; }
.sg-table tbody tr:nth-child(even) { background: #FAF9F6; }
.sg-table tbody tr.is-picked { background: #FBF0D6; }
.sg-table tbody tr.is-picked th { box-shadow: inset 4px 0 0 var(--gold); }
.sg-unit-note { margin: 10px 0 0; }
.sg-img { margin-top: 20px; border-radius: var(--radius); border: 1.5px solid var(--rule); background: #fff; }
.sg-notes { margin-top: 20px; max-width: 64ch; }
.sg-notes h2 { font-size: 18px; margin: 0 0 8px; }
.sg-notes ul { padding-left: 20px; margin: 0 0 12px; }
.sg-notes li { margin-bottom: 4px; }
.sg-notes p { color: #2c2b28; }
.sg-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); border: 0; border-radius: calc(var(--radius) + 4px); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.sg-dialog::backdrop { background: rgba(0,0,0,.6); }
.sg-dialog[open] { animation: sg-in .18s ease-out; }
@keyframes sg-in { from { opacity: 0; transform: translateY(12px); } }
.sg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rule); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.sg-close:hover { border-color: var(--black); }
.sg-dialog .sg-top { padding-right: 48px; }
.sg-page { padding-block: 48px 96px; display: grid; gap: 56px; }
.sg-block { scroll-margin-top: 96px; }
@media (max-width: 600px) { .sg-dialog { padding: 22px 18px; } .sg-table th, .sg-table td { padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) { .sg-dialog[open] { animation: none; } }
.sg-table thead th { white-space: normal; vertical-align: bottom; line-height: 1.25; }
@media (max-width: 600px) {
  .sg-table { min-width: 0; font-size: 15px; }
  .sg-table th, .sg-table td { padding: 10px 8px; }
  .sg-table th:first-child, .sg-table td:first-child { padding-left: 12px; }
  .sg-table thead th { font-size: 13px; }
}

/* promo code box */
.summary dd.disc { color: var(--ok); }
.code-box { margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--rule); }
.code-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid #cfccc4; border-radius: 999px; padding: 0 16px; background: #fff; text-transform: uppercase; letter-spacing: .04em; }
.code-row input::placeholder { text-transform: none; letter-spacing: 0; }
.code-row input:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px rgba(227,176,75,.45); }
.code-row .btn { min-height: 46px; padding: 0 18px; }
.code-applied { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code-chip { background: var(--black); color: var(--gold); font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; font-size: 14px; }
.code-desc { color: var(--ok); font-weight: 600; font-size: 15px; }
.code-applied .remove { margin-left: auto; }
.code-msg { margin: 8px 0 0; font-size: 14px; min-height: 0; }
.code-msg:empty { display: none; }
.code-msg.ok { color: var(--ok); font-weight: 600; }
.code-msg.err { color: var(--err); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 70;
  background: var(--black); color: #fff; border: 1.5px solid var(--gold); border-radius: 12px; padding: 12px 18px; font-size: 15px; max-width: min(460px, calc(100vw - 32px)); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--gold); }

[hidden] { display: none !important; }

/* top sale banner */
.topbanner { display: block; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-decoration: none; position: relative; z-index: 41; }
.topbanner.theme-gold { background: var(--gold); color: var(--black); }
.topbanner.theme-black { background: var(--black); color: var(--white); border-bottom: 1px solid #262626; }
.topbanner.theme-red { background: #B8242C; color: var(--white); }
a.topbanner:hover .tb-item { text-decoration: underline; text-underline-offset: 3px; }
.tb-track { display: flex; width: max-content; animation: tb-scroll var(--tb-dur, 30s) linear infinite; }
.topbanner:hover .tb-track, .topbanner:focus-visible .tb-track { animation-play-state: paused; }
.tb-run { display: flex; flex: none; }
.tb-item { padding: 10px 28px; display: inline-flex; align-items: center; gap: 28px; }
.tb-item::after { content: ""; width: 10px; height: 10px; opacity: .75; background: linear-gradient(45deg, transparent 40%, currentColor 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, currentColor 40% 60%, transparent 60%); }
@keyframes tb-scroll { to { transform: translateX(-50%); } }
.topbanner.is-static .tb-track { animation: none; width: auto; justify-content: center; white-space: normal; text-align: center; }
.topbanner.is-static .tb-item { padding: 9px 16px; }
.topbanner.is-static .tb-item::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .tb-track { animation: none; width: auto; justify-content: center; white-space: normal; text-align: center; }
  .tb-run:not(:first-child), .tb-run .tb-item:not(:first-child) { display: none; }
  .tb-item::after { display: none; }
}

/* sign-up pop-up */
.su-pop { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.su-pop[open] { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.su-pop::backdrop { background: rgba(0,0,0,.62); }
.su-pop[open] { animation: su-in .25s ease-out; }
@keyframes su-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.su-art { position: relative; background: var(--black); color: var(--white); padding: 36px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; min-height: 340px; }
.su-stitch { position: absolute; inset: 14px; border: 2.5px dashed var(--gold); border-radius: 12px; opacity: .75; pointer-events: none; }
.su-art img { width: 46%; max-width: 160px; height: auto; }
.su-big { margin: 0; text-align: center; font-weight: 800; font-variation-settings: 'wdth' 125; line-height: .9; text-transform: uppercase; font-size: 22px; letter-spacing: .08em; color: #d9d6cf; }
.su-big span { display: block; font-size: clamp(64px, 11vw, 96px); letter-spacing: -.02em; color: var(--gold); }
.su-body { padding: 40px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.su-body h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; font-variation-settings: 'wdth' 112; line-height: 1.05; margin: 0 0 10px; text-wrap: balance; }
.su-text { color: var(--muted); margin: 0 0 20px; }
.su-body .signup-form { flex-direction: column; align-items: stretch; }
.su-body .signup-form input[type=email] { flex: none; }
.su-fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.su-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
.su-close:hover { border-color: var(--black); }
.offer-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.offer-code code { font-family: var(--font); font-weight: 800; letter-spacing: .06em; background: var(--black); color: var(--gold); padding: 8px 14px; border-radius: 999px; font-size: 16px; user-select: all; }
.offer-code button { background: none; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; }
.on-dark .offer-code code { background: var(--gold); color: var(--black); }
@media (max-width: 640px) {
  .su-pop[open] { grid-template-columns: minmax(0, 1fr); }
  .su-art { min-height: 0; flex-direction: row; padding: 22px 24px; gap: 16px; justify-content: flex-start; }
  .su-stitch { inset: 8px; border-radius: 10px; }
  .su-art img { width: 64px; }
  .su-big { text-align: left; font-size: 16px; }
  .su-big span { font-size: 56px; }
  .su-body { padding: 24px 22px 22px; }
  .su-close { background: var(--black); color: var(--white); border-color: #444; }
}
@media (prefers-reduced-motion: reduce) { .su-pop[open] { animation: none; } }
.bag > * { min-width: 0; }
@media (max-width: 900px) { .bag { grid-template-columns: minmax(0, 1fr); } }
.code-row input { width: 100%; }
.line { grid-template-columns: 96px minmax(0, 1fr) auto; }
.line .controls { flex-wrap: wrap; }
@media (max-width: 500px) { .line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; } }
.su-body .signup-form { flex-wrap: nowrap; }
.su-body .form-msg { flex-basis: auto; }
.form-msg .offer-code { margin-top: 10px; }

/* small-screen fixes */
.site-footer .cols4 { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .site-footer .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer a, .site-footer span { overflow-wrap: anywhere; }
.btn-block { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .bag-link { padding: 8px 10px; }
  .brand img { width: 40px; height: 40px; }
  .su-big span { font-size: 46px; }
}

/* our work (portfolio) */
.work-proof { margin: 18px 0 0; color: #cfcbc2; font-size: 16px; }
.work-proof strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.page-head .chips button.chip { background: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
.page-head .chips button.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #000; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid.teaser .wcard:nth-child(3) { display: none; } }
@media (max-width: 600px) { .work-grid, .work-grid:not(.three) { grid-template-columns: minmax(0, 1fr); gap: 28px; } .work-grid.teaser .wcard:nth-child(3) { display: block; } }
.wcard { display: block; text-decoration: none; min-width: 0; }
.wcard[hidden] { display: none !important; }
.wimg { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--black); }
.wimg > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wcard:hover .wimg > img { transform: scale(1.03); }
.wph { position: absolute; inset: 0; display: grid; place-items: center; }
.wph img { width: 36%; height: auto; }
.wtag { position: absolute; left: 12px; top: 12px; background: var(--black); color: var(--gold); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.wtag.static { position: static; display: inline-block; margin-bottom: 14px; }
.wtext { padding-top: 14px; }
.wtext h3 { font-size: 19px; font-weight: 800; font-variation-settings: 'wdth' 110; margin: 0 0 2px; }
.wtitle { margin: 0; color: #2c2b28; }
.wmeta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.work-pdp .gallery .main { aspect-ratio: 4 / 3; }
.work-pdp .gallery .thumbs button { aspect-ratio: 4 / 3; width: 96px; }
.work-info h1 { margin-bottom: 4px; }
.work-client { margin: 0 0 18px; font-size: 18px; color: var(--muted); }
.work-client strong { color: var(--black); }
.work-summary { font-size: 18px; margin: 0 0 22px; }
.work-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; border-top: 1.5px solid var(--rule); }
.work-facts > div { padding: 12px 0; border-bottom: 1.5px solid var(--rule); }
.work-facts > div:nth-child(odd) { padding-right: 12px; }
.work-facts dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.work-facts dd { margin: 2px 0 0; font-weight: 700; }
.work-quote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px dashed var(--gold); }
.work-quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.work-quote blockquote::before { content: "“"; color: var(--gold-ink); font-weight: 800; margin-right: 2px; }
.work-quote blockquote::after { content: "”"; color: var(--gold-ink); font-weight: 800; }
.work-quote figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }
.work-cta { display: grid; gap: 10px; margin-top: 28px; }
.pdp > * { min-width: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } }

.work-info .desc { border-top: 0; padding-top: 0; margin-top: 20px; }

/* order tracking */
.track-form { max-width: 480px; padding: 40px 0 96px; }
.track-form .alert { margin-bottom: 18px; }
.order-status { max-width: 720px; padding: 56px 0 96px; }
.progress { list-style: none; margin: 36px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 4px; }
.progress li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: var(--rule); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li.done::before, .progress li.now::before { background: var(--black); }
.progress .dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--rule); background: #fff; display: grid; place-items: center; }
.progress .dot svg { width: 16px; height: 16px; }
.progress li.done .dot svg path { stroke: var(--gold); }
.progress li.done .dot { background: var(--black); border-color: var(--black); color: var(--gold); }
.progress li.now .dot { background: var(--gold); border-color: var(--black); color: var(--black); }
.progress .lbl { font-weight: 700; font-size: 14px; line-height: 1.2; }
.progress li:not(.done):not(.now) .lbl { color: var(--muted); font-weight: 500; }
.progress .when { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
  .progress { grid-template-columns: 1fr; gap: 0; }
  .progress li { flex-direction: row; text-align: left; gap: 14px; padding: 0 0 22px; }
  .progress li::before { top: auto; bottom: 100%; left: 14.5px; right: auto; width: 3px; height: 22px; }
  .progress .when { margin-left: auto; }
}
.tracking-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--paper); border-radius: var(--radius); padding: 18px 22px; margin-top: 28px; }
.tracking-box .tn { margin: 4px 0 0; font-weight: 800; font-size: 20px; letter-spacing: .03em; overflow-wrap: anywhere; }

/* ---------- customer accounts & custom order form ---------- */
.acct-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 999px; color: #d9d6cf; }
.acct-link svg { width: 22px; height: 22px; }
.acct-link:hover, .acct-link[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 720px) { .acct-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.acct-narrow { max-width: 480px; padding: 40px 0 96px; }
.acct { padding: 32px 20px 96px; }
.acct h2 { font-size: 22px; margin: 28px 0 12px; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 24px; border-bottom: 1.5px solid var(--rule); padding-bottom: 12px; }
.acct-tabs a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.acct-tabs a[aria-current="page"] { background: var(--black); color: #fff; }
.acct-tabs form { margin-left: auto; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.alert.ok { background: #E7F4EC; color: var(--ok); }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct-head h2 { margin: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1.5px solid var(--rule); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl.sum td, .tbl.sum th { padding: 8px 10px; }
.tbl tr.tot td { font-weight: 800; border-bottom: 0; }
.tbl .acts { display: flex; gap: 12px; justify-content: flex-end; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper); white-space: nowrap; }
.pill.st-awaiting_review, .pill.st-awaiting_quote { background: #FFF4DB; color: #7a5600; }
.pill.st-awaiting_payment, .pill.st-awaiting_artwork, .pill.st-overdue { background: #FCEDEC; color: var(--err); }
.pill.st-completed, .pill.st-dispatched { background: #E7F4EC; color: var(--ok); }
.pill.st-cancelled { background: #eee; color: #555; }
.pill.st-ready, .pill.st-digitising, .pill.st-garments_ordered, .pill.st-materials_received, .pill.st-embroidery, .pill.st-dtf, .pill.st-rhinestones, .pill.st-qc, .pill.st-ready_to_dispatch { background: #E8EEFC; color: #1d3f8f; }
.org-list { padding-left: 18px; }
.acct-add { margin-top: 12px; }
.acct-add summary { cursor: pointer; font-weight: 700; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 700px) { .row2, .row3 { grid-template-columns: minmax(0, 1fr); } }
.acct-form { max-width: 760px; }
.inline-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.inline-form .field { margin: 0; }
.hp { position: absolute; left: -9999px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.acct-card { background: #fff; border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.acct-card h2 { margin: 0 0 12px; font-size: 20px; }
.acct-card dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.acct-card dl.kv dt { color: var(--muted); font-size: 14px; }
.acct-card dl.kv dd { margin: 0; }
.thumbs, .of-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin: 10px 0; }
.thumbs figure, .of-thumbs figure { margin: 0; position: relative; }
.thumbs img, .of-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); border-radius: 10px; }
.thumbs figcaption { margin-top: 6px; }
.doc { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper); border-radius: 10px; font-size: 12px; padding: 8px; text-align: center; overflow-wrap: anywhere; text-decoration: none; }
.req-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.money-box { border-top: 1px solid var(--rule); padding: 12px 0; }
.money-box:first-of-type { border-top: 0; padding-top: 0; }
.money-box p { margin: 0 0 6px; }
.lines { list-style: none; margin: 8px 0; padding: 0; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.lines li.tot { font-weight: 800; border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 8px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.tl { list-style: none; padding: 0; margin: 16px 0 0; border-left: 2px solid var(--rule); }
.tl li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0 4px 14px; }

/* order form */
.of { padding: 24px 20px 96px; }
.of-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 8px; overflow-x: auto; }
.of-steps button { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--rule); background: #fff; border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.of-steps button span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); font-size: 13px; }
.of-steps button[aria-selected="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.of-steps button[aria-selected="true"] span { background: var(--gold); color: #000; }
.of-save { margin: 4px 0 18px; min-height: 1.4em; }
.of-save.err { color: var(--err); }
.of-panel { background: #fff; border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.of-panel h2 { font-size: 22px; margin: 6px 0 12px; }
.of-panel h2:focus { outline: none; }
.of-panel h3 { font-size: 17px; margin: 22px 0 8px; display: flex; gap: 12px; align-items: baseline; }
.of-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.of-garment { border: 1.5px solid var(--rule); border-radius: 12px; padding: 14px 16px 6px; margin: 0 0 14px; min-width: 0; }
.of-garment legend { font-weight: 700; padding: 0 6px; }
.of-garment .linkish { margin-bottom: 10px; font-size: 14px; }
.of-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.of-paste { background: var(--paper); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.of-paste textarea { width: 100%; border: 1.5px solid #cfccc4; border-radius: 10px; padding: 10px; margin: 8px 0; font: inherit; }
.of-rows { display: grid; gap: 8px; }
.of-row { display: grid; grid-template-columns: 1.3fr 1.4fr .7fr 1fr .55fr 1fr 1.3fr 1.3fr 64px; gap: 6px; align-items: end; }
.of-row-head { font-size: 12px; font-weight: 700; color: var(--muted); }
.of-row label span { display: none; }
.of-row input, .of-row select { width: 100%; min-height: 42px; border: 1.5px solid #cfccc4; border-radius: 8px; padding: 6px 8px; background: #fff; font: inherit; font-size: 14px; }
.of-row input:focus, .of-row select:focus { border-color: #000; outline: none; box-shadow: 0 0 0 3px rgba(227,176,75,.45); }
.of-row-acts { display: flex; gap: 4px; }
.of-row-acts button { width: 30px; height: 42px; border: 0; background: var(--paper); border-radius: 8px; cursor: pointer; font-size: 18px; }
.of-row-acts button:hover { background: #e9e6df; }
@media (max-width: 980px) {
  .of-row-head { display: none; }
  .of-row { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); padding: 12px; border-radius: 12px; }
  .of-row label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
  .of-row-acts { grid-column: 1 / -1; justify-content: flex-end; }
}
.of-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.of-drop { border: 2px dashed #cfccc4; border-radius: 12px; padding: 14px; }
.of-drop.over { border-color: var(--gold); background: #fffaf0; }
.of-drop label { display: grid; gap: 4px; cursor: pointer; }
.of-drop input[type=file] { font-size: 14px; max-width: 100%; }
.of-thumbs figure button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #000; color: #fff; cursor: pointer; }
.of-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; }
@media (max-width: 800px) { .of-review { grid-template-columns: minmax(0, 1fr); } }
[data-errors] ul { margin: 8px 0 0; padding-left: 18px; }

/* main website pages */
.landing { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .landing { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.prose { font-size: 17px; line-height: 1.65; max-width: 68ch; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.landing-side { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 860px) { .landing-side { position: static; } }
.side-card { background: var(--black); color: #fff; border-radius: var(--radius); padding: 26px; }
.side-card h2 { margin: 0 0 10px; font-size: 22px; }
.side-card p { color: #cfcbc2; }
.side-card a:not(.btn) { color: var(--gold); }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-links { display: grid; gap: 2px; }
.side-links a { padding: 10px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.contact-form { margin-top: 28px; }
.home-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .home-services { grid-template-columns: minmax(0, 1fr); } }
.svc { display: block; text-decoration: none; background: var(--paper); border-radius: var(--radius); padding: 26px; transition: transform .15s; }
.svc:hover { transform: translateY(-2px); }
.svc h3 { margin: 0 0 8px; font-size: 22px; }
.svc p { margin: 0; color: var(--muted); }
.svc .go { display: inline-block; margin-top: 14px; font-weight: 700; }
.uni-band { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .uni-band { grid-template-columns: minmax(0, 1fr); } }
.uni-band ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-weight: 600; }
