/* ===================== RESET & BASE ===================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: #F5F2EB;
  background-image:
    radial-gradient(oklch(0.18 0.012 60 / 0.04) 1px, transparent 1px),
    radial-gradient(oklch(0.18 0.012 60 / 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  -webkit-font-smoothing: antialiased;
}
a { color: #4A6B4E; text-decoration: none; }
a:hover { color: #E98A3C; }
img { max-width: 100%; }
::selection { background: #F2A65A; color: #2A2620; }

.em-green { font-style: italic; color: #6F8F72; }
.em-orange { font-style: italic; color: #E98A3C; }
.em-orange-light { font-style: italic; color: #F2A65A; }
.em-green-dark { font-style: italic; color: #3F5943; }
.em-gi { font-style: italic; color: #C96F27; }

.dot { border-radius: 50%; display: inline-block; }
.dot--orange { width: 7px; height: 7px; background: #F2A65A; }
.dot--xs { width: 4px; height: 4px; }

.rule { display: inline-block; height: 1px; width: 26px; background: #E98A3C; }
.rule--gi { background: #C96F27; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: #6F8F72;
}
.eyebrow--light { color: #A8C0A5; }
.eyebrow--gi { color: #C96F27; }

.link-underline {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #3B4438;
  padding: 17px 6px; border-bottom: 1.5px solid oklch(0.4 0.03 150 / 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-underline:hover { color: #E98A3C; border-bottom-color: #E98A3C; }

/* ===================== BUTTONS ===================== */
.cta-pill { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.cta-dot { width: 7px; height: 7px; border-radius: 50%; background: #F2A65A; display: inline-block; flex: none; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease; }
.cta-dot--lg { width: 10px; height: 10px; }
.cta-pill:hover .cta-dot { transform: scale(1.5); box-shadow: 0 0 0 4px oklch(0.72 0.13 55 / 0.25); }
.cta-pill:active { transform: translateY(0) scale(0.98) !important; }

.cta-pill--outline {
  gap: 9px; background: transparent; border: 1.5px solid oklch(0.55 0.05 150 / 0.55);
  color: #3F5943; font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 8.5px 20px; border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cta-pill--outline:hover { background: #3F5943; border-color: #3F5943; color: #F1EDE0; }

.cta-pill--solid {
  gap: 12px; background: #6F8F72; color: #F1EDE0;
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 17px 32px 17px 24px; border-radius: 999px;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
}
.cta-pill--solid:hover { background: #1E2A1B; color: #F1EDE0; transform: translateY(-2px); letter-spacing: 0.26em; box-shadow: 0 12px 30px oklch(0.3 0.05 150 / 0.35); }

/* ===================== HEADER ===================== */
.site-header { position: sticky; top: 0; z-index: 50; }

.header-strip { background: #3F5943; color: #E8E2D8; font-size: 12.5px; letter-spacing: 0.02em; }
.header-strip-inner { max-width: 1240px; margin: 0 auto; padding: 7px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-strip-tag { display: flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; }
.header-strip-links { display: flex; align-items: center; gap: 22px; white-space: nowrap; min-width: 0; overflow: hidden; }
.strip-link { color: #E8E2D8; display: flex; align-items: center; gap: 7px; transition: color 0.18s ease; }
.strip-link:hover { color: #F2A65A; }
.strip-link--static { opacity: 0.85; }
.strip-link--static:hover { color: #E8E2D8; }

.header-bar {
  position: relative;
  background: oklch(0.96 0.012 85 / 0.65);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(0.55 0.03 150 / 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.header-bar.is-scrolled {
  background: oklch(0.96 0.012 85 / 0.88);
  border-bottom-color: oklch(0.55 0.03 150 / 0.22);
  box-shadow: 0 4px 24px oklch(0.3 0.02 150 / 0.08);
}
.header-bar-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; color: #3F5943; }
.brand-mark { height: 44px; width: auto; display: block; }
.brand-word { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.brand-name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.06em; color: #4A6B4E; line-height: 1; }
.brand-sub { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.42em; color: #E98A3C; line-height: 1; }
.brand { min-width: 0; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: #3B4438; padding: 9px 14px; border-radius: 999px;
  white-space: nowrap; letter-spacing: 0.01em; transition: background 0.18s ease, color 0.18s ease;
}
.nav-link:hover { background: oklch(0.62 0.06 150 / 0.12); color: #3F5943; }

/* ===================== MOBILE NAV ===================== */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid oklch(0.55 0.05 150 / 0.4);
  background: transparent; flex: none; padding: 0; cursor: pointer;
}
.nav-toggle-bar { width: 18px; height: 2px; background: #3F5943; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #FBF8F1;
  border-bottom: 1px solid oklch(0.55 0.03 150 / 0.2);
  box-shadow: 0 20px 40px oklch(0.3 0.02 150 / 0.25);
  padding: 10px 24px 26px;
  max-height: calc(100vh - 78px); overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-link {
  font-size: 16.5px; font-weight: 500; color: #23301F;
  padding: 15px 4px; border-bottom: 1px solid oklch(0.55 0.03 150 / 0.14);
}
.mobile-nav-cta { justify-content: center; margin-top: 18px; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; }
.hero-watermark { position: absolute; right: -140px; bottom: -120px; width: 760px; opacity: 0.05; pointer-events: none; user-select: none; }
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 72px 32px 88px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #6F8F72;
  border: 1px solid oklch(0.55 0.04 150 / 0.35); border-radius: 999px; padding: 8px 16px;
}
.hero-title {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(48px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em; color: #23301F; text-wrap: balance;
}
.hero-desc { margin: 0; max-width: 54ch; font-size: 17px; line-height: 1.65; color: #4A5244; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-chips { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 12px; padding-top: 22px; border-top: 1px solid oklch(0.55 0.03 150 / 0.2); }
.hero-chip {
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #3F4A3B; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}

.hero-image { position: relative; justify-self: end; width: min(500px, 100%); }
.hero-arch {
  position: relative; width: 100%; height: 560px; border-radius: 240px 240px 24px 24px;
  overflow: hidden; box-shadow: 0 24px 60px oklch(0.3 0.03 150 / 0.18);
}
.hero-parallax { position: absolute; left: 0; right: 0; top: -70px; bottom: -70px; will-change: transform; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: -56px; bottom: 44px; background: #1E2A1B; color: #F1EDE0;
  border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 40px oklch(0.25 0.03 150 / 0.35); max-width: 300px;
}
.hero-card-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: oklch(0.72 0.13 55 / 0.18);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-text { display: flex; flex-direction: column; gap: 3px; }
.hero-card-label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #F2A65A; }
.hero-card-desc { font-size: 13.5px; line-height: 1.45; color: #E8E2D8; }

/* ===================== SERVICES ===================== */
.services { position: relative; background: #22301E; border-radius: 32px 32px 0 0; overflow: hidden; }
.services-grain { position: absolute; inset: 0; background-image: radial-gradient(oklch(0.9 0.02 85 / 0.05) 1px, transparent 1px); background-size: 5px 5px; pointer-events: none; }
.services-inner { max-width: 1240px; margin: 0 auto; padding: 56px 32px 64px; position: relative; }
.services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.services-head-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.services-title {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08; color: #FBF8F1; text-wrap: balance;
}
.services-desc { margin: 0 0 6px; max-width: 40ch; font-size: 15.5px; font-weight: 500; line-height: 1.65; color: #D6DECF; text-wrap: pretty; }

.services-stage { position: relative; min-height: 380px; }
.services-page { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.services-page[data-svpage="0"] { align-items: stretch; }
.services-page:not([data-svpage="0"]) { opacity: 0; visibility: hidden; }

.svc-card { position: relative; perspective: 1400px; display: block; color: inherit; width: 364px; height: 392px; background: transparent; }
.svc-card--center { grid-column: 2 / 3; justify-self: center; }
.flip-inner { position: absolute; inset: 0; }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 20px; box-sizing: border-box; padding: 22px; display: flex; flex-direction: column; gap: 14px;
  overflow: hidden; transition: transform 0.7s cubic-bezier(0.35, 0.1, 0.2, 1);
}
.flip-front { transform: rotateY(0deg); background: oklch(0.3 0.032 150); border: 1px solid oklch(0.6 0.04 150 / 0.25); }
.svc-card:hover .flip-front { transform: rotateY(-180deg); }
.flip-back { transform: rotateY(180deg); background-size: cover; background-position: center; }
.flip-back::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.22 0.03 150 / 0.9), oklch(0.18 0.03 150 / 0.95));
}
.svc-card:hover .flip-back { transform: rotateY(0deg); }
.flip-back-inner { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; }

.svc-card--flagship .flip-front { background: #E98A3C; border-color: #E98A3C; }
.svc-card--flagship .svc-num { color: oklch(0.25 0.04 55 / 0.75); }
.svc-card--flagship .svc-icon { border-color: oklch(0.25 0.04 55 / 0.4); color: #2A2015; }
.svc-card--flagship .svc-title { color: #251A0D; }
.svc-card--flagship .svc-desc { color: oklch(0.28 0.04 55 / 0.85); }
.svc-card--flagship .svc-hint { color: #251A0D; }

.flip-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: #C2D4BE; }
.svc-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid oklch(0.75 0.05 150 / 0.45);
  display: flex; align-items: center; justify-content: center; color: #C2D4BE;
}
.svc-copy { display: flex; flex-direction: column; gap: 8px; }
.svc-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; line-height: 1.12; color: #FBF8F1; }
.svc-desc { font-size: 13.5px; line-height: 1.55; color: #D6DECF; text-wrap: pretty; }
.svc-hint {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #F2A65A;
}

.svc-back-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #F2A65A; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start; }
.svc-tag {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid oklch(0.7 0.05 150 / 0.4);
  background: oklch(0.3 0.03 150 / 0.5); border-radius: 999px; padding: 6px 12px; font-size: 12px;
  font-weight: 500; color: #E8E2D8; white-space: nowrap;
}
.svc-tat {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #251A0D; background: #F2A65A; border-radius: 999px; padding: 8px 15px;
}

/* ===================== MARQUEE ===================== */
@keyframes cyg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { overflow: hidden; border-bottom: 1px solid oklch(0.55 0.03 150 / 0.2); background: #F5F2EB; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: cyg-marquee 36s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #3B4438; white-space: nowrap;
}

/* ===================== ABOUT + FOUNDERS ===================== */
.about { position: relative; overflow: hidden; }
.about-inner { max-width: 1240px; margin: 0 auto; padding: 110px 32px 90px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 26px; }
.about-title {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.1; color: #23301F; text-wrap: balance;
}
.about-desc { margin: 0; font-size: 16px; line-height: 1.7; color: #4A5244; text-wrap: pretty; }
.about-quote {
  margin: 6px 0 0; padding: 22px 26px; border-left: 3px solid #E98A3C;
  background: oklch(0.62 0.06 150 / 0.08); border-radius: 0 14px 14px 0;
}
.about-quote p { margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.45; color: #3F5943; }
.about-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #6F8F72; }
.about-mission { margin: 0; font-size: 15.5px; line-height: 1.7; color: #4A5244; text-wrap: pretty; }
.about-mission strong { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #E98A3C; margin-right: 8px; }

.founders { display: flex; flex-direction: column; gap: 20px; margin-top: 89px; }
.founder-card {
  display: flex; gap: 20px; align-items: stretch; background: #FDFBF6; border: 1px solid oklch(0.55 0.03 150 / 0.22);
  border-radius: 18px; padding: 18px; box-shadow: 0 8px 28px oklch(0.35 0.03 150 / 0.07);
}
.founder-photo {
  flex: none; width: 128px; height: 152px; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: oklch(0.62 0.06 150 / 0.1); border: 1.5px dashed oklch(0.55 0.04 150 / 0.4); color: #6F8F72;
}
.founder-photo span { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 0 8px; }
.founder-info { display: flex; flex-direction: column; gap: 6px; padding: 6px 4px; }
.founder-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 24px; line-height: 1.1; color: #23301F; }
.founder-role { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #E98A3C; }
.founder-bio { font-size: 14px; line-height: 1.6; color: #4A5244; text-wrap: pretty; }
.lab-hours { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1.5px dashed oklch(0.55 0.04 150 / 0.4); border-radius: 14px; }
.lab-hours span { font-size: 14px; line-height: 1.55; color: #4A5244; }

/* ===================== PHOTO BAND (pinned, full viewport) ===================== */
.photo-band { position: sticky; top: 0; height: 100vh; overflow: hidden; z-index: 0; }
.photo-band-img { position: absolute; inset: 0; background: url('assets/still-life.jpg') center / cover; }
.photo-band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.03 150 / 0.35), oklch(0.2 0.03 150 / 0.05) 40%, oklch(0.2 0.03 150 / 0.45)); }
.photo-band-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: flex-end; }
.photo-band-quote {
  margin: 0 0 44px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.25; color: #FBF8F1; max-width: 22ch;
  text-shadow: 0 2px 18px oklch(0.2 0.03 150 / 0.55);
}

/* ===================== HOW IT WORKS ===================== */
.how { position: relative; z-index: 1; background: linear-gradient(oklch(0.62 0.06 150 / 0.09), oklch(0.62 0.06 150 / 0.09)), #F5F2EB; border-top: 1px solid oklch(0.55 0.03 150 / 0.16); }
.how-inner { max-width: 1240px; margin: 0 auto; padding: 90px 32px 100px; }
.how-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 60px; }
.how-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; color: #23301F; text-wrap: balance; }
.how-desc { margin: 0; max-width: 56ch; font-size: 15.5px; line-height: 1.65; color: #4A5244; text-wrap: pretty; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how-step {
  position: relative; display: flex; flex-direction: column; gap: 14px; background: #FDFBF6;
  border: 1px solid oklch(0.55 0.03 150 / 0.22); border-radius: 18px; padding: 26px 24px 24px;
}
.how-step-top { display: flex; align-items: center; justify-content: space-between; }
.how-step-num { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 500; color: oklch(0.62 0.06 150 / 0.55); }
.how-step-icon { width: 42px; height: 42px; border-radius: 50%; background: oklch(0.62 0.06 150 / 0.14); display: flex; align-items: center; justify-content: center; color: #3F5943; }
.how-step-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 23px; line-height: 1.15; color: #23301F; }
.how-step-desc { font-size: 14px; line-height: 1.6; color: #4A5244; text-wrap: pretty; }
.how-cta { display: flex; justify-content: center; margin-top: 52px; }

/* ===================== GI DEEP-DIVE ===================== */
.gi {
  position: relative; z-index: 1; overflow: hidden;
  background-color: #D3DAD5;
  background-image:
    linear-gradient(180deg, oklch(0.97 0.008 90 / 0.75), oklch(0.97 0.008 90 / 0.15) 30%, oklch(0.97 0.008 90 / 0.15) 70%, oklch(0.97 0.008 90 / 0.75)),
    repeating-linear-gradient(0deg, oklch(0.55 0.035 160 / 0.05) 0 48px, transparent 48px 96px),
    repeating-linear-gradient(90deg, oklch(0.55 0.035 160 / 0.05) 0 48px, transparent 48px 96px),
    repeating-linear-gradient(0deg, transparent 0 94.5px, oklch(0.5 0.04 160 / 0.14) 94.5px 96px),
    repeating-linear-gradient(90deg, transparent 0 94.5px, oklch(0.5 0.04 160 / 0.14) 94.5px 96px),
    repeating-linear-gradient(0deg, transparent 0 190px, oklch(0.68 0.13 55 / 0.16) 190px 191.5px),
    repeating-linear-gradient(90deg, transparent 0 190px, oklch(0.68 0.13 55 / 0.16) 190px 191.5px);
}
.gi-inner { max-width: 1240px; margin: 0 auto; padding: 100px 32px; position: relative; }
.gi-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.gi-sticky { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 140px; }
.gi-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; color: #23301F; text-wrap: balance; }
.gi-desc { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.7; color: #2E362B; text-wrap: pretty; }
.gi-protocol {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #FDFBF6;
  border: 1px solid oklch(0.45 0.03 160 / 0.3); border-radius: 12px; box-shadow: 0 4px 16px oklch(0.3 0.03 160 / 0.1);
}
.gi-protocol span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.1em; color: #3F5943; }
.gi-photo {
  height: 230px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px oklch(0.3 0.03 160 / 0.2);
  border: 1px solid oklch(0.45 0.03 160 / 0.3);
}
.gi-photo img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }

.gi-cards { display: flex; flex-direction: column; gap: 20px; }
.gi-card {
  background: #FDFBF6; border: 1px solid oklch(0.45 0.03 160 / 0.3); border-radius: 20px; padding: 32px 30px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px oklch(0.3 0.03 160 / 0.12);
}
.gi-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.gi-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 27px; color: #23301F; }
.gi-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.gi-tag--clinical { color: #251A0D; background: #F2A65A; }
.gi-tag--simulated { color: #F1EDE0; background: #3F5943; }
.gi-card-desc { margin: 0; font-size: 15px; line-height: 1.7; color: #4A5244; text-wrap: pretty; }
.gi-best { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6F8F72; }
.gi-note {
  display: flex; align-items: center; gap: 16px; padding: 20px 26px; border: 1.5px dashed oklch(0.4 0.04 160 / 0.45);
  border-radius: 16px; background: oklch(0.98 0.005 90 / 0.5);
}
.gi-note svg { flex: none; }
.gi-note span { font-size: 14.5px; line-height: 1.6; color: #3B4438; }

/* ===================== WHO WE SERVE ===================== */
.who {
  position: relative; z-index: 1;
  background-color: #F5F2EB;
  background-image: radial-gradient(oklch(0.18 0.012 60 / 0.04) 1px, transparent 1px), radial-gradient(oklch(0.18 0.012 60 / 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px; background-position: 0 0, 1px 1px;
  border-bottom: 1px solid oklch(0.55 0.03 150 / 0.16);
}
.who-inner { max-width: 1240px; margin: 0 auto; padding: 96px 32px 90px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.who-copy { display: flex; flex-direction: column; gap: 18px; }
.who-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; color: #23301F; text-wrap: balance; }
.who-desc { margin: 0; max-width: 46ch; font-size: 15.5px; line-height: 1.7; color: #4A5244; text-wrap: pretty; }
.who-badge {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 6px;
  padding: 13px 20px; background: #22301E; border-radius: 999px;
}
.who-badge span { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #F1EDE0; }
.who-cards { display: flex; flex-direction: column; gap: 16px; }
.who-card {
  display: flex; gap: 20px; align-items: flex-start; background: #FDFBF6; border: 1px solid oklch(0.55 0.03 150 / 0.22);
  border-radius: 18px; padding: 26px 28px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.who-card:hover { transform: translateY(-3px); border-color: oklch(0.72 0.13 55 / 0.5); box-shadow: 0 12px 32px oklch(0.35 0.03 150 / 0.12); }
.who-card-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.who-card-icon--green { background: oklch(0.62 0.06 150 / 0.14); }
.who-card-icon--orange { background: oklch(0.72 0.13 55 / 0.15); }
.who-card-copy { display: flex; flex-direction: column; gap: 6px; }
.who-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 24px; line-height: 1.15; color: #23301F; }
.who-card-desc { font-size: 14.5px; line-height: 1.65; color: #4A5244; text-wrap: pretty; }

/* ===================== VIALS BAND (pinned, full viewport) ===================== */
.vials-band { position: sticky; top: 0; height: 100vh; overflow: hidden; z-index: 0; }
.vials-band-img { position: absolute; inset: 0; background: url('assets/spice-vials.jpg') center 40% / cover; }
.vials-band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.03 150 / 0.25), transparent 35%, oklch(0.2 0.03 150 / 0.3)); }
.vials-band-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: flex-end; }
.vials-band-cap {
  margin: 0 0 36px; display: inline-flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #FBF8F1;
  background: oklch(0.2 0.03 150 / 0.55); backdrop-filter: blur(6px); border-radius: 999px; padding: 10px 18px;
}

/* ===================== STANDARDS ===================== */
.standards {
  position: relative; z-index: 1;
  background-color: #F5F2EB;
  background-image: radial-gradient(oklch(0.18 0.012 60 / 0.04) 1px, transparent 1px), radial-gradient(oklch(0.18 0.012 60 / 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px; background-position: 0 0, 1px 1px;
  border-bottom: 1px solid oklch(0.55 0.03 150 / 0.16);
}
.standards-inner { max-width: 1240px; margin: 0 auto; padding: 96px 32px 90px; }
.standards-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 56px; }
.standards-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.08; color: #23301F; text-wrap: balance; }
.standards-list { display: flex; flex-direction: column; border-top: 1px solid oklch(0.55 0.03 150 / 0.28); }
.standards-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 26px 8px;
  border-bottom: 1px solid oklch(0.55 0.03 150 / 0.28); transition: background 0.2s ease;
}
.standards-row:hover { background: oklch(0.62 0.06 150 / 0.07); }
.standards-status { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.standards-status--green { color: #6F8F72; }
.standards-status--orange { color: #C96F27; }
.standards-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; color: #23301F; }
.standards-note { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; color: #5C6656; text-align: right; }

/* ===================== CONTACT ===================== */
.contact {
  position: relative; z-index: 1;
  background-color: #F5F2EB;
  background-image: radial-gradient(oklch(0.18 0.012 60 / 0.04) 1px, transparent 1px), radial-gradient(oklch(0.18 0.012 60 / 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px; background-position: 0 0, 1px 1px;
}
.contact-inner { max-width: 1240px; margin: 0 auto; padding: 100px 32px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.06; color: #23301F; text-wrap: balance; }
.contact-desc { margin: 0; max-width: 50ch; font-size: 16px; line-height: 1.7; color: #4A5244; text-wrap: pretty; }
.contact-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  background: #FDFBF6; border: 1px solid oklch(0.55 0.03 150 / 0.22); border-radius: 16px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.contact-card--wide { grid-column: 1 / -1; flex-direction: row; gap: 16px; align-items: flex-start; }
.contact-card--row { align-items: center; }
.contact-card-copy { display: flex; flex-direction: column; gap: 4px; }
.contact-card-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #6F8F72; }
.contact-card-text { font-size: 14.5px; line-height: 1.6; color: #3B4438; }
.contact-card-link { font-size: 15px; font-weight: 600; color: #3F5943; }
.contact-card-link:hover { color: #E98A3C; }
.contact-card-link--wrap { font-size: 14.5px; word-break: break-all; }
.contact-card--row span strong { color: #23301F; }
.contact-card--row span { font-size: 14.5px; color: #3B4438; }

/* ===================== LAB BAND ===================== */
.lab-band { position: relative; z-index: 1; height: 340px; overflow: hidden; }
.lab-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* ===================== FOOTER ===================== */
.site-footer { position: relative; z-index: 1; background: #1E2A1B; color: #E8E2D8; }
.footer-top { max-width: 1240px; margin: 0 auto; padding: 64px 32px 0; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.footer-brand-row { display: flex; align-items: center; gap: 13px; }
.footer-mark { height: 40px; width: auto; display: block; filter: brightness(1.35); }
.footer-brand-name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 0.06em; color: #F1EDE0; line-height: 1; }
.footer-brand-sub { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.42em; color: #F2A65A; line-height: 1; }
.footer-desc { margin: 0; font-size: 14px; line-height: 1.65; color: #B9C4B3; text-wrap: pretty; }
.footer-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #F2A65A; }
.footer-links { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #6F8F72; }
.footer-col a { font-size: 14px; color: #D6DECF; }
.footer-col a:hover { color: #F2A65A; }
.footer-address { font-size: 14px; color: #B9C4B3; max-width: 260px; line-height: 1.6; }
.footer-bottom {
  max-width: 1240px; margin: 48px auto 0; padding: 28px 32px 30px; border-top: 1px solid oklch(0.4 0.03 150 / 0.4);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom span:first-child { font-size: 12.5px; color: #8FA08A; }
.footer-bottom span:last-child { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8FA08A; }

/* ===================== RESPONSIVE ===================== */

/* safety net: several decorative elements are intentionally oversized/offset */
body { overflow-x: hidden; }

/* pinned full-viewport bands: prefer dvh so mobile browser chrome doesn't clip them */
.photo-band, .vials-band { height: 100vh; height: 100dvh; }

/* ---- tablet & below (<=1024px): tighten the grid, keep 2-col where it still fits ---- */
@media (max-width: 1024px) {
  .hero-inner, .about-inner, .gi-grid, .who-inner, .contact-inner { gap: 40px; }
  .founders { margin-top: 48px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- mobile (<=980px): single column everywhere, hamburger nav ---- */
@media (max-width: 980px) {
  .header-strip-links { display: none; }
  .nav, .header-bar > .header-bar-inner > .cta-pill--outline { display: none; }
  .nav-toggle { display: flex; }
  .header-bar-inner { padding: 0 16px; gap: 12px; }
  .header-strip-inner { padding: 7px 16px; }

  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px 64px; gap: 40px; }
  .hero-copy { gap: 20px; }
  .hero-image { justify-self: center; margin-top: 8px; width: min(420px, 100%); }
  .hero-arch { height: auto; aspect-ratio: 500 / 560; }
  .hero-card { position: static; margin-top: -32px; max-width: none; width: calc(100% - 32px); margin-inline: 16px; }
  .hero-watermark { width: 480px; }

  .services-inner { padding: 48px 20px 56px; }
  .services-head { margin-bottom: 28px; }
  .services-stage { display: flex; flex-direction: column; gap: 18px; min-height: auto !important; }
  .services-page {
    position: relative !important; grid-template-columns: 1fr; gap: 18px;
    opacity: 1 !important; visibility: visible !important; inset: auto;
  }
  /* hover-flip makes no sense without a mouse: unfold both faces into one static card */
  .svc-card { width: 100%; height: auto; perspective: none; }
  .svc-card--center { grid-column: 1; justify-self: stretch; }
  .flip-inner { position: static; display: flex; flex-direction: column; }
  .flip-face {
    position: relative; transform: none !important; transition: none;
    border-radius: 20px; padding: 24px;
  }
  .flip-front { border-radius: 20px 20px 0 0; }
  .flip-back { border-radius: 0 0 20px 20px; }
  .flip-back::before { border-radius: inherit; }
  .svc-hint { display: none; }

  .about-inner, .gi-grid, .who-inner, .contact-inner { grid-template-columns: 1fr; }
  .founders { margin-top: 0; }
  .gi-sticky { position: static; top: auto; }

  .how-grid { grid-template-columns: repeat(2, 1fr); }

  .standards-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }
  .standards-name { order: -1; }
  .standards-note { text-align: left; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-card--wide { grid-column: 1 / -1; }

  .lab-band { height: 260px; }
  .footer-links { gap: 40px; }
}

/* ---- small phones (<=620px) ---- */
@media (max-width: 620px) {
  .how-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }
  .founder-photo { width: 100%; height: 170px; }
  .contact-card--wide { flex-direction: column; }
  .footer-top { padding: 48px 20px 0; }
  .footer-bottom { padding: 24px 20px 26px; }
  .footer-links { gap: 32px; width: 100%; }
}
