:root {
  color-scheme: light;
  --ink: #151a18;
  --ink-soft: #39433f;
  --muted: #65736d;
  --paper: #fbfaf5;
  --paper-warm: #f2e8d8;
  --line: #dad9ce;
  --teal: #11605e;
  --teal-deep: #0b3c42;
  --coral: #d45745;
  --gold: #d49a2f;
  --violet: #6953a8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgb(23 31 30 / 18%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border-radius: 8px;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
  background: rgb(251 250 245 / 88%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav a {
  padding: 10px 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(690px, 76svh);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(9 20 19 / 90%) 0%, rgb(9 20 19 / 64%) 46%, rgb(9 20 19 / 18%) 100%),
    linear-gradient(0deg, rgb(11 60 66 / 50%) 0%, rgb(11 60 66 / 0%) 38%);
}

.hero-content {
  width: min(820px, calc(100vw - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: clamp(46px, 7vw, 86px) 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.12rem, 2.3vw, 1.5rem);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 28px rgb(212 87 69 / 25%);
}

.button.primary:hover {
  background: #c64635;
}

.button.quiet {
  border-color: rgb(255 255 255 / 34%);
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.button.quiet:hover {
  background: rgb(255 255 255 / 18%);
}

.band {
  background: var(--paper-warm);
}

.intro {
  display: grid;
  grid-template-columns: minmax(230px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(22px, 5vw, 80px);
  padding: clamp(28px, 5vw, 70px) clamp(18px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.intro-line {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.intro-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
  border-radius: 8px;
  background: rgb(255 255 255 / 42%);
  color: var(--teal-deep);
  font-weight: 850;
}

.intro p {
  margin: 0;
  max-width: 790px;
  color: var(--ink-soft);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.18;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 7vw, 96px);
}

.section-heading {
  max-width: 830px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 56px);
}

.product-card {
  min-height: 360px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 38px rgb(22 26 24 / 7%);
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gold) 18%, var(--paper));
  color: #69460c;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-card:nth-child(2) .card-kicker {
  background: color-mix(in srgb, var(--teal) 14%, var(--paper));
  color: var(--teal-deep);
}

.product-card:nth-child(3) .card-kicker {
  background: color-mix(in srgb, var(--coral) 14%, var(--paper));
  color: #803229;
}

.product-card:nth-child(4) .card-kicker {
  background: color-mix(in srgb, var(--violet) 14%, var(--paper));
  color: #3f316e;
}

.product-card h3 {
  margin: 34px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.product-card h3 a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.product-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.78fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.lab-panel {
  border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--line));
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #f7f4ec;
}

.tab {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  background: var(--teal-deep);
  color: var(--white);
}

.focus-content {
  min-height: 420px;
  padding: clamp(24px, 4vw, 38px);
}

.focus-label {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.focus-content h3 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.focus-content p:not(.focus-label) {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.62;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.principles {
  padding: clamp(54px, 7vw, 88px) clamp(18px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.principle-grid div {
  display: grid;
  gap: 10px;
  border-top: 2px solid var(--coral);
  padding-top: 18px;
}

.principle-grid div:nth-child(2) {
  border-color: var(--teal);
}

.principle-grid div:nth-child(3) {
  border-color: var(--gold);
}

.principle-grid strong {
  font-size: 1.25rem;
}

.principle-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.75fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 16px 52px rgb(22 26 24 / 9%);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffefa;
  color: var(--ink);
  padding: 12px;
  outline: 0;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 20%, transparent);
}

.contact-form .button {
  width: fit-content;
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 28px clamp(18px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgb(255 255 255 / 78%);
}

.site-footer span {
  color: var(--white);
  font-weight: 900;
}

.site-footer a:hover {
  color: var(--white);
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 66px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    margin-left: 18px;
  }

  .intro,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
  }

  .nav {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, auto);
    width: min(100%, 340px);
    justify-content: space-between;
    gap: 8px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 70svh;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .hero-content {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
    margin-right: 18px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab:last-child {
    border-bottom: 0;
  }

  .focus-content {
    min-height: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
