/* =========================================================
   Instituto Amélia Lee — Design System
   Palette: ink #1A1A1A · red #C8102E · paper · mist · stone · gold
   Type: Newsreader (serif, humanist) + Hanken Grotesk (sans)
   Mobile-first.
   ========================================================= */

:root {
  /* Brand palette */
  --ink: #1A1A1A;
  --ink-soft: #2c2a28;
  --red: #C8102E;
  --red-deep: #a50d26;
  --red-tint: #fbeef0;
  --paper: #ffffff;
  --warm-paper: #fbfaf7;
  --mist: #f4f3f0;
  --mist-deep: #ebe9e4;
  --stone: #6f6c68;
  --stone-light: #9a9792;
  --gold: #C9A84C;
  --gold-soft: #d8c184;
  --line: rgba(26, 26, 26, 0.10);
  --line-soft: rgba(26, 26, 26, 0.06);

  /* Typography */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cjk: "Noto Serif SC", "Songti SC", serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --header-h: 68px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(26,26,26,0.05);
  --shadow-md: 0 14px 40px rgba(26,26,26,0.10);
  --shadow-lg: 0 30px 70px rgba(26,26,26,0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.is-light { color: var(--gold-soft); }
.eyebrow.is-light::before { background: var(--gold-soft); }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--stone); line-height: 1.6; }
.serif-quote { font-family: var(--serif); font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section--warm { background: var(--warm-paper); }
.section--ink { background: var(--ink); color: var(--warm-paper); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head p { margin-top: 18px; }
.center { text-align: center; }
.center.section-head { margin-inline: auto; }

.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 50px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200,16,46,0.28); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,16,46,0.34); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(26,26,26,0.22); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Blur lives on a pseudo-element so backdrop-filter does NOT turn the header
   into the containing block for the fixed mobile drawer (which would clip it). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(26,26,26,0.07); border-bottom-color: var(--line-soft); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .brand-mark {
  height: 44px; width: 44px; border-radius: 11px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  background: #fff;
}
.brand .brand-mark img { height: 30px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand-name span { display: block; font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 2px; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav-desktop a {
  font-weight: 500; font-size: 0.97rem; color: var(--ink-soft);
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-desktop a::after {
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--red);
  transition: width .26s var(--ease);
}
.nav-desktop a:hover { color: var(--red); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { width: 100%; }
.nav-desktop a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }
.header-actions .btn { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
@media (max-width: 1023px) {
  .brand-name { font-size: 1.02rem; white-space: nowrap; }
}
@media (max-width: 560px) {
  .brand .brand-mark { height: 40px; width: 40px; border-radius: 10px; }
  .brand .brand-mark img { height: 26px; }
  .brand-name span { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand { gap: 0.55rem; }
}
@media (max-width: 430px) {
  .header-actions .btn { padding: 0 1rem; }
  .menu-toggle { width: 44px; height: 44px; }
}

.menu-toggle {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line);
}
.menu-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content:""; position:absolute; left:0; width:20px; height:2px; background: var(--ink); border-radius:2px; transition: transform .28s var(--ease), top .28s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.nav-mobile {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--paper);
  padding: 26px 22px 40px;
  display: flex; flex-direction: column;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
body.menu-open .nav-mobile { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 1.7rem; font-weight: 500;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a[aria-current="page"] { color: var(--red); }
.nav-mobile a .idx { font-family: var(--sans); font-size: 0.8rem; color: var(--stone-light); font-weight: 600; }
.nav-mobile .btn {
  margin-top: 26px; width: 100%; min-height: 54px; font-size: 1.05rem;
  justify-content: center; text-align: center;
  font-family: var(--sans); font-weight: 600;
  padding: 0 1.5rem; border-bottom: none;
}
.nav-mobile-foot { margin-top: auto; padding-top: 28px; color: var(--stone); font-size: 0.9rem; }
@media (min-width: 1024px) { .nav-mobile { display: none; } }

/* ===================== HERO ===================== */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,18,17,0.55) 0%, rgba(20,18,17,0.30) 35%, rgba(20,18,17,0.78) 100%),
    linear-gradient(90deg, rgba(20,18,17,0.72) 0%, rgba(20,18,17,0.10) 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: clamp(560px, 92vh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: clamp(40px, 7vw, 80px);
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,0.86); max-width: 46ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 34px; }
.hero-badge {
  position: absolute; top: calc(var(--header-h) + 26px); right: 22px; z-index: 3;
  display: none; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 10px 16px 10px 12px; border-radius: 999px;
}
.hero-badge b { font-family: var(--cjk); font-size: 1.5rem; color: #fff; line-height: 1; }
.hero-badge span { font-size: 0.82rem; color: rgba(255,255,255,0.92); line-height: 1.2; }
@media (min-width: 768px) { .hero-badge { display: flex; } }

/* ===================== STATS ===================== */
.stats { background: var(--ink); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden;
}
.stat { background: var(--ink); padding: clamp(26px, 4vw, 44px) clamp(18px, 3vw, 34px); }
.stat-num { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; color: #fff; }
.stat-num .unit { color: var(--gold-soft); }
.stat-label { margin-top: 12px; color: rgba(255,255,255,0.66); font-size: 0.95rem; }
@media (min-width: 880px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SPLIT (Quem somos) ===================== */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split-figure { position: relative; }
.split-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.figure-gold { padding: 10px; background: #fff; border-radius: calc(var(--radius-lg) + 8px); box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.figure-gold::before { content:""; position:absolute; inset:0; border-radius: inherit; border: 2px solid var(--gold); opacity:0.0; }
.figure-cap { margin-top: 14px; font-size: 0.86rem; color: var(--stone); text-align: center; font-style: italic; }

/* Memory card (portrait) */
.memory-card { display: inline-block; background:#fff; padding: 14px 14px 0; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.memory-card .frame { border: 3px solid var(--gold); padding: 0; border-radius: 4px; overflow: hidden; }
.memory-card img { width: 100%; }
.memory-card .cap { font-family: var(--serif); text-align: center; padding: 14px 8px 18px; font-size: 0.95rem; line-height: 1.4; }
.memory-card .cap b { display:block; }
.memory-card .cap .cjk { font-family: var(--cjk); color: var(--stone); }

/* ===================== CARDS / PILLARS ===================== */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards.cols-3 { grid-template-columns: repeat(3,1fr); } .cards.cols-2 { grid-template-columns: repeat(2,1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .card-num { font-family: var(--serif); font-size: 1.1rem; color: var(--red); }
.value-list { display: grid; gap: 11px; margin-top: 4px; }
.value-list li { position: relative; padding-left: 18px; color: var(--stone); font-size: 0.94rem; line-height: 1.5; }
.value-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.value-list li b { color: var(--ink); font-weight: 600; }
.card .card-ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red); margin-bottom: 20px;
}
.card .card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--stone); font-size: 0.97rem; }
.section--mist .card { background: #fff; }

/* ===================== FLOW / TIMELINE ===================== */
.flow { display: grid; gap: 14px; counter-reset: step; }
.flow-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; position: relative;
}
.flow-step .dot {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem;
}
.flow-step:nth-child(odd) .dot { background: var(--red); }
.flow-step .when { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.flow-step h4 { font-family: var(--serif); font-size: 1.18rem; margin: 3px 0 4px; }
.flow-step p { color: var(--stone); font-size: 0.94rem; }
@media (min-width: 880px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .flow-step { flex-direction: column; text-align: left; }
  .flow-connect { position: relative; }
}

/* ===================== IMPACT HIGHLIGHT ===================== */
.impact-highlight {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 46px);
  margin-bottom: 34px;
}
.impact-highlight .ih-num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 9vw, 5rem); line-height: 0.9;
  color: var(--gold-soft); flex-shrink: 0;
}
.impact-highlight .ih-label {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.25; color: #fff; max-width: 18ch;
}

/* ===================== PARTNERS ===================== */
.partner-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .partner-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .partner-grid { grid-template-columns: repeat(3,1fr); } }
.partner {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.partner:hover { border-color: var(--red); transform: translateX(3px); }
.partner .mono { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; width: 38px; height: 38px; border-radius: 9px; background: var(--mist); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.partner span { font-weight: 500; font-size: 0.96rem; line-height: 1.25; }

/* ===================== CTA BANNER ===================== */
.cta-banner { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before {
  content:""; position:absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px; background: url('../img/ideograma-white.png') center/contain no-repeat;
  opacity: 0.10;
}
.cta-banner .wrap { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner p { color: rgba(255,255,255,0.88); margin-top: 14px; max-width: 50ch; }
.cta-banner .hero-cta { margin-top: 30px; }

/* ===================== TRANSPARENCY / NOTE ===================== */
.note-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: clamp(22px, 3vw, 32px);
}
.note-card .serif-quote { font-size: 1.2rem; line-height: 1.5; }

/* ===================== FORMS ===================== */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field label .opt { color: var(--stone-light); font-weight: 400; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 14px 16px; width: 100%; min-height: 52px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint);
}
.field.row-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.form-note { font-size: 0.84rem; color: var(--stone); }
.form-success { display: none; background: var(--red-tint); border: 1px solid rgba(200,16,46,0.2); color: var(--red-deep); border-radius: 11px; padding: 16px 18px; font-weight: 500; }
.form-success.show { display: block; }

/* ===================== GALLERY ===================== */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { position: relative; transform: rotate(var(--rot, 0deg)); }
.polaroid { background:#fff; padding: 12px 12px 0; border-radius: 6px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font-family: var(--serif); text-align: center; padding: 12px 6px 16px; font-size: 0.88rem; color: var(--stone); }

/* ===================== PRODUCTS chips ===================== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background:#fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 0.95rem; }
.chip .dot-sm { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.section--mist .chip { background: #fff; }

/* ===================== PAGE HEADER (interior) ===================== */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-40px; bottom:-60px; width:300px; height:300px; background:url('../img/ideograma-white.png') center/contain no-repeat; opacity:0.06; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(50px, 8vw, 96px); }
.page-hero h1 { color:#fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.82); margin-top: 20px; max-width: 56ch; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.breadcrumb a:hover { color:#fff; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-top: clamp(56px, 8vw, 92px); }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }
.footer-brand { display:flex; align-items:center; gap: 14px; margin-bottom: 22px; }
.footer-brand .fmark { width: 56px; height: 56px; border-radius: 13px; border:1.5px solid rgba(255,255,255,0.3); display:grid; place-items:center; }
.footer-brand .fmark img { height: 38px; }
.footer-brand .fname { font-family: var(--serif); font-size: 1.4rem; color:#fff; line-height:1.1; }
.site-footer p { font-size: 0.95rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-col ul { display:grid; gap: 11px; }
.footer-col a { font-size: 0.96rem; transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-social { display:flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display:grid; place-items:center; transition: background .25s, border-color .25s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { display:flex; flex-wrap: wrap; gap: 14px 26px; align-items:center; justify-content: space-between; padding: 26px 0 40px; font-size: 0.85rem; }
.footer-tag { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,0.82); display:flex; align-items:center; gap:10px; }
.footer-tag .cjk { font-family: var(--cjk); font-style: normal; color: var(--gold-soft); font-size: 1.2rem; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== UTIL ===================== */
.mt-0 { margin-top: 0; }
.maxw-60 { max-width: 60ch; }
.text-stone { color: var(--stone); }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
