:root {
  --green: #00342e;
  --green-2: #0a5a4e;
  --cream: #faf5ea;
  --white: #ffffff;
  --ink: #16332c;
  --muted: rgba(22,51,44,.64);
  --line: rgba(0,52,46,.16);
  --red: #8d1114;
  --gold: #eaa318;
  --plum: #74145f;
  --aqua: #54d1c9;
  --serif: Fraunces, Georgia, serif;
  --sans: Satoshi, Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--white); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  letter-spacing: -0.015em;
}
body.age-locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 52, 46, .84);
  backdrop-filter: blur(16px);
}
.age-gate.hidden { display: none; }
.age-card {
  width: min(500px, 100%);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 48px);
  color: var(--green);
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 110px rgba(0,0,0,.32);
}
.age-card h2 { margin: 0 0 12px; font-size: clamp(42px, 7vw, 72px); }
.age-card p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.5; }
.age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(0, 52, 46, .08);
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.16));
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  box-shadow: 0 10px 36px rgba(0, 52, 46, .045);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}
.wordmark img {
  display: block;
  width: 92px;
  height: auto;
}
.nav .wordmark img { width: 88px; }
.footer .wordmark img { width: 104px; }
.nav nav { display: flex; gap: 30px; }
.nav a:not(.wordmark), .nav-cta {
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-cta { justify-self: end; }

main { overflow: hidden; }
.section { padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 64px); }
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(74px + clamp(42px, 7vw, 84px)) clamp(18px, 4vw, 64px) calc(clamp(42px, 7vw, 84px) + 140px);
}
.hero-copy { max-width: 690px; }
.image-hero {
  position: relative;
  min-height: 108svh;
  isolation: isolate;
  overflow: hidden;
  background-color: #fbf0dc;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.56) 0%, rgba(255,255,255,.34) 31%, rgba(255,255,255,.06) 58%, rgba(255,255,255,0) 100%),
    url("./assets/iti_hero_extended_cream.webp");
  background-size: cover, cover;
  background-repeat: no-repeat;
  background-position: center, center;
}
.image-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: transparent;
}
.hero-overlay-copy {
  position: relative;
  z-index: 1;
  transform: translateY(28px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  color: var(--green);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 11.5ch;
  margin-bottom: 24px;
  font-size: clamp(50px, 7.2vw, 104px);
  line-height: .96;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: .96;
}
h3 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.lead, .section-heading p, .professional-strip > p, .product-hero p, .quote-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}
.lead { max-width: 570px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0 22px;
  color: white;
  background: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--green-2); }
.button:disabled { cursor: wait; opacity: .62; transform: none; }
.button-ghost { color: var(--green); background: transparent; }
.button-ghost:hover { color: white; background: var(--green); }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.range-simple {
  margin-top: -140px;
  padding-top: calc(clamp(58px, 8vw, 104px) + 140px);
  background: linear-gradient(180deg, rgba(251,240,220,0) 0%, rgba(251,240,220,.82) 34px, #fbf0dc 82px, #fff 260px, #fff 100%);
}
.section-heading.centered { margin-inline: auto; text-align: center; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(0,52,46,.11); }
.product-card img { width: 100%; height: 330px; object-fit: cover; display: block; background: #fff; }
.product-card > div {
  padding: 16px 18px 18px;
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 6px;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.34;
}
.product-card h3 { margin: 0; }
.product-card span {
  margin-top: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.professional-strip {
  display: grid;
  grid-template-columns: .8fr 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fbfaf7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 40px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--green);
  color: white;
}
.footer .wordmark { color: white; }
.footer-copy { display: grid; gap: 10px; justify-items: end; }
.footer p { max-width: 620px; margin: 0; color: rgba(255,255,255,.74); line-height: 1.45; text-align: right; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.82); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.footer-links a:hover { color: white; }

/* Product pages */
.product-hero {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
  padding: calc(74px + clamp(48px, 7vw, 92px)) clamp(18px, 4vw, 64px) clamp(48px, 7vw, 92px);
}
.product-hero figure { margin: 0; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); }
.product-hero img { width: 100%; height: min(72vh, 720px); object-fit: cover; display: block; }
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.product-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-detail-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 64px) clamp(58px, 8vw, 104px);
}
.product-detail-section article {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: #fff;
}
.product-detail-section p { color: var(--muted); line-height: 1.5; }

/* Legal/privacy pages */
.legal-page {
  padding: calc(74px + clamp(48px, 7vw, 92px)) clamp(18px, 4vw, 64px) clamp(58px, 8vw, 104px);
  max-width: 1040px;
}
.legal-content {
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.legal-content h2 {
  margin: 26px 0 0;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.legal-content a { color: var(--green); font-weight: 800; }

/* Quote page */
.quote-page {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding: calc(74px + clamp(48px, 7vw, 92px)) clamp(18px, 4vw, 64px) clamp(48px, 7vw, 92px);
}
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(18px, 3vw, 34px);
  background: #fbfaf7;
}
.quote-form label { display: grid; gap: 8px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--ink);
  background: white;
  font: inherit;
}
.quote-form textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.form-status { margin: 0; color: var(--green); font-weight: 800; }

@media (max-height: 780px) and (min-width: 721px) {
  .hero {
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 150px;
  }
  .image-hero {
    min-height: 100svh;
    background-size: cover, cover;
    background-position: center, center;
  }
  h1 {
    max-width: 11.5ch;
    font-size: clamp(50px, 7.2vw, 104px);
    line-height: .96;
  }
}

@media (max-height: 660px) and (min-width: 721px) {
  .hero {
    min-height: 100svh;
    padding-top: 86px;
    padding-bottom: 145px;
  }
  .image-hero {
    min-height: 100svh;
    background-size: cover, cover;
    background-position: center, center;
  }
  h1 {
    max-width: 11.5ch;
    font-size: clamp(46px, 6.4vw, 92px);
    line-height: .96;
    margin-bottom: 18px;
  }
  .eyebrow { margin-bottom: 12px; }
  .lead { max-width: 540px; font-size: 18px; }
  .actions { margin-top: 20px; }
  .button { min-height: 44px; padding-inline: 18px; }
}

@media (max-width: 1050px) {
  .product-hero, .quote-page, .professional-strip { grid-template-columns: 1fr; }
  .product-grid, .product-detail-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr 1fr; background: linear-gradient(180deg, rgba(255,255,255,.50), rgba(255,255,255,.20)); }
  .nav nav { display: none; }
  .hero { padding-top: calc(74px + 38px); padding-bottom: 160px; }
  .hero-overlay-copy { transform: translateY(14px); }
  .image-hero {
    min-height: max(760px, 94svh);
    align-items: end;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.52) 40%, rgba(255,255,255,.08) 82%, #fff 100%),
      url("./assets/iti_hero_extended_cream.webp");
    background-size: cover;
    background-position: 58% center;
  }
  .product-grid, .product-detail-section, .quote-form, .footer { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .product-card img { height: 300px; }
  .product-card > div { min-height: auto; padding: 15px 16px 17px; }
  .footer { display: grid; }
  .footer-copy { justify-items: start; }
  .footer p { text-align: left; }
  h1 { font-size: clamp(46px, 14vw, 82px); }
}
