/* ===== tokens.css ===== */
/* ============================================================
   Sunbay — Design Tokens
   Palette: Forest Jade + Sand + Gold   (elegant, premium, B2B)
   Type:    Plus Jakarta Sans (display) / Inter (text)
   Rhythm:  8px base scale, generous B2B whitespace
   ============================================================ */

:root {
  /* ---------- brand: Forest Jade ---------- */
  --jade-50: #eef7f2;
  --jade-100: #d4ebe0;
  --jade-200: #a9d7c1;
  --jade-300: #75bb9c;
  --jade-400: #429c78;
  --jade-500: #1c7d5b;
  --jade-600: #0f6549;
  --jade-700: #0b5238;
  --jade-800: #083d2a;
  --jade-900: #052e1f;
  --primary: var(--jade-600);
  --primary-strong: var(--jade-700);
  --primary-deep: var(--jade-900);
  --primary-soft: var(--jade-50);

  /* ---------- accent: Gold ---------- */
  --gold-50: #fdf8ec;
  --gold-100: #f9ecc9;
  --gold-200: #f2d894;
  --gold-300: #e8bd5c;
  --gold-400: #d9a233;
  --gold-500: #bf8720;
  --accent: var(--gold-400);
  --accent-soft: var(--gold-100);

  /* ---------- neutrals: Sand ---------- */
  --sand-0: #ffffff;
  --sand-25: #fdfcfa;
  --sand-50: #faf8f4;
  --sand-100: #f3efe7;
  --sand-200: #e8e2d6;
  --sand-300: #d6cfc0;
  --sand-400: #b3aa98;
  --sand-500: #8a8172;
  --ink-300: #8b9099;
  --ink-400: #6b7280;
  --ink-500: #4b5563;
  --ink-600: #374151;
  --ink-700: #24292f;
  --ink-800: #161b21;
  --ink-900: #0c1116;

  /* ---------- semantic ---------- */
  --bg: var(--sand-25);
  --bg-elevated: var(--sand-0);
  --bg-tinted: var(--sand-50);
  --bg-deep: var(--jade-900);
  --text: var(--ink-800);
  --text-muted: var(--ink-500);
  --text-soft: var(--ink-400);
  --text-invert: #f4f7f5;
  --text-invert-muted: rgba(244, 247, 245, 0.72);
  --border: rgba(20, 30, 26, 0.09);
  --border-strong: rgba(20, 30, 26, 0.16);
  --border-light: rgba(255, 255, 255, 0.14);
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;

  /* ---------- gradients & scrims ---------- */
  --grad-brand: linear-gradient(135deg, var(--jade-700) 0%, var(--jade-500) 52%, #2f9e79 100%);
  --grad-deep: linear-gradient(160deg, #052e1f 0%, #083d2a 44%, #0b5238 100%);
  --grad-sand: linear-gradient(180deg, var(--sand-0) 0%, var(--sand-50) 100%);
  --grad-gold: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  --mesh-1: radial-gradient(60% 60% at 12% 8%, rgba(28, 125, 91, 0.16), transparent 62%);
  --mesh-2: radial-gradient(52% 52% at 92% 4%, rgba(217, 162, 51, 0.15), transparent 60%);
  --mesh-3: radial-gradient(70% 70% at 50% 108%, rgba(15, 101, 73, 0.12), transparent 64%);

  /* ---------- typography ---------- */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial,
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-text: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, 'PingFang SC',
    'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --fs-display: clamp(2.65rem, 1.35rem + 4.4vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 2.9vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.16rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.22rem, 1.06rem + 0.62vw, 1.6rem);
  --fs-h4: clamp(1.06rem, 1rem + 0.28vw, 1.24rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.42vw, 1.28rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.78125rem;
  --fs-eyebrow: 0.78125rem;

  --lh-tight: 1.06;
  --lh-heading: 1.16;
  --lh-snug: 1.4;
  --lh-body: 1.68;
  --ls-display: -0.028em;
  --ls-heading: -0.018em;
  --ls-eyebrow: 0.16em;

  /* ---------- space ---------- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;

  --section-y: clamp(3.5rem, 2rem + 5.4vw, 7rem);
  --section-y-tight: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --gutter: clamp(1.125rem, 0.6rem + 2.2vw, 2.75rem);
  --container: 1240px;
  --container-narrow: 860px;
  --container-wide: 1440px;

  /* ---------- radii ---------- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* ---------- elevation ---------- */
  --sh-xs: 0 1px 2px rgba(12, 24, 18, 0.05);
  --sh-sm: 0 2px 8px rgba(12, 24, 18, 0.06), 0 1px 2px rgba(12, 24, 18, 0.04);
  --sh-md: 0 10px 28px -12px rgba(8, 45, 33, 0.18), 0 2px 8px rgba(12, 24, 18, 0.05);
  --sh-lg: 0 28px 60px -28px rgba(8, 45, 33, 0.26), 0 8px 20px -12px rgba(12, 24, 18, 0.1);
  --sh-xl: 0 46px 92px -40px rgba(8, 45, 33, 0.34);
  --sh-glow: 0 18px 44px -18px rgba(28, 125, 91, 0.42);

  /* ---------- motion ---------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.42, 0.5, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;
  --dur-reveal: 720ms;

  /* ---------- layout chrome ---------- */
  --header-h: 74px;
  --topbar-h: 38px;
  --z-header: 90;
  --z-drawer: 120;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur-base: 1ms;
    --dur-slow: 1ms;
    --dur-reveal: 1ms;
  }
}


/* ===== base.css ===== */
/* ============================================================
   Sunbay — Base / reset / typography
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* `clip` rather than `hidden`: the off-canvas mobile nav drawer is parked
     outside the viewport with a transform, which still counts toward
     scrollWidth. `clip` removes it from the scrollable overflow area without
     creating a scroll container (so `position: sticky` keeps working). */
  overflow-x: clip;
}

/* Fallback for engines without overflow: clip — belt and braces, since a
   horizontally scrolling page on a phone is worse than a clipped drawer. */
@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

body.is-locked {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Flex/grid display values beat the UA rule for [hidden], which breaks JS-based
   filtering. Keep this authoritative. */
[hidden] {
  display: none !important;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- headings ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
  font-weight: 650;
}

/* ---------- utility text ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-text);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: '';
  inline-size: 26px;
  block-size: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--jade-300));
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: var(--gold-300);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: var(--fs-sm);
}

/* ---------- accessibility ---------- */
.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: var(--gutter);
  z-index: 999;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  background: var(--jade-800);
  color: var(--text-invert);
  font-weight: 600;
  transition: inset-block-start var(--dur-base) var(--ease-out);
}

.skip-link:focus-visible {
  inset-block-start: var(--gutter);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--jade-500);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--jade-200);
  color: var(--jade-900);
}

