/* ==========================================================================
   Camberwell Islamic Centre — Premium Redesign
   Design system: colours, type, layout primitives, components
   ========================================================================== */

:root {
  /* Palette */
  --ink: #16211c;
  --ink-soft: #3f4a44;
  --muted: #6b7570;
  --cream: #faf7f0;
  --cream-deep: #f2ecdd;
  --paper: #ffffff;
  --green-900: #0c2b23;
  --green-800: #123c30;
  --green-700: #16493a;
  --green-600: #1f5c49;
  --green-100: #e5efe9;
  --gold-600: #b3893f;
  --gold-500: #c69c52;
  --gold-300: #e3c98a;
  --gold-100: #f5e9cf;
  --line: #e4ddc9;
  --shadow-color: 20 30 20;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;
  --gap: clamp(1.25rem, 2vw, 2rem);
}

/* ---------------------------------- reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
p { margin: 0 0 1em; color: var(--ink-soft); }
button { font: inherit; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--deep { background: var(--green-900); color: #eef3ef; }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #f6f1e2; }
.section--deep p { color: #c9d6cd; }
.section--cream-deep { background: var(--cream-deep); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold-500); display: inline-block; }
.section--deep .eyebrow { color: var(--gold-300); }

.h-xl { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
.h-lg { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.h-md { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* geometric texture, used as subtle background flourish */
.pattern-veil { position: relative; isolation: isolate; }
.pattern-veil::before {
  content: "";
  position: absolute; inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23c69c52' stroke-width='0.7' opacity='0.35'%3E%3Cpath d='M42 2 L82 42 L42 82 L2 42 Z'/%3E%3Ccircle cx='42' cy='42' r='19'/%3E%3Cpath d='M42 23 L61 42 L42 61 L23 42 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 84px;
  z-index: 0;
  pointer-events: none;
}
.pattern-veil > * { position: relative; z-index: 1; }

/* -------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: #2a1d06;
  box-shadow: 0 10px 24px -10px rgba(179, 137, 63, .65);
}
.btn-gold:hover { box-shadow: 0 14px 28px -10px rgba(179, 137, 63, .8); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: inherit;
}
.btn-outline:hover { border-color: var(--gold-400, #d8b876); background: rgba(255,255,255,.06); }
.btn-ink { background: var(--green-900); color: #f6f1e2; }
.btn-ink:hover { background: var(--green-800); }
.btn-line { border-color: var(--line); color: var(--green-900); background: var(--paper); }
.btn-line:hover { border-color: var(--gold-500); }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------------------------------- header -------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .97);
  border-bottom: 1px solid var(--line);
}
/* Note: intentionally no backdrop-filter/transform here — either would make this
   element a containing block for its fixed-position descendant (.nav-links on
   mobile), breaking the full-screen menu overlay. */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { height: 42px; width: auto; flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--green-900); }
.brand-text span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold-500); transition: right .2s ease;
}
.nav-links a:hover { color: var(--green-900); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--green-900); }

.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--green-900); position: relative; }
.nav-toggle { flex-direction: column; gap: 5px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 64px 0 0 0; background: var(--cream); flex-direction: column; justify-content: flex-start; padding: 2rem 1.5rem; gap: 1.4rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; border-top: 1px solid var(--line); }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------- hero ---------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 20%, var(--green-700), var(--green-900) 62%);
  color: #f4efe0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e3c98a' stroke-width='0.6' opacity='0.22'%3E%3Cpath d='M60 4 L116 60 L60 116 L4 60 Z'/%3E%3Cpath d='M60 24 L96 60 L60 96 L24 60 Z'/%3E%3Ccircle cx='60' cy='60' r='46'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 7.5rem); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.hero-inner { max-width: 780px; flex: 1 1 auto; }
