/* ============================================================
   Abbruzzissimo v3 "Artisan" layer — loaded after styles.css
   Linen background · soft rounded frames · Galleria quote
   v2 refinements: linen texture, beige header/footer, equal sepia tiles
   Light header (50% taller), postmark stamps, sepia "fatto a mano"
   ============================================================ */

:root {
  --header-h: 126px;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --paper: #fcf9f2;
  --panel: rgba(250, 246, 237, 0.72);
  --linen: #ebe2d1;
  --beige-deep: #e3d6bf;
  --ink-gold: #6b520c;          /* darker ink so gold text stays AA on linen */
  --map-hint: #7d600f;          /* park map kept exactly as before */
  --line-soft: rgba(125, 96, 15, 0.22);
  --radius-soft: 18px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='8' viewBox='0 0 30 8'%3E%3Cpath d='M0 4 Q7.5 0 15 4 T30 4' fill='none' stroke='%237D600F' stroke-width='1.4'/%3E%3C/svg%3E");
}

.hand { font-family: var(--font-hand); font-weight: 600; letter-spacing: 0; }
h1 { text-wrap: balance; }
h2 { text-wrap: balance; }

/* ---------- Linen page background ---------- */
body {
  background-color: var(--linen);
  background-image: url("../img/linen-texture.webp");
  background-size: 256px 256px;
  background-repeat: repeat;
}

/* ---------- Light header (fixed, 126px desktop) ---------- */
.site-header {
  background: rgba(227, 214, 191, 0.97);
  border-bottom: 1px solid rgba(107, 82, 12, 0.2);
  box-shadow: 0 6px 22px rgba(43, 42, 38, 0.07);
}
.header-inner { max-width: 1480px; }
.site-header .logo { color: var(--charcoal); gap: 1rem; }
.logo-img {
  width: 104px;
  height: 104px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(13, 42, 46, 0.18));
}
/* Brand wordmark: old-style engraved small caps, echoing the seal lettering */
.logo-name {
  font-family: "IM Fell DW Pica SC", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.035em;
  line-height: 1.05;
  /* warm letterpress accent: crisp ink offset + soft lift */
  text-shadow: 1px 1px 0 rgba(107, 82, 12, 0.28), 0 2px 6px rgba(43, 42, 38, 0.18);
}
.site-header .logo-name { color: var(--teal); font-size: 1.95rem; }
.site-header .logo-tag { color: var(--text-muted); font-size: 0.72rem; margin-top: 0.2rem; }
.nav-list a { color: var(--charcoal); font-size: 1.08rem; padding: 0.45rem 0.6rem; }
.nav-list a:hover,
.nav-list a[aria-current="page"] { background: rgba(176, 86, 27, 0.09); color: var(--saffron-dark); }
.lang-switch { border-color: rgba(13, 42, 46, 0.25); background: var(--paper); }
.lang-btn { color: var(--teal); }
.lang-btn[aria-pressed="true"] { background: var(--teal); color: var(--limestone); }
.lang-btn:hover:not([aria-pressed="true"]) { background: rgba(13, 42, 46, 0.08); color: var(--teal); }
.nav-toggle { color: var(--teal); border-color: rgba(13, 42, 46, 0.3); }
.site-header a:focus-visible,
.site-header button:focus-visible { outline-color: var(--saffron); }

.nav-list a { white-space: nowrap; }
@media (max-width: 1300px) {
  .site-header .logo-text { display: none; }
}
/* eight menu items: Polish labels are the longest, so they get a slightly tighter fit */
@media (min-width: 1301px) and (max-width: 1560px) {
  html[lang="pl"] .nav-list a { font-size: 1.02rem; padding: 0.45rem 0.45rem; }
}
@media (min-width: 1081px) and (max-width: 1300px) {
  .nav-list a { font-size: 1.02rem; padding: 0.45rem 0.4rem; }
  html[lang="pl"] .nav-list a { font-size: 0.98rem; padding: 0.45rem 0.34rem; }
}
@media (max-width: 1080px) and (min-width: 901px) {
  .nav-list a { font-size: 1rem; padding: 0.4rem 0.42rem; }
}
@media (max-width: 990px) and (min-width: 901px) {
  .nav-list a { font-size: 0.92rem; padding: 0.4rem 0.3rem; }
  html[lang="pl"] .nav-list a { font-size: 0.88rem; padding: 0.4rem 0.24rem; }
  .header-inner { gap: 0.5rem; }
}
@media (max-width: 980px) {
  .logo-img { width: 92px; height: 92px; }
}
@media (max-width: 900px) {
  :root { --header-h: 96px; }
  .logo-img { width: 78px; height: 78px; }
  .nav-list a { font-size: 1.1rem; padding: 0.85rem 1rem; }
  .nav {
    background: var(--beige-deep);
    border-bottom: 1px solid rgba(125, 96, 15, 0.25);
    box-shadow: 0 16px 40px rgba(43, 42, 38, 0.15);
  }
  .nav-list { border-top-color: rgba(125, 96, 15, 0.2); }
  .nav-list a:hover,
  .nav-list a[aria-current="page"] { border-left-color: var(--saffron); }
  .nav-toggle { border-color: rgba(13, 42, 46, 0.3); }
  .nav-toggle[aria-expanded="true"] { background: rgba(13, 42, 46, 0.08); color: var(--teal); border-color: var(--teal); }
}
@media (max-width: 520px) {
  :root { --header-h: 84px; }
  .logo-img { width: 66px; height: 66px; }
}
@media (max-width: 380px) {
  :root { --header-h: 78px; }
  .logo-img { width: 58px; height: 58px; }
}

