/* ==========================================================================
   Island Treasures Ltd — corporate design system
   Palette is derived from the company logo's own pixels (see docs/DESIGN.md).
   Every colour pair used for text or UI is verified by tests/contrast.mjs,
   which parses THIS FILE, so the tokens below are the single source of truth.
   ========================================================================== */

:root {
  /* --- Core neutrals: deep Indian Ocean through warm Zanzibar limestone --- */
  --c-ink:        #0A2430;   /* body text, darkest panels */
  --c-ink-soft:   #33505C;   /* secondary text            */
  --c-ocean:      #0E3A4C;   /* dark section background   */
  --c-ocean-mid:  #125E7A;   /* dark section, lighter     */
  --c-white:      #FFFFFF;
  --c-shell:      #FBF8F2;   /* page background           */
  --c-sand:       #F7F2E8;   /* alternate section         */
  --c-sand-deep:  #EFE7D8;   /* borders, wells            */

  /* --- Brand accents, straight from the logo --- */
  --c-brand-orange: #EB8A01; /* logo sun/wordmark. Decorative fills + text on dark only */
  --c-orange-text:  #A25F01; /* orange readable as TEXT on light (4.51:1 worst case) */
  --c-orange-ui:    #CC7801; /* orange readable as UI BORDER on light (3.01:1 worst case) */
  --c-amber:        #F2A93B; /* accent on dark (8.04:1)   */
  --c-ocean-blue:   #0096E8; /* logo wave                 */
  --c-link:         #0B6FA8; /* link on light (5.45:1)    */
  --c-link-dark:    #7FD4FF; /* link on dark (9.76:1)     */
  --c-green:        #81C300; /* logo palm, accent on dark */
  --c-green-text:   #568300; /* palm green as text on light (4.52:1) */
  --c-copper:       #9B6032; /* spice-market copper (4.58:1 on sand) */
  --c-clove:        #6B3F1D; /* clove brown (8.0:1 on sand) */

  /* --- Division accents --- */
  --c-vanilla: #6B3F1D;
  --c-cashew:  #9B6032;
  --c-coffee:  #4A2C18;

  /* --- Typography ---
     Zero webfont bytes by design: no download, no FOUT, no CLS, no licence
     question. A warm serif for display, the platform UI sans for text. */
  --f-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --f-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Fluid type scale, 1.200 ratio at mobile widening to 1.250 at desktop */
  --t-xs:   0.8125rem;
  --t-sm:   0.9063rem;
  --t-base: 1.0000rem;
  --t-md:   clamp(1.06rem, 1.02rem + 0.20vw, 1.1875rem);
  --t-lg:   clamp(1.22rem, 1.14rem + 0.40vw, 1.4375rem);
  --t-xl:   clamp(1.45rem, 1.30rem + 0.75vw, 1.8125rem);
  --t-2xl:  clamp(1.75rem, 1.48rem + 1.35vw, 2.3750rem);
  --t-3xl:  clamp(2.05rem, 1.60rem + 2.25vw, 3.1250rem);
  --t-4xl:  clamp(2.35rem, 1.65rem + 3.50vw, 4.0000rem);

  /* --- Spacing: 4px base --- */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 2.5rem;   --s-8: 3rem;
  --s-9: 4rem;     --s-10: 5rem;    --s-11: 6.5rem;  --s-12: 8rem;

  --wrap: 74rem;
  --wrap-narrow: 44rem;
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(10,36,48,.06), 0 2px 8px rgba(10,36,48,.05);
  --shadow-md: 0 2px 6px rgba(10,36,48,.07), 0 10px 28px rgba(10,36,48,.08);
  --shadow-lg: 0 4px 12px rgba(10,36,48,.09), 0 20px 48px rgba(10,36,48,.11);

  --ease: cubic-bezier(.2,.7,.3,1);

  /* Zanzibar carved-door studwork. A restrained geometric lattice, used at
     very low opacity only. Inline SVG so it costs no request. */
  --pat-door: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23EB8A01' stroke-width='1'%3E%3Cpath d='M32 4 L60 32 L32 60 L4 32 Z'/%3E%3Cpath d='M32 16 L48 32 L32 48 L16 32 Z'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='3' fill='%23EB8A01'/%3E%3Ccircle cx='32' cy='0' r='2' fill='%23EB8A01'/%3E%3Ccircle cx='0' cy='32' r='2' fill='%23EB8A01'/%3E%3Ccircle cx='64' cy='32' r='2' fill='%23EB8A01'/%3E%3Ccircle cx='32' cy='64' r='2' fill='%23EB8A01'/%3E%3C/svg%3E");
}

