/* ========================================
   Honeybee Delivery — Main Stylesheet
   Layout language: inset rounded panels, light mist sections,
   deep navy blocks, gold actions. Fonts load from each page <head>.
   ======================================== */

:root {
  /* Brand */
  --navy-950: #071226;
  --navy-900: #0b1830;
  --navy-800: #0d1e38;
  --navy-700: #16294a;
  --navy-600: #22375c;
  --gold-500: #f1b521;
  --gold-600: #d99a0b;
  --gold-100: #fdf3d6;

  /* Neutrals */
  --white: #ffffff;
  --mist: #f3f6fb;
  --mist-2: #e8edf5;
  --ink: #0d1e38;
  --ink-soft: #3d4b63;
  --on-dark: #ffffff;
  --on-dark-soft: #c3cbdb;

  /* Legacy aliases used by inner pages */
  --gray-100: var(--mist);
  --black-900: var(--navy-950);

  /* Type */
  --font-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-heading: var(--font-sans);
  --font-body: var(--font-sans);

  --step-display: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem);
  --step-h2: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --step-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-body: 1.0625rem;
  --step-small: 0.9375rem;

  /* Space & shape */
  --frame: 12px;
  --container-width: 1240px;
  --container-padding: clamp(16px, 3vw, 32px);
  --section-gap: clamp(88px, 10vw, 160px);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s var(--ease-out);
  --transition-fast: all 0.15s var(--ease-out);
}

/* ========================================
   Reset & base
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
button { font: inherit; color: inherit; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-500); color: var(--navy-900); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--step-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); letter-spacing: -0.02em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

/* Serif italic second voice, as in the reference */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 .serif, h2 .serif { display: block; }

p { margin-bottom: 1rem; max-width: 64ch; }
.lead { font-size: 1.1875rem; line-height: 1.6; }
.gold-text { color: var(--gold-500); }

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section { padding: var(--section-gap) 0; }
.section-light { background: var(--mist); }
.section-dark, .section-black { background: var(--navy-800); color: var(--on-dark); }

/* Section label: small hexagon + words (the reference's "✦ Label") */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.label::before {
  content: '';
  width: 12px;
  height: 14px;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}
.on-dark .label, .section-dark .label { color: var(--on-dark-soft); }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center p { margin-inline: auto; }
.section-head.split {
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 2rem 4rem;
}
.section-head.split p { margin-bottom: 1.25rem; color: var(--ink-soft); }

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  text-align: center;
  white-space: nowrap;
}
.btn .ph { font-size: 1rem; transition: transform 0.2s var(--ease-out); }
.btn:hover .ph { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-600); }

.btn-secondary { background: var(--navy-800); color: var(--white); }
.btn-secondary:hover { background: var(--navy-600); }

.btn-ghost { background: var(--white); color: var(--navy-800); }
.btn-ghost:hover { background: var(--gold-100); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: inherit;
}
.text-link .ph { transition: transform 0.2s var(--ease-out); }
.text-link:hover .ph { transform: translateX(3px); }
.text-link:hover { color: var(--gold-600); }
.on-dark .text-link:hover { color: var(--gold-500); }

/* ========================================
   Top bar
   ======================================== */
.topbar { background: var(--mist); font-size: 0.875rem; color: var(--ink); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 48px;
}
.topbar-note { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); margin: 0; }
.topbar-note .ph { color: var(--gold-600); font-size: 1rem; }
.topbar-items { display: flex; align-items: center; gap: 1.75rem; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; white-space: nowrap; }
.topbar-item .chip {
  width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-500); font-size: 0.95rem;
}
a.topbar-item:hover { color: var(--gold-600); }

/* ========================================
   Header
   ======================================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.25s var(--ease-out);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(13, 30, 56, 0.08); }

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 84px;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex: none; transition: transform 0.4s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.04); }
.logo-word { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.logo-word span { font-weight: 500; margin-left: 0.18em; }
.footer .logo, .footer .logo-word { color: var(--white); }
.footer .logo-word span { color: var(--gold-500); }

.nav-menu { display: flex; justify-content: center; gap: 0.25rem; }
.nav-link {
  position: relative;
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.nav-link::after {
  content: '';
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.mobile-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: var(--radius-sm);
  background: var(--mist); color: var(--ink);
  font-size: 1.4rem; cursor: pointer;
  place-items: center;
}

/* ========================================
   Home hero — inset rounded photo panel
   ======================================== */
