/* =====================================================================
   Royal Trade LLC — stylesheet
   ---------------------------------------------------------------------
   Contents
     01  Design tokens
     02  Reset & base
     03  Layout helpers
     04  Buttons & pills
     05  Utility bar, header & navigation
     06  Hero (home)
     07  Page banner (inner pages)
     08  Consultation form
     09  Credential strip
     10  Product category grid
     11  Sourcing / origins
     12  Capability split panels
     13  Process steps
     14  Quote band
     15  Wide CTA band
     16  Products page
     17  About page
     18  Contact page
     19  Footer
     20  Motion
     21  Responsive
   ===================================================================== */


/* -------------------------- 01  DESIGN TOKENS -------------------------- */
:root {
  /* Brand — deep marine teal. Reads maritime and premium, which suits an
     importer of record trading across the Mediterranean. */
  --ink-900:   #05141a;
  --ink-800:   #082129;
  --ink-700:   #0d3038;
  --brand-700: #114350;
  --brand-600: #175a6a;
  --brand-500: #1d7285;
  --brand-400: #2f93a8;
  --brand-200: #a8d3dc;
  --brand-100: #ddeef2;
  --brand-50:  #f1f9fa;

  /* Accent — brass/gold. Used sparingly: rules, eyebrows, small marks. */
  --gold-700:  #8a6412;
  --gold-600:  #b3831d;
  --gold-500:  #cf9c2f;
  --gold-400:  #e0b656;
  --gold-200:  #f2dda9;
  --gold-50:   #fcf6e8;

  /* Neutrals — warm, so photography of food doesn't sit on cold grey */
  --surface:     #ffffff;
  --cream:       #fbf8f3;
  --sand:        #f3ece1;
  --line:        #e6e0d6;
  --line-strong: #d3cabb;
  --text:        #1d2a2e;
  --text-muted:  #5d6f75;
  --text-faint:  #8798a0;

  /* Status */
  --danger:  #b3352b;
  --success: #1c7a55;

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

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  /* Shadows — layered so the falloff stays soft against cream */
  --shadow-sm: 0 1px 2px rgba(8, 33, 41, .06),
               0 2px 6px rgba(8, 33, 41, .05);
  --shadow-md: 0 2px 4px rgba(8, 33, 41, .05),
               0 10px 24px rgba(8, 33, 41, .09);
  --shadow-lg: 0 4px 10px rgba(8, 33, 41, .07),
               0 20px 48px rgba(8, 33, 41, .15);
  --shadow-xl: 0 10px 20px rgba(5, 20, 26, .12),
               0 36px 80px rgba(5, 20, 26, .30);

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

  /* Header height, reused by scroll-padding so anchors land clear of it */
  --header-h: 76px;
}


/* -------------------------- 02  RESET & BASE -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); letter-spacing: -0.024em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { text-wrap: pretty; }

a { color: var(--brand-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-500); }

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink-800);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }


/* ------------------------- 03  LAYOUT HELPERS ------------------------- */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-cream { background: var(--cream); }
.section-sand  { background: var(--sand); }
.section-dark  { background: var(--ink-800); color: #dfe9ec; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-lead { color: var(--text-muted); font-size: 1.06rem; margin-top: 16px; }
.section-dark .section-lead { color: #a9c2c8; }

/* Eyebrow — small gold label with a rule, used above most section titles */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
}
.eyebrow-light { color: var(--gold-400); }
.eyebrow-light::before { background: var(--gold-400); }
.section-head.centered .eyebrow { justify-content: center; }

.icon { width: 1em; height: 1em; flex: none; }
/* Most icons in the markup are stroked outlines rather than filled shapes */
svg[viewBox] path, svg[viewBox] circle, svg[viewBox] rect, svg[viewBox] line,
svg[viewBox] polyline {
  vector-effect: non-scaling-stroke;
}
.icon, .field-icon, .select-caret, .mini-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* --------------------------- 04  BUTTONS --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: .96rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease),
              color .18s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold-500);
  color: var(--ink-900);
  box-shadow: 0 2px 6px rgba(138, 100, 18, .28);
}
.btn-primary:hover {
  background: var(--gold-400);
  color: var(--ink-900);
  box-shadow: 0 6px 18px rgba(138, 100, 18, .32);
}

