:root {
  --ink: #07182d;
  --muted: #617086;
  --line: #d9d5cc;
  --paper: #f5f1e9;
  --soft: #fbf8f1;
  --navy: #0d223b;
  --sage: #49674e;
  --terra: #a8452f;
  --mustard: #d29219;
  --lilac: #9a86b3;
  --stone: #c9c3b6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 42px;
  background: rgba(245, 241, 233, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { font-weight: 900; letter-spacing: .34em; font-size: 23px; }
.nav, .actions { display: flex; gap: 34px; align-items: center; font-size: 13px; }
.actions { justify-content: flex-end; gap: 24px; }
.nav a, .actions a { transition: opacity .18s ease; }
.nav a:hover, .actions a:hover { opacity: .55; }

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 37%) 1fr;
  min-height: calc(100vh - 76px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 82px;
}
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 24px; font-size: clamp(50px, 6vw, 92px); line-height: .94; letter-spacing: 0; }
.hero p { max-width: 420px; color: #314155; font-size: 20px; line-height: 1.45; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 18px;
  padding: 18px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 3px;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); background: #102640; }
.btn.light { color: var(--ink); background: transparent; }
.hero-media, .visual-card { position: relative; overflow: hidden; }
.hero-media::after, .comparison::after {
  content: "";
  position: absolute;
  inset: 35% -6% auto -6%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg width='1200' height='120' viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.72)' stroke-width='1.6'%3E%3Cpath d='M0 55 C140 15 230 98 360 56 C500 12 600 100 740 57 C890 10 1010 100 1200 50'/%3E%3Cpath d='M0 70 C145 30 240 112 365 70 C505 28 595 112 745 72 C895 28 1015 112 1200 68'/%3E%3Cpath d='M0 42 C150 4 240 86 370 44 C510 1 600 84 750 45 C900 2 1020 84 1200 38'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}

.section { padding: 58px 42px; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section h2 { margin: 0; font-size: clamp(28px, 3vw, 52px); line-height: 1; letter-spacing: 0; }
.text-link { font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(7,24,45,.12);
  background: var(--soft);
}
.category-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: #fff;
  font-weight: 850;
  text-shadow: 0 1px 20px rgba(0,0,0,.35);
}
.category-card i { position: absolute; right: 22px; bottom: 20px; color: #fff; font-style: normal; }

.comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 390px;
  background: #201f1c;
}
.comparison-panel { position: relative; min-height: 390px; }
.metric-float {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: #fff;
  z-index: 2;
}
.metric-float strong { display: block; font-size: 32px; line-height: 1.1; }
.metric-float small { opacity: .75; }

.split { display: grid; grid-template-columns: .85fr 1.6fr .85fr; gap: 34px; align-items: stretch; }
.copy-panel {
  padding: 34px;
  background: rgba(255,255,255,.35);
  border: 1px solid var(--line);
}
.copy-panel p { color: var(--muted); line-height: 1.55; }
.shape-row, .swatch-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.shape, .swatch { width: 26px; height: 26px; border: 1px solid rgba(7,24,45,.22); background: #fff; }
.shape:nth-child(2) { border-radius: 50% 50% 0 0; }
.shape:nth-child(3) { border-radius: 50%; }
.shape:nth-child(4) { border-radius: 6px; }
.shape:nth-child(5) { background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(7,24,45,.35) 5px 7px); }
.visual-card { min-height: 360px; border: 1px solid var(--line); background: var(--soft); }

.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.space-card { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); }
.space-card span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-weight: 850; text-shadow: 0 1px 18px rgba(0,0,0,.5); }

.lower-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
.panel { min-height: 300px; padding: 36px; border: 1px solid var(--line); background: rgba(255,255,255,.34); }
.panel.with-image { padding: 0; overflow: hidden; }
.panel h3 { font-size: 28px; line-height: 1.05; }
.swatch { border-radius: 6px; }
.swatch:nth-child(1) { background: #12243b; }
.swatch:nth-child(2) { background: #49674e; }
.swatch:nth-child(3) { background: #a8452f; }
.swatch:nth-child(4) { background: #d29219; }
.swatch:nth-child(5) { background: #9a86b3; }
.swatch:nth-child(6) { background: #c9c3b6; }

.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.data-card { min-height: 180px; padding: 34px; border-right: 1px solid var(--line); background: rgba(255,255,255,.3); }
.data-card:last-child { border-right: 0; }
.data-card strong { display: block; margin: 14px 0 6px; font-size: 30px; }

.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.journal-card { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.28); min-height: 148px; }
.journal-card .thumb { overflow: hidden; }
.journal-card h3 { margin-bottom: 8px; font-size: 16px; }
.journal-card p { color: var(--muted); font-size: 12px; }

.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .8fr) 1.4fr;
  gap: 36px;
  padding: 62px 42px;
  color: #e9edf3;
  background: var(--navy);
}
.footer h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: .16em; }
.footer a, .footer p { display: block; color: rgba(233,237,243,.72); font-size: 13px; line-height: 1.9; }
.newsletter { display: flex; height: 42px; border: 1px solid rgba(255,255,255,.35); }
.newsletter input { flex: 1; min-width: 0; padding: 0 14px; color: #fff; background: transparent; border: 0; }
.newsletter button { width: 48px; border: 0; color: var(--navy); background: #f4efe6; }

.subpage-hero { padding: 108px 42px 58px; border-bottom: 1px solid var(--line); }
.subpage-hero h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(52px, 7vw, 112px); line-height: .92; }
.subpage-hero p { max-width: 560px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.product-card .image { height: 330px; }
.product-card .body { padding: 28px; }
.product-card h3 { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr; gap: 16px; padding: 18px 22px; }
  .nav, .actions { justify-content: flex-start; flex-wrap: wrap; gap: 16px; }
  .hero, .split, .lower-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 68px 28px; }
  .hero-media { min-height: 420px; }
  .category-grid, .space-grid, .product-list, .journal-grid, .data-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 40px 20px; }
  .brand { font-size: 18px; }
  .hero h1, .subpage-hero h1 { font-size: 48px; }
  .category-grid, .space-grid, .product-list, .journal-grid, .data-grid, .footer { grid-template-columns: 1fr; }
  .journal-card { grid-template-columns: 96px 1fr; }
}
