:root {
  --ink: #2A221C;
  --night: #120E0A;
  --paper: #F3EBE0;
  --amber: #C4843A;
  --fog: #7A7268;
  --rose: #8B6E6A;
  --display: "Lora", Georgia, serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.74; color: var(--ink); background: var(--paper); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; background: rgba(196,132,58,0.08); }
.card img, .log-row img, .log-wide img, .article-figure img, .profile-portrait img { transition: opacity 0.3s ease; }
a { color: var(--amber); }
a:hover { color: var(--rose); }
h1,h2,h3 { font-family: var(--display); font-weight: 600; line-height: 1.22; margin: 0 0 0.5em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 0.75rem; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243,235,224,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(42,34,28,0.08); }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 0.85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { font-family: var(--display); font-size: 1.2rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--amber); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.nest-hero { padding: 3.5rem 0 2rem; border-bottom: 1px solid rgba(196,132,58,0.25); }
.nest-hero__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2rem; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); }
.nest-hero__grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 2.5rem; align-items: start; }
.nest-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.nest-hero .tagline em { color: var(--amber); font-style: italic; }
.date-stack { border-left: 1px solid rgba(196,132,58,0.4); padding-left: 1rem; }
.date-stack div { font-family: var(--mono); font-size: 11px; padding: 0.45rem 0; border-bottom: 1px solid rgba(42,34,28,0.06); color: var(--fog); }
.welcome-dropcap::first-letter { float: left; font-family: var(--display); font-size: 3.4rem; line-height: 0.85; padding: 0.08em 0.12em 0 0; color: var(--amber); font-weight: 700; }
.log-wide { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; border: 1px solid rgba(42,34,28,0.1); background: #fff; margin-bottom: 1.25rem; }
.log-wide img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.log-wide-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.log-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(42,34,28,0.08); }
.log-row img { width: 140px; height: 90px; object-fit: cover; border: 1px solid rgba(196,132,58,0.35); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card { border: 1px solid rgba(42,34,28,0.1); background: #fff; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 1px solid rgba(196,132,58,0.2); }
.card-body { padding: 1.15rem; }
.card-meta { font-family: var(--mono); font-size: 11px; color: var(--fog); margin-bottom: 0.4rem; }
.section { padding: 4.5rem 0; }
.prose { max-width: 42rem; }
.prose--wide { max-width: 46rem; }
.prose p { margin: 0 0 1.2em; }
.dropcap::first-letter { float: left; font-family: var(--display); font-size: 3.2rem; line-height: 0.82; padding-right: 0.1em; color: var(--amber); font-weight: 700; }
.article-header { margin-bottom: 2rem; }
.article-meta { font-family: var(--mono); font-size: 12px; color: var(--fog); margin-top: 0.75rem; }
.article-figure { margin: 2rem 0; border: 1px solid rgba(196,132,58,0.35); padding: 6px; background: #fff; }
.article-figure figcaption { font-family: var(--mono); font-size: 12px; color: var(--fog); margin-top: 0.5rem; padding-left: 2px; }
.season-group { margin-bottom: 3rem; }
.season-group h2 { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); border-bottom: 1px solid rgba(42,34,28,0.1); padding-bottom: 0.5rem; margin-bottom: 1.25rem; }
.profile-layout { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.profile-portrait { border: 1px solid rgba(196,132,58,0.35); padding: 6px; background: #fff; }
.write-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-panel { border: 1px solid rgba(42,34,28,0.1); padding: 1.75rem; background: #fff; }
.form-stack { display: grid; gap: 1rem; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
input, select, textarea { font: inherit; padding: 0.65rem 0.75rem; border: 1px solid rgba(42,34,28,0.18); width: 100%; background: var(--paper); }
.checkbox-label { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; font-size: 0.88rem; }
.checkbox-label input { width: auto; margin-top: 0.2rem; }
.btn { display: inline-block; padding: 0.65rem 1.25rem; font-family: var(--mono); font-size: 13px; font-weight: 600; border: none; cursor: pointer; background: var(--amber); color: #fff; text-decoration: none; }
.btn:hover { background: var(--rose); color: #fff; }
.form-msg { padding: 1rem; margin-bottom: 1.5rem; font-size: 0.92rem; }
.form-msg--ok { background: rgba(196,132,58,0.12); border-left: 3px solid var(--amber); }
.form-msg--err { background: rgba(139,110,106,0.12); border-left: 3px solid var(--rose); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.map-wrap { width: 100%; }
.map-wrap--a { height: 500px; }
.map-wrap--b { height: 190px; }
.map-wrap--c { height: 300px; }
.map-wrap--d { height: 165px; }
.map-iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(0.15) contrast(1.02); }
.map-caption { font-family: var(--mono); font-size: 11px; color: var(--fog); padding: 0.5rem 1.25rem; background: rgba(42,34,28,0.04); }
.site-footer { background: var(--night); color: var(--paper); padding: 3rem 0 1.5rem; background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?fm=jpg&q=85&w=1200&h=200&auto=format&fit=crop'); background-size: cover; background-blend-mode: multiply; }
.footer-inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 1.25rem; }
.footer-brand { font-family: var(--display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.25rem 0; }
.footer-links a { color: var(--paper); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--amber); }
.footer-quiet, .footer-note { font-size: 0.82rem; color: rgba(243,235,224,0.75); line-height: 1.5; }
.footer-copy { font-family: var(--mono); font-size: 11px; color: rgba(243,235,224,0.5); margin-top: 1.5rem; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--night); color: var(--paper); padding: 1rem 1.25rem; z-index: 200; border-top: 1px solid rgba(196,132,58,0.35); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-inner p { margin: 0; font-size: 0.88rem; flex: 1 1 280px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions button { padding: 0.5rem 0.9rem; font-family: var(--mono); font-size: 12px; cursor: pointer; border: 1px solid var(--amber); background: transparent; color: var(--paper); }
.cookie-actions button:hover { background: var(--amber); }
#cookie-custom { width: 100%; padding-top: 0.5rem; border-top: 1px solid rgba(243,235,224,0.15); }
.legal-prose { max-width: 46rem; }
.legal-prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal-prose h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.error-page { min-height: 50vh; display: flex; align-items: center; text-align: center; padding: 4rem 0; }
.error-page h1 { font-size: 4rem; color: var(--amber); }
.photo-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(196,132,58,0.2); }
.photo-quote img { border: 1px solid rgba(196,132,58,0.35); padding: 6px; background: #fff; }
@media (max-width: 900px) {
  .nest-hero__grid, .log-wide, .log-row, .card-grid, .profile-layout, .write-layout, .photo-quote { grid-template-columns: 1fr; }
  .log-row img { width: 100%; height: 160px; }
}
