@font-face { font-family: Nunito; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #0aa245;        /* from the logo */
  --green-ink: #06752f;    /* text-safe green (AA on cream) */
  --green-deep: #0b4a24;
  --sun: #ffd23f;
  --sun-soft: #fff3c2;
  --curtain: #c8432f;
  --curtain-dark: #9c2f20;
  --paper: #fffaf0;
  --card: #ffffff;
  --ink: #2b2a24;
  --muted: #6b675a;
  --shadow: 0 2px 0 rgba(60, 50, 20, .06), 0 10px 30px -12px rgba(60, 50, 20, .25);
  --r: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 Nunito, "Segoe UI", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-ink); text-underline-offset: .18em; }
a:hover { color: var(--green-deep); }

/* ---------- header ---------- */
.top {
  background: linear-gradient(180deg, rgba(255, 246, 200, .25), rgba(255, 236, 160, .55)), url(paper.jpg) center / cover, var(--sun-soft);
  padding: 18px 16px 0;
}
.top-in { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { display: block; line-height: 0; flex: none; }
.logo img { width: 200px; height: 125px; }
.tagline {
  margin: 0; font-weight: 800; font-size: clamp(1.15rem, 3.4vw, 1.6rem); color: var(--green-deep);
  letter-spacing: .01em; max-width: 16em; line-height: 1.25;
}
.menu {
  max-width: 980px; margin: 14px auto 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.menu a {
  text-decoration: none; font-weight: 800; color: var(--green-deep);
  padding: 10px 18px 12px; border-radius: 16px 16px 0 0; background: rgba(255, 255, 255, .55);
  transition: background .15s;
}
.menu a:hover { background: rgba(255, 255, 255, .9); color: var(--green-deep); }
.menu a[aria-current] { background: var(--curtain); color: #fff; }

/* curtain valance: gold trim + red scallops */
.valance {
  height: 30px; border-top: 6px solid var(--curtain);
  background:
    radial-gradient(circle at 50% 0, var(--curtain) 0 15px, var(--curtain-dark) 15px 17px, transparent 17.5px) 0 0 / 36px 19px repeat-x,
    radial-gradient(circle at 50% 2px, var(--sun) 0 3px, transparent 3.5px) 0 16px / 36px 10px repeat-x;
}

/* ---------- content ---------- */
.wrap { max-width: 820px; margin: 0 auto; padding: 18px 16px 56px; }
.card {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 26px 28px; margin: 0 0 22px; position: relative;
}
h1, h2, h3 { color: var(--green-deep); line-height: 1.25; font-weight: 800; }
.card h1 { margin: 0 0 .6em; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.section-title { text-align: center; margin: 34px 0 20px; font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
.section-title span {
  background: linear-gradient(transparent 62%, var(--sun) 62% 90%, transparent 90%); padding: 0 .2em;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 .55em; }
.prose h2 { font-size: 1.4rem; margin: 1.2em 0 .4em; }
.prose h3 { font-size: 1.2rem; margin: 1.1em 0 .3em; }
.prose blockquote { margin: 1em 0; padding: .2em 1em; border-left: 5px solid var(--sun); background: #fffbe8; border-radius: 0 12px 12px 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; display: block; overflow-x: auto; }
.prose td, .prose th { padding: 6px 10px; border-bottom: 1px solid #eee6cf; vertical-align: top; text-align: left; }

/* news posts: she writes one line per paragraph, poster-style → tight spacing */
.post .prose p, .intro .prose p { margin: 0 0 .2em; }
.post .prose > p:first-child { margin-bottom: .45em; }
/* news posts: first line reads as the headline */
.post .prose > p:first-child { font-weight: 800; font-size: 1.2rem; color: var(--green-deep); }
.post h2 { margin: 0 0 .4em; font-size: 1.35rem; }
.badge {
  display: inline-block; margin: 0 0 12px; padding: 3px 12px 4px; border-radius: 99px;
  background: var(--sun); color: #4a3a00; font-weight: 800; font-size: .95rem;
}
.post::before {           /* little curtain-red tab */
  content: ""; position: absolute; left: 28px; top: 0; width: 46px; height: 6px;
  border-radius: 0 0 6px 6px; background: var(--curtain);
}

.intro { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.intro-photo img { border-radius: 16px; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.intro .prose p:first-child { font-size: 1.3rem; font-weight: 800; color: var(--green-deep); }
@media (max-width: 640px) { .intro { grid-template-columns: 1fr; } .intro-photo img { aspect-ratio: 16/10; } }

/* photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.photos.one { grid-template-columns: minmax(0, 520px); }
.photos .ph { display: block; border-radius: 14px; overflow: hidden; background: var(--sun-soft); }
.photos img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s; }
.photos.one img { aspect-ratio: auto; }
.photos .ph:hover img { transform: scale(1.04); }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.album { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 16px; text-decoration: none; color: var(--ink); }
.album .cover { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--sun-soft); margin-bottom: 8px; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album strong { color: var(--green-deep); font-size: 1.15rem; padding: 0 4px; }
.album small { color: var(--muted); padding: 0 4px; }
.album:hover { transform: translateY(-2px); }

.crumbs { margin: 4px 0 12px; font-weight: 700; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 10px; color: var(--muted); }
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 800;
  padding: 10px 20px; border-radius: 99px; border: 0; font: inherit; font-weight: 800; cursor: pointer;
}
.btn:hover { background: var(--green-ink); color: #fff; }
.empty { text-align: center; color: var(--muted); }

/* ---------- footer: shadow-theatre screen ---------- */
.stage {
  background: radial-gradient(ellipse 70% 120% at 50% 100%, #ffcf6b 0%, #f2a541 38%, #8a4a1c 75%, #3a2414 100%);
  border-top: 10px solid var(--curtain);
  color: #fff7e6; text-align: center; overflow: hidden;
}
.puppets { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto -4px; padding-top: 28px; }
.puppets * { fill: #24170e; stroke: #24170e; }
.puppets .eye { fill: #f6b24e; stroke: none; }
.puppets .line { fill: none; }
.stage-text {
  background: #24170e; padding: 18px 16px 26px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 22px; align-items: baseline;
}
.stage-text a { color: var(--sun); }
.stage-text .fb { display: inline-flex; align-items: center; gap: 6px; }
.stage-text .small { font-size: .9rem; opacity: .75; }
.stage-text .small a { color: inherit; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 14, 8, .92); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 88vh; border-radius: 10px; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; font-size: 2.4rem; line-height: 1;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }

@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .top-in { justify-content: center; text-align: center; gap: 6px; }
  .card { padding: 22px 18px; }
  .menu a { padding: 8px 12px 10px; font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- language switch (LT | EN) ---------- */
.lang { margin-left: auto; align-self: flex-start; display: inline-flex; border: 2px solid var(--green-ink); border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .6); flex: none; }
.lang a { padding: 5px 13px 6px; font-weight: 800; font-size: .95rem; line-height: 1.2; text-decoration: none; color: var(--green-deep); }
.lang a:hover { background: #fff; color: var(--green-deep); }
.lang a[aria-current] { background: var(--green-ink); color: #fff; }
@media (max-width: 560px) { .lang { margin-left: 0; align-self: center; } }