/* ---------- Typography & rules ---------- */
.eyebrow { color: var(--ink-gold); }
.gold-rule,
.section-dark .gold-rule {
  width: 90px;
  height: 8px;
  background: var(--wave) repeat-x left center / 30px 8px;
  opacity: 0.9;
}
.intro-center { text-align: center; }
.intro-center > .gold-rule,
.intro-center > .section-lead { margin-left: auto; margin-right: auto; }
.intro-center .card { text-align: left; }

/* ---------- Sections: light, airy, soft panels ---------- */
.section { padding: 5.5rem 0; }
.section-alt {
  background: var(--panel);
  border-radius: clamp(22px, 4vw, 52px);
  margin-inline: clamp(0px, 1.4vw, 22px);
}
/* former dark bands become light, rounded "letter" panels */
.section-dark {
  background: rgba(251, 247, 239, 0.78);
  color: var(--charcoal);
  border: 1px solid var(--line-soft);
  border-radius: clamp(22px, 4vw, 52px);
  margin: 1.5rem clamp(0px, 1.4vw, 22px) 4rem;
  padding: 2rem 0;
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark .cta-band h2 { color: var(--teal); }
.section-dark .cta-band p,
.section-dark .section-lead,
.section-dark .muted { color: var(--text-muted); }
.section-dark .eyebrow { color: var(--ink-gold); }
.section-dark a:not(.btn) { color: var(--ink-gold); }
.section-dark a:focus-visible { outline-color: var(--saffron); }

/* ---------- Page hero (light, asymmetric) ---------- */
.page-hero {
  background: transparent;
  color: var(--charcoal);
  border-bottom: 0;
  padding: 4.5rem 0 3.75rem;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1120px, calc(100% - 2.5rem));
  transform: translateX(-50%);
  height: 8px;
  background: var(--wave) repeat-x left center / 30px 8px;
  opacity: 0.35;
}
.page-hero h1, .page-hero h2 { color: var(--teal); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .section-lead { color: var(--text-muted); max-width: 42rem; }
.page-hero .eyebrow { color: var(--ink-gold); }
.page-hero a:focus-visible { outline-color: var(--saffron); }
.page-hero-with-seal { gap: 2rem; }
.page-hero-seal {
  width: 104px;
  height: 104px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(13, 42, 46, 0.2));
}
.page-hero--stamp .page-hero-with-seal { justify-content: space-between; align-items: center; }
.page-hero--stamp .page-hero-with-seal > div { max-width: 44rem; }

/* ---------- Postmark (stempel) ---------- */
.postmark {
  --ink: var(--ink-gold);
  --pm: 150px;
  position: relative;
  flex-shrink: 0;
  width: calc(var(--pm) * 2);
  height: var(--pm);
  transform: rotate(-9deg);
  opacity: 0.9;
  pointer-events: none;
}
.postmark--saffron { --ink: var(--saffron); }
.postmark--crocus { --ink: var(--crocus); }
.postmark-seal {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pm);
  height: var(--pm);
  background: var(--ink);
  -webkit-mask: url("../img/postmark-seal-mask.webp") center / contain no-repeat;
  mask: url("../img/postmark-seal-mask.webp") center / contain no-repeat;
}
.postmark-waves {
  position: absolute;
  left: calc(var(--pm) * 0.78);
  top: calc(var(--pm) * 0.16);
  width: calc(var(--pm) * 1.2);
  height: calc(var(--pm) * 0.68);
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  -webkit-mask: url("../img/postmark-grain.png") 0 0 / 110px 110px repeat;
  mask: url("../img/postmark-grain.png") 0 0 / 110px 110px repeat;
}

