:root {
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --card: #fffdf9;
  --ink: #2b2420;
  --ink-soft: #6b5f57;
  --line: #e2d7c9;
  --accent: #b9573a;
  --accent-ink: #fffaf5;
  --sage: #6f7f5f;
  --shadow: 0 10px 30px rgba(60, 40, 25, 0.12);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1815;
    --paper-2: #24201c;
    --card: #2a2521;
    --ink: #f1e9df;
    --ink-soft: #b9ab9d;
    --line: #3a332d;
    --accent: #e07a55;
    --accent-ink: #1c1815;
    --sage: #a3b38f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; letter-spacing: 0.2px; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.nav .btn { padding: 9px 18px; color: var(--accent-ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--sage); font-weight: 700; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; margin: 12px 0 18px; letter-spacing: -0.5px; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.collage { position: relative; height: 460px; }
.collage img {
  position: absolute; width: 58%; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 6px solid var(--card);
}
.collage img:nth-child(1) { left: 0; top: 30px; transform: rotate(-4deg); }
.collage img:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); }
.collage img:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 2; }

/* Facts strip */
.facts { border-block: 1px solid var(--line); background: var(--paper-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.5rem; }
.fact span { color: var(--ink-soft); font-size: 0.92rem; }

/* Sections */
section.block { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 6px 0 0; }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 46ch; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .meta { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .meta strong { font-size: 0.98rem; }
.card .meta span { color: var(--accent); font-size: 0.88rem; white-space: nowrap; }
.more { text-align: center; margin-top: 32px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--accent); font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.step h3 { font-family: var(--serif); font-size: 1.3rem; margin: 16px 0 8px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Offer */
.offer {
  border-radius: 28px; padding: 48px; text-align: center;
  background: linear-gradient(135deg, var(--accent), #8f3f27);
  color: #fffaf5;
}
.offer h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 10px; }
.offer p { margin: 0 auto 24px; max-width: 52ch; opacity: 0.92; }
.offer .btn { background: #fffaf5; color: #8f3f27; }
.license { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); text-align: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: 0.92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

/* Policy page */
.policy { max-width: 760px; padding: 56px 0 72px; }
.policy h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 4px; }
.policy h2 { font-family: var(--serif); font-size: 1.3rem; margin-top: 2rem; }
.policy .muted { color: var(--ink-soft); }
.policy a { color: var(--accent); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .collage { height: 380px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .collage { height: 300px; }
  .grid { gap: 12px; }
  .card .meta { flex-direction: column; align-items: flex-start; }
  .offer { padding: 32px 20px; }
}
