:root {
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --ink: #1b221c;
  --muted: #5c665d;
  --line: #d9d0c2;
  --forest: #2b5344;
  --forest-deep: #1a332a;
  --gold: #a98448;
  --gold-soft: #c9b07a;
  --white: #fffdf8;
  --pass: #2b5344;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sans {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* header */
.announce {
  background: var(--forest-deep);
  color: var(--cream);
  text-align: center;
  font-size: 12px;
  padding: 10px 16px;
}
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.brand span { font-size: 10px; color: var(--gold); }
nav.main { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
nav.main a:hover, nav.main a.active { color: var(--ink); }
.cart-btn {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-size: 12px;
  background: transparent;
  cursor: pointer;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 64px 0 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero p.lead { margin-top: 20px; max-width: 420px; color: var(--muted); font-size: 17px; }
.cta {
  display: inline-block;
  margin-top: 28px;
  background: var(--forest);
  color: var(--white);
  padding: 13px 22px;
  font-size: 12px;
  border: 0;
  cursor: pointer;
}
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 160px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tile.wide { grid-column: 1 / -1; min-height: 120px; background: var(--forest); color: var(--cream); }
.tile em { font-style: normal; font-size: 11px; color: var(--gold); }
.tile.wide em { color: var(--gold-soft); }
.tile strong { font-size: 22px; font-weight: 500; }

/* sections */
section { padding: 56px 0; }
h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.sub { color: var(--muted); margin-top: 8px; max-width: 520px; }
.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.job { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.job small { color: var(--gold); font-size: 11px; }
.job h3 { margin: 10px 0 8px; font-size: 22px; font-weight: 500; }
.job p { color: var(--muted); font-size: 15px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
}
.swatch {
  height: 240px;
  background: linear-gradient(160deg, #e8dfd0, #c9bba6);
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--forest-deep);
  overflow: hidden;
}
.swatch:has(img) { background: #fff; }
.swatch img, .p-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}
.label-shot { max-width: 420px; margin: 20px 0; border: 1px solid var(--line); background: #fff; }
.label-shot img { width: 100%; height: auto; display: block; }
.swatch.r { background: #fff; }
.swatch.e { background: #fff; }
.swatch.s { background: linear-gradient(160deg, #1a332a, #2b5344); color: var(--cream); }
.swatch:has(img) { background: #fff; }
.card h3 { font-size: 20px; font-weight: 500; }
.meta { color: var(--muted); font-size: 13px; margin: 4px 0 12px; }
.row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-size: 20px; }
.add {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding: 8px 12px;
  font-size: 10px;
  cursor: pointer;
}

/* product page */
.p-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 48px 0;
}
.p-visual {
  min-height: 420px;
  background: linear-gradient(165deg, #e9e1d4, #cfc3ad);
  display: grid;
  place-items: center;
  font-size: 42px;
  color: var(--forest-deep);
  border: 1px solid var(--line);
}
.bullets { list-style: none; margin: 18px 0; }
.bullets li { padding: 6px 0 6px 16px; position: relative; color: var(--muted); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.pair { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.fact { border-top: 1px solid var(--line); padding-top: 12px; }
.fact h4 { font-size: 16px; font-weight: 500; }
.fact p { color: var(--muted); font-size: 14px; margin-top: 4px; }

table.tests { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
table.tests th, table.tests td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.pass { color: var(--pass); font-weight: 600; font-size: 12px; }

.contains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.contains article { background: var(--paper); border: 1px solid var(--line); padding: 18px; }
.contains h4 { font-size: 15px; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 13px;
}
.foot { display: flex; justify-content: space-between; gap: 24px; }
.disc { margin-top: 20px; max-width: 720px; font-size: 12px; }
.legal { max-width: 720px; margin: 16px 0 56px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* cart drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 100%);
  background: var(--white); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease;
  z-index: 40; padding: 24px; overflow: auto;
}
.drawer.open { transform: none; }
.backdrop { position: fixed; inset: 0; background: rgba(27,34,28,.35); display: none; z-index: 30; }
.backdrop.show { display: block; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.page-title { padding: 40px 0 8px; font-size: 40px; font-weight: 500; }

@media (max-width: 860px) {
  .hero, .p-hero, .jobs, .grid, .contains, .facts, .foot { grid-template-columns: 1fr; display: grid; }
  nav.main { display: none; }
  .hero-tiles { grid-template-columns: 1fr; }
}