.hero { padding: var(--frame) var(--frame) 0; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: min(760px, calc(100svh - 150px));
  color: var(--white);
  display: flex;
  align-items: stretch;
  background: var(--navy-900);
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 70% 50%;
  animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero-frame::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 18, 38, 0.92) 0%, rgba(7, 18, 38, 0.78) 42%, rgba(7, 18, 38, 0.2) 75%, rgba(7, 18, 38, 0.1) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.hero-copy h1 { max-width: none; }
.hero-copy h1 .serif { color: var(--gold-500); font-size: 0.94em; margin-top: 0.06em; }
.hero-sub { font-size: 1.1875rem; max-width: 44ch; color: var(--white); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
.hero-actions .text-link { color: var(--white); }
.hero-actions .text-link:hover { color: var(--gold-500); }

.hero-tiles { position: relative; align-self: center; justify-self: end; width: min(100%, 440px); height: 360px; }
.tile {
  position: absolute;
  width: 220px;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.tile-value { font-family: var(--font-serif); font-size: 4.25rem; line-height: 0.9; display: block; margin-bottom: 1rem; }
.tile-label { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; padding-top: 0.9rem; box-shadow: inset 0 2px 0 rgba(13, 30, 56, 0.15); }
.tile-label em { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
.tile-gold { top: 0; left: 0; background: var(--gold-500); color: var(--navy-900); }
.tile-white { bottom: 0; right: 0; background: var(--white); color: var(--navy-900); }

/* Strip under hero: dark panel + tinted photo */
.hero-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--frame);
  padding: var(--frame);
}
.strip-panel {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.strip-item { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 0.6rem; }
.strip-item + .strip-item { box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.08); }
.strip-item .ph { font-size: 2.6rem; color: var(--gold-500); margin-bottom: 0.75rem; }
.strip-item h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.strip-item h2 .serif { display: block; font-size: 1.15em; color: var(--on-dark-soft); }
.strip-item p { color: var(--on-dark-soft); font-size: 1rem; margin: 0.5rem 0 1rem; }
.strip-item .text-link { margin-top: auto; color: var(--gold-500); }
.strip-item .text-link:hover { color: var(--white); }

.strip-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: var(--gold-500); }
.strip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.strip-photo figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: var(--navy-900); color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.55rem 0.9rem; border-radius: var(--radius-sm);
}

/* ========================================
   About block
   ======================================== */
.about-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 3rem; }
.about-head h2 { max-width: 18ch; }
.about-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; }
.about-panel {
  background: var(--mist);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-rows: auto 1fr;
}
.about-intro { padding: clamp(28px, 3vw, 44px); box-shadow: inset 0 -2px 0 var(--mist-2); }
.about-intro p { font-size: 1.125rem; }
.about-tabs { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; padding: clamp(28px, 3vw, 44px); }
.tab-list { display: flex; flex-direction: column; gap: 0.35rem; }
.tab-btn {
  display: flex; align-items: center; gap: 0.6rem;
  text-align: left; background: none; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; color: var(--ink-soft);
  padding: 0.55rem 0.25rem; border-radius: 6px;
}
.tab-btn::before {
  content: ''; width: 8px; height: 9px; background: currentColor; opacity: 0.4;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform 0.25s var(--ease-out);
}
.tab-btn[aria-selected="true"] { color: var(--ink); }
.tab-btn[aria-selected="true"]::before { background: var(--gold-500); opacity: 1; transform: scale(1.4); }
.tab-btn:hover { color: var(--ink); }
.tab-panel {
  background: var(--navy-800); color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  animation: panelIn 0.4s var(--ease-out);
}
.tab-panel h3 { font-size: 1.125rem; margin-bottom: 0.9rem; padding-bottom: 0.9rem; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.1); }
.tab-panel h3 .serif { font-size: 1.15em; color: var(--gold-500); }
.tab-panel p { color: var(--on-dark-soft); font-size: 1rem; margin: 0; }

.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo .tile { position: absolute; right: 1.25rem; bottom: 1.25rem; left: auto; top: auto; width: 170px; text-align: left; padding: 1.25rem; }
.about-photo .tile-value { font-size: 4rem; margin-bottom: 0.5rem; }
.about-photo .tile-label { box-shadow: none; padding: 0; font-size: 0.95rem; }

/* ========================================
   Capabilities — expanding columns
   ======================================== */
