:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1b1f24;
  --muted: #5b6168;
  --line: #e4e1da;
  --accent: #a87824;
  --accent-soft: #f3ecdf;
  --hero-bg: #1b1f24;
  --hero-ink: #f5efe3;
  --hero-muted: #b9b4aa;
  --gold: #c9891a;
  --c-book: #a87824;  --c-book-soft: #f6eedd;
  --c-shot: #3654d9;  --c-shot-soft: #e7ebfb;
  --c-speak: #1f8a7a; --c-speak-soft: #e1f2ef;
  --c-med: #c8513c;   --c-med-soft: #f9e6e2;
  --shadow: 0 1px 2px rgba(27, 31, 36, 0.04), 0 8px 24px rgba(27, 31, 36, 0.06);
  --serif: "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --ink: #eceae5;
    --muted: #a3a7ad;
    --line: #2f3338;
    --accent: #d4a24c;
    --accent-soft: #2a251b;
    --hero-bg: #0f1113;
    --c-book: #d4a24c;  --c-book-soft: #2b2518;
    --c-shot: #8ea2ff;  --c-shot-soft: #1f2540;
    --c-speak: #5ec7b4; --c-speak-soft: #15302b;
    --c-med: #f08a74;   --c-med-soft: #3a211c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; display: block; }
.brand .name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand .name span { color: var(--gold); }

/* Header (sits on the dark hero) */
.site-header {
  background: var(--hero-bg);
  color: var(--hero-ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  border-bottom: 1px solid rgba(245, 239, 227, 0.1);
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 15px;
  color: var(--hero-muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--hero-ink); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 239, 227, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 137, 26, 0.22), transparent 65%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  margin: 0;
  max-width: 19ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead {
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 19px;
  color: var(--hero-muted);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: #1b1f24; }
.btn-primary:hover { background: #dba03a; }
.btn-ghost { border: 1px solid rgba(245, 239, 227, 0.25); color: var(--hero-ink); }
.btn-ghost:hover { border-color: rgba(245, 239, 227, 0.5); }

/* Hero visual: product tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  color: #1b1f24;
  box-shadow: -18px 22px 40px rgba(0, 0, 0, 0.35);
}
.tile:nth-child(1) { transform: rotate(-3deg); }
.tile:nth-child(2) { transform: rotate(2deg) translateY(18px); }
.tile:nth-child(3) { transform: rotate(1.5deg) translateY(-6px); }
.tile:nth-child(4) { transform: rotate(-2deg) translateY(12px); }
.tile strong { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.tile small { color: #5b6168; font-size: 13px; }

/* Icon chips */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.icon svg { width: 24px; height: 24px; }
.i-book { background: #f6eedd; color: #a87824; }
.i-shot { background: #e7ebfb; color: #3654d9; }
.i-speak { background: #e1f2ef; color: #1f8a7a; }
.i-med { background: #f9e6e2; color: #c8513c; }

/* Sections */
section { padding: 80px 0; }
.section-head { margin-bottom: 36px; }
.section-head .eyebrow { color: var(--accent); margin-bottom: 10px; }
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 38px);
}

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--stripe);
}
.product.book { --stripe: var(--c-book); }
.product.shot { --stripe: var(--c-shot); }
.product.speak { --stripe: var(--c-speak); }
.product.med { --stripe: var(--c-med); }
.product .top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product.book .icon { background: var(--c-book-soft); color: var(--c-book); }
.product.shot .icon { background: var(--c-shot-soft); color: var(--c-shot); }
.product.speak .icon { background: var(--c-speak-soft); color: var(--c-speak); }
.product.med .icon { background: var(--c-med-soft); color: var(--c-med); }
.product .kind {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.product h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
}
.product p.desc { margin: 0 0 24px; color: var(--muted); }
.product .link {
  margin-top: auto;
  font-weight: 600;
  color: var(--stripe);
  text-decoration: none;
}
.product .link:hover { text-decoration: underline; }
.badge {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-med-soft);
  color: var(--c-med);
  font-size: 14px;
  font-weight: 600;
}

/* Company details */
.company {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.company .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.company .intro { margin: 16px 0 0; color: var(--muted); max-width: 36ch; }
.details {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.details dt, .details dd {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.details dt { color: var(--muted); font-size: 15px; }
.details dd { font-weight: 500; }
.details a { text-decoration-color: var(--line); text-underline-offset: 3px; }

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer .brand .name { font-size: 15px; color: var(--ink); }
.site-footer a { color: var(--muted); }

/* Policy page */
.policy { padding: 64px 0 80px; }
.policy h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 44px);
}
.policy .updated { margin: 0 0 40px; color: var(--muted); font-size: 15px; }
.policy h2 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}
.policy p, .policy li { max-width: 68ch; }
.policy-header .wrap { border-bottom: 0; }

/* Tablet */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .tiles { max-width: 520px; }
  .company .wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand .name { font-size: 15px; }
  .brand img { width: 32px; height: 32px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 72px; }
  .hero p.lead { font-size: 17px; }
  .eyebrow { letter-spacing: 0.1em; }
  .tiles { gap: 12px; }
  .tile { padding: 16px; gap: 10px; border-radius: 14px; box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.35); }
  .tile:nth-child(odd) { transform: rotate(-1.5deg); }
  .tile:nth-child(even) { transform: rotate(1.5deg) translateY(8px); }
  .tile strong { font-size: 16px; }
  .tile .icon { width: 38px; height: 38px; }
  section { padding: 56px 0; }
  .products { grid-template-columns: 1fr; }
  .product { padding: 24px; }
  .details { grid-template-columns: 1fr; }
  .details dt { padding-bottom: 0; border-bottom: 0; }
  .details dd { padding-top: 4px; }
}

@media (max-width: 480px) {
  .site-nav { display: none; }
}

.nowrap { white-space: nowrap; }
