:root {
  color-scheme: light;
  --ink: #20201d;
  --muted: #615e57;
  --paper: #f7f2ea;
  --surface: #fffaf2;
  --line: #ded5c8;
  --charcoal: #30332e;
  --sage: #8fa186;
  --coral: #d76547;
  --gold: #c49b4c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 65% 30%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--charcoal), var(--coral));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

.hero {
  min-height: calc(100dvh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 80px);
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral) 60%, white);
  outline-offset: 3px;
}

.primary { background: var(--ink); color: white; }
.secondary { background: transparent; color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(48, 51, 46, .96), rgba(32, 32, 29, .86)),
    url('/salted-lab-texture.svg');
  background-size: cover;
  box-shadow: 0 28px 80px rgba(32, 32, 29, .18);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.lab-card {
  position: absolute;
  width: min(74%, 360px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 250, 242, .92);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.lab-card strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.lab-card p { margin-bottom: 0; color: var(--muted); }
.card-label { color: var(--coral); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.card-main { top: 70px; left: 48px; }
.card-product { right: 42px; bottom: 70px; }

.salt-grain {
  position: absolute;
  border-radius: 50%;
  background: var(--surface);
  opacity: .92;
}

.salt-grain.one { width: 76px; height: 76px; right: 18%; top: 22%; }
.salt-grain.two { width: 34px; height: 34px; left: 22%; bottom: 25%; background: var(--gold); }
.salt-grain.three { width: 18px; height: 18px; right: 12%; bottom: 35%; background: var(--sage); }

.section {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.strip {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

h2 {
  max-width: 720px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 36px);
}

.product-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.product-link { flex: 0 0 auto; background: var(--surface); }

.about {
  max-width: 1180px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a { text-decoration: none; font-weight: 700; }

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-visual { min-height: 440px; }
  .strip { grid-template-columns: 1fr; }
  .product-panel { align-items: flex-start; flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { width: 100%; justify-content: space-between; }
  h1 { font-size: 44px; }
  .hero-visual { min-height: 380px; }
  .hero-visual::before { inset: 18px; }
  .lab-card { width: calc(100% - 54px); padding: 18px; }
  .card-main { top: 34px; left: 26px; }
  .card-product { right: 26px; bottom: 34px; }
  .salt-grain.one { width: 52px; height: 52px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
