:root {
  --ink: #141a22;
  --muted: #5d6876;
  --blue: #1a56db;
  --blue-deep: #1346b0;
  --cap: #e31b23;
  --paper: #f3f5f8;
  --line: #e4e8ef;
  --dark: #090b0e;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 12px; }

h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); margin: 0 0 12px; }

h3 { margin: 0 0 8px; font-size: 1.15rem; }

p { margin: 0 0 12px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.narrow { width: min(720px, calc(100% - 40px)); }

.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 0.85;
}

.wordmark span { color: var(--blue); }

.eyebrow {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 0.98rem;
  margin: 0 0 8px;
}

.lede { font-size: 1.12rem; color: #3d4754; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 11, 14, 0.94);
  color: white;
  border-bottom: 3px solid var(--cap);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.brand .wordmark { font-size: 1.75rem; }

.nav-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
}

.site-nav { display: flex; gap: 26px; }

.site-nav a {
  color: #d5dbe3;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary { background: var(--blue); color: white; }

.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost { color: white; border-color: rgba(255, 255, 255, 0.45); }

.btn-ghost:hover { background: white; color: var(--ink); }

.btn-line { color: var(--blue); border-color: var(--blue); background: white; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }

.text-link:hover { text-decoration: underline; }

.hero {
  background:
    radial-gradient(ellipse at 74% 42%, rgba(26, 86, 219, 0.34), transparent 54%),
    var(--dark);
  color: white;
  padding: 28px 0 108px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
}

.hero-brand { font-size: clamp(4.4rem, 8vw, 6.4rem); margin: 0 0 10px; color: white; }

.hero h1 {
  max-width: 14em;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  margin-bottom: 14px;
}

.hero .lede { color: #d7dee7; max-width: 38em; }

.hero-meta { color: #9aa6b5; margin-bottom: 0; }

.hero-photo { margin: 0; isolation: isolate; }

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}

.spec-band { margin-top: -68px; position: relative; z-index: 2; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(9, 11, 14, 0.12);
  margin: 0;
  overflow: hidden;
}

.spec-strip div { padding: 20px 22px; }

.spec-strip div:not(:last-child) { box-shadow: inset -1px 0 0 var(--line); }

.spec-strip dt { margin: 0; color: var(--muted); font-size: 0.88rem; }

.spec-strip dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
}

.section { padding: 68px 0; }

.section-tint { background: white; }

.section-head { margin-bottom: 22px; }

.catalog-list { display: grid; gap: 16px; }

.product-card {
  --accent: var(--blue);
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  background: var(--dark);
  color: white;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
}

.product-card[data-accent="green"] { --accent: #1f9d57; }

.product-card[data-accent="red"] { --accent: #e31b23; }

.product-card:hover { outline: 2px solid var(--accent); }

.product-card-photo {
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%),
    #090b0e;
}

.product-card-photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 32px;
}

.product-card-title { font-size: 3.4rem; color: white; }

.product-card-grade {
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.product-card .eyebrow { color: var(--accent); }

.product-card-summary { color: #d5dbe3; max-width: 36em; margin-top: 8px; }

.product-card-meta { color: #9aa6b5; }

.product-card .text-link { color: #b9d0ff; margin-top: 10px; }

.protect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.protect-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.section-tint .protect-card,
.sheet .protect-card {
  background: var(--paper);
  border-color: transparent;
}

.protect-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--blue);
  margin-bottom: 14px;
}

.protect-icon svg { width: 26px; height: 26px; }

.protect-value {
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ingredient-list,
.standard-list,
.hazard-list,
.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ingredient-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.free-from {
  margin-top: 16px;
  font-weight: 700;
  color: var(--blue-deep);
}

.standard-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.standard-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.section-tint .standard-list li { background: var(--paper); }

.after-caution { margin: 16px 0 0; }

.about-band {
  background: var(--dark);
  color: white;
  padding: 64px 0;
}

.about-band p { color: #d5dbe3; max-width: 68ch; }

.since-inline {
  color: white;
  font-size: 1.25rem;
}

.since-inline strong {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 4px;
}

.sheet {
  background: white;
  padding: 32px 0 12px;
}

.sheet-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 40px;
  align-items: start;
}

.sheet.accent-green { --blue: #178a45; --blue-deep: #0f6a34; }

.sheet.accent-red { --blue: #d0121a; --blue-deep: #a10e14; }

.label-note { color: var(--muted); }

.sheet-gallery {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 92px;
  align-self: start;
}

.sheet-stage {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
}

.sheet-stage.is-blend,
.sheet-thumb.is-blend {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 36%, color-mix(in srgb, var(--blue) 42%, transparent), transparent 62%),
    #090b0e;
}

.sheet-stage.is-plain,
.sheet-thumb.is-plain { background: var(--paper); }

.sheet-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 520px);
  height: auto;
  margin-top: auto;
  object-fit: contain;
}

.sheet-stage.is-blend img,
.sheet-thumb.is-blend img { mix-blend-mode: lighten; }

.sheet-stage figcaption {
  align-self: stretch;
  margin: auto 0 0;
  padding: 8px 14px 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.sheet-stage.is-blend figcaption { color: #c5ccd6; }

.sheet-stage.is-plain figcaption { color: var(--muted); }

.sheet-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sheet-thumb {
  position: relative;
  height: 88px;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  appearance: none;
  font: inherit;
}

.sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sheet-thumb[aria-pressed="true"] { border-color: var(--blue); }

.sheet-thumb:hover { border-color: color-mix(in srgb, var(--blue) 55%, white); }

.jump a[aria-current="page"] {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.sheet-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin: 0 0 10px;
}

.sheet-title .wordmark { font-size: 1em; }

.sheet-kicker { color: var(--muted); margin-bottom: 14px; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 22px 0;
}

.facts div { border-top: 1px solid var(--line); padding-top: 8px; }

.facts dt { color: var(--muted); font-size: 0.86rem; }

.facts dd { margin: 3px 0 0; font-weight: 700; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; }

.jump a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.jump a:hover { border-color: var(--blue); color: var(--blue); }

.sheet-sections { padding: 12px 0 56px; }

.sheet-sections section { scroll-margin-top: 88px; }

.sheet-sections > section { padding-top: 12px; }

.sheet-sections .caution { margin-top: 36px; }

.info-grid,
.aim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-grid article,
.aim-grid article {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px;
}

.caution {
  background: #fff6f2;
  border: 1px solid #f3d4c6;
  border-left: 4px solid var(--cap);
  border-radius: 16px;
  padding: 20px 20px 8px;
  scroll-margin-top: 88px;
}

.caution-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.caution-head h2 { margin: 0; }

.caution-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cap);
  color: white;
  font-weight: 700;
}

.hazard-list li,
.precaution {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid #f0d8cc;
}

.code {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #b42318;
}

.origin-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 700;
}

.flag { width: 28px; height: 18px; border-radius: 2px; }

.barcode { color: var(--muted); font-weight: 600; }

.company {
  padding: 8px 0 72px;
  scroll-margin-top: 88px;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  background: white;
  border-radius: 22px;
  padding: 36px;
}

.since-mark { color: var(--muted); }

.since-mark span {
  display: block;
  font-family: var(--display);
  font-size: 4.6rem;
  line-height: 0.85;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.principle-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.principle-list li {
  background: var(--dark);
  color: white;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 650;
}

.company-copy p { font-size: 1.08rem; line-height: 1.7; }

.company-grid .aim-grid { grid-column: 1 / -1; margin-top: 4px; }

.aim-grid h3 {
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  color: var(--blue);
}

.site-footer {
  background: var(--dark);
  color: #c5ccd6;
  border-top: 3px solid var(--cap);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.site-footer .wordmark { color: white; font-size: 2rem; margin: 0 0 6px; }

.site-footer p { margin: 0; }

.footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; }

.footer-inner a { color: white; text-decoration: none; font-weight: 600; }

.missing { padding: 28px 0 64px; }

@media (max-width: 860px) {
  .hero-grid,
  .sheet-grid,
  .split,
  .company-grid,
  .product-card,
  .protect-grid,
  .info-grid,
  .aim-grid,
  .spec-strip {
    grid-template-columns: 1fr;
  }

  .spec-strip { grid-template-columns: 1fr 1fr; }

  .spec-strip div:nth-child(odd) { box-shadow: inset -1px 0 0 var(--line); }

  .spec-strip div:nth-child(1),
  .spec-strip div:nth-child(2) { box-shadow: inset 0 -1px 0 var(--line); }

  .spec-strip div:nth-child(odd):nth-child(-n+2) {
    box-shadow: inset -1px -1px 0 var(--line);
  }

  .sheet-gallery { position: static; }

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

  .nav-button { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: #090b0e;
    padding: 6px 4px 14px;
  }

  .site-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open { display: flex; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .hero { padding-bottom: 84px; }

  .hero-brand { font-size: 4.2rem; }

  .company-grid { padding: 22px; }

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

@media (max-width: 520px) {
  .wrap,
  .narrow { width: min(var(--wrap), calc(100% - 28px)); }

  .hazard-list li,
  .precaution { grid-template-columns: 64px 1fr; }

  .hero-actions .btn { width: 100%; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .jump,
  .nav-button,
  .about-band { display: none !important; }

  .sheet-gallery { position: static; }

  body, .sheet, .company { background: white; }
}