.btn-dark { background: var(--ink-800); color: #fff; }
.btn-dark:hover { background: var(--brand-700); color: #fff; }

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink-800);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink-800); color: var(--ink-800); background: #fff; }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
}

.btn-ghost { background: transparent; color: var(--brand-600); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-50); }

.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* Loading state — the label is swapped in JS, this just dims the control */
.btn.is-loading { opacity: .72; pointer-events: none; }


/* ------------------- 05  UTILITY BAR, HEADER & NAV ------------------- */
.utility-bar {
  background: var(--ink-900);
  color: #9fb6bc;
  font-size: .82rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.utility-note { display: flex; align-items: center; gap: 9px; }
.utility-note .icon { width: 15px; height: 15px; color: var(--gold-400); }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { color: #cfe0e4; display: inline-flex; align-items: center; gap: 7px; }
.utility-links a:hover { color: var(--gold-400); }
.utility-links .icon { width: 15px; height: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink-800);
}
.brand-sub {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > ul { display: flex; align-items: center; gap: 30px; }
.site-nav > ul > li > a {
  position: relative;
  color: var(--ink-700);
  font-size: .95rem;
  font-weight: 550;
  padding-block: 6px;
}
.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transition: right .25s var(--ease);
}
.site-nav > ul > li > a:hover::after,
.site-nav > ul > li > a[aria-current="page"]::after { right: 0; }
.site-nav > ul > li > a[aria-current="page"] { color: var(--ink-900); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: .93rem;
  color: var(--ink-800);
}
.nav-phone .icon { width: 17px; height: 17px; color: var(--brand-500); }
.nav-phone:hover { color: var(--brand-600); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ----------------------------- 06  HERO ----------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-900);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/hero-mediterranean-table.jpg");
  background-size: cover;
  background-position: center 42%;
}
/* Two overlays: a horizontal scrim that keeps the left-hand copy readable,
   and a vertical one that darkens the top so the header floats cleanly. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(4, 16, 21, .95) 0%,
      rgba(4, 16, 21, .88) 34%,
      rgba(5, 22, 28, .62) 62%,
      rgba(5, 22, 28, .48) 100%),
    linear-gradient(to bottom, rgba(4, 16, 21, .55), rgba(4, 16, 21, 0) 30%);
}

.hero-inner {
  display: grid;
  /* The copy column takes the larger share so the display headline can
     hold its line breaks without the type having to shrink. */
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}

.hero-copy { color: #e7f0f2; max-width: 660px; }
.hero-copy h1 { color: #fff; }
.hero-copy h1 .accent {
  color: var(--gold-400);
  font-style: italic;
}
.hero-lead {
  margin-top: 22px;
  font-size: 1.11rem;
  line-height: 1.68;
  color: #bed3d8;
  max-width: 56ch;
}

.hero-points {
  margin-top: 30px;
  display: grid;
  gap: 13px;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .99rem;
  color: #d6e4e7;
}
.hero-points .icon {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  color: var(--gold-400);
  stroke-width: 2.1;
}

.hero-meta {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1.1;
}
.hero-meta span {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9db6bc;
  margin-top: 5px;
}


/* --------------------- 07  PAGE BANNER (inner pages) --------------------- */
.page-banner {
  position: relative;
  isolation: isolate;
  padding: clamp(66px, 8vw, 112px) 0 clamp(56px, 7vw, 88px);
  background: var(--ink-800);
  overflow: hidden;
}
.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-banner .banner-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg,
    rgba(5, 20, 26, .94) 0%,
    rgba(5, 20, 26, .86) 45%,
    rgba(8, 33, 41, .70) 100%);
}
.page-banner h1 { color: #fff; max-width: 17ch; }
.page-banner .banner-lead {
  margin-top: 20px;
  color: #bad0d5;
  font-size: 1.08rem;
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: #8fa9b0;
  margin-bottom: 20px;
}
.breadcrumb a { color: #bad0d5; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span[aria-hidden] { color: #5d7a82; }


/* ---------------------- 08  CONSULTATION FORM ---------------------- */
.form-card {
  background: var(--cream);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border-top: 4px solid var(--gold-500);
}
.form-card-inner { padding: clamp(26px, 3.4vw, 38px); }

.form-head h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.012em;
}
.form-head p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .95rem;
}
.form-head { margin-bottom: 24px; }

