/* ==========================================================================
   APPAREL LIMITED — brochure site
   Design system + components. Single stylesheet, no build step required.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — deep petrol teal, copper, warm paper */
  --ink:        #071A22;
  --ink-2:      #0D2A38;
  --brand:      #0F3D4C;
  --brand-2:    #16566A;
  --brand-soft: #E6F0F1;

  --accent:     #C0673A;   /* copper */
  --accent-2:   #E2A155;   /* amber */
  --accent-soft:#FBEDE2;

  --sage:       #2F6F62;
  --sage-soft:  #E4F0EC;

  --paper:      #FFFFFF;
  --cream:      #FBF8F4;
  --cream-2:    #F4EEE6;

  --text:       #12242C;
  --text-muted: #55686F;
  --text-faint: #7C8C92;
  --on-dark:    #EAF2F3;
  --on-dark-mu: #A9C0C6;

  --line:       #E3DCD2;
  --line-dark:  rgba(234, 242, 243, 0.16);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino,
                  "Book Antiqua", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

  --radius-s: 8px;
  --radius:   14px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(7, 26, 34, .06), 0 2px 8px rgba(7, 26, 34, .05);
  --shadow:   0 2px 4px rgba(7, 26, 34, .05), 0 12px 32px rgba(7, 26, 34, .09);
  --shadow-l: 0 24px 64px rgba(7, 26, 34, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 650;
     letter-spacing: -.005em; }

p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

strong { font-weight: 650; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--cream  { background: var(--cream); }
.section--paper  { background: var(--paper); }
.section--tint   { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.section--dark   { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark-mu); }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--radius-s); font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Section heading block */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p.lede { font-size: 1.09rem; color: var(--text-muted); margin-bottom: 0; }
.section--dark .sec-head p.lede { color: var(--on-dark-mu); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.sec-head--center .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--accent-2); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .97rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
  box-shadow: var(--shadow-s);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: linear-gradient(135deg, var(--accent) 0%, #A8542F 100%); }
.btn--light  { --btn-bg: #fff; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost  {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: rgba(18, 36, 44, .22); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(18,36,44,.04); }
.btn--on-dark {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,.32); box-shadow: none;
}
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 244, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 26, 34, .06);
}

.nav {
  display: flex; align-items: center; gap: 16px;
  min-height: 78px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); margin-right: auto;
  flex-shrink: 0;             /* the company name is never clipped */
}
.brand__mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--ink) 60%, #0a2430 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(15, 61, 76, .28);
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(226,161,85,.42), transparent 55%);
}
.brand__mark svg { position: relative; z-index: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.16rem;
  letter-spacing: .01em; white-space: nowrap;
}
.brand__sub {
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 11px; border-radius: 999px;
  font-size: .94rem; font-weight: 550; color: var(--text);
  text-decoration: none; white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav__links a:hover { background: rgba(15, 61, 76, .07); color: var(--brand); }
.nav__links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.nav__mobile-extra { display: none; }

.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__cta .btn { padding: 11px 20px; font-size: .9rem; }

.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
  white-space: nowrap;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.nav__phone:hover { border-color: var(--accent); color: var(--accent); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; padding: 0; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 19px; height: 1.8px; background: currentColor;
  border-radius: 2px; position: relative;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.8px;
  background: currentColor; border-radius: 2px;
  transition: transform .22s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(-90deg); }
.nav__toggle[aria-expanded="true"] span::after  { opacity: 0; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(165deg, #0A2532 0%, var(--ink) 46%, #05141B 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(72px, 11vw, 132px) clamp(72px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 460px at 78% 12%, rgba(192, 103, 58, .30), transparent 62%),
    radial-gradient(620px 520px at 8% 88%, rgba(22, 86, 106, .55), transparent 66%);
  pointer-events: none;
}
/* Woven-thread texture — nods to the apparel trade without any bitmap */
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.55) 0 1px, transparent 1px 9px);
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 78%);
}
.hero > .wrap { position: relative; z-index: 2; }

.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 76px); align-items: center;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: #fff; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero__tag .flag {
  width: 22px; height: 15px; border-radius: 2px; flex: 0 0 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}

.hero h1 { color: #fff; margin-bottom: .38em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent-2) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--on-dark-mu); max-width: 56ch; margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  padding-top: 26px; border-top: 1px solid var(--line-dark);
}
.hero__meta a, .hero__meta span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 550; color: var(--on-dark);
  text-decoration: none;
}
.hero__meta a:hover { color: var(--accent-2); }
.hero__meta svg { opacity: .62; flex-shrink: 0; }