/* ---------- Cards, images: paper & soft rounded frames ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-soft);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { box-shadow: 0 14px 30px rgba(43, 42, 38, 0.08); }
}
.card-icon { background: var(--linen); color: var(--ink-gold); border-color: rgba(125, 96, 15, 0.4); }
.product-item, .contact-block {
  background: var(--paper);
  border-color: var(--line-soft);
  border-radius: var(--radius-soft);
}
.feature-row { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 3.5rem; }
.feature-img {
  border-radius: 16px;
  outline: 1px solid rgba(107, 82, 12, 0.3);
  outline-offset: 7px;
  border: 0;
  box-shadow: 0 22px 44px rgba(13, 42, 46, 0.14);
}
.photo-tile { border-radius: var(--radius-soft); }
.photo-tile img { border-radius: inherit; }
.carousel-viewport { border-radius: 24px; }
.product-thumb img { border-radius: 14px; }
.placeholder-note { background: #efe7d8; }

/* ---------- Footer: soft beige like the header, soft top ---------- */
.site-footer {
  background: var(--beige-deep);
  color: var(--charcoal);
  border-top: 1px solid rgba(107, 82, 12, 0.22);
  border-radius: clamp(24px, 4vw, 52px) clamp(24px, 4vw, 52px) 0 0;
  box-shadow: 0 -6px 22px rgba(43, 42, 38, 0.05);
}
.footer-brand .logo-name { color: var(--teal); font-size: 1.55rem; }
.footer-brand .logo-tag { color: #4a4640; }
.footer-brand > p { color: var(--charcoal); }
.footer-col h4 { color: var(--ink-gold); }
.footer-col a { color: var(--teal); }
.footer-col a:hover { color: var(--saffron-dark); }
.footer-bottom { color: #4a4640; border-top-color: rgba(107, 82, 12, 0.22); }
.site-footer a:focus-visible { outline-color: var(--saffron); }
.footer-logo {
  width: 84px;
  height: 84px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  object-fit: contain;
}
.site-footer a { color: var(--teal); }
.site-footer a:hover { color: var(--saffron-dark); }

/* ============================================================
   HOMEPAGE
   ============================================================ */
.hero-art { background: transparent; padding: 4rem 0 5rem; overflow: clip; }
.ha-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.ha-hello {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--saffron-dark);
  margin-bottom: 0.9rem;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.hero-art h1 { color: var(--teal); font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.07; margin-bottom: 1.2rem; }
.hero-art .hero-lead { color: var(--text-muted); font-size: 1.14rem; max-width: 35rem; margin-bottom: 2.1rem; line-height: 1.7; }
.hero-art .hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-art .btn-outline { border-color: var(--teal); }
.ha-media { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 580px; }
/* soft rounded rectangle, natural photo aspect (no arch crop) */
.ha-arch {
  border-radius: 16px;
  overflow: hidden;
  outline: 1px solid rgba(107, 82, 12, 0.3);
  outline-offset: 8px;
  box-shadow: 0 28px 54px rgba(13, 42, 46, 0.2);
  background: var(--cream-dark);
}
.ha-arch picture { display: contents; }
.ha-img { width: 100%; height: auto; }
.ha-seal {
  position: absolute;
  left: -52px;
  bottom: 30px;
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 10px 18px rgba(13, 42, 46, 0.3));
}
.ha-caption { margin-top: 1.45rem; text-align: center; font-size: 0.82rem; color: var(--text-muted); font-style: italic; }

/* Welcome note */
.note-section { padding-top: 4.5rem; }
.note-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}
.note-photo {
  margin: 0;
  background: #fff;
  padding: 12px 12px 10px;
  border-radius: 3px;
  box-shadow: 0 18px 38px rgba(43, 42, 38, 0.16);
  transform: rotate(-2.5deg);
  max-width: 380px;
  justify-self: center;
}
.note-photo picture { display: contents; }
.note-img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 72% 40%; }
.note-photo figcaption { text-align: center; font-size: 1.4rem; color: var(--teal); padding-top: 0.35rem; }
.note-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px 26px 6px 26px;
  padding: 2.75rem 3rem;
  box-shadow: 0 8px 28px rgba(43, 42, 38, 0.06);
}
.note-card .postmark { position: absolute; top: -34px; right: -28px; --pm: 118px; transform: rotate(8deg); opacity: 0.7; }
.note-greet { font-size: 2.6rem; color: var(--teal); font-weight: 600; margin: 0.2rem 0 0.7rem; line-height: 1; }
.note-body p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.55; color: var(--charcoal); }
.note-body p + p { margin-top: 0.8rem; }
.note-sign { font-size: 2rem; color: var(--saffron-dark); margin-top: 1.25rem; line-height: 1; }
.sig-placeholder {
  margin-top: 0.75rem;
  width: min(100%, 300px);
  min-height: 88px;
  border: 2px dashed rgba(110, 79, 138, 0.6);
  border-radius: 10px;
  background: rgba(110, 79, 138, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  padding: 0.75rem;
  color: var(--crocus);
}
.sig-placeholder strong { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sig-placeholder small { font-size: 0.75rem; color: var(--text-muted); }

/* Motto quote band */
.quote-band {
  background: var(--panel);
  border: 1px solid rgba(107, 82, 12, 0.12);
  border-radius: clamp(22px, 4vw, 52px);
  margin: 1rem clamp(0px, 1.4vw, 22px);
  padding: 5.5rem 1.25rem;
  text-align: center;
}
.quote-band blockquote { max-width: 52rem; margin: 0 auto; }
.quote-mark { display: block; font-family: var(--font-display); font-size: 5.5rem; line-height: 0.6; color: var(--ink-gold); margin-bottom: 0.6rem; }
.quote-band p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.55rem, 3.1vw, 2.45rem); line-height: 1.3; color: var(--teal); }
.quote-band footer { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-gold); }