/* ---------- scrollbar ---------- */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    inline-size: 11px;
    block-size: 11px;
  }
  ::-webkit-scrollbar-track {
    background: var(--sand-100);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--sand-300);
    border: 3px solid var(--sand-100);
    border-radius: var(--r-pill);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--jade-400);
  }
}

/* ---------- prose ---------- */
.prose {
  max-inline-size: var(--container-narrow);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.prose > * + * {
  margin-block-start: 1.15em;
}

.prose h2,
.prose h3 {
  margin-block-start: 2em;
  color: var(--text);
  letter-spacing: var(--ls-heading);
}

.prose h3 {
  font-size: var(--fs-h4);
  font-weight: 650;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--jade-300);
  transition: text-decoration-color var(--dur-fast);
}

.prose a:hover {
  text-decoration-color: var(--primary);
}

.prose ul,
.prose ol {
  padding-inline-start: 0;
}

.prose li {
  position: relative;
  padding-inline-start: 1.6em;
}

.prose li + li {
  margin-block-start: 0.5em;
}

.prose ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0.25em;
  inset-block-start: 0.72em;
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.prose ol {
  counter-reset: n;
}

.prose ol li::before {
  counter-increment: n;
  content: counter(n) '.';
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.prose blockquote {
  padding: 1.25rem 1.5rem;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--sand-50);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.prose table {
  inline-size: 100%;
}


/* ===== layout.css ===== */
/* ============================================================
   Sunbay — Layout: container, header, nav, footer, sections
   ============================================================ */

/* ---------- container ---------- */
.container {
  inline-size: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  inline-size: min(100% - (var(--gutter) * 2), var(--container-narrow));
}

.container--wide {
  inline-size: min(100% - (var(--gutter) * 2), var(--container-wide));
}

.container--flush {
  inline-size: 100%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--z-header);
  background: rgba(253, 252, 250, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-block-end: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(253, 252, 250, 0.94);
  border-block-end-color: var(--border);
  box-shadow: 0 14px 34px -26px rgba(8, 45, 33, 0.4);
}

.topbar {
  background: var(--jade-900);
  color: var(--text-invert-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.01em;
  block-size: var(--topbar-h);
  overflow: hidden;
  transition: block-size var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

.site-header.is-scrolled .topbar {
  block-size: 0;
  opacity: 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  block-size: var(--topbar-h);
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-note::before {
  content: '';
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 3px rgba(232, 189, 92, 0.22);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.topbar-links a {
  transition: color var(--dur-fast);
}

.topbar-links a:hover {
  color: var(--sand-0);
}

.topbar-sep {
  inline-size: 1px;
  block-size: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.header-bar {
  border-block-end: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  block-size: var(--header-h);
}

/* ---------- brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  padding-block: 4px;
}

.brand-mark {
  display: block;
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-base);
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: var(--sh-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jade-800);
}

.brand-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- nav ---------- */
.site-nav {
  margin-inline-start: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.90625rem;
  font-weight: 550;
  color: var(--ink-600);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-block-end: 0.28rem;
  inset-inline: 0.85rem;
  block-size: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-link:hover {
  color: var(--jade-700);
  background: var(--jade-50);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--jade-800);
  font-weight: 650;
}

.nav-caret {
  opacity: 0.6;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* dropdown */
.nav-sub {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-start: -0.5rem;
  inline-size: min(340px, 78vw);
  padding: 0.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top left;
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    visibility var(--dur-base);
}

.nav-sub::before {
  content: '';
  position: absolute;
  inset-block-start: -10px;
  inset-inline: 0;
  block-size: 10px;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-sub-list {
  display: grid;
  gap: 2px;
}

.nav-sub-link {
  display: grid;
  gap: 1px;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}

.nav-sub-link:hover {
  background: var(--jade-50);
  transform: translateX(3px);
}

.nav-sub-name {
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--ink-700);
}

.nav-sub-desc {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-soft);
}

/* ---------- header actions ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  inline-size: 42px;
  block-size: 42px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--sand-0);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.nav-toggle span {
  display: block;
  block-size: 2px;
  border-radius: 2px;
  background: var(--ink-700);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle:hover {
  border-color: var(--jade-300);
  box-shadow: var(--sh-sm);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 46, 31, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.nav-scrim[hidden] {
  display: none;
}

/* ---------- sections ---------- */
.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: var(--section-y-tight);
}

.section--tinted {
  background: var(--bg-tinted);
}

.section--elevated {
  background: var(--bg-elevated);
}

.section--deep {
  background: var(--grad-deep);
  color: var(--text-invert);
}

.section--deep :where(h1, h2, h3, h4) {
  color: var(--text-invert);
}

.section--deep .lead,
.section--deep .muted {
  color: var(--text-invert-muted);
}

.section--mesh {
  background-image: var(--mesh-1), var(--mesh-2), var(--mesh-3);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-block-end: var(--sp-7);
  flex-wrap: wrap;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head > div {
  max-inline-size: 62ch;
}

.section-title {
  margin-block-start: 0.7rem;
}

.section-title--flush {
  margin-block-start: 0;
}

.section-text {
  margin-block-start: 0.9rem;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-muted);
}

.section--deep .section-text {
  color: var(--text-invert-muted);
}

/* ---------- footer ---------- */
.site-footer {
  margin-block-start: var(--section-y);
  background: var(--jade-900);
  color: var(--text-invert-muted);
  font-size: 0.9375rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(28, 125, 91, 0.44), transparent 60%),
    radial-gradient(50% 80% at 96% 12%, rgba(217, 162, 51, 0.14), transparent 62%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: var(--sp-7) var(--sp-6);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--sp-7);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-invert);
}

.footer-legal-name {
  margin-block-start: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(244, 247, 245, 0.5);
}

.footer-blurb {
  margin-block-start: 1rem;
  max-inline-size: 34ch;
  line-height: 1.66;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: var(--sp-4);
}

.footer-badges li {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(244, 247, 245, 0.78);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-block-end: var(--sp-4);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  position: relative;
  display: inline-block;
  transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--sand-0);
  transform: translateX(3px);
}

/* comfortable touch targets in the footer on phones */
@media (max-width: 620px) {
  .footer-links {
    gap: 0.15rem;
  }
  .footer-links a {
    display: flex;
    align-items: center;
    min-block-size: 42px;
  }
}

.footer-contact .footer-links li {
  display: grid;
  gap: 0.1rem;
  line-height: 1.55;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(244, 247, 245, 0.45);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-4) var(--sp-5);
  border-block-start: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  gap: var(--sp-4);
}

.footer-legal a:hover {
  color: var(--sand-0);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: var(--z-drawer);
    inline-size: min(400px, 88vw);
    padding: calc(var(--header-h) + 22px) var(--sp-5) var(--sp-6);
    background: rgba(253, 252, 250, 0.985);
    backdrop-filter: blur(20px);
    border-inline-start: 1px solid var(--border);
    box-shadow: var(--sh-xl);
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-scrim {
    z-index: calc(var(--z-drawer) - 1);
  }

  .nav-scrim.is-visible {
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    border-radius: var(--r-md);
  }

  .nav-link::after {
    display: none;
  }

  .nav-sub {
    position: static;
    inline-size: 100%;
    padding: 0 0 0.5rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item:hover .nav-sub,
  .nav-item:focus-within .nav-sub {
    display: block;
  }

  .nav-sub-link {
    padding-inline-start: 1.4rem;
  }

  .nav-caret {
    margin-inline-start: auto;
  }
}

@media (max-width: 620px) {
  /* the utility bar is too cramped to be useful or tappable on a phone */
  .topbar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-block-size: 42px;
  }
  :root {
    --header-h: 66px;
  }
}


/* ===== components.css ===== */
/* ============================================================
   Sunbay — Components
   Buttons · badges · cards · tables · forms · breadcrumbs · RFQ
   ============================================================ */

/* ============================================================
   BUTTONS
   .btn   .btn-primary  .btn-outline  .btn-ghost  .btn-gold
   sizes: .btn-sm  .btn-xs  .btn-lg  .btn-block
   ============================================================ */
.btn {
  --btn-bg: var(--jade-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.78rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 58%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  --btn-bg: var(--jade-600);
  background-image: linear-gradient(135deg, var(--jade-600), var(--jade-500));
}

.btn-primary:hover {
  --btn-bg: var(--jade-700);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--jade-800);
  --btn-bd: var(--border-strong);
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  --btn-bd: var(--jade-400);
  --btn-bg: var(--jade-50);
  box-shadow: var(--sh-md);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--jade-700);
  --btn-bd: transparent;
  padding-inline: 1rem;
}

