/* ============================================================
   Verdyn — Design System
   Editorial agritech: cream + forest green, gold accent.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --cream:  #F3EFE6;  /* primary background */
  --paper:  #FBF8F1;  /* lighter card surface */
  --ink:    #1A1B16;  /* warm near-black text + primary buttons */
  --forest: #34401F;  /* deep green bands */
  --olive:  #5C6B3C;  /* mid green, secondary accents */
  --moss:   #7C8A55;  /* lighter green, hover/detail */
  --sand:   #C7B89A;  /* tan editorial band */
  --gold:   #DDA94A;  /* accent: play button, arrows, highlight chip */
  --line:   #E1DACB;  /* hairline borders */
  --muted:  #6B6A60;  /* secondary text */

  --forest-deep: #2A331A;
  --cream-80: rgba(243, 239, 230, 0.8);
  --ink-90: rgba(26, 27, 22, 0.9);

  --font-display: "Instrument Serif", "Newsreader", "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 27, 22, 0.06);
  --shadow: 0 8px 24px rgba(26, 27, 22, 0.08);
  --shadow-lg: 0 18px 50px rgba(26, 27, 22, 0.16);

  --maxw: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;            /* Instrument Serif is a single-weight display serif */
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-90); }
.muted { color: var(--muted); }
.serif { font-family: var(--font-display); }
strong { font-weight: 650; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.grid { display: grid; gap: var(--gap); }

.section-head { max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.75rem; }
.section-head p { margin-top: 1rem; }
.eyebrow-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Chip / section label ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--olive);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.chip--gold { color: var(--ink); border-color: var(--gold); background: rgba(221,169,74,0.14); }
.chip--on-dark { color: var(--cream); background: rgba(243,239,230,0.1); border-color: rgba(243,239,230,0.22); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 560; font-size: 0.97rem;
  padding: 0.78rem 0.85rem 0.78rem 1.3rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn .btn-arrow {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  flex: none;
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}
.btn .btn-arrow svg { width: 16px; height: 16px; }
.btn:hover .btn-arrow { transform: translateX(3px) rotate(-2deg); }

.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary .btn-arrow { background: var(--cream); color: var(--ink); }
.btn--primary:hover { background: #2c2d24; box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem 1.1rem 0.7rem 1.3rem;
}
.btn--ghost .btn-arrow { background: var(--ink); color: var(--cream); width: 30px; height: 30px; }
.btn--ghost:hover { background: var(--paper); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold .btn-arrow { background: var(--ink); color: var(--gold); }

.btn--on-dark { background: var(--cream); color: var(--ink); }
.btn--on-dark .btn-arrow { background: var(--ink); color: var(--cream); }
.btn--ghost-dark { border-color: rgba(243,239,230,0.3); color: var(--cream); }
.btn--ghost-dark .btn-arrow { background: var(--cream); color: var(--ink); }

.btn--sm { font-size: 0.85rem; padding: 0.5rem 0.55rem 0.5rem 1rem; }
.btn--sm .btn-arrow { width: 28px; height: 28px; }

/* learn-more pill (on media cards) */
.learn-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 560;
  padding: 0.45rem 0.6rem 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--cream); color: var(--ink);
  transition: gap 0.25s var(--ease), background 0.25s var(--ease);
}
.learn-more svg { width: 14px; height: 14px; }
.learn-more:hover { gap: 0.8rem; background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-header.scrolled {
  background: var(--cream-80);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand svg, .brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a, .nav-dropdown > button {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover, .nav-dropdown > button:hover { background: rgba(26,27,22,0.06); }
.nav-links a[aria-current="page"] { color: var(--olive); font-weight: 600; }

/* header over hero (transparent, light text) */
.site-header:not(.scrolled).over-hero .nav-links a,
.site-header:not(.scrolled).over-hero .nav-dropdown > button { color: var(--cream); }
.site-header:not(.scrolled).over-hero .nav-links a:hover,
.site-header:not(.scrolled).over-hero .nav-dropdown > button:hover { background: rgba(243,239,230,0.16); }
.site-header:not(.scrolled).over-hero .brand .logo-light { display: none; }
.site-header:not(.scrolled).over-hero .brand .logo-dark { display: block; }
.site-header:not(.scrolled).over-hero .header-cta { background: var(--cream); color: var(--ink); }
.site-header:not(.scrolled).over-hero .header-cta .btn-arrow { background: var(--ink); color: var(--cream); }
.site-header:not(.scrolled).over-hero .nav-toggle { color: var(--cream); }

.nav-dropdown { position: relative; }
.nav-dropdown > button .chev { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.nav-dropdown[data-open="true"] > button .chev { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 190px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-dropdown[data-open="true"] .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm); color: var(--ink); font-size: 0.92rem; }
.dropdown-menu a:hover { background: rgba(26,27,22,0.06); }

.header-cta { background: var(--ink); color: var(--cream); }
.header-cta .btn-arrow { background: var(--cream); color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); color: var(--ink); align-items: center; justify-content: center; position: relative; z-index: 101; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
body.menu-open .nav-toggle .i-menu { display: none; }
body.menu-open .nav-toggle .i-close { display: block; }
/* X is always over the cream menu — keep it ink even on the transparent hero header
   (needs higher specificity than the over-hero "cream" rule above). */
body.menu-open .nav-toggle,
body.menu-open .site-header.over-hero:not(.scrolled) .nav-toggle { color: var(--ink); }

/* Collapse to hamburger when the full nav no longer fits comfortably */
@media (max-width: 940px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
/* When the cream menu is open over a transparent hero header, force the ink logo
   (the cream logo would disappear against the cream menu). */
body.menu-open .site-header.over-hero:not(.scrolled) .brand .logo-light { display: block; }
body.menu-open .site-header.over-hero:not(.scrolled) .brand .logo-dark { display: none; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  display: flex; flex-direction: column; padding: 6rem 1.5rem 2rem;
  transform: translateY(-100%); transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 500;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-menu .mobile-cta { margin-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,27,22,0.42) 0%, rgba(26,27,22,0.08) 32%, rgba(26,27,22,0.05) 55%, rgba(26,27,22,0.72) 100%);
}
.hero__inner { position: relative; width: 100%; }
.hero h1 { max-width: 16ch; color: var(--cream); }
.hero .lead { color: rgba(243,239,230,0.92); max-width: 46ch; margin-top: 1.4rem; }
.hero__cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__video-card {
  position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: clamp(2rem, 5vw, 4rem);
  width: clamp(160px, 22vw, 240px); aspect-ratio: 16/10;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero__video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s var(--ease);
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
@media (max-width: 720px) { .hero__video-card { display: none; } }

/* ---------- Media cards ---------- */
.media-card {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 280px; color: var(--cream);
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.media-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,27,22,0) 30%, rgba(26,27,22,0.78) 100%);
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.media-card:hover img { transform: scale(1.05); }
.media-card__body {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start;
}
.media-card__body h3 { color: var(--cream); }
.media-card__body p { color: rgba(243,239,230,0.85); font-size: 0.95rem; max-width: 42ch; }
.media-card--lg { min-height: clamp(340px, 42vw, 460px); }
.media-card--tall { min-height: clamp(300px, 40vw, 420px); }

.services-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Value cards ---------- */
.value-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.value-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.value-card__body { padding: clamp(1.2rem, 2.4vw, 1.7rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.value-card__num {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 400;
  color: var(--olive); line-height: 1;
}
.value-card h3 { font-size: 1.25rem; }

/* ---------- Stat / feature rows ---------- */
.feature-list { display: flex; flex-direction: column; gap: 1.3rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-item .ficon {
  flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: rgba(92,107,60,0.12); color: var(--olive);
  display: grid; place-items: center;
}
.feature-item .ficon svg { width: 22px; height: 22px; }
.feature-item h4 { margin-bottom: 0.2rem; }
.feature-item p { color: var(--muted); font-size: 0.96rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--media-right { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* globe */
.globe-wrap { display: grid; place-items: center; }
.globe-wrap svg { width: min(340px, 80%); height: auto; }
.country-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.country-chip {
  padding: 0.4rem 0.95rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--paper);
  font-size: 0.85rem; font-weight: 500;
}
.country-chip--active { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }

/* ---------- Statement band ---------- */
.statement-band {
  background: var(--forest); color: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 820px) { .statement-band { grid-template-columns: 1fr; } }
.statement-band__text { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.statement-band__text .chip { align-self: flex-start; margin-bottom: 1.5rem; }
.statement-band h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--cream); line-height: 1.02;
}
.statement-band h2 .accent { color: var(--gold); font-style: italic; }
.statement-band__media { min-height: 280px; position: relative; }
.statement-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.band--sand { background: var(--sand); color: var(--ink); }
.band--sand h2 { color: var(--forest); }
.band--sand .chip { background: rgba(26,27,22,0.06); border-color: rgba(26,27,22,0.12); color: var(--forest); }

/* ---------- Testimonials ---------- */
.testimonial-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 clamp(280px, 90%, 380px); scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.5; color: var(--gold); height: 1.2rem; }
.testimonial-card blockquote { font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.testimonial-card.is-placeholder blockquote { color: var(--muted); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar-monogram {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem;
  flex: none;
}
/* Photo avatar (round, cover) — used for testimonials and team */
.avatar-photo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: var(--paper); }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-photo--lg { width: 84px; height: 84px; }
.testimonial-author .meta strong { display: block; font-size: 0.95rem; }
.testimonial-author .meta span { font-size: 0.82rem; color: var(--muted); }

.carousel-controls { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.carousel-btn:hover { transform: scale(1.06); }
.carousel-btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; transform: none; }
.carousel-btn svg { width: 20px; height: 20px; }

/* ---------- Blog cards ---------- */
.blog-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card__cat {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; color: var(--olive);
}
.blog-card h3 { font-size: 1.2rem; }
.blog-card__meta { margin-top: auto; padding-top: 0.8rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.logo-strip .partner {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--muted); opacity: 0.7; filter: grayscale(1);
}
.partner-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.trust-row--left { justify-content: flex-start; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.2rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--paper);
  font-weight: 500; font-size: 0.95rem;
}
.trust-pill svg { width: 18px; height: 18px; color: var(--olive); }

/* Brand-mark placeholders (swap for official AWS / NVIDIA assets) */
.brand-mark { display: inline-flex; align-items: center; height: 40px; }
.brand-aws { font-family: var(--font-body); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--ink); position: relative; }
.brand-aws::after { content: ""; display: block; width: 24px; height: 7px; margin-top: 2px;
  background: radial-gradient(circle at 50% 0, transparent 0 6px, var(--gold) 6px 7px) no-repeat; transform: scaleX(1.1); }
.brand-nv { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; color: #76b900; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  color: var(--cream); padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center; isolation: isolate;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,27,22,0.35), rgba(26,27,22,0.65)); }
.cta-band h2 { color: var(--cream); max-width: 18ch; margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.5rem, 16vw, 13rem); line-height: 0.9;
  letter-spacing: -0.03em; color: rgba(243,239,230,0.1);
  border-bottom: 1px solid rgba(243,239,230,0.14);
  padding-bottom: 0.2em; user-select: none;
}
.footer-wordmark .tm { font-size: 0.3em; vertical-align: super; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(243,239,230,0.55); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: rgba(243,239,230,0.82); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-brand .brand-line { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-lockup { height: 42px; width: auto; }
.footer-brand .tagline { color: rgba(243,239,230,0.75); max-width: 28ch; font-size: 0.95rem; }
.footer-address { font-style: normal; color: rgba(243,239,230,0.82); font-size: 0.92rem; line-height: 1.7; }
.footer-address a:hover { color: var(--gold); }

.newsletter { margin-top: 1.2rem; }
.newsletter label { display: block; font-size: 0.85rem; color: rgba(243,239,230,0.7); margin-bottom: 0.5rem; }
.newsletter .field {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(243,239,230,0.08); border: 1px solid rgba(243,239,230,0.2);
  border-radius: var(--radius-pill); padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  max-width: 340px;
}
.newsletter input { background: none; border: none; outline: none; flex: 1; color: var(--cream); min-width: 0; }
.newsletter input::placeholder { color: rgba(243,239,230,0.5); }
.newsletter button {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--gold); color: var(--ink); display: grid; place-items: center;
  transition: transform 0.2s var(--ease);
}
.newsletter button:hover { transform: translateX(2px); }
.form-note { font-size: 0.8rem; margin-top: 0.5rem; min-height: 1.1em; }
.form-note.ok { color: var(--moss); }
.form-note.err { color: var(--gold); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,239,230,0.2); display: grid; place-items: center; color: var(--cream); transition: background 0.2s, border-color 0.2s; }
.footer-social a:hover { background: rgba(243,239,230,0.1); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom { border-top: 1px solid rgba(243,239,230,0.14); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(243,239,230,0.6); }
.footer-bottom a { color: rgba(243,239,230,0.7); }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,27,22,0.55), rgba(26,27,22,0.7)); }
.page-hero h1 { color: var(--cream); max-width: 18ch; }
.page-hero .lead { color: rgba(243,239,230,0.9); max-width: 52ch; margin-top: 1.2rem; }
.page-hero .chip { margin-bottom: 1.2rem; }
.breadcrumbs { font-size: 0.85rem; color: rgba(243,239,230,0.75); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Generic content / prose ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.prose ul li { padding-left: 0.3rem; }
.prose a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1.2rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--olive); font-style: italic; }
.prose code { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; font-size: 0.9em; }

.note-box {
  background: rgba(221,169,74,0.1); border: 1px solid rgba(221,169,74,0.4);
  border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--ink);
}
.note-box strong { color: var(--olive); }