.cap-section { background: var(--mist); }
.cap-rail {
  display: flex;
  gap: 0;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  gap: 2px;
  background: var(--mist-2);
}
.cap-col {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0.75rem;
  cursor: pointer;
  border: 0;
  background: var(--white);
  text-align: center;
  transition: flex-grow 0.6s var(--ease-out), background-color 0.3s;
}
.cap-col:hover { background: var(--gold-100); }
.cap-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out);
}
.cap-col:hover .cap-arrow { transform: rotate(45deg); }
.cap-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cap-icon { font-size: 1.75rem; color: var(--navy-600); }
.cap-col[aria-expanded="true"] { flex-grow: 3.6; cursor: default; padding: 0; background: var(--navy-800); }
.cap-col[aria-expanded="true"] .cap-arrow,
.cap-col[aria-expanded="true"] .cap-name,
.cap-col[aria-expanded="true"] .cap-icon { display: none; }
.cap-open { display: none; }
.cap-col[aria-expanded="true"] .cap-open { display: block; position: absolute; inset: 0; text-align: left; animation: panelIn 0.5s var(--ease-out); }
.cap-open img { width: 100%; height: 100%; object-fit: cover; }
.cap-card {
  position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  max-width: 340px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}
.cap-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cap-card p { font-size: 0.975rem; color: var(--ink); margin-bottom: 1rem; }

/* ========================================
   Process — accordion + picture
   ======================================== */
.process-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: center; margin-bottom: 3.5rem; }
.process-badge { display: flex; align-items: center; gap: 1.5rem; }
.badge-pair { display: flex; flex: none; }
.badge-pair img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.badge-pair span {
  width: 96px; height: 96px; border-radius: 50%;
  margin-left: -26px;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em;
}
.process-badge p { margin: 0; color: var(--ink-soft); font-size: 1rem; max-width: 30ch; }

.process-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.75rem; align-items: start; }
.process-lead { padding-left: 1.5rem; box-shadow: inset 4px 0 0 var(--gold-500); margin-bottom: 1.75rem; font-size: 1.125rem; }
.steps { display: flex; flex-direction: column; gap: 0.6rem; }
.step { background: var(--mist); border-radius: var(--radius-md); overflow: hidden; transition: background-color 0.3s; }
.step-btn {
  width: 100%; display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; background: none; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1.0625rem; text-align: left; color: var(--ink);
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--mist-2); font-size: 0.875rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s, color 0.3s;
}
.step-btn .ph { margin-left: auto; transition: transform 0.3s var(--ease-out); }
.step:hover { background: var(--mist-2); }
.step.is-open { background: var(--navy-800); }
.step.is-open .step-btn { color: var(--white); }
.step.is-open .step-num { background: var(--gold-500); color: var(--navy-900); }
.step.is-open .step-btn .ph { transform: rotate(180deg); }
.step-body { display: none; padding: 0 1rem 1.1rem 3.95rem; color: var(--on-dark-soft); }
.step-body p { margin: 0; font-size: 1rem; }
.step.is-open .step-body { display: block; animation: panelIn 0.4s var(--ease-out); }

.process-photo { position: sticky; top: 110px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--navy-800); }
.process-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease-out), transform 1.2s var(--ease-out); }
.process-photo img:not(.is-active) { opacity: 0; transform: scale(1.04); }
.process-photo figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2;
  background: var(--white); color: var(--ink);
  padding: 0.55rem 0.9rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
}

/* ========================================
   Why Honeybee — dark block
   ======================================== */
.why { background: var(--navy-900); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card {
  background: var(--navy-700);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); background: var(--navy-600); }
.why-card .ph {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-500); font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: 1rem; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08); }
.why-card p { color: var(--on-dark-soft); margin: 0; font-size: 1rem; }
.why-photo { grid-column: span 2; border-radius: var(--radius-md); overflow: hidden; min-height: 260px; position: relative; }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   Categories — scrolling photo row
   ======================================== */