/* ==========================  Reset & base  ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-shell);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 var(--s-4); font-family: var(--f-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p, ul, ol, dl, blockquote, figure, table { margin: 0 0 var(--s-4); }
p { text-wrap: pretty; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 650; }
small { font-size: var(--t-sm); }
hr { border: 0; border-top: 1px solid var(--c-sand-deep); margin: var(--s-8) 0; }
::selection { background: var(--c-brand-orange); color: var(--c-ink); }

/* Focus: never colour-only, always a visible ring with an offset. */
:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 2px;
  border-radius: 2px;
}
.sect--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--c-amber); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4);
  transform: translateY(-200%);
  z-index: 100; background: var(--c-ink); color: var(--c-white);
  padding: var(--s-3) var(--s-5); border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================  Layout  =================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-5); }
@media (min-width: 60rem) { .wrap { padding-inline: var(--s-6); } }
.wrap--narrow { max-width: var(--wrap-narrow); }

.sect { padding-block: var(--s-9); }
@media (min-width: 60rem) { .sect { padding-block: var(--s-11); } }
.sect--tight { padding-block: var(--s-8); }
.sect--sand { background: var(--c-sand); }
.sect--shell { background: var(--c-shell); }
.sect--white { background: var(--c-white); }
.sect--dark {
  background: var(--c-ocean); color: var(--c-white); position: relative; isolation: isolate;
}
.sect--dark h1, .sect--dark h2, .sect--dark h3, .sect--dark h4 { color: var(--c-white); }
.sect--dark a { color: var(--c-link-dark); }
.sect--dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pat-door); background-size: 64px 64px; opacity: .05;
}

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 40rem)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 40rem)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem)  { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--gap-lg { gap: var(--s-6); }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.flow-lead { font-size: var(--t-md); color: var(--c-ink-soft); max-width: 62ch; }
.sect--dark .flow-lead { color: rgba(255,255,255,.86); }
.measure { max-width: 68ch; }

/* Section heading block */
.sect-head { max-width: 58rem; margin-bottom: var(--s-7); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-body); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-orange-text); margin-bottom: var(--s-3);
}
.sect--dark .eyebrow { color: var(--c-amber); }
.eyebrow::before {
  content: ''; width: 1.75rem; height: 2px; background: currentColor; flex: none;
}

