:root {
  --paper: #f7f0e4;
  --paper-deep: #eee1ce;
  --ink: #342a24;
  --muted: #74685f;
  --terracotta: #b95f46;
  --terracotta-dark: #8d412e;
  --sage: #71816a;
  --line: rgba(72, 54, 43, 0.16);
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(70, 47, 33, 0.13);
  --radius: 24px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.9), transparent 26rem),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(82,56,38,.03) 4px);
  z-index: 20;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 50; background: var(--ink); color: white; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 15; backdrop-filter: blur(16px); background: rgba(247,240,228,.88); border-bottom: 1px solid var(--line); }
.nav-wrap { width: var(--container); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: .01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 55% 45% 54% 46%; background: var(--terracotta); display: grid; place-items: center; color: #fff8eb; transform: rotate(-4deg); }
.brand-mark::after { content: "✦"; transform: rotate(4deg); font-size: .8rem; }
.nav-list { display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.nav-list a { text-decoration: none; padding: .48rem .72rem; border-radius: 999px; font-size: .92rem; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: rgba(185,95,70,.12); color: var(--terracotta-dark); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.45rem; }

.container { width: var(--container); margin-inline: auto; }
.eyebrow { color: var(--terracotta-dark); font: 700 .73rem/1.2 "Segoe UI", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .7em; }
h1 { font-size: clamp(2.7rem, 8vw, 6.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 3vw, 1.8rem); }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.15rem, 2vw, 1.42rem); max-width: 42rem; color: #55483f; }
.button { display: inline-flex; align-items: center; gap: .5rem; padding: .77rem 1.14rem; border-radius: 999px; background: var(--terracotta); color: #fff; text-decoration: none; border: 1px solid var(--terracotta); cursor: pointer; box-shadow: 0 8px 20px rgba(141,65,46,.18); }
.button:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.text-link { color: var(--terracotta-dark); text-underline-offset: 4px; }

.hero { padding: 50px 0 74px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero-copy { padding-bottom: 18px; }
.hero-copy h1 span { display: block; color: var(--terracotta); font-style: italic; padding-left: .55em; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 20px -16px -16px 22px; border: 1px solid rgba(141,65,46,.38); border-radius: 48% 52% 43% 57% / 54% 42% 58% 46%; transform: rotate(2deg); }
.hero-photo img { position: relative; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 48% 52% 43% 57% / 54% 42% 58% 46%; box-shadow: var(--shadow); }
.photo-note { position: absolute; right: -8px; bottom: 24px; z-index: 2; max-width: 220px; padding: 13px 17px; background: #fff9e9; box-shadow: 0 7px 20px rgba(65,45,30,.14); transform: rotate(-2deg); font-size: .87rem; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,253,248,.38); }
.ticker-inner { display: flex; width: max-content; gap: 2rem; padding: .78rem 0; color: var(--muted); font-style: italic; animation: drift 28s linear infinite; }
.ticker-inner span::after { content: "✦"; color: var(--terracotta); margin-left: 2rem; font-style: normal; }
@keyframes drift { to { transform: translateX(-50%); } }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head p { max-width: 29rem; color: var(--muted); }
.posts-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 22px; }
.post-card { background: rgba(255,253,248,.72); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(70,47,33,.06); }
.post-card:first-child { grid-row: span 2; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card:first-child img { aspect-ratio: 4 / 3; }
.post-body { padding: 24px; }
.post-meta { display: flex; gap: 9px; flex-wrap: wrap; color: var(--muted); font: .75rem/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.post-body p { color: var(--muted); }
.tiny-card { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; }
.tiny-card .number { font-size: 3rem; color: rgba(185,95,70,.3); font-style: italic; }

.joy-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; counter-reset: joy; }
.joy { min-height: 190px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.38); border-radius: 50% 50% 44% 56% / 45% 52% 48% 55%; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.joy::before { counter-increment: joy; content: "0" counter(joy); color: var(--terracotta); font: .75rem "Segoe UI", sans-serif; }
.quote-strip { margin: 26px 0 0; padding: 42px; background: var(--sage); color: #fffaf0; border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.quote-strip blockquote { margin: 0; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.32; font-style: italic; }
.quote-strip span { opacity: .7; }

.page-hero { padding: 68px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.3rem); max-width: 900px; }
.page-hero .lead { margin-left: clamp(0px, 15vw, 180px); }
.journal-list { display: grid; gap: 0; }
.journal-entry { display: grid; grid-template-columns: 145px 1fr 260px; gap: 35px; padding: 38px 0; border-bottom: 1px solid var(--line); align-items: center; }
.journal-entry time { color: var(--muted); font-style: italic; }
.journal-entry h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); margin-bottom: .3em; }
.journal-entry p { color: var(--muted); margin: 0; }
.journal-entry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.tag { display: inline-block; margin-bottom: 10px; padding: .22rem .62rem; border: 1px solid rgba(185,95,70,.35); color: var(--terracotta-dark); border-radius: 999px; font: .72rem "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.gallery button { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: var(--radius); background: transparent; cursor: zoom-in; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; transition: transform .5s ease; }
.gallery button:first-child img { min-height: 598px; }
.gallery button:hover img { transform: scale(1.025); }
.gallery-label { position: absolute; left: 16px; bottom: 16px; color: white; background: rgba(44,33,27,.72); border-radius: 999px; padding: .4rem .75rem; font-size: .8rem; }
.lightbox { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 30px; background: rgba(31,24,20,.9); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 16px; box-shadow: var(--shadow); }
.lightbox-close { position: fixed; top: 22px; right: 26px; border: 0; background: none; color: white; font-size: 2rem; cursor: pointer; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 90px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 24px 24px; }
.prose p:first-of-type::first-letter { float: left; font-size: 4.4rem; line-height: .77; margin: .12em .12em 0 0; color: var(--terracotta); }
.values { display: grid; gap: 12px; margin-top: 35px; }
.value { padding: 20px 22px; border-left: 3px solid var(--terracotta); background: rgba(255,255,255,.35); }
.value h3 { margin-bottom: .2rem; }
.value p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 7vw, 90px); }
.contact-note { padding: 30px; background: var(--sage); color: white; border-radius: var(--radius); }
.contact-note a { text-underline-offset: 4px; }
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(72,54,43,.22); border-radius: 12px; padding: .83rem .9rem; background: rgba(255,253,248,.7); color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.form-status { min-height: 1.6em; color: var(--terracotta-dark); }

.site-footer { margin-top: 70px; background: #3c322c; color: #efe3d5; }
.footer-grid { width: var(--container); margin: auto; padding: 52px 0 28px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; }
.footer-grid h2 { font-size: 1.7rem; }
.footer-grid h3 { font-size: .8rem; font-family: "Segoe UI", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #cda78f; }
.footer-grid p, .footer-grid a { color: #d4c5b9; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .42rem 0; }
.footer-bottom { width: var(--container); margin: auto; padding: 20px 0 32px; border-top: 1px solid rgba(255,255,255,.12); color: #a9998d; font-size: .8rem; display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 620px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .post-card:first-child { grid-column: span 2; grid-row: auto; }
  .joy-list { grid-template-columns: 1fr 1fr; }
  .journal-entry { grid-template-columns: 110px 1fr; }
  .journal-entry img { grid-column: 2; max-width: 420px; }
  .about-photo { position: static; max-width: 560px; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1160px); }
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-list { display: none; position: absolute; inset: 78px 14px auto; flex-direction: column; align-items: stretch; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: .7rem .9rem; }
  .hero { padding-top: 34px; }
  .hero-photo img { aspect-ratio: 1 / 1.05; }
  .section { padding: 64px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .posts-grid, .gallery { grid-template-columns: 1fr; }
  .post-card:first-child, .gallery button:first-child { grid-column: auto; grid-row: auto; }
  .gallery button:first-child img, .gallery img { min-height: 300px; }
  .joy-list { grid-template-columns: 1fr 1fr; }
  .joy { min-height: 160px; padding: 14px; }
  .quote-strip { padding: 27px; grid-template-columns: 1fr; }
  .page-hero .lead { margin-left: 0; }
  .journal-entry { grid-template-columns: 1fr; gap: 13px; }
  .journal-entry img { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