.btn-ghost:hover {
  --btn-bg: var(--jade-50);
  box-shadow: none;
}

.btn-gold {
  --btn-bg: var(--accent);
  --btn-fg: var(--jade-900);
}

.btn-gold:hover {
  --btn-bg: var(--gold-300);
  box-shadow: 0 18px 44px -18px rgba(217, 162, 51, 0.5);
}

.btn-light {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: var(--text-invert);
  --btn-bd: var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.18);
  box-shadow: var(--sh-md);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}

.btn-xs {
  padding: 0.52rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.0rem;
}

.btn-block {
  inline-size: 100%;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- link-arrow ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  /* padding expands the touch target to ~40px without moving the baseline */
  padding-block: 0.5rem;
  margin-block: -0.5rem;
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--jade-700);
  transition: color var(--dur-fast), gap var(--dur-base) var(--ease-out);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--dur-base) var(--ease-out);
}

.link-arrow:hover {
  color: var(--jade-500);
  gap: 0.7em;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

/* ============================================================
   BADGES / PILLS / STATS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--jade-50);
  border: 1px solid var(--jade-100);
  color: var(--jade-700);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.badge--gold {
  background: var(--gold-50);
  border-color: var(--gold-100);
  color: var(--gold-500);
}

.badge--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  color: var(--text-invert);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* stat block */
.stat {
  display: grid;
  gap: 0.15rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.1vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--jade-700);
  font-variant-numeric: tabular-nums;
}

