:root {
  --bg: #faf8f4;
  --bg-elevated: #ffffff;
  --ink: #15171a;
  --ink-soft: #4a4f57;
  --ink-mute: #7d828b;
  --rule: #e6e2d8;
  --accent: #1f3a5f;
  --accent-soft: #ecf1f7;
  --max: 72rem;
  --measure: 36rem;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.2vw + 0.8rem, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: -0.005em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 640px) {
  .brand-name { display: none; }
  .site-nav { gap: 1rem; }
}

/* Section frame */
main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 0.75rem;
}

/* Hero */
.hero {
  padding-top: 3rem;
  padding-bottom: 6rem;
  max-width: var(--max);
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.lede {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.55;
  max-width: var(--measure);
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  border: 1px solid transparent;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--ink);
  color: var(--bg);
}
.btn.primary:hover { background: var(--accent); text-decoration: none; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft); text-decoration: none; }

/* Story */
.story {
  border-top: 1px solid var(--rule);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.story-body p {
  font-size: 1.05rem;
}

/* Journal */
.journal { border-top: 1px solid var(--rule); }

.journal-header { margin-bottom: 2.5rem; }

.entries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 880px) {
  .entries { grid-template-columns: 1fr; }
}

.entry {
  background: var(--bg-elevated);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.25);
}

.entry time {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 500;
}

.entry h3 { margin: 0.25rem 0 0.25rem; }
.entry h3 a { color: var(--ink); }
.entry h3 a:hover { color: var(--accent); text-decoration: none; }

.entry p { margin: 0; font-size: 0.97rem; }

.read-more {
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.93rem;
}

/* Postcards / gallery */
.postcards { border-top: 1px solid var(--rule); }

.postcards-header { max-width: 38rem; margin-bottom: 2.5rem; }
.postcards-lede { font-size: 1.05rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
}

.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.photo-wide { grid-column: 1 / -1; }

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  background: var(--rule);
}

.photo-wide img { max-height: 36rem; }

.photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}
.photo figcaption a {
  color: var(--ink-mute);
  font-size: 0.82rem;
  white-space: nowrap;
}
.photo figcaption a:hover { color: var(--accent); }

.photo-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* Where / maps */
.where { border-top: 1px solid var(--rule); }

.where-header { max-width: 38rem; margin-bottom: 2.5rem; }

.maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .maps { grid-template-columns: 1fr; }
}

.map {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.map iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
}

.map figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}
.map figcaption strong { color: var(--ink); font-weight: 600; }
.map figcaption a { font-size: 0.85rem; }

/* Contact */
.contact { border-top: 1px solid var(--rule); }

.contact-inner {
  max-width: 38rem;
}

.contact-lede {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.signup {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.signup input {
  flex: 1 1 16rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--ink);
}
.signup input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.signup .btn { flex: 0 0 auto; }
.signup-msg {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.93rem;
  color: var(--ink-mute);
}

.contact-direct {
  font-size: 0.97rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}
.site-footer p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .entry { transition: none; }
}
