/* ============================================================
   Brindari — refined site styles
   Tokens kept faithful to brand: teal · gold · cream · charcoal
   Type pair: Cormorant Garamond (serif display) + DM Sans (UI)
   ============================================================ */

:root{
  --teal:#0F6E56;
  --teal-deep:#0A5040;
  --teal-darkest:#06372C;
  --gold:#EF9F27;
  --gold-soft:#F5C36A;
  --sage:#7BA88A;
  --moss:#557A66;
  --charcoal:#1F2937;
  --slate:#3f4853;
  --slate-soft:#5a6573;
  --bg:#F9F8F3;
  --bg-2:#F1EFE5;
  --cream:#FAEEDA;
  --cream-deep:#F0E2C5;
  --border:#E5E7EB;
  --border-soft:#EFEEE7;
  --shadow-soft: 0 14px 40px rgba(15,110,86,0.10);
  --shadow-lift: 0 22px 60px rgba(10,80,64,0.14);

  --serif: "Cormorant Garamond","Iowan Old Style",Georgia,serif;
  --sans: "DM Sans","Helvetica Neue",system-ui,sans-serif;
  --mono: "JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; }
button{ font: inherit; cursor: pointer; }

/* ---------- Type ---------- */
.eyebrow{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before{ display: none; }

.display{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--teal-deep);
  margin: 0;
  text-wrap: balance;
}
.display em, h1 em, h2 em{
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
}
h1{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--teal-deep);
  margin: 0;
  text-wrap: balance;
}
h2.section-title{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin: 0 0 16px;
  text-wrap: balance;
}
h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--teal-deep);
  margin: 0 0 8px;
  text-wrap: balance;
}
p{ margin: 0 0 1em; color: var(--slate); text-wrap: pretty; }
.lead{
  font-size: clamp(17.5px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--slate);
  max-width: 56ch;
}
.kicker{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: var(--gold);
}