.stat-value sup {
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.section--deep .stat-value {
  color: var(--sand-0);
}

.section--deep .stat-label {
  color: var(--text-invert-muted);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--jade-200);
}

.card--tinted {
  background: var(--bg-tinted);
}

.card--glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.card--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: var(--text-invert-muted);
  box-shadow: none;
}

.card--dark .card-title {
  color: var(--text-invert);
}

.card-title {
  font-size: var(--fs-h4);
  font-weight: 680;
  letter-spacing: -0.015em;
}

.card-text {
  margin-block-start: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.66;
}

.card-icon {
  display: grid;
  place-items: center;
  inline-size: 52px;
  block-size: 52px;
  margin-block-end: var(--sp-4);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--jade-50), var(--jade-100));
  border: 1px solid var(--jade-100);
  color: var(--jade-600);
  transition: transform var(--dur-slow) var(--ease-spring), background var(--dur-base);
}

.card-icon svg {
  inline-size: 26px;
  block-size: 26px;
}

.card--hover:hover .card-icon {
  transform: translateY(-3px) rotate(-4deg);
}

.card-number {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* ---------- grids ---------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.split--media-first > :first-child {
  order: -1;
}

@media (max-width: 860px) {
  .split--media-first > :first-child {
    order: 0;
  }
}

/* ============================================================
   MEDIA WRAPPER  (consistent image framing / soft corners)
   ============================================================ */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--sand-50), var(--sand-100));
  box-shadow: var(--sh-md);
}

.media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--3x2 {
  aspect-ratio: 3 / 2;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--zoom:hover img {
  transform: scale(1.045);
}

.media-badge {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--jade-800);
  box-shadow: var(--sh-sm);
}

/* decorative frame for photos */
.media-frame {
  position: relative;
}

.media-frame::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  inline-size: 46%;
  block-size: 46%;
  border-radius: var(--r-xl);
  background: var(--grad-gold);
  opacity: 0.16;
  z-index: -1;
}

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list {
  display: grid;
  gap: 0.65rem;
  margin-block-start: var(--sp-4);
}

.check-list li {
  position: relative;
  padding-inline-start: 1.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.32em;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  border-radius: 50%;
  background: var(--jade-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l2.7 2.7 6-6.4' fill='none' stroke='%230f6549' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  border: 1px solid var(--jade-100);
}

.section--deep .check-list li {
  color: var(--text-invert-muted);
}

.section--deep .check-list li::before {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--sh-sm);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  inline-size: 100%;
  min-inline-size: 720px;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.data-table thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  padding: 0.85rem 1rem;
  background: var(--jade-800);
  color: var(--text-invert);
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: start;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 0.72rem 1rem;
  border-block-start: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: var(--sand-25);
}

.data-table tbody tr {
  transition: background var(--dur-fast);
}

.data-table tbody tr:hover {
  background: var(--jade-50);
}

.data-table tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

/* two-column key/value spec table */
.spec-wrap {
  max-inline-size: 880px;
}

.spec-table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.spec-table tr + tr th,
.spec-table tr + tr td {
  border-block-start: 1px solid var(--border);
}