.field { margin-bottom: 17px; }
.field:last-of-type { margin-bottom: 0; }

.field label {
  display: block;
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.field .optional {
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0;
  text-transform: none;
  font-size: .8rem;
}

.input-wrap { position: relative; display: flex; align-items: center; }
.field-icon {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  pointer-events: none;
  transition: color .18s var(--ease);
}
.input-wrap:focus-within .field-icon { color: var(--brand-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .98rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px 13px 44px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  padding-left: 15px;
  min-height: 116px;
  resize: vertical;
  line-height: 1.55;
}
.field select { cursor: pointer; }

.field input::placeholder, .field textarea::placeholder { color: #a8b6bb; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(47, 147, 168, .15);
}

.select-caret {
  position: absolute;
  right: 15px;
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}

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

.error {
  font-size: .82rem;
  color: var(--danger);
  min-height: 0;
  margin-top: 0;
  opacity: 0;
  transition: opacity .18s var(--ease);
}
.field.is-invalid .error { opacity: 1; margin-top: 6px; }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--danger); }
.field.is-invalid .field-icon { color: var(--danger); }

.form-actions { margin-top: 22px; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: .81rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-note .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--brand-500); }

/* Success panel, revealed by script.js */
.form-success { padding: clamp(30px, 4vw, 46px); text-align: center; }
.success-badge {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(28, 122, 85, .12);
  color: var(--success);
  display: grid;
  place-items: center;
}
.success-badge svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3 { font-size: 1.45rem; }
.form-success p { margin-top: 12px; color: var(--text-muted); }
.form-success .success-contact {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.form-success .btn { margin-top: 18px; }


/* ----------------------- 09  CREDENTIAL STRIP ----------------------- */
.credentials {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.credential:first-child { padding-left: 0; }
.credential:last-child { border-right: 0; padding-right: 0; }
.credential .icon {
  width: 26px;
  height: 26px;
  color: var(--brand-500);
  margin-top: 2px;
  stroke-width: 1.5;
}
.credential strong {
  display: block;
  font-size: .97rem;
  font-weight: 650;
  color: var(--ink-800);
}
.credential span {
  display: block;
  font-size: .86rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.45;
}


/* --------------------- 10  PRODUCT CATEGORY GRID --------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.category-card:hover .category-media img { transform: scale(1.06); }

.category-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.category-body h3 { font-size: 1.14rem; }
.category-body p {
  margin-top: 9px;
  font-size: .91rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.category-tags {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.category-tags li {
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

.grid-footnote {
  margin-top: 34px;
  text-align: center;
  color: var(--text-muted);
  font-size: .95rem;
}


/* ----------------------- 11  SOURCING / ORIGINS ----------------------- */
.sourcing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.sourcing-figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sourcing-figure img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.sourcing-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(to top, rgba(5, 20, 26, .88), rgba(5, 20, 26, 0));
  color: #e5eef0;
  font-size: .87rem;
}

.origin-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.origin {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.origin:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.origin .flag {
  font-size: 1.4rem;
  line-height: 1;
  filter: saturate(1.05);
}
.origin div { display: flex; flex-direction: column; min-width: 0; }
.origin strong { font-size: .95rem; font-weight: 650; color: var(--ink-800); }
.origin span { font-size: .8rem; color: var(--text-muted); }


/* --------------------- 12  CAPABILITY SPLIT PANELS --------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.split-media img:first-child { aspect-ratio: 3 / 4; margin-top: 28px; }
.split-media img:last-child  { aspect-ratio: 3 / 4; }

.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: .99rem;
  line-height: 1.55;
}
.check-list .icon {
  width: 21px;
  height: 21px;
  margin-top: 3px;
  color: var(--brand-500);
  stroke-width: 2.1;
}
.section-dark .check-list .icon { color: var(--gold-400); }
.check-list strong { font-weight: 650; }
.check-list p { color: var(--text-muted); font-size: .93rem; margin-top: 2px; }
.section-dark .check-list p { color: #9db6bc; }


/* -------------------------- 13  PROCESS STEPS -------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 26px; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-strong);
}
.step:first-child::before { background: var(--gold-500); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-700);
  margin-bottom: 12px;
}
.section-dark .step-num { color: var(--gold-400); }
.section-dark .step::before { background: rgba(255, 255, 255, .18); }
.section-dark .step:first-child::before { background: var(--gold-400); }
.step h3 { font-size: 1.14rem; }
.step p { margin-top: 10px; color: var(--text-muted); font-size: .94rem; }
.section-dark .step p { color: #a9c2c8; }


/* --------------------------- 14  QUOTE BAND --------------------------- */
.quote-band { background: var(--sand); }
.quote-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: .8;
  color: var(--gold-400);
  display: block;
  margin-bottom: 8px;
}
.quote-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.6vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink-800);
  letter-spacing: -0.01em;
}
.quote-attrib {
  margin-top: 24px;
  font-size: .89rem;
  color: var(--text-muted);
}
.quote-attrib strong { display: block; color: var(--ink-800); font-size: .99rem; }