/* ---------- "Fatto a mano" sepia detail photography ---------- */
.handmade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
  margin-top: 2.5rem;
}
/* every tile identical: same width, same 1:1 frame, cover crop (never stretched) */
.hm-tile { margin: 0; }
.hm-ph { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; background: #e9dfcc; box-shadow: 0 14px 30px rgba(43, 42, 38, 0.1); }
.hm-ph picture { display: contents; }
.hm-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.hm-tile:hover .hm-ph img { transform: scale(1.035); }
.hm-ph img { display: block; }
.hm-tile figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--charcoal); line-height: 1.35; }
.illus-tag {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-style: normal;
}
.handmade-note { margin-top: 2.5rem; font-size: 0.85rem; text-align: center; }
/* compact two-photo variant (brand / products) */
.handmade-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}
.handmade-duo .handmade-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 4rem 0; }
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero { padding: 3rem 0 2.75rem; }
  .page-hero--stamp .page-hero-with-seal { flex-direction: column; }
  .page-hero .postmark { --pm: 116px; order: -1; margin: 0 auto -0.5rem; }
  .hero-art { padding: 2.75rem 0 3.75rem; }
  .ha-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ha-copy { text-align: center; }
  .ha-hello { transform-origin: center; }
  .hero-art .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-art .hero-actions { justify-content: center; }
  .ha-media { justify-self: center; max-width: 560px; }
  .ha-seal { left: -8px; top: -34px; bottom: auto; width: 96px; height: 96px; }
  .note-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .note-photo { max-width: 300px; }
  .note-card .postmark { --pm: 92px; top: -46px; right: 4px; }
  .handmade-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .handmade-duo { grid-template-columns: 1fr; gap: 2rem; }

  .quote-band { padding: 3.75rem 1.25rem; }
}
@media (max-width: 520px) {
  .ha-hello { font-size: 1.9rem; }
  .hero-art .hero-lead { font-size: 1rem; }
  .hero-art .hero-actions { flex-direction: column; }
  .hero-art .hero-actions .btn { width: 100%; min-height: 48px; }
  .ha-media { max-width: calc(100% - 20px); }
  .ha-seal { width: 78px; height: 78px; left: -6px; top: -28px; bottom: auto; }
  .note-card { padding: 2rem 1.35rem 1.75rem; }
  .note-greet { font-size: 2.3rem; }
  .note-body p { font-size: 1.15rem; }
  .page-hero-seal { width: 84px; height: 84px; }
  .hm-tile figcaption { font-size: 0.82rem; }
  .section-alt, .section-dark, .quote-band { margin-inline: 6px; }
}

