:root {
  --bg: #fff6ee;
  --bg-2: #ffe8d6;
  --paper: #fffdf9;
  --ink: #3b2a22;
  --muted: #6d5348;
  --accent: #c45c26;
  --accent-2: #e08a5a;
  --line: #efd5c4;
  --ok: #2f6b4f;
  --err: #a33b2b;
  --radius: 22px;
  --shadow: 0 16px 40px rgba(196, 92, 38, 0.12);
  --font: "Nunito", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffd9c4 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #ffe7c2 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

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

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 560;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.hero-card {
  background: linear-gradient(160deg, #fff 0%, #ffe9d8 100%);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(196, 92, 38, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 2px solid var(--line);
}

.section {
  padding: 2.6rem 0;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.2rem;
}

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

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

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

.muted {
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  background: #3b2a22;
  color: #f8e6d8;
  padding: 2.4rem 0;
}

.site-footer a {
  color: #ffd7bc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-open {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 0.9rem;
}

.field-error,
.form-status {
  font-size: 0.92rem;
  margin: -0.5rem 0 0.8rem;
}

.field-error {
  color: var(--err);
}

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

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

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

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

blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #fff1e4;
  border-radius: 16px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff6ee;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 260px;
  }
}