.cat-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 27vw, 380px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--frame) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}
.cat-card {
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-800);
  color: var(--white);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card figcaption {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cat-card figcaption h3 { font-size: 1.0625rem; }
.cat-card figcaption .ph { color: var(--gold-600); font-size: 1.25rem; flex: none; }

/* ========================================
   Success stories (cards rendered by main.js)
   ======================================== */
.success-stories { padding: var(--section-gap) 0; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story-card { display: flex; flex-direction: column; }
.story-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 1.1rem; }
.story-content { display: flex; flex-direction: column; gap: 0.75rem; }
.story-kicker {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--mist); color: var(--ink);
  font-size: 0.875rem; font-weight: 700;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.story-title { font-size: 1.25rem; letter-spacing: -0.02em; }
.story-summary { color: var(--ink); font-size: 1rem; margin: 0; }
.stories-cta { text-align: center; margin-top: 2.5rem; }

/* ========================================
   Contact split
   ======================================== */
.contact-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--frame); padding: 0 var(--frame); }
.contact-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 560px; color: var(--white);
  display: flex; align-items: flex-end;
}
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(7, 18, 38, 0.92) 0%, rgba(7, 18, 38, 0.55) 45%, rgba(7, 18, 38, 0) 75%); }
.contact-copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); width: 100%; }
.contact-copy .label { color: var(--white); }
.contact-copy h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 1.75rem; }
.contact-copy h2 .serif { color: var(--gold-500); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; padding-top: 1.5rem; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15); }
.contact-lines small { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: var(--on-dark-soft); }
.contact-lines strong { font-size: 1.125rem; }

.contact-form-panel { background: var(--navy-800); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 48px); }
.contact-form-panel h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.contact-form-panel > p { color: var(--on-dark-soft); font-size: 1rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* ========================================
   Forms (shared)
   ======================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 700; font-size: 0.975rem; margin-bottom: 0.45rem; color: inherit; }
.form-label.required::after { content: ' *'; color: var(--gold-600); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--mist-2);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold-500); }
.form-textarea { resize: vertical; min-height: 120px; }
.on-dark .form-input, .on-dark .form-select, .on-dark .form-textarea,
.section-dark .form-input, .section-dark .form-select, .section-dark .form-textarea {
  background: var(--navy-700); border-color: var(--navy-600); color: var(--white);
}
.on-dark .form-label.required::after, .section-dark .form-label.required::after { color: var(--gold-500); }
.on-dark ::placeholder, .section-dark ::placeholder { color: #93a0b8; }
.form-error { color: #b42318; font-size: 0.9rem; margin-top: 0.3rem; }
.on-dark .form-error, .section-dark .form-error { color: #ffb4a8; }
.form-success { background: #d7f2e1; color: #0f5132; padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.honeypot { position: absolute; left: -9999px; }

/* ========================================
   Marquee + footer
   ======================================== */
.site-end { padding: var(--section-gap) var(--frame) var(--frame); }
.marquee {
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 0.75rem; padding-right: 2.5rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span::before { content: ''; width: 12px; height: 14px; background: var(--navy-900); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.footer {
  background: var(--navy-800);
  color: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: clamp(56px, 7vw, 96px) 0 1.5rem;
}
.footer-cta { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.footer-cta h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); max-width: 22ch; }
.footer-cta h2 .serif { color: var(--gold-500); }
.footer-cta p { color: var(--on-dark-soft); margin: 0.9rem 0 0; }

.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { max-width: 340px; }
.footer-logo { margin-bottom: 1.1rem; }
.footer-tagline { font-size: 1rem; color: var(--on-dark-soft); }
.footer-section h3, .footer-section h4 { font-size: 1.0625rem; color: var(--white); margin-bottom: 1rem; letter-spacing: -0.01em; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--on-dark-soft); font-size: 1rem; }
.footer-links a:hover { color: var(--gold-500); }
.footer-contact p { color: var(--on-dark-soft); margin-bottom: 0.5rem; font-size: 1rem; }
.footer-contact a:hover { color: var(--gold-500); }
.social-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-700); color: var(--white); font-size: 1.05rem;
}
.social-link:hover { background: var(--gold-500); color: var(--navy-900); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.07);
}
.footer-copyright, .footer-legal a { font-size: 0.9375rem; color: var(--on-dark-soft); margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--gold-500); }
.credits { font-size: 0.875rem; color: var(--on-dark-soft); max-width: none; margin: 1.25rem 0 0; line-height: 1.55; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--gold-500); }

/* ========================================
   Inner pages — restyled legacy blocks
   ======================================== */
.page-hero { padding: var(--frame) var(--frame) 0; }
.page-hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  color: var(--white);
  padding: clamp(64px, 9vw, 128px) 0;
}
.page-hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero-frame .container { position: relative; z-index: 1; }
.page-hero-frame h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); max-width: 24ch; margin-bottom: 1.5rem; }
.page-hero-frame .lead { color: var(--white); max-width: 52ch; }
.crumbs { display: flex; gap: 0.5rem; align-items: center; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 1.25rem; font-size: 0.975rem; }
.crumbs a:hover { color: var(--gold-500); }