/* ==========================  Buttons  ================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 2.875rem; padding: var(--s-3) var(--s-6);
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .02em; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
/* Ink text on the logo's orange: 6.25:1, and it looks like the brand. */
.btn--primary { background: var(--c-brand-orange); color: var(--c-ink); border-color: var(--c-brand-orange); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-amber); border-color: var(--c-amber); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--secondary:hover { background: var(--c-ink); color: var(--c-white); }
.btn--ghost { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 650; font-size: var(--t-sm); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.link-arrow::after { content: '\2192'; transition: transform .16s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
/* External links get a marked-up indicator, not colour alone. */
.link-ext::after {
  content: '\2197'; display: inline-block; margin-left: .3em; font-size: .85em;
}

/* ==========================  Header  =================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-sand-deep);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.5rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: inherit; flex: none; }
.brand-lockup img { width: auto; height: 2.75rem; }
@media (min-width: 48rem) { .brand-lockup img { height: 3.25rem; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 2.75rem; min-width: 2.75rem; padding: var(--s-2) var(--s-3);
  background: transparent; border: 2px solid var(--c-ink); border-radius: var(--radius);
  font-family: var(--f-body); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink); cursor: pointer;
}
.nav-toggle__bars { display: block; width: 1.125rem; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
@media (min-width: 64rem) { .nav-toggle { display: none; } }

.site-nav { display: none; }
.site-nav[data-open='true'] { display: block; }
@media (min-width: 64rem) { .site-nav, .site-nav[data-open='true'] { display: block; } }

/* Mobile: the nav is a simple, tall, tappable list. No animation, no overlay trap. */
.site-nav__list { list-style: none; margin: 0; padding: 0 0 var(--s-5); display: grid; gap: 2px; }
.site-nav__list a {
  display: block; padding: var(--s-3) var(--s-2); min-height: 2.75rem;
  font-size: var(--t-sm); font-weight: 600; color: var(--c-ink); text-decoration: none;
  border-bottom: 1px solid var(--c-sand-deep);
}
.site-nav__list a:hover { color: var(--c-orange-text); }
.site-nav__list a[aria-current='page'] { color: var(--c-orange-text); }
.site-nav__cta { margin-top: var(--s-4); }
.site-nav__cta .btn { width: 100%; }

@media (min-width: 64rem) {
  .site-header__bar { min-height: 5rem; }
  .site-nav { flex: 1 1 auto; }
  .site-nav__list {
    display: flex; align-items: center; justify-content: flex-end;
    gap: var(--s-1); padding: 0;
  }
  .site-nav__list a {
    border-bottom: 0; padding: var(--s-2) var(--s-3);
    font-size: var(--t-xs); letter-spacing: .01em; white-space: nowrap;
    border-radius: var(--radius);
  }
  .site-nav__list a[aria-current='page'] { background: var(--c-sand); }
  .site-nav__cta { margin: 0 0 0 var(--s-3); }
  .site-nav__cta .btn { width: auto; }
}
@media (min-width: 76rem) { .site-nav__list a { font-size: var(--t-sm); padding: var(--s-2) var(--s-4); } }

/* ==========================  Hero  ===================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(168deg, var(--c-ocean) 0%, #0B2E3D 46%, var(--c-ink) 100%);
  color: var(--c-white);
  padding-block: var(--s-9) var(--s-10);
}
@media (min-width: 60rem) { .hero { padding-block: var(--s-11) var(--s-12); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--pat-door); background-size: 74px 74px; opacity: .07;
}
/* Indian Ocean light: a soft warm bloom from the upper right. */
.hero::after {
  content: ''; position: absolute; z-index: -1;
  top: -30%; right: -12%; width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle at 62% 38%, rgba(235,138,1,.30) 0%, rgba(235,138,1,.13) 34%, transparent 68%);
  pointer-events: none;
}
.hero__inner { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: var(--s-9); }
}
.hero h1 { color: var(--c-white); margin-bottom: var(--s-5); }
.hero__lead { font-size: var(--t-md); color: rgba(255,255,255,.88); max-width: 46ch; margin-bottom: var(--s-6); }
.hero .eyebrow { color: var(--c-amber); }

/* Hero brand strip: the three divisions, stated immediately. */
.hero__brands { display: grid; gap: var(--s-3); }
.hero-brand {
  display: flex; align-items: baseline; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--c-brand-orange);
  border-radius: var(--radius);
  text-decoration: none; color: var(--c-white);
  transition: background-color .16s var(--ease), transform .16s var(--ease), border-color .16s var(--ease);
}
.hero-brand:nth-child(2) { border-left-color: var(--c-amber); }
.hero-brand:nth-child(3) { border-left-color: var(--c-green); }
.hero-brand:hover { background: rgba(255,255,255,.1); transform: translateX(3px); }
.hero-brand__name { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); flex: none; }
.hero-brand__what { font-size: var(--t-sm); color: rgba(255,255,255,.76); }

/* ==========================  Page header (non-home) ==================== */
.page-head {
  background: linear-gradient(160deg, var(--c-ocean) 0%, var(--c-ink) 100%);
  color: var(--c-white); position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--s-8) var(--s-9);
}
.page-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pat-door); background-size: 64px 64px; opacity: .06;
}
.page-head h1 { color: var(--c-white); margin-bottom: var(--s-4); max-width: 34ch; }
.page-head__lead { font-size: var(--t-md); color: rgba(255,255,255,.87); max-width: 60ch; margin: 0; }
.page-head .eyebrow { color: var(--c-amber); }

/* Breadcrumbs */
.crumbs { padding-block: var(--s-3); border-bottom: 1px solid var(--c-sand-deep); background: var(--c-white); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; font-size: var(--t-xs); color: var(--c-ink-soft); }
.crumbs li { display: flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: '\203A'; color: var(--c-ink-soft); }
.crumbs a { color: var(--c-ink-soft); }
.crumbs [aria-current='page'] { color: var(--c-ink); font-weight: 600; }

/* ==========================  Cards  ==================================== */
.card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-sand-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-orange-ui); }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1 1 auto; gap: var(--s-3); }
@media (min-width: 48rem) { .card__body { padding: var(--s-6); } }
.card__body > :last-child { margin-bottom: 0; margin-top: auto; }
.card h3 { margin-bottom: var(--s-2); }
.card p { margin-bottom: 0; color: var(--c-ink-soft); font-size: var(--t-sm); }
.card__rule { width: 2.25rem; height: 3px; background: var(--c-brand-orange); border-radius: 2px; }