.hero-calligraphy { flex: 0 0 auto; text-align: center; margin-top: -2.5rem; }
.hero-calligraphy img { display: block; width: clamp(220px, 24vw, 380px); height: auto; }
@media (max-width: 900px) { .hero-calligraphy { display: none; } }
.hero .eyebrow { color: var(--gold-300); }
.hero h1 { color: #fbf7ec; }
.hero .lede { color: #d7e2da; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-300); }
.hero-badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #c9d6cd; }

.verse-slider { position: relative; max-width: 720px; margin-inline: auto; text-align: center; }
.verse-slide { display: none; }
.verse-slide.is-active { display: block; animation: verse-fade .7s ease; }
@keyframes verse-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.verse-arabic { font-family: "Amiri", var(--font-display), serif; font-weight: 700; direction: rtl; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.9; color: var(--green-900); margin: 0 0 1.2rem; }
.verse-translation { margin: 0 auto; max-width: 560px; }
.verse-translation p { font-family: var(--font-display); font-style: italic; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); margin: 0 0 .5rem; }
.verse-translation cite { display: block; font-style: normal; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); }
.verse-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.8rem; }
.verse-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(18,60,48,.16); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.verse-dot:hover { background: var(--gold-500); }
.verse-dot.is-active { background: var(--gold-600); transform: scale(1.3); }

.page-hero { padding-block: clamp(3rem, 7vw, 4.5rem); }
.page-hero .lede { color: #d7e2da; }

/* --------------------------------- cards ---------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  box-shadow: 0 24px 48px -36px rgba(var(--shadow-color), .45);
  height: 100%;
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--green-700); }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--green-700); margin-top: .6rem; font-size: .92rem; }
.card-link:hover { color: var(--gold-600); }

.tile {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.tile .card-icon { margin-bottom: 0; }

/* ------------------------------ prayer table ------------------------------ */
.prayer-card {
  background: var(--green-900);
  border-radius: var(--radius-lg);
  color: #f4efe0;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.prayer-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23e3c98a' stroke-width='0.5' opacity='0.18'%3E%3Cpath d='M50 3 L97 50 L50 97 L3 50 Z'/%3E%3Ccircle cx='50' cy='50' r='38'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.prayer-card > * { position: relative; z-index: 1; }
.prayer-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.prayer-head .date { font-size: .85rem; color: var(--gold-300); text-transform: uppercase; letter-spacing: .08em; }
.prayer-table { width: 100%; border-collapse: collapse; }
.prayer-table th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-300); font-weight: 600; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.16);
}
.prayer-table td { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 1.02rem; }
.prayer-table tr:last-child td { border-bottom: none; }
.prayer-table td.prayer-name { font-family: var(--font-display); font-size: 1.12rem; color: #fbf7ec; }
.prayer-table td.num { font-variant-numeric: tabular-nums; }
.prayer-note { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px dashed rgba(255,255,255,.18); display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .92rem; color: #d7e2da; }
.prayer-note strong { color: var(--gold-300); }
.asr-toggle { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.asr-toggle-btn { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #d7e2da; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.asr-toggle-btn:hover { border-color: var(--gold-300); color: #fbf7ec; }
.asr-toggle-btn.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }

/* ------------------------------ full calendar ------------------------------ */
.calendar-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.8rem; }
.calendar-tabs { display: flex; gap: .3rem; background: var(--cream-deep); padding: .3rem; border-radius: 999px; }
.calendar-tab { font-family: var(--font-body); font-size: .82rem; font-weight: 600; padding: .5em 1.3em; border-radius: 999px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer; transition: background .2s ease, color .2s ease; }
.calendar-tab.is-active { background: var(--green-900); color: #fbf7ec; }
.calendar-month-nav { display: flex; align-items: center; gap: .8rem; }
.calendar-month-nav[hidden] { display: none; }
.calendar-nav-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--green-900); font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease; }
.calendar-nav-btn:hover { border-color: var(--gold-500); color: var(--gold-600); }
.calendar-month-label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--green-900); min-width: 150px; text-align: center; }

.table-scroll { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.calendar-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.calendar-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); font-weight: 700; padding: .8rem 1rem; border-bottom: 2px solid var(--line); white-space: nowrap; }
.calendar-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calendar-table tr:last-child td { border-bottom: none; }
.calendar-table tr:hover td { background: var(--cream); }
.calendar-table tr.is-today td { background: var(--gold-100); }
.calendar-table td.calendar-date { font-family: var(--font-display); font-weight: 600; color: var(--green-900); }
.calendar-loading, .calendar-error { text-align: center; color: var(--muted); padding: 1.6rem 0 !important; white-space: normal; }

.calendar-year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 2rem; }
.calendar-year-grid[hidden] { display: none; }
.calendar-month-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.calendar-month-card:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(20,30,20,.35); }
.calendar-month-card strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-900); }
.calendar-month-card span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.calendar-note { margin-top: 1.6rem; font-size: .85rem; color: var(--muted); }