.section h2.text-center, .section h2 { margin-bottom: 1.5rem; }
.section .lead { color: inherit; }
.text-center { text-align: center; }
.text-center p, p.text-center { margin-inline: auto; }

.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.capability-item {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.section-light .capability-item { background: var(--white); }
.section-dark .capability-item { background: var(--navy-700); }
.capability-item:hover { transform: translateY(-4px); }
/* Replace legacy emoji icons with the honeycomb mark */
.capability-icon {
  width: 46px; height: 52px;
  font-size: 0; color: transparent;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: 1.25rem;
}
.capability-icon .ph { display: none; }
.capability-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.capability-description { font-size: 1rem; margin: 0; color: inherit; }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; counter-reset: step; }
.process-step { background: var(--navy-700); border-radius: var(--radius-md); padding: 1.5rem; counter-increment: step; }
.process-icon { display: none; }
.process-title { font-weight: 800; font-size: 1.125rem; margin-bottom: 0.5rem; }
.process-description { font-size: 1rem; color: var(--on-dark-soft); margin: 0; }

.hero-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.hero-card { background: var(--mist) !important; border: 0 !important; border-radius: var(--radius-lg); padding: 2rem; color: var(--ink); }
.hero-card h3 { margin-bottom: 0.75rem; }

.categories { padding: var(--section-gap) 0; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.category-card { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-800); }
.category-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.category-card:hover .category-image { transform: scale(1.05); }
.category-overlay {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.category-icon { display: none; }
.category-title { font-size: 1.0625rem; color: var(--ink); }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ========================================
   Motion
   ======================================== */
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes tileIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.visible { opacity: 1; transform: none; }
.fade-in, .stagger-item { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js .fade-in:not(.visible), .js .stagger-item:not(.visible) { opacity: 0; transform: translateY(20px); }

.tile-gold { animation: tileIn 0.9s var(--ease-out) 0.25s both; }
.tile-white { animation: tileIn 0.9s var(--ease-out) 0.45s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .fade-in, .js .stagger-item { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1180px) {
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 1024px) {
  .header-container { grid-template-columns: auto 1fr auto; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: var(--frame); right: var(--frame);
    flex-direction: column; gap: 0.25rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: 0 18px 40px rgba(13, 30, 56, 0.16);
  }
  .nav-menu.active { display: flex; }
  .nav-link { padding: 0.9rem 1rem; font-size: 1.0625rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { background: var(--mist); }
  .mobile-menu-toggle { display: grid; }
  .header-actions { grid-column: 3; }
  .nav { display: contents; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-tiles { justify-self: start; height: auto; width: 100%; display: flex; gap: 0.75rem; }
  .tile { position: static; flex: 1; width: auto; max-width: 240px; }

  .hero-strip { grid-template-columns: 1fr; }
  .about-head, .about-body, .process-head, .process-body, .section-head.split { grid-template-columns: 1fr; }
  .process-photo { position: relative; top: 0; order: -1; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-photo { grid-column: span 2; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }

  .cap-rail { flex-direction: column; height: auto; }
  .cap-col { flex-direction: row; justify-content: flex-start; gap: 1rem; padding: 1rem 1.25rem; }
  .cap-name { writing-mode: horizontal-tb; transform: none; white-space: normal; text-align: left; }
  .cap-icon { margin-left: auto; }
  .cap-col[aria-expanded="true"] { height: 440px; flex: none; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .header-container { min-height: 72px; gap: 0.75rem; }
  .header-actions .btn { display: none; }
  .logo-word { font-size: 1.25rem; }
  .hero-frame { min-height: 0; }
  .hero-frame::before { background: linear-gradient(180deg, rgba(7, 18, 38, 0.75) 0%, rgba(7, 18, 38, 0.88) 100%); }
  .hero-tiles { flex-direction: row; }
  .tile { padding: 1.1rem 0.9rem; }
  .tile-value { font-size: 3rem; margin-bottom: 0.6rem; }
  .tile-label { font-size: 0.9rem; }
  .strip-panel { grid-template-columns: 1fr; }
  .strip-item + .strip-item { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08); }
  .about-tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; }
  .about-photo { min-height: 360px; }
  .why-grid, .stories-grid { grid-template-columns: 1fr; }
  .why-photo { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-photo { min-height: 480px; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .badge-pair img, .badge-pair span { width: 76px; height: 76px; }
  .badge-pair span { font-size: 1.9rem; }
}