.spec-table th {
  inline-size: 34%;
  padding: 0.85rem 1.25rem;
  background: var(--sand-50);
  color: var(--text-muted);
  font-family: var(--font-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: start;
  vertical-align: top;
  white-space: nowrap;
}

.spec-table td {
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: grid;
  gap: var(--sp-5);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-600);
}

.field-label .req {
  color: var(--accent);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.input,
.select,
.textarea {
  inline-size: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--sand-0);
  color: var(--text);
  font-size: 0.9375rem;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast);
}

.textarea {
  min-block-size: 132px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%234b5563' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--sand-400);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--jade-300);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--jade-500);
  box-shadow: 0 0 0 4px rgba(28, 125, 91, 0.13);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}

.form-note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  margin-block-start: 0.22rem;
  accent-color: var(--jade-600);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.crumbs {
  margin-block-end: var(--sp-4);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.crumbs a {
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

.crumbs a:hover {
  color: var(--jade-600);
}

.crumbs-sep {
  color: var(--sand-300);
}

.crumbs [aria-current] {
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   RFQ ENQUIRY CART (client-side, localStorage + mailto)
   ============================================================ */
.rfq-dock {
  position: fixed;
  inset-block-end: var(--sp-5);
  inset-inline-end: var(--sp-5);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--jade-800);
  color: var(--text-invert);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  transform: translateY(140%);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.rfq-dock.is-visible {
  transform: translateY(0);
}

.rfq-dock:hover {
  background: var(--jade-700);
}

.rfq-dock-count {
  display: grid;
  place-items: center;
  min-inline-size: 22px;
  block-size: 22px;
  padding-inline: 0.35rem;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--jade-900);
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rfq-list {
  display: grid;
  gap: 0.5rem;
  margin-block: var(--sp-4);
}

.rfq-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--sand-0);
  font-size: 0.875rem;
}

.rfq-row-name {
  font-weight: 600;
  color: var(--text);
}

.rfq-row-meta {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.rfq-row-remove {
  margin-inline-start: auto;
  padding: 0.25rem 0.55rem;
  border-radius: var(--r-xs);
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.rfq-row-remove:hover {
  background: #fdeaea;
  color: var(--danger);
}

.rfq-empty {
  padding: var(--sp-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--text-soft);
  font-size: 0.875rem;
}

/* toast */
.toast {
  position: fixed;
  inset-block-end: var(--sp-5);
  inset-inline-start: 50%;
  z-index: 200;
  padding: 0.75rem 1.35rem;
  border-radius: var(--r-pill);
  background: var(--jade-900);
  color: var(--text-invert);
  font-size: 0.875rem;
  font-weight: 550;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transform: translate(-50%, 130%);
  transition: opacity var(--dur-base), transform var(--dur-slow) var(--ease-spring);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
  display: grid;
  gap: 0.65rem;
}

.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.acc-item[open] {
  border-color: var(--jade-200);
  box-shadow: var(--sh-sm);
}

.acc-item summary {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 1.05rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.0125rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast);
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary::after {
  content: '';
  flex: none;
  margin-inline-start: auto;
  inline-size: 11px;
  block-size: 11px;
  border-inline-end: 2px solid var(--jade-500);
  border-block-end: 2px solid var(--jade-500);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}

.acc-item[open] summary::after {
  transform: rotate(-135deg);
}

.acc-item summary:hover {
  color: var(--jade-700);
}

.acc-body {
  padding: 0 1.35rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.acc-body > * + * {
  margin-block-start: 0.8em;
}

/* ============================================================
   MARQUEE (trust strip / clients / certifications)
   ============================================================ */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--sp-8);
  inline-size: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Last-resort rescue: anything the observer never got to becomes visible anyway. */
.js [data-reveal]:not(.is-revealed) {
  animation: revealRescue .7s var(--ease-out) 9s forwards;
}
@keyframes revealRescue {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   MISC
   ============================================================ */
.divider {
  block-size: 1px;
  background: var(--border);
  border: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--sand-0);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-600);
  transition: all var(--dur-fast) var(--ease-out);
}

button.pill:hover,
a.pill:hover {
  border-color: var(--jade-300);
  background: var(--jade-50);
  color: var(--jade-700);
  transform: translateY(-1px);
}

.pill.is-active {
  background: var(--jade-600);
  border-color: var(--jade-600);
  color: #fff;
}

.quote-block {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--grad-deep);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '\\201C';
  position: absolute;
  inset-block-start: -3rem;
  inset-inline-end: 1rem;
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}

.quote-block blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1rem + 0.6vw, 1.35rem);
  line-height: 1.58;
  letter-spacing: -0.012em;
}

.quote-cite {
  position: relative;
  display: block;
  margin-block-start: var(--sp-5);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-200);
}