/* Brand showcase card */
.brand-card { position: relative; }
.brand-card__media {
  position: relative; aspect-ratio: 16 / 10; background: var(--c-sand);
  display: grid; place-items: center; padding: var(--s-6);
  border-bottom: 1px solid var(--c-sand-deep);
}
.brand-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.brand-card__logo { max-height: 4.5rem; width: auto; }
.brand-card__division {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--c-orange-text);
}
.brand-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.brand-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); font-size: var(--t-sm); color: var(--c-ink-soft); }
.brand-card__list li { padding-left: 1.1em; position: relative; }
.brand-card__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand-orange); }

/* Numbered / feature list */
.feature { display: grid; gap: var(--s-3); }
.feature__num {
  font-family: var(--f-display); font-size: var(--t-xl); font-weight: 700;
  color: var(--c-orange-text); line-height: 1;
}
.sect--dark .feature__num { color: var(--c-amber); }
.feature h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.feature p { color: var(--c-ink-soft); margin: 0; }
.sect--dark .feature p { color: rgba(255,255,255,.82); }

/* Definition-style spec list */
.spec-list { display: grid; gap: 0; margin: 0; }
.spec-list > div {
  display: grid; gap: var(--s-1); padding-block: var(--s-4);
  border-top: 1px solid var(--c-sand-deep);
}
.spec-list > div:last-child { border-bottom: 1px solid var(--c-sand-deep); }
@media (min-width: 48rem) { .spec-list > div { grid-template-columns: 15rem 1fr; gap: var(--s-5); align-items: start; } }
.spec-list dt { font-weight: 650; }
.spec-list dd { margin: 0; color: var(--c-ink-soft); font-size: var(--t-sm); }

/* Pill / tag */
.pill {
  display: inline-block; padding: .3em .7em;
  font-size: var(--t-xs); font-weight: 650; letter-spacing: .02em;
  background: var(--c-sand); color: var(--c-clove);
  border: 1px solid var(--c-sand-deep); border-radius: 999px;
}
.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }

/* Notice / callout */
.note {
  padding: var(--s-5); background: var(--c-sand);
  border-left: 3px solid var(--c-orange-ui); border-radius: var(--radius);
  font-size: var(--t-sm); color: var(--c-ink-soft);
}
.note strong { color: var(--c-ink); }
.note > :last-child { margin-bottom: 0; }
.sect--dark .note { background: rgba(255,255,255,.07); border-left-color: var(--c-amber); color: rgba(255,255,255,.85); }
.sect--dark .note strong { color: var(--c-white); }

/* CTA band */
.cta-band { background: var(--c-ink); color: var(--c-white); position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--pat-door); background-size: 64px 64px; opacity: .06; }
.cta-band__inner { display: grid; gap: var(--s-6); align-items: center; padding-block: var(--s-9); }
@media (min-width: 60rem) { .cta-band__inner { grid-template-columns: minmax(0,1.35fr) auto; gap: var(--s-8); } }
.cta-band h2 { color: var(--c-white); margin-bottom: var(--s-3); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 56ch; }

/* Placeholder frame for imagery awaiting owner assets. Designed, not broken. */
.img-pending {
  display: grid; place-items: center; gap: var(--s-2);
  aspect-ratio: 16 / 10; padding: var(--s-5); text-align: center;
  background:
    linear-gradient(135deg, rgba(235,138,1,.07), rgba(0,150,232,.07)),
    var(--c-sand);
  border: 1px dashed var(--c-orange-ui); border-radius: var(--radius);
  color: var(--c-ink-soft); font-size: var(--t-xs);
}
.img-pending__mark { width: 3rem; height: 3rem; opacity: .5; }
.img-pending b { display: block; color: var(--c-ink); font-size: var(--t-sm); }