/* --------------------------- 15  CTA BAND --------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: clamp(60px, 7vw, 96px) 0;
  overflow: hidden;
  background: var(--ink-800);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/olive-branch-sunset.jpg");
  background-size: cover;
  background-position: center 60%;
}
.cta-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(5, 20, 26, .93), rgba(8, 33, 41, .80));
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; max-width: 20ch; }
.cta-inner p { color: #bad0d5; margin-top: 12px; max-width: 52ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }


/* -------------------------- 16  PRODUCTS PAGE -------------------------- */
.chip-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chip-scroll {
  display: flex;
  gap: 9px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.chip-scroll::-webkit-scrollbar { height: 5px; }
.chip-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.chip {
  flex: none;
  padding: 7px 15px;
  font-size: .86rem;
  font-weight: 550;
  color: var(--ink-700);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  white-space: nowrap;
}
.chip:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-600); }
.chip.is-active {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
}

.product-block {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 62px);
  align-items: start;
  padding: clamp(44px, 5.5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 74px);
}
.product-block:last-of-type { border-bottom: 0; }
.product-block.reverse .product-figure { order: 2; }

.product-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 90px);
}
.product-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }

.product-copy > p { margin-top: 14px; color: var(--text-muted); }
.product-index {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .16em;
  color: var(--gold-700);
  display: block;
  margin-bottom: 10px;
}

.item-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .94rem;
  color: var(--text);
  padding-block: 3px;
}
.item-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-top: 9px;
  flex: none;
}

.spec-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px 11px;
}

/* Format / packaging cards */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.format-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .2s var(--ease);
}
.format-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.format-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.format-icon svg { width: 23px; height: 23px; }
.format-card h3 { font-size: 1.06rem; }
.format-card p { margin-top: 8px; font-size: .9rem; color: var(--text-muted); line-height: 1.55; }


/* --------------------------- 17  ABOUT PAGE --------------------------- */
.mission-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.mission-panel h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.mission-panel p { margin-top: 16px; color: var(--text-muted); }
.mission-panel p:first-of-type { color: var(--text); font-size: 1.06rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.value-num {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--gold-700);
  display: block;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.12rem; }
.value-card p { margin-top: 10px; font-size: .94rem; color: var(--text-muted); }

