/* ==========================================================================
   ART INSIDE — Edible Art Atelier
   Shared stylesheet for all HTML mockups.
   Designed to translate 1:1 into a WordPress theme (style.css) later.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --cream:      #F1EBE2;   /* page background */
  --cream-soft: #EAE2D6;   /* alternate section background */
  --cream-deep: #E2D8C9;   /* card / placeholder base */
  --ink:        #3E2740;   /* deep plum — primary text */
  --ink-soft:   #5D4260;   /* secondary text */
  --plum:       #4A2545;   /* dark blocks, seal */
  --gold:       #A9853F;   /* accent, links, ornaments */
  --gold-soft:  #C3A66B;
  --blush:      #C89AA1;
  --line:       rgba(62, 39, 64, .22);
  --line-soft:  rgba(62, 39, 64, .12);

  --font-serif:  "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-body:   "EB Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-sans:   "Jost", "Avenir Next", Avenir, sans-serif;

  --wrap: 1240px;
  --radius: 10px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

p { max-width: 62ch; }

.lead {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--ink-soft);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
}

/* Small-caps label, used for nav, eyebrows, buttons */
.caps {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* Gold ornament divider: —◆— */
.ornament {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.4rem 0;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--gold);
}
.ornament .diamond { font-size: .55rem; line-height: 1; }
.ornament.center { justify-content: center; }

/* Arrow link: ENTER THE GALLERY → */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  transition: color .2s, border-color .2s, gap .2s;
}
.link-arrow .arrow { transition: transform .2s; }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* Solid button (plum) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  background: var(--plum);
  color: var(--cream);
  border: 1px solid var(--plum);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--plum); }

.btn-outline {
  background: transparent;
  color: var(--plum);
}
.btn-outline:hover { background: var(--plum); color: var(--cream); }

/* ==========================================================================
   Header  (→ header.php)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 235, 226, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
}
.brand svg { width: 44px; height: 44px; color: var(--gold); }
.brand .name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
}
.brand .tag {
  font-size: .62rem;
  letter-spacing: .34em;
  margin-top: .35rem;
  color: var(--ink-soft);
}

.site-nav { margin-inline: auto; }
.site-nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.site-nav a {
  position: relative;
  padding-bottom: .4rem;
  color: var(--ink);
  white-space: nowrap;
  font-size: .88rem;
  letter-spacing: .11em;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch {
  display: flex;
  gap: .35rem;
  align-items: center;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.lang-switch a { padding: .2rem .1rem; }
.lang-switch a:hover, .lang-switch a.active { color: var(--gold); }
.lang-switch .sep { opacity: .5; }

.menu-btn {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--plum);
  color: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile nav — plum dropdown panel under the header bar */
@media (max-width: 1280px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--plum);
    padding: 2.6rem 2rem 3rem;
    box-shadow: 0 28px 48px rgba(56, 27, 52, .3);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 1.7rem; }
  .site-nav a { font-size: 1.05rem; color: var(--cream); }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { color: var(--gold-soft); }
  .site-nav a::after { background: var(--gold-soft); }
  .menu-btn { display: inline-flex; }
  .lang-switch { margin-left: auto; }
}

/* Language row inside the mobile panel (hidden on desktop) */
.nav-lang { display: none; }

/* Compact header bar on phones: logo + burger only, languages move into the panel */
@media (max-width: 600px) {
  .site-header .bar { gap: 1rem; }
  .brand { gap: .6rem; }
  .brand svg { width: 34px; height: 34px; }
  .brand .name { font-size: 1.15rem; }
  .brand .tag { font-size: .5rem; letter-spacing: .22em; }
  .lang-switch { display: none; }
  .menu-btn { width: 42px; height: 42px; margin-left: auto; }

  .nav-lang {
    display: flex;
    gap: .6rem;
    margin-top: 2.4rem;
    padding-top: 1.9rem;
    border-top: 1px solid rgba(241, 235, 226, .25);
    color: rgba(241, 235, 226, .65);
    font-size: .85rem;
  }
  .nav-lang a { color: rgba(241, 235, 226, .65); }
  .nav-lang a.active, .nav-lang a:hover { color: var(--gold-soft); }
}