/* --------------------------------- stats ---------------------------------- */
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--gold-300); }
.stat span { font-size: .82rem; letter-spacing: .04em; color: #c9d6cd; }

/* -------------------------------- timeline --------------------------------- */
.timeline { position: relative; padding-left: 2.2rem; border-left: 2px solid var(--line); display: grid; gap: 2.2rem; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.86rem; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--cream);
}
.timeline-year { font-family: var(--font-display); color: var(--gold-600); font-size: 1.1rem; font-weight: 600; }

/* --------------------------------- quote ----------------------------------- */
.pull-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--green-900); line-height: 1.4; position: relative; padding-left: 1.6rem; border-left: 3px solid var(--gold-500);
}
.pull-quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: .85rem; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* --------------------------------- badges ----------------------------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: .85rem; font-weight: 600; border: 1px solid rgba(18,60,48,.1); }

/* ------------------------------ list / resource ------------------------------ */
.resource-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.15rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.resource-row + .resource-row { margin-top: .8rem; }
.resource-main { display: flex; align-items: center; gap: 1rem; }
.resource-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resource-icon svg { width: 22px; height: 22px; stroke: var(--gold-600); }
.resource-title { font-weight: 700; color: var(--green-900); font-size: 1rem; }
.resource-sub { font-size: .85rem; color: var(--muted); }
.resource-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.resource-row--audio { align-items: flex-start; }
.resource-audio { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.resource-audio audio { flex: 1 1 240px; max-width: 320px; height: 36px; accent-color: var(--gold-500); }

/* --------------------------------- forms ------------------------------------ */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--green-900); }
.field input, .field textarea, .field select {
  font: inherit; padding: .8em 1em; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold-300); outline-offset: 1px; border-color: var(--gold-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

/* --------------------------------- info cards -------------------------------- */
.info-card { display: flex; gap: 1rem; align-items: flex-start; }
.info-card .card-icon { flex-shrink: 0; }

/* ---------------------------------- CTA band ---------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  color: #f4efe0;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23e3c98a' stroke-width='0.5' opacity='0.2'%3E%3Cpath d='M45 3 L87 45 L45 87 L3 45 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 90px 90px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { color: #fbf7ec; margin-bottom: .4rem; }
.cta-band p { color: #cfdccf; margin-bottom: 0; max-width: 46ch; }

/* ----------------------------------- footer ------------------------------------ */
.site-footer { background: var(--green-900); color: #cbd7cf; }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: .7rem; align-items: center; margin-bottom: 1rem; }
.footer-brand strong { font-family: var(--font-display); color: #fbf7ec; font-size: 1.15rem; }
.site-footer h4 { color: #f6f1e2; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.site-footer a { color: #cbd7cf; }
.site-footer a:hover { color: var(--gold-300); }
.footer-links { display: grid; gap: .65rem; }
.footer-contact { display: grid; gap: .8rem; font-size: .92rem; }
.footer-contact .row { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--gold-300); flex-shrink: 0; margin-top: .15rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #9fb0a5; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--gold-300); }
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; }

/* ----------------------------- reveal-on-scroll ------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------ misc ------------------------------------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.frame-art {
  border-radius: var(--radius-lg);
  background: var(--green-900);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.frame-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.frame-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23e3c98a' stroke-width='0.6' opacity='0.3'%3E%3Cpath d='M70 6 L134 70 L70 134 L6 70 Z'/%3E%3Cpath d='M70 32 L108 70 L70 108 L32 70 Z'/%3E%3Ccircle cx='70' cy='70' r='54'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  z-index: 1;
}
.frame-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,43,35,0) 45%, rgba(12,43,35,.8) 100%);
  z-index: 1;
}
.frame-art span { position: relative; z-index: 2; margin: 1.6rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); background: rgba(12,43,35,.55); padding: .5em 1em; border-radius: 999px; }

.notice {
  border: 1px dashed var(--gold-500);
  background: var(--gold-100);
  color: var(--green-900);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: .95rem;
}
.notice strong { color: var(--gold-600); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-900); color: #fff; padding: .8em 1.2em; border-radius: 0 0 10px 0; z-index: 100; }
.skip-link:focus { left: 0; }