/* Hero contact card */
.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 36px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 32px 70px rgba(0,0,0,.34);
}
.hero-card__title {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 22px;
}
.hero-card__row {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card__row:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.hero-card__ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
  background: rgba(226,161,85,.14); border: 1px solid rgba(226,161,85,.26);
  display: grid; place-items: center; color: var(--accent-2);
}
.hero-card__k {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mu); font-weight: 650; margin-bottom: 3px;
}
.hero-card__v {
  font-size: 1.02rem; font-weight: 600; color: #fff;
  text-decoration: none; word-break: break-word; line-height: 1.4;
  display: block;
}
a.hero-card__v:hover { color: var(--accent-2); }
.hero-card__v small {
  display: block; font-size: .84rem; font-weight: 450;
  color: var(--on-dark-mu); margin-top: 2px;
}
.hero-card .btn { width: 100%; margin-top: 22px; }

/* --------------------------------------------------------------------------
   7. Marquee / trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--ink-2); color: var(--on-dark-mu);
  padding-block: 22px; border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.trust-strip__inner {
  display: flex; align-items: center; gap: 12px clamp(18px, 2.6vw, 34px);
  flex-wrap: wrap; justify-content: center;
  font-size: .76rem; font-weight: 600; letter-spacing: .085em;
  text-transform: uppercase;
}
.trust-strip__inner span { display: inline-flex; align-items: center; gap: 10px; }
.trust-strip__inner span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-s);
}
.stat { background: var(--paper); padding: clamp(24px, 3vw, 36px); text-align: center; }
.stat__n {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600; line-height: 1; color: var(--brand);
  letter-spacing: -.02em; margin-bottom: 10px;
}
.stat__n .unit { color: var(--accent); }
.stat__l {
  font-size: .82rem; color: var(--text-muted); font-weight: 550;
  letter-spacing: .03em;
}

/* --------------------------------------------------------------------------
   9. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 34px);
  position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9CFC1; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-muted); font-size: .96rem; margin-bottom: 0; }

.card__ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid rgba(15, 61, 76, .1);
}
.card__ico--accent { background: var(--accent-soft); color: var(--accent);
                     border-color: rgba(192,103,58,.14); }
.card__ico--sage   { background: var(--sage-soft); color: var(--sage);
                     border-color: rgba(47,111,98,.14); }

/* Numbered process cards */
.step { position: relative; padding-top: 8px; }
.step__n {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: var(--accent); opacity: .28; font-weight: 600; margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 1.12rem; }

/* Category / product pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .93rem; font-weight: 550; color: var(--text);
  transition: border-color .18s var(--ease), transform .18s var(--ease),
              color .18s var(--ease);
}
.pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}
.section--dark .pill {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14);
  color: var(--on-dark);
}
.section--dark .pill:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Split feature */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5.5vw, 72px); align-items: center;
}
.split--flip .split__media { order: -1; }

.split__media {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(150deg, var(--brand) 0%, var(--ink) 100%);
  box-shadow: var(--shadow-l);
  display: grid; place-items: center;
}
.split__media svg { width: 100%; height: 100%; }

.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: .99rem; color: var(--text-muted);
}
.check-list li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 1px; }
.check-list .tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center; margin-top: 2px;
}
.section--dark .check-list li { color: var(--on-dark-mu); }
.section--dark .check-list li strong { color: #fff; }
.section--dark .check-list .tick { background: rgba(226,161,85,.16); color: var(--accent-2); }

/* --------------------------------------------------------------------------
   10. Markets list
   -------------------------------------------------------------------------- */
.markets {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius-l); overflow: hidden;
}
.market { background: var(--ink); padding: clamp(22px, 2.6vw, 30px); }
.market h4 { color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.market h4::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}
.market p { font-size: .92rem; color: var(--on-dark-mu); margin: 0; }

