:root {
  --paper: #f5f7f8;
  --paper-2: #e7eef2;
  --card: #ffffff;
  --ink: #0B2D50;
  --ink-soft: #4B5563;
  --muted: #4B5563;
  --line: #E5E7EB;
  --orange: #0C9444;
  --orange-deep: #0A7A38;
  --night: #0B2D50;
  --night-2: #f0f4f7;
  --paper-text: #f7f9fb;
  --display: Outfit, "Segoe UI", sans-serif;
  --sans: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-left: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

::selection {
  background: var(--orange);
  color: white;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

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

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

.skip:focus { top: 8px; }

.spine {
  display: none;
}

.spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 0;
  padding: 14px 16px 0;
  margin-bottom: -110px;
}

.utility {
  display: none;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px 32px;
  background: var(--night-2);
  color: var(--muted);
  font-size: 0.86rem;
}

.utility a { color: var(--ink); }

.header-inner,
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  position: relative;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(16, 24, 18, 0.12);
  padding: 6px 8px 6px 22px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  height: 58px;
  width: auto;
}

.logo-role {
  margin-left: 29%;
  color: #4B5563;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: #0C9444;
  font-weight: 700;
}

.nav a.nav-quote {
  background: var(--orange);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  margin-left: 6px;
}

.nav a.nav-quote:hover { background: var(--orange-deep); }

.header-end {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lang a {
  text-decoration: none;
  color: #4B5563;
  padding: 6px 5px;
}

.lang a[aria-current="true"] {
  color: #0B2D50;
}

.nav-toggle {
  display: none;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  width: 42px;
  min-height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0B2D50;
  border-radius: 1px;
}

.hero,
.page-hero {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero {
  background:
    linear-gradient(90deg, rgba(11, 45, 80, 0.9) 0%, rgba(11, 45, 80, 0.62) 40%, rgba(11, 45, 80, 0.16) 70%, rgba(11, 45, 80, 0.08) 100%),
    #0B2D50 url("../assets/hero-wrapped-pallet.jpg") right center / auto 100% no-repeat;
  color: #ffffff;
  border-bottom: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 174px 0 72px;
}

.page-hero {
  background: #0B2D50;
  color: #ffffff;
  border-bottom: 0;
  padding: 174px 0 64px;
}

.page-hero .eyebrow { color: rgba(255, 255, 255, 0.72); }

.page-hero h1 { color: #ffffff; }

.page-hero .lede { color: rgba(255, 255, 255, 0.82); }

.page-hero-with-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}

.iso-mark {
  width: 148px;
  height: auto;
  flex: none;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
}

.page-hero-photo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  pointer-events: none;
}

.page-hero-photo + div { padding-right: 360px; }

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

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  display: none;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 9em;
}

.hero .lede { color: rgba(255, 255, 255, 0.82); }

.hero .lede + .lede { font-size: 1.02rem; margin-top: 12px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-chips a {
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
}

.hero-chips a:hover { background: rgba(255, 255, 255, 0.22); }

.hero-grid > *,
.split > *,
.contact-grid > *,
.detail-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.05rem;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.92;
  margin: 0;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  text-transform: none;
  max-width: 16em;
  line-height: 1.15;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 18em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-transform: none;
  margin-bottom: 18px;
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  text-transform: none;
  margin-bottom: 8px;
  line-height: 1.3;
}

.lede {
  max-width: 40rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 22px 0 0;
}