/* Product catalogue */
.cat-group + .cat-group { margin-top: var(--s-9); }
.cat-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4); padding-bottom: var(--s-4); margin-bottom: var(--s-6); border-bottom: 2px solid var(--c-ink); }
.cat-group__head h2 { margin: 0; font-size: var(--t-2xl); }
.prod {
  padding: var(--s-5); background: var(--c-white);
  border: 1px solid var(--c-sand-deep); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.prod h3 { font-size: var(--t-md); margin: 0; }
.prod p { font-size: var(--t-sm); color: var(--c-ink-soft); margin: 0; }
.prod__meta { font-size: var(--t-xs); color: var(--c-ink-soft); font-family: var(--f-mono); }

/* Filter bar (progressive enhancement: plain links, works with JS off) */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.filters a {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: var(--s-2) var(--s-4); font-size: var(--t-sm); font-weight: 650;
  text-decoration: none; color: var(--c-ink);
  background: var(--c-white); border: 1px solid var(--c-sand-deep); border-radius: 999px;
}
.filters a:hover { border-color: var(--c-orange-ui); }
.filters a[aria-current='true'] { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }

/* ==========================  Forms  ==================================== */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field > label { font-weight: 650; font-size: var(--t-sm); }
.field__hint { font-size: var(--t-xs); color: var(--c-ink-soft); }
.req { color: var(--c-orange-text); font-weight: 700; }
.optional { color: var(--c-ink-soft); font-weight: 400; font-size: var(--t-xs); }

.input, .select, .textarea {
  width: 100%; min-height: 2.875rem; padding: var(--s-3) var(--s-4);
  font-family: inherit; font-size: var(--t-base); color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-ink-soft); border-radius: var(--radius);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  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 fill='%230A2430' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-4) center;
  padding-right: var(--s-8);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(235,138,1,.35);
}
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] {
  border-color: #A3231B; border-width: 2px; background: #FFF7F6;
}
.field__error { font-size: var(--t-sm); font-weight: 650; color: #8E1F17; display: flex; align-items: flex-start; gap: var(--s-2); }
.field__error::before { content: '\26A0'; flex: none; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
/* 1.5rem = 24px, the SC 2.5.8 minimum target size. */
.check input[type='checkbox'] { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--c-orange-text); flex: none; }
.check label { font-size: var(--t-sm); line-height: 1.55; }

/* Honeypot: hidden from sight AND from assistive tech, but present in the DOM. */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.fieldset { border: 1px solid var(--c-sand-deep); border-radius: var(--radius-lg); padding: var(--s-5); margin: 0; background: var(--c-white); }
.fieldset legend { padding-inline: var(--s-3); font-family: var(--f-display); font-weight: 700; font-size: var(--t-md); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 44rem) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.alert { padding: var(--s-5); border-radius: var(--radius); border: 1px solid; display: grid; gap: var(--s-2); }
.alert h2, .alert h3 { margin: 0 0 var(--s-1); font-size: var(--t-lg); }
.alert p:last-child { margin-bottom: 0; }
.alert--ok { background: #F1F8F0; border-color: #3F7A33; color: #1E3D18; }
.alert--err { background: #FFF6F5; border-color: #A3231B; color: #6E1811; }
.alert--ok a, .alert--err a { color: inherit; }

/* ==========================  Footer  =================================== */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,.78); padding-block: var(--s-9) var(--s-6); font-size: var(--t-sm); position: relative; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--pat-door); background-size: 64px 64px; opacity: .045; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 68rem) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: var(--s-8); } }
.footer-col h2 { font-size: var(--t-sm); font-family: var(--f-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-white); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-brand img { height: 3.5rem; width: auto; margin-bottom: var(--s-4); }
.footer-about { max-width: 34ch; color: rgba(255,255,255,.72); }
.footer-contact { display: grid; gap: var(--s-3); }
.footer-contact div { display: grid; gap: 2px; }
/* Contact links are primary actions, not inline prose links, so they must meet
   the 24x24 minimum target size. At the footer's font size the natural line box
   is ~23.9px, so padding is added deliberately rather than left to chance. */
.footer-contact a { display: inline-block; min-height: 24px; padding-block: 2px; }
.footer-contact span { font-size: var(--t-xs); letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.footer-bottom {
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.15);
  display: grid; gap: var(--s-4); font-size: var(--t-xs); color: rgba(255,255,255,.6);
}
@media (min-width: 60rem) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; }
.footer-reg { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-2); padding: 0; list-style: none; }

/* ==========================  Error page  =============================== */
.err-page { display: grid; place-items: center; text-align: center; padding-block: var(--s-11); }
.err-code { font-family: var(--f-display); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--c-brand-orange); margin: 0 0 var(--s-4); }

/* ==========================  Prose (legal pages)  ====================== */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-xl); margin-top: var(--s-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-md); margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: var(--s-5); }
.prose li + li { margin-top: var(--s-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--c-sand-deep); vertical-align: top; }
.prose th { font-weight: 700; background: var(--c-sand); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media print {
  .site-header, .site-nav, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