/* ---------- Gentle motion: soft crossfade, subtle reveals ---------- */
.reveal {
  transform: translateY(8px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.is-visible { transform: none; }
::view-transition-old(root) { animation: 400ms ease both page-fade-out; }
::view-transition-new(root) { animation: 400ms ease both page-fade-in; }

@media (prefers-reduced-motion: reduce) {
  .hm-tile:hover .hm-ph img { transform: none; }
  .reveal { transform: none; transition: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* ============================================================
   NEWS / BLOG  (list page + article pages, generated by tools/blog-lib.mjs)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 2rem 1.75rem;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-soft);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.news-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--beige-deep);
}
.news-card-media picture { display: contents; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-card-media--empty { display: grid; place-items: center; }
.news-card-media--empty img { width: 96px; height: 96px; object-fit: contain; opacity: 0.85; }
.news-card-body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.news-card-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.article-meta { color: var(--ink-gold); }
.news-card-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; font-weight: 600; color: var(--teal); margin: 0; }
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card-summary { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
.news-card-more { margin: auto 0 0; padding-top: 0.6rem; font-weight: 600; color: var(--saffron-dark); font-size: 0.95rem; }
.news-card:focus-within { outline: 2px solid var(--saffron); outline-offset: 3px; }
.news-card-title a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(43, 42, 38, 0.1); }
  .news-card:hover .news-card-media img { transform: scale(1.03); }
}
.news-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crocus);
  border: 1px solid rgba(110, 79, 138, 0.55);
  background: rgba(110, 79, 138, 0.07);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
}
.news-empty { text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--text-muted); padding: 3rem 0; }

/* article */
.article-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.article-hero { padding: 3.25rem 0 2.75rem; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 0.4rem 0 0.9rem; }
.article-back { margin: 0 0 1.1rem; font-size: 0.95rem; }
.article-back a { color: var(--ink-gold); text-decoration: none; font-weight: 600; }
.article-back a:hover { color: var(--saffron-dark); text-decoration: underline; }
.article-body { padding-top: 2.5rem; padding-bottom: 4rem; }
.article-back-bottom { margin-top: 3rem; }
.article-cover { margin: 0 0 2.25rem; }
.article-cover picture { display: contents; }
.article-cover img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 38px rgba(43, 42, 38, 0.12); }
.example-note {
  border: 1.5px dashed rgba(110, 79, 138, 0.6);
  background: rgba(110, 79, 138, 0.06);
  color: var(--crocus);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  margin: 0 0 1.75rem;
}
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--charcoal); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); color: var(--teal); font-size: 1.95rem; line-height: 1.2; margin-top: 1.9em; }
.prose h3 { font-family: var(--font-display); color: var(--teal); font-size: 1.5rem; line-height: 1.25; margin-top: 1.6em; }
.prose h4 { font-weight: 700; color: var(--teal); margin-top: 1.4em; }
.prose a { color: var(--ink-gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--saffron-dark); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
  margin-left: 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--ink-gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--teal);
}
.prose blockquote > * + * { margin-top: 0.6em; }
.prose hr { border: 0; height: 8px; background: var(--wave) repeat-x center / 30px 8px; opacity: 0.6; margin: 2.2em auto; max-width: 180px; }
.prose code { background: rgba(107, 82, 12, 0.1); padding: 0.05em 0.35em; border-radius: 6px; font-size: 0.92em; }
.prose pre { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; padding: 1rem; overflow-x: auto; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose picture { display: contents; }
.prose-figure { margin: 2rem 0; }
.prose-figure img { width: 100%; box-shadow: 0 14px 30px rgba(43, 42, 38, 0.1); }
.prose-figure figcaption, .video-embed figcaption, .gallery-tile figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-muted); text-align: center; font-style: italic; }

.video-embed { margin: 2.5rem 0; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #1f1e1a; box-shadow: 0 14px 30px rgba(43, 42, 38, 0.14); }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #1f1e1a; }

.gallery { margin-top: 3rem; }
.gallery-title { font-family: var(--font-display); color: var(--teal); font-size: 1.7rem; margin-bottom: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.gallery-tile { margin: 0; }
.gallery-tile a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 22px rgba(43, 42, 38, 0.1); }
.gallery-tile picture { display: contents; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
@media (hover: hover) and (pointer: fine) { .gallery-tile a:hover img { transform: scale(1.04); } }
@media (max-width: 700px) {
  .news-grid { gap: 1.5rem; }
  .article-hero { padding: 2.25rem 0 2rem; }
  .prose { font-size: 1.04rem; }
  .prose blockquote { font-size: 1.25rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card, .news-card-media img, .gallery-tile img { transition: none; }
  .news-card:hover, .news-card:hover .news-card-media img, .gallery-tile a:hover img { transform: none; }
}