/* ---------- process / timeline ---------- */
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.step-num {
  display: grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  background: var(--jade-50);
  border: 1px solid var(--jade-100);
  color: var(--jade-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
}

.step-title {
  font-size: var(--fs-h4);
  font-weight: 650;
}

.step-text {
  margin-block-start: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- contact tiles ---------- */
.contact-tile {
  display: grid;
  gap: 0.35rem;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all var(--dur-base) var(--ease-out);
}

a.contact-tile:hover {
  transform: translateY(-4px);
  border-color: var(--jade-200);
  box-shadow: var(--sh-md);
}

.contact-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-tile-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  color: var(--text);
}

.contact-tile-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
}


/* ===== pages.css ===== */
/* ============================================================
   Sunbay — Page blocks
   Hero · page-hero · category tiles · product cards · detail
   gallery · feature band · CTA · stats bar · timeline
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4.5vw, 6rem);
  background:
    radial-gradient(58% 62% at 8% -6%, rgba(28, 125, 91, 0.14), transparent 60%),
    radial-gradient(46% 54% at 96% 2%, rgba(217, 162, 51, 0.16), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--sand-25) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset-block-end: -1px;
  inset-inline: 0;
  block-size: clamp(40px, 9vw, 110px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V44c240 46 480 62 720 40s480-66 720-62v98z' fill='%23faf8f4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  margin-block-start: 1.1rem;
}

.hero-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: var(--jade-600);
}

.hero-title em::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -0.06em;
  block-size: 0.24em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(217, 162, 51, 0.42), rgba(217, 162, 51, 0.06));
  z-index: -1;
}

.hero-text {
  margin-block-start: var(--sp-5);
  max-inline-size: 56ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block-start: var(--sp-6);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-7);
  margin-block-start: var(--sp-8);
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid var(--border);
}

/* hero visual composition */
.hero-visual {
  position: relative;
}

.hero-visual-main {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.9;
  background: linear-gradient(150deg, var(--jade-100), var(--sand-100));
  box-shadow: var(--sh-xl);
}

.hero-visual-main img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  padding: clamp(0.75rem, 2vw, 1.75rem);
  background: radial-gradient(74% 74% at 50% 38%, #ffffff 0%, var(--sand-100) 100%);
  mix-blend-mode: multiply;
}

.hero-visual-float {
  position: absolute;
  inset-block-end: -1.75rem;
  inset-inline-start: -1.75rem;
  inline-size: min(260px, 62%);
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}

.hero-visual-chip {
  position: absolute;
  inset-block-start: 1.25rem;
  inset-inline-end: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--jade-800);
  box-shadow: var(--sh-md);
}

.hero-visual-chip::before {
  content: '';
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual-float {
    inset-inline-start: 1rem;
    inset-block-end: -1.4rem;
  }
  .hero-facts {
    gap: var(--sp-5) var(--sp-6);
  }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem) clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background:
    radial-gradient(52% 78% at 6% -10%, rgba(28, 125, 91, 0.12), transparent 60%),
    radial-gradient(40% 62% at 98% 4%, rgba(217, 162, 51, 0.13), transparent 62%),
    linear-gradient(180deg, #fff, var(--sand-25));
  border-block-end: 1px solid var(--border);
}

.page-hero--slim {
  padding-block: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem) clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
}

.page-hero-title {
  max-inline-size: 30ch;
}

/* interior page heroes that carry breadcrumbs need a beat before the title */
.page-hero .crumbs + .page-hero-title {
  margin-block-start: var(--sp-4);
}

.page-hero-title + .page-hero-kicker {
  margin-block-start: 0.6rem;
}

.page-hero-kicker {
  margin-block-start: 0.6rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-inline-size: 62ch;
}
.page-hero-lead {
  margin-block-start: var(--sp-4);
  max-inline-size: 64ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-muted);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: var(--sp-5);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center :where(.page-hero-title, .page-hero-lead, .page-hero-kicker) {
  margin-inline: auto;
}

.page-hero--center .page-hero-actions {
  justify-content: center;
}

/* ============================================================
   CATEGORY TILES  (home + products hub)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: var(--sp-5);
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-base);
}

.cat-tile:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  border-color: var(--jade-200);
}

.cat-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(152deg, var(--sand-50), var(--jade-50));
}

.cat-tile-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.cat-tile:hover .cat-tile-media img {
  transform: scale(1.06);
}

.cat-tile-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 46, 31, 0.5));
  opacity: 0.9;
}

.cat-tile-count {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-start: 0.85rem;
  z-index: 1;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--jade-800);
}

.cat-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--sp-5);
  flex: 1;
}

.cat-tile-title {
  font-size: var(--fs-h4);
  font-weight: 680;
  letter-spacing: -0.016em;
}

.cat-tile-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.cat-tile-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cat-tile-foot {
  margin-block-start: auto;
  padding-block-start: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--jade-700);
}

/* ============================================================
   PRODUCT CARDS / GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: var(--sp-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--jade-200);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 50% 30%, #fff, var(--sand-100));
  border-block-end: 1px solid var(--border);
}

.product-card-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  padding: 0.9rem;
  transition: transform var(--dur-slow) var(--ease-out);
  mix-blend-mode: multiply;
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

/* catalogue photos shot on a black studio backdrop — present them on a deep
   surface so dark plastic and transparent walls stay readable.
   Two ways to opt in: the `.product-card-media--dark` /
   `.product-detail-media--dark` classes (applied automatically by build.mjs when
   the data record or assets.manifest.json sets `dark: true`), or `data-dark`
   on the <img> for hand-authored markup. */
