/* Self-hosted fonts (SIL Open Font License 1.1, see /assets/fonts/OFL-LICENSE.txt). Same families the design uses. */
@font-face{font-family:"Archivo";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/assets/fonts/archivo-var.woff2) format("woff2-variations"),url(/assets/fonts/archivo-var.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/instrument-sans-400.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/instrument-sans-500.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/instrument-sans-600.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/ibm-plex-mono-400.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/ibm-plex-mono-500.woff2) format("woff2")}
@font-face{font-family:"Anton";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/anton-400.woff2) format("woff2")}
/* Ansons Apparel MFG — generated from tokens.json */
:root, [data-theme="light"] {--paper: #ffffff; --paper-alt: #f5f4f1; --ink: #0b0b0b; --ink-muted: #5c5a55; --line: #e2e0db; --rule: var(--ink); --greige: #cdc6b9; --greige-soft: #ece8e0; --greige-ink: #6b6355; --on-ink: #ffffff; --success: #1d6b48; --alert: #9b3a12; --focus: var(--ink); --shadow-float: 0 8px 24px rgba(11,11,11,0.14); }
[data-theme="dark"] {--paper: #0f0f0e; --paper-alt: #181816; --ink: #f2f1ee; --ink-muted: #a9a69f; --line: #2b2a27; --rule: var(--ink); --greige: #4a463f; --greige-soft: #26241f; --greige-ink: #c8bfae; --on-ink: #0b0b0b; --success: #7fd3a6; --alert: #f0a578; --focus: var(--ink); --shadow-float: 0 8px 24px rgba(0,0,0,0.6); }
:root {--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px; --radius-0: 0px; --radius-sm: 2px; --radius-pill: 999px; --container: 1320px; --measure: 680px; --header-height: 72px; --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif; --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.display-xl { font-family: var(--font-display); font-size: 96px; line-height: 0.94; font-weight: 700; letter-spacing: -0.035em; }
.display-l { font-family: var(--font-display); font-size: 64px; line-height: 0.98; font-weight: 700; letter-spacing: -0.03em; }
.heading-1 { font-family: var(--font-display); font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.heading-3 { font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.figure { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.body-l { font-family: var(--font-sans); font-size: 19px; line-height: 1.6; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 1.65; font-weight: 400; }
.body-s { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; font-weight: 400; }
.button { font-family: var(--font-sans); font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: 0.01em; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: 0.08em; }
.spec { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; font-weight: 400; }
/* Ansons Apparel MFG — component styles. Every value comes from tokens.css. */
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.65; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.an-frame { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }
.an-frame-col { padding: var(--space-6); display: grid; gap: var(--space-6); }
:where(.an-btn, .an-faq summary, .an-input, .an-nav a, .an-wa, .an-link):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Logo: two files, one per theme */
.an-logo { display: inline-flex; align-items: center; }
.an-logo img { display: block; height: 100%; width: auto; }
.an-logo .on-dark { display: none; }
[data-theme="dark"] .an-logo .on-light { display: none; }
[data-theme="dark"] .an-logo .on-dark { display: block; }

/* Label / eyebrow */
.an-eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--greige-ink); }

/* Button */
.an-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1; height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-0); border: 1px solid var(--ink); cursor: pointer; text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.an-btn-sm { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.an-btn-primary { background: var(--ink); color: var(--on-ink); }
.an-btn-primary:hover { background: var(--paper); color: var(--ink); }
.an-btn-secondary { background: var(--paper); color: var(--ink); }
.an-btn-secondary:hover { background: var(--ink); color: var(--on-ink); }
.an-btn-text { background: none; border-color: transparent; color: var(--ink); padding: 0; height: auto; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.an-btn .an-arrow { font-family: var(--font-mono); font-weight: 400; }
.an-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Tag */
.an-tag { display: inline-flex; align-items: center; gap: var(--space-1); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 6px var(--space-2); border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.an-tag-greige { background: var(--greige); border-color: var(--greige); color: var(--ink); }
.an-tag-success { color: var(--success); border-color: currentColor; }
.an-tag-alert { color: var(--alert); border-color: currentColor; }

/* Header */
.an-header { display: flex; align-items: center; gap: var(--space-8); height: var(--header-height); padding: 0 var(--space-8); background: var(--paper); border-bottom: 1px solid var(--line); }
.an-header .an-logo { height: 40px; }
.an-nav { display: flex; gap: var(--space-6); margin-left: auto; }
.an-nav a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: var(--space-2) 0; border-bottom: 1px solid transparent; }
.an-nav a:hover, .an-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.an-nav a.is-deal::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; vertical-align: 2px; background: var(--greige-ink); }

/* Image slot (used until real photos are placed) */
.an-slot { position: relative; background: var(--paper-alt); overflow: hidden; display: flex; align-items: flex-end; }
.an-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.an-slot-label { position: relative; margin: var(--space-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }

/* Product card */
.an-product { display: grid; gap: var(--space-3); width: 300px; color: var(--ink); text-decoration: none; }
.an-product .an-slot { aspect-ratio: 4 / 5; max-width: 100%; }
.an-product h3 { margin: var(--space-1) 0 0; font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.an-product p { margin: 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
.an-product:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Spec sheet */
.an-spec { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 14px; }
.an-spec caption { text-align: left; padding-bottom: var(--space-3); }
.an-spec tr { border-bottom: 1px solid var(--line); }
.an-spec thead tr, .an-spec tr:first-child { border-top: 1px solid var(--rule); }
.an-spec th { text-align: left; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding: var(--space-3) var(--space-4) var(--space-3) 0; width: 38%; vertical-align: top; }
.an-spec td { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; padding: var(--space-3) 0; color: var(--ink); }

/* Process steps */
.an-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--rule); }
.an-process li { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-right: 1px solid var(--line); display: grid; gap: var(--space-2); align-content: start; }
.an-process li + li { padding-left: var(--space-6); }
.an-process li:last-child { border-right: 0; }
.an-process .n { font-family: var(--font-mono); font-size: 12px; color: var(--greige-ink); letter-spacing: .08em; }
.an-process .t { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.an-process .d { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.an-process .dur { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }

/* Deal card */
.an-deal { width: 340px; max-width: 100%; background: var(--greige-soft); display: grid; gap: var(--space-4); padding: var(--space-6); position: relative; }
.an-deal-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.an-deal h3 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.an-deal .price { display: flex; align-items: baseline; gap: var(--space-2); }
.an-deal .price b { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.an-deal .price span { font-size: 14px; color: var(--ink-muted); }
.an-deal ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.an-deal li { font-family: var(--font-mono); font-size: 13px; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); display: flex; gap: var(--space-2); }
.an-deal li::before { content: "+"; color: var(--greige-ink); }
.an-deal .fine { font-size: 13px; color: var(--ink-muted); margin: 0; }

/* Stat row */
.an-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--rule); }
.an-stat { padding: var(--space-6) var(--space-6) var(--space-6) 0; display: grid; gap: var(--space-2); }
.an-stat + .an-stat { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.an-stat b { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.an-stat span { font-size: 14px; color: var(--ink-muted); }

/* FAQ */
.an-faq { border-top: 1px solid var(--rule); max-width: 760px; }
.an-faq details { border-bottom: 1px solid var(--line); }
.an-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.an-faq summary::-webkit-details-marker { display: none; }
.an-faq summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--ink-muted); }
.an-faq details[open] summary::after { content: "–"; }
.an-faq .a { padding: 0 0 var(--space-6); max-width: 680px; color: var(--ink); }
.an-faq .a p { margin: 0; }

/* Quote form */
.an-form { display: grid; gap: var(--space-4); max-width: 560px; }
.an-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.an-field { display: grid; gap: 6px; min-width: 0; }
.an-field label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.an-input { font: inherit; font-size: 15px; height: 48px; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
textarea.an-input { height: 96px; padding: var(--space-3); resize: vertical; }
.an-input:hover { border-color: var(--ink-muted); }
.an-input:focus { border-color: var(--rule); }
.an-drop { border: 1px dashed var(--ink-muted); padding: var(--space-6); text-align: center; font-size: 14px; color: var(--ink-muted); background: var(--paper-alt); }
.an-drop b { color: var(--ink); font-weight: 600; }
.an-help { font-size: 13px; color: var(--ink-muted); margin: 0; }
.an-error { font-size: 13px; color: var(--alert); margin: 0; }

/* Testimonial */
.an-quote { margin: 0; max-width: 620px; display: grid; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--rule); }
.an-quote blockquote { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.an-quote figcaption { font-size: 14px; color: var(--ink-muted); }
.an-quote figcaption b { color: var(--ink); font-weight: 600; }

/* Logo strip */
.an-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.an-logos > div { height: 88px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.an-logos img { max-height: 32px; max-width: 70%; filter: grayscale(1); }

/* WhatsApp float */
.an-wa { display: inline-flex; align-items: center; gap: var(--space-2); height: 52px; padding: 0 var(--space-6) 0 var(--space-4); border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-float); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.an-wa svg { width: 22px; height: 22px; }

/* Footer */
.an-footer { background: var(--paper-alt); padding: var(--space-16) var(--space-8) var(--space-8); display: grid; gap: var(--space-12); }
.an-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); }
.an-footer .an-logo { height: 48px; }
.an-footer h4 { margin: 0 0 var(--space-3); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.an-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 14px; }
.an-footer a { color: var(--ink); text-decoration: none; }
.an-footer a:hover { text-decoration: underline; }
.an-footer address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink-muted); margin-top: var(--space-4); }
.an-footer .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }

@media (max-width: 720px) {
  .an-header { padding: 0 var(--space-4); height: 60px; }
  .an-nav { display: none; }
  .an-form .row, .an-footer .cols { grid-template-columns: 1fr; }
  .an-stat + .an-stat, .an-process li + li { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* QA additions: skip link, footer headings */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:#0b0b0b;color:#fff;padding:12px 16px;font-weight:600;text-decoration:none}
.skip-link:focus{left:16px;color:#fff}
main:focus{outline:none}
.an-footer h2.ft-h{margin:0 0 var(--space-3);font-family:var(--font-mono);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted)}

/* keep the last footer line clear of the floating WhatsApp button */
.an-footer{padding-bottom:104px}


/* Keep the phone layout within the viewport while allowing pinch zoom. */
@media (max-width: 700px) {
  html {
    overflow-x: hidden;
    overflow-x: clip;
  }
  body { overflow-x: clip; }
  #quote dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .cl-marquee { contain: paint; }
}
