:root {
  color-scheme: light;
  --paper: #f4f1eb;
  --paper-deep: #e9e2d4;
  --ink: #0c0c0c;
  --muted: #6b6760;
  --line: rgba(12, 12, 12, 0.16);
  --amber: #c8651e;
  --amber-deep: #a5501a;
  --moss: #2e3d2c;
  --moss-deep: #1f2a1e;
  --clay: #8b4635;
  --sky: #d8e0df;
  --white: #fffaf1;
  --shadow: 0 24px 70px rgba(12, 12, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

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

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.utility-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 241, 235, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: max-content;
}

.brand-main,
.display,
.display-tight {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 18;
}

.brand-main {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
}

.brand-mark,
.eyebrow,
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.brand-mark,
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
}

.primary-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.nav-rule {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  position: relative;
}

.cart-count {
  position: absolute;
  right: 2px;
  top: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--paper);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-inner {
  padding: clamp(72px, 9vw, 132px) 0;
}

.hero {
  min-height: calc(100svh - 116px);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(52px, 7vw, 104px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--moss);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.02), rgba(12, 12, 12, 0.22));
}

.hero-kicker {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 28px;
}

.section-number {
  color: var(--amber);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

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

h1,
.page-title {
  font-size: clamp(58px, 8.8vw, 132px);
  line-height: 0.94;
  font-weight: 500;
}

h2 {
  font-size: clamp(40px, 5.5vw, 82px);
  line-height: 0.98;
  font-weight: 500;
}

h3 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.04;
  font-weight: 500;
}

.lede {
  max-width: 680px;
  color: #34302b;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  margin-top: 28px;
}

.body-copy {
  color: #4b4640;
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  padding: 0 19px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--amber);
  color: var(--amber);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.primary:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--paper);
}

.button.moss {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--paper);
}

.button.moss:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  background: var(--paper-deep);
  padding: clamp(24px, 4vw, 42px);
}

.stat strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.section-head {
  margin-bottom: clamp(36px, 6vw, 72px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-head p {
  max-width: 430px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  padding: 7px 10px;
}

.badge.moss {
  background: var(--moss);
}

.badge.amber {
  background: var(--amber);
}

.product-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  margin-top: 24px;
}

.product-index {
  font-family: Fraunces, Georgia, serif;
  color: rgba(12, 12, 12, 0.22);
  font-size: 30px;
}

.product-card .body-copy {
  margin-top: 18px;
  flex: 1;
}

.product-buy {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.price {
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.was {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-decoration: line-through;
  margin-top: 4px;
}

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

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

.band-moss .body-copy,
.band-moss .eyebrow,
.band-moss .section-number {
  color: rgba(244, 241, 235, 0.78);
}

.band-sky {
  background: var(--sky);
}

.feature-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--paper);
  padding: clamp(22px, 3vw, 34px);
}

.band-deep .feature,
.band-sky .feature {
  background: rgba(255, 250, 241, 0.45);
}

.feature h3 {
  margin-bottom: 12px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quote {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote p {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.16;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.text-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 820px);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.legal-nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content {
  display: grid;
  gap: 34px;
}

.legal-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 22px;
  margin: 20px 0 10px;
}

.legal-content p,
.legal-content li {
  color: #4b4640;
  line-height: 1.72;
}

.legal-content ul,
.legal-content ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 92px);
}

.contact-methods {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-method {
  background: var(--paper);
  padding: 28px;
}

.contact-method h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 14px 15px;
  border-radius: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  color: #4b4640;
  line-height: 1.6;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  padding: 46px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  color: rgba(244, 241, 235, 0.76);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 241, 235, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(244, 241, 235, 0.58);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(12, 12, 12, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 150;
  width: min(440px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-backdrop {
  display: none;
}

.drawer-head,
.drawer-foot {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
}

.cart-items {
  padding: 18px 22px;
  overflow: auto;
  display: grid;
  gap: 14px;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
}

.cookie-panel {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 160;
  width: min(520px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  display: none;
}

.cookie-panel.is-open {
  display: block;
}

.cookie-panel h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.cookie-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pref-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.pref-row input {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .utility-inner,
  .nav-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 780px);
  }

  .utility-inner span:first-child,
  .utility-inner span:last-child,
  .brand-mark,
  .primary-nav .nav-rule,
  .primary-nav .legal-link {
    display: none;
  }

  .primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 126px;
    z-index: 120;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

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

  .mobile-toggle {
    display: inline-grid;
  }

  .hero,
  .split,
  .text-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 58svh;
  }

  .hero-media {
    min-height: 380px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 20px;
  }

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

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

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    height: 72px;
  }

  .brand-main {
    font-size: 22px;
  }

  h1,
  .page-title {
    font-size: clamp(48px, 16vw, 76px);
  }

  .hero-actions,
  .button-row,
  .product-buy {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .cookie-panel {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
