@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --bg: #f3ecdc;
  --surface: #fbf6ea;
  --elev: #fffdf7;
  --ink: #17241e;
  --muted: #5a605a;
  --copper: #9a5a32;
  --copper-deep: #7a4324;
  --gold: #c4a574;
  --line: #d9cfb6;
  --ok: #2f6b4f;
  --err: #9b3a32;
  --warn: #a57a2c;
  --radius: 3px;
  --shadow: 0 18px 40px rgba(23, 36, 30, 0.07);
  --ease: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --read: 68ch;
  --btn-h: 2.9rem;
  --input-h: 2.9rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Figtree, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 0.7rem;
}
h1, h2, h3, .brand-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.lede { font-size: 1.18rem; max-width: var(--read); color: var(--ink); }

.topbar { height: 4px; background: var(--copper); }
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.4rem; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: inherit; text-decoration: none;
}
.mark {
  width: 36px; height: 36px; color: var(--copper);
}
.brand-name { font-size: 1.15rem; display: block; color: var(--ink); }
.brand-meta { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: Figtree, sans-serif; }
.nav-menu {
  display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 0.2rem 0; border-bottom: 2px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { border-bottom-color: var(--copper); color: var(--copper-deep); }
.menu-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  cursor: pointer; padding: 10px;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 1.25rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: transform var(--ease), background var(--ease), color var(--ease);
  cursor: pointer; font-family: inherit; font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: var(--elev); }
.btn-solid:hover { background: var(--copper-deep); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { border-color: var(--copper); color: var(--copper-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.hero {
  padding: 4.2rem 0 3rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.frame-photo {
  position: relative;
}
.frame-photo img {
  width: 100%; height: 420px; object-fit: cover;
  box-shadow: var(--shadow);
}
.frame-photo::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold); z-index: -1;
}

.section { padding: 3.4rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.grid-4, .grid-3, .grid-2 {
  display: grid; gap: 1.2rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--elev); border: 1px solid var(--line); border-left: 3px solid var(--copper);
  padding: 1.3rem 1.25rem; box-shadow: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin-bottom: 0; }
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.num {
  font-family: Fraunces, serif; color: var(--copper); font-size: 1.4rem;
}
.band {
  background: var(--ink); color: var(--elev); padding: 3.2rem 0;
}
.band h2, .band p { color: var(--elev); }
.band p { color: #d8d3c6; max-width: 42rem; }
.band .btn-solid { background: var(--copper); }

.page-hero { padding: 3rem 0 2rem; }
.prose { max-width: var(--read); }
.prose h2 { margin-top: 2rem; }
.photo-wide { width: 100%; height: 280px; object-fit: cover; margin: 1.5rem 0 2rem; }

.site-foot {
  background: #121a16; color: #d9d3c6; padding: 2.8rem 0 1.4rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-foot h3 { color: #fff; font-size: 1.05rem; }
.site-foot a { color: #d9d3c6; text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0.35rem 0; }
.legal-line { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #2a352f; font-size: 0.85rem; color: #9aa197; }

.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  background: var(--elev); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem; display: none; max-width: 640px;
}
.cookie.show { display: block; }
.cookie-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.cookie button {
  min-height: 2.4rem; padding: 0 0.9rem; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; font-family: inherit;
}
.cookie button.ghost { background: transparent; color: var(--ink); }

.form { display: grid; gap: 0.9rem; }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%; min-height: var(--input-h); border: 1px solid var(--line);
  background: var(--elev); border-radius: var(--radius); padding: 0.55rem 0.8rem;
  font: inherit; color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--copper); outline: none; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; }
.check input { width: auto; min-height: 0; margin-top: 0.25rem; }
.form-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
.aside-box { background: var(--surface); border: 1px solid var(--line); padding: 1.3rem; }
.modal {
  position: fixed; inset: 0; background: rgba(23,36,30,0.45); display: none;
  align-items: center; justify-content: center; z-index: 60; padding: 1rem;
}
.modal.show { display: flex; }
.modal-card {
  background: var(--elev); padding: 1.8rem; max-width: 420px; width: 100%;
  border-top: 4px solid var(--ok);
}

.notes-list { display: grid; gap: 1rem; }
.note-row {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1.2rem;
  background: var(--elev); border: 1px solid var(--line); padding: 1.1rem 1.2rem;
  text-decoration: none; color: inherit;
  transition: border-color var(--ease);
}
.note-row:hover { border-color: var(--copper); }
.note-date { color: var(--copper); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .form-split, .foot-grid, .note-row {
    grid-template-columns: 1fr;
  }
  .frame-photo img { height: 260px; }
  .menu-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); flex-direction: column; padding: 1rem 1.2rem 1.3rem;
    border-bottom: 1px solid var(--line); gap: 0.85rem;
  }
  .nav-menu.open { display: flex; }
  .hero { padding: 2.4rem 0 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