/* --------------------------------------------------------------------------
   11. Contact / form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}

.contact-block { margin-bottom: 30px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block__k {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 8px;
}
.contact-block__v { font-size: 1.06rem; font-weight: 550; color: var(--ink);
                    line-height: 1.55; }
.contact-block__v a { color: var(--ink); text-decoration: none;
                      border-bottom: 1px solid rgba(192,103,58,.4); }
.contact-block__v a:hover { color: var(--accent); border-color: var(--accent); }
.contact-block address { font-style: normal; }

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .87rem; font-weight: 600;
  color: var(--ink); margin-bottom: 7px;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: .97rem; color: var(--text);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .16s var(--ease), background .16s var(--ease),
              box-shadow .16s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355686F' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(22, 86, 106, .12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #C0392B; background: #FDF3F2;
}
.field__err {
  display: none; font-size: .83rem; color: #C0392B; margin-top: 6px; font-weight: 550;
}
.field.has-error .field__err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-s); margin-bottom: 22px;
}
.consent input {
  width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px;
  accent-color: var(--accent); cursor: pointer;
}
.consent label { font-size: .88rem; color: var(--text-muted);
                 font-weight: 450; line-height: 1.55; margin: 0; cursor: pointer; }
.field.has-error .consent { border-color: #C0392B; background: #FDF3F2; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

.form-note {
  font-size: .82rem; color: var(--text-faint); margin-top: 16px;
  line-height: 1.55; margin-bottom: 0;
}

.form-success {
  text-align: center; padding: 22px 8px;
}
.form-success__ico {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center;
}
.form-success h3 { margin-bottom: .4em; }
.form-success p { color: var(--text-muted); font-size: .96rem; }
.form-success__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand) 0%, var(--ink) 62%, #08202B 100%);
  color: #fff; border-radius: var(--radius-l);
  padding: clamp(38px, 5.5vw, 68px);
  box-shadow: var(--shadow-l);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 340px at 88% 8%, rgba(192,103,58,.36), transparent 62%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* --------------------------------------------------------------------------
   13. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, #0A2532 0%, var(--ink) 100%);
  color: var(--on-dark); position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px) clamp(52px, 7vw, 84px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 400px at 84% 20%, rgba(192,103,58,.26), transparent 64%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero p { color: var(--on-dark-mu); font-size: 1.08rem; max-width: 58ch; margin-bottom: 0; }

.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: .84rem; color: var(--on-dark-mu); margin-bottom: 20px;
}
.crumbs a { color: var(--on-dark-mu); text-decoration: none; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs span[aria-current] { color: #fff; font-weight: 550; }

/* --------------------------------------------------------------------------
   14. Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.72rem);
  margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.7em; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.15em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }

.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 18px 22px; margin-bottom: 40px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: .89rem; color: var(--text-muted);
}
.legal-meta strong { color: var(--ink); }

.toc {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 44px;
}
.toc h2 {
  font-family: var(--font-body); font-size: .74rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
  border: 0; padding: 0;
}
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: .42em; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; font-size: .93rem; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.data-table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em;
  font-size: .92rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.data-table th, .data-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  background: var(--cream-2); font-weight: 650; color: var(--ink);
  font-size: .82rem; letter-spacing: .03em;
}
.data-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch;
                margin-bottom: 1.4em; border-radius: var(--radius); }
.table-scroll .data-table { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: var(--on-dark-mu);
  padding-block: clamp(52px, 6vw, 78px) 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 46px;
}
.site-footer h4 {
  color: #fff; font-size: .74rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.site-footer p { color: var(--on-dark-mu); font-size: .93rem; }
.site-footer a { color: var(--on-dark-mu); text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }

.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__sub { color: var(--on-dark-mu); }
.footer-brand p { max-width: 38ch; margin-bottom: 20px; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer-legal-card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 20px 22px;
}
.footer-legal-card dl { margin: 0; display: grid; gap: 13px; }
.footer-legal-card dt {
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700; margin-bottom: 3px;
}
.footer-legal-card dd { margin: 0; color: #fff; font-size: .92rem; line-height: 1.5; }
.footer-legal-card address { font-style: normal; }

.footer-bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer-bar__legal { max-width: 68ch; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease),
              visibility .25s var(--ease), background .18s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
/* Six nav items plus the CTA need the room; the phone pill goes first. */
@media (max-width: 1260px) {
  .nav__phone { display: none; }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}



@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .markets { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 1000px) {
  html { scroll-padding-top: 76px; }
  .nav { min-height: 68px; }
  .nav__toggle { display: inline-flex; }
  .brand { flex-shrink: 1; min-width: 0; }   /* burger wins over the tagline here */

  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: 0 20px 40px rgba(7,26,34,.14);
    max-height: calc(100dvh - 68px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease),
                visibility .2s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 14px 16px; border-radius: var(--radius-s); font-size: 1rem; }
  .nav__links .nav__mobile-extra {
    margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line);
    display: grid; gap: 10px;
  }
  .nav__links .btn { width: 100%; }
  .nav__cta { display: none; }
}

/* Below ~430px the full lockup plus the toggle no longer fit on one row,
   so the tagline is dropped and the brand name alone carries the header. */
@media (max-width: 430px) {
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.08rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .markets { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .legal-meta { flex-direction: column; gap: 8px; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .to-top, .cta-band, .form-card { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding-block: 18pt; }
  .site-footer { background: #fff; color: #000; border-top: 1pt solid #000; }
  .site-footer a, .site-footer p, .footer-legal-card dd { color: #000; }
}