.section-intro {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

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

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

.btn-primary { background: var(--orange); color: #ffffff; }
.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.hero .btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
}

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

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-line:hover { background: var(--ink); color: var(--paper-text); }

.btn-large { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 18px 8px;
}

.hero-art { display: none; }

.facts {
  display: grid;
  gap: 10px;
  margin: 8px 0 12px;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  min-width: 0;
}

.facts dt { color: var(--muted); }

.facts dd {
  margin: 0;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

.band { padding: 72px 0; }

.band-night {
  background: #e8f0f6;
  color: var(--ink);
}

.grade-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.grade-list a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 16px;
  text-decoration: none;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  border-left: 8px solid #0B2D50;
}

.grade-list li:nth-child(2) a { border-left-color: #0C9444; }

.grade-list li:nth-child(3) a { border-left-color: #B8922A; }

.grade-list li:nth-child(4) a { border-left-color: #C46B45; }

.band-night .grade-list a {
  background: #ffffff;
}

.grade-list a:hover { background: var(--paper); }

.grade-list span {
  font-family: var(--display);
  color: var(--orange);
  font-size: 2rem;
}

.grade-list strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: none;
  line-height: 1.2;
}

.grade-list em {
  font-style: normal;
  color: var(--muted);
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.point-list, .plain-list, .steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-list li, .plain-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.band-night .point-list li { border-top-color: #c5d5e2; }

.point-list strong, .steps strong { display: block; }

.steps { counter-reset: step; display: grid; gap: 16px; }

.steps li {
  position: relative;
  padding: 4px 0 4px 64px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-form { display: grid; gap: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label { display: grid; gap: 6px; font-size: 0.92rem; }

input, textarea {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  padding: 12px 14px;
  width: 100%;
}

textarea { min-height: 140px; resize: vertical; }

.fine { color: var(--muted); font-size: 0.92rem; margin: 8px 0 0; }

.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.scroll-hint { display: none; }

.compare, .spec {
  width: 100%;
  border-collapse: collapse;
}

.compare { min-width: 820px; }

.compare th, .compare td, .spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.compare thead th, .spec thead th {
  background: var(--night);
  color: var(--paper-text);
  font-family: var(--display);
  font-size: 1.05rem;
}

.compare td:first-child, .spec td:first-child { font-weight: 600; }

.compare th:first-child, .compare td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f7fafc;
  min-width: 150px;
}

.compare thead th:first-child {
  background: var(--night);
  z-index: 2;
}

.compare td .btn {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.92rem;
  white-space: normal;
  text-align: center;
}

.download-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 16px;
  border-top: 3px solid var(--orange);
}

.detail-grid.cols-3 .detail {
  border-top: 1px solid var(--line);
  border-left: 8px solid #0B2D50;
}

.detail-grid.cols-3 .detail:nth-child(2) { border-left-color: #0C9444; }

.detail-grid.cols-3 .detail:nth-child(3) { border-left-color: #B8922A; }

.detail p { margin: 0; color: var(--ink-soft); }

.sheet {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.sheet li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

.sheet li span { color: var(--muted); }

.pdf-downloads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.pdf-downloads .btn { width: 100%; }

.site-footer {
  background: var(--night);
  color: var(--paper-text);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  white-space: nowrap;
}

.site-footer a { color: var(--paper-text); }

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer p { margin: 0 0 6px; color: #c9c3b8; }

.footer-base {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  color: #b7b1a6;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .detail-grid, .detail-grid.cols-3, .grade-list, .footer-grid, .pdf-downloads {
    grid-template-columns: 1fr;
  }

  .grade-list a { min-height: 0; gap: 8px; }

  h1, .page-hero h1 {
    max-width: 100%;
    font-size: 2.7rem;
  }
}

@media (max-width: 800px) {
  body { padding-left: 0; }

  .spine { display: none; }

  .utility { display: none; }

  .top { margin-bottom: -120px; padding: 8px; }

  .hero {
    min-height: 0;
    padding: 180px 0 48px;
    background:
      linear-gradient(180deg, rgba(11, 45, 80, 0.86) 0%, rgba(11, 45, 80, 0.62) 48%, rgba(11, 45, 80, 0.4) 100%),
      #0B2D50 url("../assets/hero-wrapped-pallet.jpg") center right / contain no-repeat;
  }

  .page-hero { padding: 180px 0 40px; }

  .header-inner, .container { width: min(1180px, calc(100% - 32px)); }

  .nav-toggle { display: inline-flex; }

  .logo img { height: 46px; }

  .logo-role { font-size: 0.58rem; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 8px 12px 16px;
    border-top: 1px solid var(--line);
  }

  body.nav-open .nav { display: flex; }

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

  .actions { flex-direction: column; align-items: stretch; }

  .scroll-hint { display: block; }

  .hero, .page-hero { padding-top: 180px; }

  .iso-mark { width: 104px; }

  .page-hero-photo { width: 160px; max-height: 150px; }

  .page-hero-photo + div { padding-right: 176px; }

  .band { padding: 48px 0; }
}

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

@media print {
  body { padding-left: 0; background: white; }
  .spine, .nav-toggle, .utility, .contact-form, .btn { display: none; }
  .top { position: static; }
  .hero, .page-hero, .band-night, .site-footer, .grade-list a {
    background: white;
    color: black;
  }
}