/* ==========================================================================
   Placeholders — replaced by real photography later.
   Each carries a data-asset label = the asset shopping list.
   ========================================================================== */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(90% 90% at 85% 90%, rgba(169,133,63,.16), transparent 60%),
    linear-gradient(155deg, #EDE4D6 0%, #E3D6C4 55%, #D9C9B4 100%);
}
.ph::before {           /* soft window-light streak, like the screenshot */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 44%, transparent 56%, rgba(255,255,255,.18) 68%, transparent 78%);
}
.ph::after {            /* asset label */
  content: attr(data-asset);
  position: absolute;
  inset: auto 0 0 0;
  padding: .55rem .9rem;
  font-family: var(--font-serif);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(62,39,64,.55);
  background: linear-gradient(transparent, rgba(241,235,226,.85));
}
.ph.blush {
  background:
    radial-gradient(110% 80% at 25% 15%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(150deg, #E6CFC9 0%, #D5AEA9 55%, #C29A9C 100%);
}
.ph.plum {
  background:
    radial-gradient(110% 80% at 25% 15%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(150deg, #6B4A66 0%, #4A2545 60%, #381B34 100%);
}
.ph.plum::after { color: rgba(241,235,226,.7); background: linear-gradient(transparent, rgba(56,27,52,.85)); }

/* aspect helpers */
.r-16x9 { aspect-ratio: 16 / 9; }
.r-4x3  { aspect-ratio: 4 / 3; }
.r-3x4  { aspect-ratio: 3 / 4; }
.r-1x1  { aspect-ratio: 1 / 1; }
.r-21x9 { aspect-ratio: 21 / 9; }

/* ==========================================================================
   Hero (start page)
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
}
.hero .stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
}
.hero .stage .ph { position: absolute; inset: 0; border-radius: 0; overflow: hidden; }

/* Slow light-wave: the sheen drifts across the hero like sun through curtains */
.hero .stage .ph::before {
  inset: 0 -35%;
  background: linear-gradient(115deg,
    transparent 18%, rgba(255,255,255,.32) 32%,
    transparent 46%, rgba(255,255,255,.2) 60%,
    transparent 74%);
  animation: hero-wave 16s ease-in-out infinite alternate;
}
.hero .stage .ph::after {
  content: "";
  position: absolute;
  inset: -25%;
  padding: 0;
  background:
    radial-gradient(55% 45% at 28% 65%, rgba(169,133,63,.16), transparent 70%),
    radial-gradient(45% 40% at 76% 28%, rgba(200,154,161,.22), transparent 70%);
  animation: hero-glow 26s ease-in-out infinite alternate;
}
@keyframes hero-wave {
  from { transform: translateX(-9%); }
  to   { transform: translateX(9%); }
}
@keyframes hero-glow {
  from { transform: translate(-4%, -3%) scale(1); }
  to   { transform: translate(4%, 4%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .stage .ph::before, .hero .stage .ph::after { animation: none; }
}

.hero .content {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(2rem, 6vw, 5.5rem);
  max-width: 560px;
}
.hero h1 { margin-bottom: .5rem; }
.hero .intro { margin: 1.2rem 0; font-size: 1.15rem; }
.hero .signature { margin: 1.4rem 0 2rem; }

.hero .side-note {
  position: absolute;
  right: clamp(2rem, 5vw, 4.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 220px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
}
.hero .side-note .ornament { justify-content: center; }
.hero .side-note .ornament::before,
.hero .side-note .ornament::after { width: 26px; }

.scroll-hint {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-family: var(--font-serif);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scroll-hint::before {
  content: "";
  width: 1px;
  height: 56px;
  background: var(--gold);
}

/* Wax seal badge */
.seal {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 8vw, 8rem);
  top: 3.2rem;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6B3A63, var(--plum) 65%);
  box-shadow: 0 10px 24px rgba(56, 27, 52, .35), inset 0 0 0 3px rgba(195,166,107,.5), inset 0 0 0 8px rgba(56,27,52,.4);
  color: var(--gold-soft);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero .side-note, .scroll-hint, .seal { display: none; }
  .hero .stage { min-height: 480px; }
}

/* ==========================================================================
   Sections & grids
   ========================================================================== */
.section { padding: 5rem 0; }
.section.tint { background: var(--cream-soft); }
.section.dark { background: var(--plum); color: var(--cream); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark .lead { color: rgba(241,235,226,.75); }
.section.dark .link-arrow { color: var(--cream); border-color: var(--cream); }
.section.dark .link-arrow:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .ornament { justify-content: center; }

/* Teaser card row (Project / Process / Gallery / Journal) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.teaser {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-soft);
  transition: transform .25s, box-shadow .25s;
}
.teaser:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(62,39,64,.12); }
.teaser .ph { border-radius: 0; }
.teaser .body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.teaser h3 { font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.teaser p { font-size: 1rem; color: var(--ink-soft); flex: 1; }
.teaser .link-arrow { align-self: flex-start; font-size: .74rem; }

@media (max-width: 1080px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .teaser-grid { grid-template-columns: 1fr; } }

/* Two-column split (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}

/* Stats / facts row */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: center;
}
.facts .fact { padding: 2.4rem 1.4rem; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.facts .num { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.facts .caps { color: var(--ink-soft); margin-top: .8rem; display: block; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* ==========================================================================
   26 Cantons grid
   ========================================================================== */
.canton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem;
}
.canton {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-soft);
  transition: transform .25s, box-shadow .25s;
}
.canton:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(62,39,64,.12); }
.canton .body { padding: 1.1rem 1.2rem 1.3rem; }
.canton .abbr {
  position: absolute;
  top: .9rem; left: .9rem;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(241,235,226,.92);
  display: grid;
  place-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--plum);
}
.canton h3 { font-size: 1.2rem; }
.canton .status { font-size: .72rem; color: var(--gold); display: block; margin-top: .3rem; }
.canton.upcoming { opacity: .75; }
.canton.upcoming .status { color: var(--ink-soft); }

/* Journey progress bar */
.progress {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0 3rem;
}
.progress .track {
  flex: 1;
  height: 2px;
  background: var(--line-soft);
  position: relative;
}
.progress .track span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--gold);
}
.progress .caps { white-space: nowrap; color: var(--ink-soft); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  margin-bottom: 2.6rem;
}
.filter-bar a {
  padding-bottom: .35rem;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
}
.filter-bar a:hover { color: var(--gold); }
.filter-bar a.active { color: var(--ink); border-color: var(--gold); }

.masonry {
  columns: 3;
  column-gap: 1.2rem;
}
.masonry .piece {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
}
.masonry .piece .meta {
  padding: 1rem .2rem 1.4rem;
}
.masonry .piece h3 { font-size: 1.25rem; }
.masonry .piece .caps { color: var(--gold); font-size: .68rem; }
@media (max-width: 980px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }

/* ==========================================================================
   Journal
   ========================================================================== */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.post-card .meta { display: flex; gap: 1rem; color: var(--gold); font-size: .7rem; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 980px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-list { grid-template-columns: 1fr; } }

.post-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: 4rem;
}
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } }

/* Single article */
.article-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.article-head .meta { display: flex; justify-content: center; gap: 1.4rem; color: var(--gold); margin-top: 1.4rem; }
.article-body { max-width: 700px; margin-inline: auto; }
.article-body p { margin-bottom: 1.6rem; max-width: none; }
.article-body h2 { font-size: 1.9rem; margin: 2.8rem 0 1.2rem; }
.article-body blockquote {
  margin: 2.6rem 0;
  padding-left: 1.8rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--plum);
}
.article-body figure { margin: 2.6rem 0; }
.article-body figcaption {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   Timeline (The Project / Process)
   ========================================================================== */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline .step { position: relative; padding-bottom: 3rem; }
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before {
  content: "";
  position: absolute;
  left: -2.4rem; top: .5rem;
  width: 13px; height: 13px;
  rotate: 45deg;
  background: var(--gold);
}
.timeline .step h3 { margin-bottom: .5rem; }
.timeline .step p { color: var(--ink-soft); }

/* ==========================================================================
   Exhibition
   ========================================================================== */
.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line-soft);
}
.event:last-child { border-bottom: 1px solid var(--line-soft); }
.event .date {
  font-family: var(--font-serif);
  text-align: center;
}
.event .date .day { font-size: 2.6rem; line-height: 1; color: var(--gold); }
.event .date .month { letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }
.event .venue { color: var(--ink-soft); font-size: 1rem; margin-top: .4rem; }
@media (max-width: 720px) {
  .event { grid-template-columns: 90px 1fr; }
  .event .link-arrow { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: .5rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 160px; resize: vertical; }

.contact-aside .row { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-aside .row .caps { width: 110px; flex-shrink: 0; color: var(--gold); }

/* ==========================================================================
   Quote band + newsletter + footer  (→ footer.php)
   ========================================================================== */
.quote-band {
  padding: 4.5rem 0;
  text-align: center;
}
.quote-band .quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
  max-width: 30ch;
  margin-inline: auto;
}
.quote-band .ornament { justify-content: center; margin-top: 1.6rem; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 3.5rem 0 2.5rem;
  background: var(--cream-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.newsletter .blurb { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.4rem; }
.newsletter .badge {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold-soft);
  display: grid;
  place-content: center;
}
.newsletter .caps { color: var(--ink-soft); line-height: 2; letter-spacing: .18em; }

.newsletter form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  max-width: 380px;
}
.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  padding: .9rem 1.4rem;
  font: inherit;
  color: var(--ink);
}
.newsletter input:focus { outline: none; }
.newsletter button {
  border: none;
  background: transparent;
  padding: 0 1.4rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.2rem;
  transition: color .2s;
}
.newsletter button:hover { color: var(--gold); }

.footer-nav ul { list-style: none; display: grid; gap: .7rem; }
.footer-nav a:hover { color: var(--gold); }

.social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  display: grid;
  place-content: center;
  transition: background .2s;
}
.social a:hover { background: var(--gold); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ---- Page hero (inner pages) ---- */
.page-head {
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-head .ornament { justify-content: center; }
.page-head .lead { margin: 1rem auto 0; }

/* ---- Reveal-on-scroll (progressive enhancement) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