.leader-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: var(--ink-800);
  color: #cfe0e4;
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 48px);
}
.leader-monogram {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--brand-600), var(--ink-700));
  border: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-400);
  letter-spacing: .04em;
  flex: none;
}
.leader-card h3 { color: #fff; font-size: 1.5rem; }
.leader-role {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 6px;
}
.leader-card p { margin-top: 16px; color: #a9c2c8; }
.leader-contact {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.leader-contact a { color: #e2edef; display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; }
.leader-contact a:hover { color: var(--gold-400); }
.leader-contact .icon { width: 16px; height: 16px; color: var(--gold-400); }


/* -------------------------- 18  CONTACT PAGE -------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.contact-list { display: grid; gap: 14px; }
.contact-tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-tile:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.contact-tile .tile-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}
.contact-tile .tile-icon svg { width: 21px; height: 21px; }
.contact-tile h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 650; }
.contact-tile p {
  margin-top: 5px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: break-word;
}
a.contact-tile .tile-value { color: var(--brand-600); font-weight: 550; }
a.contact-tile:hover .tile-value { color: var(--brand-500); }

.hours-card {
  margin-top: 14px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.hours-card h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 650; }
.hours-card dl { margin-top: 12px; display: grid; gap: 7px; font-size: .92rem; }
.hours-card div { display: flex; justify-content: space-between; gap: 16px; }
.hours-card dt { color: var(--text-muted); }
.hours-card dd { font-weight: 600; color: var(--ink-800); }

.next-steps { margin-top: 34px; }
.next-steps ol { counter-reset: ns; display: grid; gap: 16px; margin-top: 18px; }
.next-steps li {
  counter-increment: ns;
  display: flex;
  gap: 14px;
  font-size: .95rem;
  color: var(--text-muted);
}
.next-steps li::before {
  content: counter(ns);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.next-steps strong { color: var(--ink-800); display: block; }


/* ----------------------------- 19  FOOTER ----------------------------- */
.site-footer {
  background: var(--ink-900);
  color: #93aeb5;
  padding-top: clamp(52px, 6vw, 76px);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--gold-400); }
.footer-tagline { margin-top: 18px; max-width: 34ch; line-height: 1.65; }
.footer-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-200);
  border: 1px solid rgba(224, 182, 86, .35);
  border-radius: var(--r-full);
  padding: 4px 12px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #93aeb5; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col li.plain { color: #7b969d; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  color: #718e96;
}


/* ----------------------------- 20  MOTION ----------------------------- */
/* .reveal elements are only hidden once JS confirms it can reveal them
   again (see scripts/script.js), so nothing is lost without JS. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}
/* Stagger children of a group so grids cascade rather than pop */
.js-anim .reveal-group > .reveal:nth-child(2)  { transition-delay: .06s; }
.js-anim .reveal-group > .reveal:nth-child(3)  { transition-delay: .12s; }
.js-anim .reveal-group > .reveal:nth-child(4)  { transition-delay: .18s; }
.js-anim .reveal-group > .reveal:nth-child(5)  { transition-delay: .06s; }
.js-anim .reveal-group > .reveal:nth-child(6)  { transition-delay: .12s; }
.js-anim .reveal-group > .reveal:nth-child(7)  { transition-delay: .18s; }
.js-anim .reveal-group > .reveal:nth-child(8)  { transition-delay: .24s; }

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


/* --------------------------- 21  RESPONSIVE --------------------------- */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .format-grid   { grid-template-columns: repeat(2, 1fr); }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .credential { padding: 24px 22px; }
  .credential:nth-child(2) { border-right: 0; padding-right: 0; }
  .credential:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .credential:nth-child(4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: none; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 16, 21, .90) 0%, rgba(4, 16, 21, .93) 60%,
                              rgba(4, 16, 21, .95) 100%);
  }
  .sourcing-grid,
  .split,
  .contact-layout,
  .product-block { grid-template-columns: 1fr; }
  .split.reverse .split-media,
  .product-block.reverse .product-figure { order: 0; }
  .product-figure { position: static; }
  .leader-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .leader-contact { justify-content: center; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .container, .container-narrow { width: min(100% - 36px, 1200px); }

  .nav-toggle { display: flex; }

  /* Anchored to the sticky header itself, so it follows the header
     whether or not the utility bar has scrolled away. */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 8px 24px 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    /* Collapsed by default on small screens */
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .site-nav > ul > li > a::after { display: none; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
  }
  .nav-phone { justify-content: center; }
  .nav-actions .btn { width: 100%; }

  .utility-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 9px; }
  .utility-links { gap: 16px; flex-wrap: wrap; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .item-list { grid-template-columns: 1fr; }
  .origin-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential { border-right: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .credential:first-child { border-top: 0; }
  .credential:nth-child(2) { padding-left: 0; }
  .credential:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .split-media img:first-child { margin-top: 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px 28px; }
}
/* Hidden bot-trap field; real visitors and assistive technology never encounter it. */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