.product-card-media--dark,
.product-detail-media--dark,
.product-card-media:has(img[data-dark]),
.product-detail-media:has(img[data-dark]) {
  background: radial-gradient(78% 78% at 50% 34%, #14342a 0%, #071a13 100%);
}

.product-card-media--dark img,
.product-detail-media--dark img,
.product-card-media img[data-dark],
.product-detail-media img[data-dark] {
  mix-blend-mode: normal;
}

.product-card-media--dark::after,
.product-card-media:has(img[data-dark])::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.07), transparent 46%);
  pointer-events: none;
}

/* `data-dark` is an authoring signal, not a visual one */
img[data-dark] {
  display: block;
}

.card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--jade-200);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--sp-5);
  flex: 1;
}

.product-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card-title {
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.product-card-title a {
  transition: color var(--dur-fast);
}

.product-card-title a:hover {
  color: var(--jade-600);
}

.product-card-sku {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.product-card-sku span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--ink-600);
  font-weight: 600;
}

.product-card-specs {
  display: grid;
  gap: 0.25rem;
  margin-block-start: 0.35rem;
}

.product-card-specs li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.product-card-specs li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.52em;
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: var(--jade-300);
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-start: auto;
  padding-block-start: var(--sp-4);
}

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: var(--sp-4) 0;
}

.filter-bar-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-inline-end: 0.25rem;
}

.result-count {
  margin-inline-start: auto;
  font-size: 0.83rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.empty-state {
  padding: var(--sp-8) var(--sp-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-xl);
  text-align: center;
  color: var(--text-soft);
}

/* ---------- spec / variant split ------------------------------------- */
/* Pairs narrow content (a key/value spec table) with wide content (a variant
   table) so a detail page never leaves a two-thirds dead column. */
.spec-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  align-items: start;
}

.spec-split > * {
  min-inline-size: 0;
}

.spec-split-title {
  font-size: var(--fs-h4);
  font-weight: 680;
  letter-spacing: -0.016em;
  margin-block-end: var(--sp-4);
}

.spec-wrap {
  max-inline-size: 100%;
}

@media (max-width: 940px) {
  .spec-split {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.75rem, 1rem + 3.5vw, 4rem);
  align-items: start;
}

.product-detail-media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: radial-gradient(72% 72% at 50% 34%, #fff, var(--sand-100));
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3.1;
}

.product-detail-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  padding: clamp(0.75rem, 2vw, 2rem);
  mix-blend-mode: multiply;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 0.5rem;
  margin-block-start: 0.75rem;
}

.product-thumbs img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: var(--r-md);
  background: var(--sand-0);
  border: 1px solid var(--border);
}

.product-detail-lead {
  margin-block-start: var(--sp-3);
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-muted);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: var(--sp-6);
}

.product-detail-note {
  margin-block-start: var(--sp-4);
  padding: 0.85rem 1.1rem;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--gold-50);
  font-size: 0.85rem;
  color: var(--ink-600);
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FEATURE BAND / VALUE STRIP
   ============================================================ */
.feature-band {
  background: var(--grad-deep);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 62% at 92% 0%, rgba(217, 162, 51, 0.16), transparent 60%),
    radial-gradient(60% 80% at 4% 100%, rgba(28, 125, 91, 0.4), transparent 62%);
  pointer-events: none;
}

.feature-band-inner {
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-5);
}

.feature-item {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-light);
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.feature-item .card-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  color: var(--gold-200);
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 670;
  letter-spacing: -0.014em;
  color: var(--text-invert);
}

.feature-text {
  margin-block-start: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-invert-muted);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.stats-bar--deep {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  box-shadow: none;
}

.stats-bar--deep .stat-value {
  color: var(--sand-0);
}

.stats-bar--deep .stat-label {
  color: var(--text-invert-muted);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  background:
    radial-gradient(58% 100% at 8% 0%, rgba(28, 125, 91, 0.1), transparent 62%),
    var(--sand-50);
  border-block: 1px solid var(--border);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  flex-wrap: wrap;
}

.cta-band-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.024em;
}

.cta-band-text {
  margin-block-start: 0.75rem;
  max-inline-size: 56ch;
  color: var(--text-muted);
  line-height: 1.65;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   FACTORY / STORY BLOCK
   ============================================================ */
.story-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.story-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.story-media > :first-child {
  grid-row: span 2;
  border-radius: var(--r-xl);
}

.story-media > :first-child img {
  border-radius: var(--r-xl);
  min-block-size: 100%;
}

@media (max-width: 640px) {
  .story-media {
    grid-template-columns: 1fr;
  }
  .story-media > :first-child {
    grid-row: auto;
  }
}

/* ---------- value / capability list rows ---------- */
.row-list {
  display: grid;
  gap: 0;
  border-block-start: 1px solid var(--border);
}

.row-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  border-block-end: 1px solid var(--border);
  transition: background var(--dur-base);
}