/* ---------- Layout ---------- */
.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section{ padding: clamp(72px, 9vw, 128px) 0; }
section.tight{ padding: clamp(48px, 6vw, 80px) 0; }
.section-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .lead{ margin: 0; }
@media (max-width: 900px){
  .section-head{ grid-template-columns: 1fr; gap: 16px; align-items: start; margin-bottom: 40px; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary{ background: var(--teal); color: #fff; }
.btn-primary:hover{ background: var(--teal-deep); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-ghost{ background: transparent; color: var(--teal-deep); border-color: rgba(15,110,86,0.25); }
.btn-ghost:hover{ border-color: var(--teal); transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: #2A1D05; }
.btn-gold:hover{ background: #d98e1c; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-on-dark{ background: transparent; color: #F9F8F3; border-color: rgba(249,248,243,0.35); }
.btn-on-dark:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-light{ background: #fff; color: var(--teal-deep); }
.btn-light:hover{ background: var(--cream); transform: translateY(-1px); }
.btn .arrow{ transition: transform 200ms ease; }
.btn:hover .arrow{ transform: translateX(4px); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(249,248,243,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-header.is-scrolled{
  border-color: var(--border);
  background: rgba(249,248,243,0.94);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-deep);
  flex: none;
}
.brand-logo{ display:block; height: 36px; width: auto; }
.footer-brand .brand-logo{ height: 40px; }
.nav{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a{
  text-decoration: none;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.nav a:hover{ color: var(--teal); }
.nav a.is-active{ color: var(--teal-deep); }
.nav a.is-active::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav a:focus-visible{ outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.header-cta{ display: flex; align-items: center; gap: 14px; }
.nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  color: var(--charcoal);
}
@media (max-width: 960px){
  .nav{ display: none; }
  .header-cta .btn-ghost{ display: none; }
  .nav-toggle{ display: inline-flex; }
}

/* mobile drawer */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7,55,44,0.55);
  backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  transition: opacity 240ms ease;
}
.drawer.is-open{ display: block; opacity: 1; }
.drawer-panel{
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg);
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
.drawer.is-open .drawer-panel{ transform: translateX(0); }
.drawer-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-close{
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  color: var(--charcoal);
}
.drawer-nav{ display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a{
  text-decoration: none;
  color: var(--teal-deep);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}
.drawer-nav a:hover{ color: var(--teal); }
.drawer-foot{ margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Hero ---------- */
.hero{
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
.hero-copy .eyebrow{ margin-bottom: 24px; }
.hero-copy .lead{ margin: 28px 0 36px; }
.hero-marks{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-marks .mark{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-marks .mark::after{
  content: "·";
  color: var(--gold);
  margin-left: 6px;
}
.hero-marks .mark:last-child::after{ display: none; }

.hero-visual{
  position: relative;
  min-height: 560px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  isolation: isolate;
  background: #F2EFE6;
}
.hero-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,55,44,0) 50%, rgba(7,55,44,0.45) 100%);
  pointer-events: none;
}
.hero-tag{
  position: absolute;
  top: 22px; left: 22px;
  background: rgba(249,248,243,0.94);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.hero-tag .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s infinite ease-in-out;
}
.hero-caption{
  position: absolute;
  left: 22px; bottom: 22px;
  color: #F9F8F3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0.92;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.4); opacity: 0.6; }
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero-visual{ min-height: 0; aspect-ratio: 3/2; height: auto; }
}

/* ---------- Inner page hero (image w/ overlay) ---------- */
.page-hero{
  position: relative;
  min-height: clamp(360px, 50vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  isolation: isolate;
  color: #F9F8F3;
  overflow: hidden;
}
.page-hero img.bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(239,159,39,0.18), transparent 60%),
    linear-gradient(135deg, rgba(7,55,44,0.85), rgba(15,110,86,0.65));
  z-index: -1;
}
.page-hero h1{ color: #F9F8F3; }
.page-hero .eyebrow{ color: var(--gold-soft); }
.page-hero .lead{ color: rgba(249,248,243,0.85); max-width: 60ch; margin-top: 20px; }
.page-hero .crumbs{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249,248,243,0.7);
  margin-bottom: 16px;
}
.page-hero .crumbs a{ color: inherit; text-decoration: none; }
.page-hero .crumbs a:hover{ color: var(--gold); }
.page-hero .crumbs span{ margin: 0 10px; opacity: 0.5; }

/* ---------- Trust strip ---------- */
.trust{
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  justify-content: space-between;
  align-items: center;
}
.trust-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-item svg{ color: var(--teal); flex: none; }

/* ---------- Stats band ---------- */
.stats-band{
  background: var(--teal-deep);
  color: #F9F8F3;
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 20%, rgba(239,159,39,0.16), transparent 55%),
    radial-gradient(50% 70% at 0% 100%, rgba(123,168,138,0.15), transparent 60%);
  pointer-events: none;
}
.stats-band .container{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-band .stat{
  border-left: 1px solid rgba(249,248,243,0.18);
  padding: 4px 0 4px 24px;
}
.stats-band .stat .num{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.stats-band .stat .lbl{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(249,248,243,0.82);
  max-width: 28ch;
}
@media (max-width: 760px){ .stats-band .container{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .stats-band .container{ grid-template-columns: 1fr; } }

/* ---------- Why moringa / cream band ---------- */
.cream-band{ background: var(--cream); }
.bg2-band{ background: var(--bg-2); }

.why-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.why-visual{
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.why-visual img{ width: 100%; height: 100%; object-fit: cover; }
.why-visual .badge-overlay{
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(249,248,243,0.94);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 80%;
}
.why-visual .badge-overlay .icon{
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(15,110,86,0.1);
  color: var(--teal);
  display: grid; place-items: center;
  flex: none;
}
.why-visual .badge-overlay .lbl{ font-size: 12px; color: var(--slate); line-height: 1.4; }
.why-visual .badge-overlay .lbl strong{ display: block; color: var(--teal-deep); font-size: 13.5px; font-weight: 600; }

.fact-list{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px 40px;
  margin-top: 32px;
}
.fact{
  border-top: 1px solid rgba(31,41,55,0.18);
  padding-top: 18px;
}
.fact .num{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.fact .num em{ font-style: italic; font-weight: 700; color: var(--gold); }
.fact .lbl{
  margin-top: 10px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
  max-width: 30ch;
}
@media (max-width: 900px){
  .why-grid{ grid-template-columns: 1fr; gap: 40px; }
  .fact-list{ gap: 20px 28px; }
}

/* ---------- Catalog (alternating rows) ---------- */
.catalog-list{ display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.clog-row{
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.clog-row.reverse .clog-media{ order: 2; }
@media (max-width: 820px){
  .clog-row, .clog-row.reverse{ grid-template-columns: 1fr; }
  .clog-row.reverse .clog-media{ order: 0; }
}
.clog-media{
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
}
.clog-media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.clog-media .corner-tag{
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(249,248,243,0.94);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 500;
}
.clog-row h3{
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  color: var(--teal-deep);
  margin: 8px 0 14px;
  text-wrap: balance;
}
.clog-row .also{
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
  font-weight: 500;
}
.clog-row p{ font-size: 16.5px; line-height: 1.7; color: var(--charcoal); }
.clog-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 22px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.clog-meta div{ display: flex; flex-direction: column; gap: 2px; }
.clog-meta .k{ color: var(--slate); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.clog-meta .v{ color: var(--teal-deep); font-weight: 600; font-size: 15px; }

/* ---------- Product grid (Products.html) ---------- */
.product-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
}
.filter-chip{
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: all 160ms ease;
}
.filter-chip:hover{ color: var(--teal-deep); border-color: var(--teal); }
.filter-chip.is-active{
  background: var(--teal-deep);
  color: #fff;
  border-color: var(--teal-deep);
}
.product-toolbar .count{
  margin-left: auto;
  font-size: 13px;
  color: var(--slate-soft);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
@media (max-width: 1000px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .product-grid{ grid-template-columns: 1fr; } }

.pcard{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.pcard:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15,110,86,0.3);
}
.pcard .img{
  aspect-ratio: 4/5;
  background: var(--cream, #f6f3ec);
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.pcard .img img{ width: 100%; height: 100%; object-fit: cover; }
.pcard .tag{
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(249,248,243,0.94);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.pcard .body{ padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard .body h3{ font-size: 21px; margin: 0 0 6px; color: var(--teal-deep); }
.pcard .body p{ font-size: 15.5px; line-height: 1.6; color: var(--slate); margin: 0 0 16px; }
.pcard .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--slate);
}
.pcard .row .price{ font-weight: 600; color: var(--teal-deep); font-size: 14px; }

/* ---------- Process steps ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  margin-top: 56px;
}
.step{
  padding-top: 28px;
  border-top: 1px solid var(--border);
  position: relative;
}
.step-num{
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 60px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.step h3{ font-size: 22px; margin-bottom: 8px; }
.step p{ font-size: 15.5px; margin: 0; line-height: 1.65; }
@media (max-width: 900px){ .steps{ grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 540px){ .steps{ grid-template-columns: 1fr; } }

/* ---------- Benefits / value props ---------- */
.props-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.prop{
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prop:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15,110,86,0.25);
}
.prop .ph{
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 8px;
}
.prop .ph img{ width: 100%; height: 100%; object-fit: cover; }
.prop-icon{
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(15,110,86,0.08);
  color: var(--teal);
  display: grid; place-items: center;
}
.prop h3{ margin: 0; font-size: 22px; }
.prop p{ margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 820px){ .props-grid{ grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Applications ---------- */
.app-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 900px){ .app-grid{ grid-template-columns: repeat(2,1fr); } }
.app-card{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.app-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.app-card .ph{ aspect-ratio: 4/3; overflow: hidden; }
.app-card .ph img{ width: 100%; height: 100%; object-fit: cover; }
.app-card .body{ padding: 18px 20px 22px; }
.app-card h4{ font-family: var(--serif); font-size: 19px; color: var(--teal-deep); margin: 0 0 6px; }
.app-card p{ font-size: 14.5px; color: var(--slate); line-height: 1.6; margin: 0; }

/* ---------- Promise / callout ---------- */
.promise-box{
  background: var(--cream);
  border: 1px solid rgba(239,159,39,0.4);
  border-radius: var(--radius-lg);
  padding: clamp(36px,5vw,56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.promise-box .seal{
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid rgba(239,159,39,0.4);
  flex: none;
}
.promise-box h3{ font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 12px; color: var(--teal-deep); }
.promise-box p{ margin: 0; color: var(--charcoal); font-size: 17px; line-height: 1.55; max-width: 60ch; }
@media (max-width: 600px){
  .promise-box{ grid-template-columns: 1fr; gap: 20px; }
  .promise-box .seal{ width: 72px; height: 72px; }
}

/* ---------- Cert badges ---------- */
.cert-badges{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
@media (max-width: 760px){ .cert-badges{ grid-template-columns: repeat(2,1fr); } }
.cert-badge{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.cert-badge:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.cert-badge .ring{
  width: 76px; height: 76px;
  border-radius: 999px;
  border: 2px dashed var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
  background: rgba(15,110,86,0.04);
}
.cert-badge .ring.pending{ border-color: var(--gold); color: var(--gold); background: rgba(239,159,39,0.04); }
.cert-badge .name{ font-size: 13.5px; font-weight: 600; color: var(--teal-deep); letter-spacing: 0.04em; }
.cert-badge .sub{ font-size: 10.5px; color: var(--slate); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- CTA band (dark) ---------- */
.cta-band{
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(239,159,39,0.18), transparent 60%),
    radial-gradient(70% 90% at 10% 90%, rgba(123,168,138,0.16), transparent 55%),
    linear-gradient(160deg, var(--teal-deep) 0%, #073A2E 100%);
  color: #F9F8F3;
  position: relative;
  overflow: hidden;
}
.cta-band::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'><g fill='none' stroke='%23F5C36A' stroke-width='0.8' opacity='0.08'><path d='M-50 320 Q200 200 400 220 T880 180'/><path d='M-50 280 Q200 160 400 180 T880 140'/><path d='M-50 360 Q200 240 400 260 T880 220'/></g><g fill='%23F5C36A' opacity='0.18'><circle cx='100' cy='300' r='2'/><circle cx='300' cy='210' r='2'/><circle cx='500' cy='210' r='2'/><circle cx='720' cy='170' r='2'/></g></svg>");
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}
.cta-band > .container{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.cta-band .eyebrow{ color: var(--gold); }
.cta-band h2{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: #F9F8F3;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.cta-band h2 em{ font-style: italic; font-weight: 700; color: var(--gold); }
.cta-band p{ color: rgba(249,248,243,0.78); margin: 0; max-width: 52ch; }
.cta-actions{ display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-actions .btn{ justify-content: space-between; }
@media (max-width: 900px){ .cta-band > .container{ grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Footer ---------- */
.site-footer{
  background: #06372C;
  color: rgba(249,248,243,0.78);
  padding: clamp(64px, 7vw, 96px) 0 32px;
  position: relative;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(249,248,243,0.12);
}
.footer-brand .brand{ color: #F9F8F3; }
.footer-slogan{
  margin: 16px 0 0;
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold, #D4A23C);
}
.footer-tag{
  margin: 18px 0 28px;
  color: rgba(249,248,243,0.72);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}
.footer-certs{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249,248,243,0.18);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249,248,243,0.85);
}
.chip.pending{ color: var(--gold-soft); border-color: rgba(239,159,39,0.4); }
.footer-col h4{
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a{
  color: rgba(249,248,243,0.78);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 160ms ease;
}
.footer-col a:hover{ color: var(--gold); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(249,248,243,0.6);
  letter-spacing: 0.02em;
}
.footer-bottom .ids{ display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-row.full{ grid-template-columns: 1fr; }
@media (max-width: 600px){ .form-row{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea{
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--charcoal);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15,110,86,0.12);
}
.field textarea{ min-height: 130px; resize: vertical; }
.field .err{ color: #b91c1c; font-size: 12.5px; min-height: 16px; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: #ef4444; background: #fef2f2; }
.checkbox-row{ display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.checkbox-row input{ margin-top: 3px; accent-color: var(--teal); }
.success-state{
  background: linear-gradient(140deg, rgba(15,110,86,0.08), rgba(239,159,39,0.08));
  border: 1px solid rgba(15,110,86,0.25);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.success-state .check{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 16px;
}

/* ---------- Team ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 760px){ .team-grid{ grid-template-columns: 1fr; } }
.team-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.team-card .avatar{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 40px;
  color: #fff;
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-deep) 60%, var(--moss) 100%);
  box-shadow: 0 8px 22px rgba(15,110,86,0.25);
  letter-spacing: -0.02em;
  flex: none;
  position: relative;
  overflow: hidden;
}
.team-card .avatar::after{
  content: "";
  position: absolute;
  bottom: -16px; right: -16px;
  width: 40px; height: 40px;
  background: var(--gold);
  opacity: 0.5;
  border-radius: 50%;
  filter: blur(4px);
}
.team-card .role{
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: 4px 0 14px;
}
.team-card h3{ font-size: 30px; margin: 0; }
.team-card p{ font-size: 16px; line-height: 1.65; color: var(--slate); margin: 0; }

/* ---------- Insights cards ---------- */
.insight-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
@media (max-width: 900px){ .insight-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .insight-grid{ grid-template-columns: 1fr; } }
.insight{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.insight:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.insight .img{ aspect-ratio: 4/3; overflow: hidden; }
.insight .img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.insight:hover .img img{ transform: scale(1.04); }
.insight .body{ padding: 22px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.insight .meta{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 12px;
}
.insight h3{ font-size: 22px; margin: 0 0 10px; line-height: 1.2; }
.insight p{ font-size: 15.5px; margin: 0 0 16px; color: var(--slate); line-height: 1.6; }
.insight .more{
  margin-top: auto;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Featured insight (hero) ---------- */
.insight-feature{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  align-items: stretch;
}
@media (max-width: 820px){ .insight-feature{ grid-template-columns: 1fr; } }
.insight-feature .img{ min-height: 320px; overflow: hidden; }
.insight-feature .img img{ width: 100%; height: 100%; object-fit: cover; }
.insight-feature .body{ padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.insight-feature h2{ font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--teal-deep); margin: 8px 0 4px; line-height: 1.1; text-wrap: balance; }
.insight-feature p{ font-size: 16.5px; line-height: 1.6; }

/* ---------- Shipping watermark sections ---------- */
.watermark{
  position: relative;
  isolation: isolate;
}
.watermark > .container{ position: relative; z-index: 1; }
.watermark::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'><g fill='none' stroke='%230F6E56' stroke-width='1' opacity='0.15'><path d='M0 350 Q300 200 600 280 T1200 200' stroke-dasharray='4 6'/><path d='M0 420 Q300 320 600 360 T1200 280' stroke-dasharray='4 6'/></g><g fill='%230F6E56' opacity='0.18'><circle cx='80' cy='320' r='3'/><circle cx='340' cy='240' r='3'/><circle cx='620' cy='280' r='3'/><circle cx='900' cy='240' r='3'/><circle cx='1140' cy='200' r='3'/></g></svg>");
  background-position: center;
  background-size: cover;
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}
.watermark.photo::before{
  background-image: var(--watermark-img), linear-gradient(rgba(249,248,243,0.92), rgba(249,248,243,0.92));
  background-blend-mode: lighten;
  opacity: 0.18;
  filter: grayscale(40%);
}

/* ---------- Misc ---------- */
.skip-link{
  position: absolute; left: -9999px;
  background: var(--teal-deep); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  z-index: 100;
}
.skip-link:focus{ left: 16px; top: 12px; }

.divider{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* simple key-value rows */
.spec-row{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row .k{ font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-weight:600; }
.spec-row .v{ font-size: 16px; color: var(--charcoal); font-weight: 500; }

/* market pills */
.markets-list{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.market-pill{
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--teal-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.market-pill .dot{ width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }

/* fade-up scroll reveal */
[data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
}
[data-reveal].is-revealed{
  opacity: 1;
  transform: translateY(0);
}

/* utility */
.center{ text-align: center; }
.muted{ color: var(--slate); }
.tabular{ font-variant-numeric: tabular-nums; }
.mono{ font-family: var(--mono); }
.small{ font-size: 13.5px; }

/* Tweaks panel adjustments */
body[data-density="compact"] section{ padding: clamp(48px, 6vw, 88px) 0; }
body[data-density="spacious"] section{ padding: clamp(96px, 12vw, 160px) 0; }
body[data-decoration="clean"] .why-visual .badge-overlay,
body[data-decoration="clean"] .hero-tag .dot{ display: none; }
body[data-decoration="clean"] .stats-band::before{ opacity: 0.3; }
body[data-decoration="clean"] .cta-band::after{ opacity: 0.15; }

/* page-hero variants tweakable via [data-hero-variant] on body */
body[data-hero-variant="split"] .hero-grid{ grid-template-columns: 1fr 1fr; }
body[data-hero-variant="full"] .hero{
  padding: 0;
  min-height: 80vh;
  display: grid;
  align-items: center;
  position: relative;
  color: #F9F8F3;
}
body[data-hero-variant="full"] .hero-grid{
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
  padding: 120px 0 96px;
}
body[data-hero-variant="full"] .hero-copy h1,
body[data-hero-variant="full"] .hero-copy h1 em{ color: #F9F8F3; }
body[data-hero-variant="full"] .hero-copy h1 em{ color: var(--gold-soft); }
body[data-hero-variant="full"] .hero-copy .lead{ color: rgba(249,248,243,0.85); }
body[data-hero-variant="full"] .hero-copy .eyebrow{ color: var(--gold-soft); }
body[data-hero-variant="full"] .hero-copy .mark{ color: rgba(249,248,243,0.7); }
body[data-hero-variant="full"] .hero-copy .hero-marks{ border-top-color: rgba(249,248,243,0.18); }
body[data-hero-variant="full"] .hero-visual{
  position: absolute;
  inset: 0;
  border-radius: 0;
  z-index: 0;
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
}
body[data-hero-variant="full"] .hero-visual::after{
  background: linear-gradient(135deg, rgba(7,55,44,0.85) 0%, rgba(7,55,44,0.35) 60%, rgba(7,55,44,0.7) 100%);
}
body[data-hero-variant="full"] .hero-tag, body[data-hero-variant="full"] .hero-caption{ display: none; }

/* accent palette swap */
body[data-accent="rust"]{ --gold: #C2693A; --gold-soft: #E59266; }
body[data-accent="indigo"]{ --gold: #5B6FBF; --gold-soft: #8294D6; }
body[data-accent="moss"]{ --gold: #6E8E5A; --gold-soft: #9CB585; }

/* tweaks toggle button */
.tweaks-fab{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  background: var(--teal-deep);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(7,55,44,0.35);
  transition: transform 200ms ease;
}
.tweaks-fab:hover{ transform: scale(1.05); }
