:root {
  --bg: #f6f4f0;
  --paper: #fffcf8;
  --ink: #161513;
  --muted: #6a655e;
  --line: #e4dfd6;
  --accent: #3e4a42;
  --accent-soft: #dfe6e0;
  --gold: #b08a5a;
  --danger: #8b3a2f;
  --ok: #2f5d45;
  --shadow: 0 18px 40px rgba(22, 21, 19, 0.06);
  --radius: 14px;
  --header-h: 76px;
  --max: 1120px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand svg {
  width: 28px;
  height: 28px;
}

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f6f4f0;
}

.btn-primary:hover {
  color: #fff;
  background: #2d3630;
}

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

.hero-editorial {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 650;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38ch;
}

.metric-rail {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.metric-rail dt {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-rail dd {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.hero-photo {
  margin: 12px 0 72px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  animation: rise 0.9s ease both;
}

.caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(246, 244, 240, 0.92);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.band {
  padding: 72px 0;
}

.band-alt {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
}

.quote-block {
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #eef2ef, var(--paper));
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
}

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

.list-plain li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

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

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

input, select, textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

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

.field-error,
.form-status,
.inline-error {
  color: var(--danger);
  font-size: 0.9rem;
}

.form-status.ok { color: var(--ok); }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  border-radius: 16px;
  padding: 18px 20px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.cookie-banner.open { display: flex; }

.cookie-banner p {
  margin: 0;
  max-width: 62ch;
  color: #e8e4dc;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner a { color: #f0d7b3; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #efeae3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.9rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

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

.module {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 64px 0 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.prose {
  max-width: 72ch;
}

.prose h2 { margin-top: 1.6em; }

@media (max-width: 900px) {
  .hero-editorial,
  .grid-3,
  .grid-2,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
  }

  .nav.open { display: flex; }

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