/* ---------- Cards / generic ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.5vw, 1.8rem);
}
.card--pad-lg { padding: clamp(1.8rem, 3.5vw, 2.6rem); }
.icon-card { display: flex; flex-direction: column; gap: 0.7rem; }
.icon-card .ficon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: rgba(92,107,60,0.12); color: var(--olive); display: grid; place-items: center; }
.icon-card .ficon svg { width: 24px; height: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* team */
.team-grid { grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 680px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.team-card > div { min-width: 0; }            /* allow text to wrap, prevent overflow */
.team-card .avatar-monogram { width: 72px; height: 72px; font-size: 1.6rem; }
.team-card h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.team-card .role { color: var(--olive); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-card .bio { color: var(--muted); font-size: 0.95rem; }
.team-card .links { margin-top: 0.7rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.team-card .links a { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--olive); }
.team-card .links svg { width: 16px; height: 16px; }
/* Stack avatar over text on very narrow screens */
@media (max-width: 400px) {
  .team-card { flex-direction: column; gap: 0.9rem; }
  .avatar-photo--lg { width: 72px; height: 72px; }
}

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.price-card.featured { border-color: var(--olive); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -12px; right: 1.4rem; background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); }
.price-card .plan-name { font-family: var(--font-display); font-size: 1.5rem; }
.price-card .price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.price-card .price small { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.price-card ul { display: flex; flex-direction: column; gap: 0.6rem; margin-block: 0.5rem; }
.price-card li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.94rem; }
.price-card li svg { width: 18px; height: 18px; color: var(--olive); flex: none; margin-top: 0.15rem; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
table.data thead th { background: var(--paper); font-weight: 600; }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label { font-size: 0.88rem; font-weight: 560; }
.field-group input, .field-group textarea, .field-group select {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field-group input:focus, .field-group textarea:focus, .field-group select:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(92,107,60,0.15);
}
.field-group textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Pipeline diagram ---------- */
.pipeline { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.6rem; }
.pipeline__step {
  flex: 1 1 150px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem;
  position: relative;
}
.pipeline__step .step-ico { width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(92,107,60,0.12); color: var(--olive); display: grid; place-items: center; }
.pipeline__step .step-ico svg { width: 20px; height: 20px; }
.pipeline__step h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 650; }
.pipeline__step p { font-size: 0.8rem; color: var(--muted); }
.pipeline__arrow { display: grid; place-items: center; color: var(--moss); flex: none; }
@media (max-width: 760px) { .pipeline__arrow { transform: rotate(90deg); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.4s ease; transform: none !important; }
  .hero__media img { animation: none !important; }
  .btn, .media-card, .value-card, .blog-card { transition: none !important; }
}

/* hero image scale-in */
@keyframes heroScale { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__media img { animation: heroScale 1.4s var(--ease) both; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,8,0.9); display: none; place-items: center; padding: 1.5rem; }
.lightbox[data-open="true"] { display: grid; }
.lightbox__inner { width: min(960px, 100%); aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; position: relative; }
.lightbox__inner iframe, .lightbox__inner video { width: 100%; height: 100%; border: none; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; }
.lightbox .placeholder-note { background: var(--paper); display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); height: 100%; }

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.flex { display: flex; } .gap-1 { gap: 1rem; } .gap-sm { gap: 0.5rem; }
.wrap { flex-wrap: wrap; } .items-center { align-items: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.tag-line { font-size: 0.8rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: none; margin-block: clamp(2rem, 5vw, 3.5rem); }
.img-credit { font-size: 0.7rem; color: var(--muted); margin-top: 0.4rem; }