.row-item:hover {
  background: linear-gradient(90deg, var(--jade-50), transparent 70%);
}

.row-item-title {
  font-size: var(--fs-h4);
  font-weight: 670;
  letter-spacing: -0.015em;
}

.row-item-body {
  color: var(--text-muted);
  line-height: 1.68;
}

.row-item-body > * + * {
  margin-block-start: 0.7em;
}

@media (max-width: 760px) {
  .row-item {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  padding-inline-start: 1.75rem;
}

.timeline::before {
  content: '';
  position: absolute;
  inset-block: 0.4rem 0.4rem;
  inset-inline-start: 5px;
  inline-size: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--jade-300), var(--gold-200));
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -1.75rem;
  inset-block-start: 0.42rem;
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--sand-0);
  border: 3px solid var(--jade-500);
  box-shadow: 0 0 0 4px var(--jade-50);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.timeline-title {
  margin-block-start: 0.2rem;
  font-size: 1.0625rem;
  font-weight: 660;
}

.timeline-text {
  margin-block-start: 0.3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  background: var(--sand-100);
  box-shadow: var(--sh-sm);
}

.gallery figure:first-child {
  grid-column: span 2;
  aspect-ratio: 8 / 4.6;
}

.gallery img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset-block-end: 0.65rem;
  inset-inline-start: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--jade-800);
}

@media (max-width: 560px) {
  .gallery figure:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================
   ARTICLE / BLOG
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-5);
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), border-color var(--dur-base);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--jade-200);
}

.post-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, var(--jade-50), var(--sand-100));
  display: grid;
  place-items: center;
}

.post-card-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.post-card-media--text {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(15, 101, 73, 0.22);
  letter-spacing: -0.04em;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--sp-5);
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.post-meta .dot {
  inline-size: 3px;
  block-size: 3px;
  border-radius: 50%;
  background: var(--sand-400);
}

.post-card-title {
  font-size: 1.0625rem;
  font-weight: 670;
  letter-spacing: -0.015em;
  line-height: 1.32;
}

.post-card-title a:hover {
  color: var(--jade-600);
}

.post-card-text {
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.post-card-foot {
  margin-block-start: auto;
  padding-block-start: var(--sp-4);
}

/* article body */
.article {
  max-inline-size: 760px;
  margin-inline: auto;
}

.article-head {
  margin-block-end: var(--sp-6);
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--text-muted);
}

.article-body > * + * {
  margin-block-start: 1.2em;
}

.article-body h2 {
  margin-block-start: 1.8em;
  font-size: var(--fs-h3);
  color: var(--text);
}

.article-body h3 {
  margin-block-start: 1.5em;
  font-size: var(--fs-h4);
  color: var(--text);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 0.5rem;
}

.article-body li {
  position: relative;
  padding-inline-start: 1.4em;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0.15em;
  inset-block-start: 0.72em;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-body table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-body th,
.article-body td {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  text-align: start;
}

.article-body th {
  background: var(--sand-50);
  font-weight: 650;
  color: var(--text);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   MAP / LOCATION
   ============================================================ */
.map-embed {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  background: var(--sand-100);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  display: block;
}

.map-fallback {
  display: grid;
  place-items: center;
  padding: var(--sp-6);
  text-align: center;
  block-size: 100%;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(28, 125, 91, 0.1), transparent 62%),
    var(--sand-50);
}

/* ============================================================
   STICKY SIDE SUMMARY (contact / rfq pages)
   ============================================================ */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

.aside-sticky {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 24px);
}

@media (max-width: 900px) {
  .with-aside {
    grid-template-columns: 1fr;
  }
  .aside-sticky {
    position: static;
  }
}

/* ============================================================
   MISC BLOCKS
   ============================================================ */
.tile-icon-list {
  display: grid;
  gap: 0.75rem;
}

.tile-icon-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tile-icon-list svg {
  inline-size: 18px;
  block-size: 18px;
  margin-block-start: 0.2rem;
  color: var(--jade-500);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.trust-row li {
  position: relative;
  padding-inline-start: 1.35rem;
}

.trust-row li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  translate: 0 -50%;
  inline-size: 13px;
  block-size: 13px;
  border-radius: 50%;
  background: var(--jade-100);
  box-shadow: inset 0 0 0 3px var(--jade-500);
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  counter-reset: ng;
}

.numbered-card {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow);
}

.numbered-card::before {
  counter-increment: ng;
  content: counter(ng, decimal-leading-zero);
  position: absolute;
  inset-block-start: -0.6rem;
  inset-inline-start: var(--sp-5);
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--jade-800);
  color: var(--gold-200);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.numbered-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

/* glass info panel used over imagery */
.glass-panel {
  padding: var(--sp-5);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-invert);
}

.glass-panel .card-title {
  color: #fff;
}

.glass-panel .card-text {
  color: rgba(255, 255, 255, 0.78);
}
