﻿/* ===========================================================
   EPPA — Institutional design system
   Deep navy + warm gold on warm paper.
   =========================================================== */

:root {
  /* Palette — institutional, light-mode primary */
  --paper:        #f5f1e8;
  --paper-2:      #efe9dc;
  --surface:      #ffffff;
  --ink:          #0e1e35;
  --ink-2:        #1a3258;
  --muted:        #5d6878;
  --muted-2:      #8a8f9a;
  --rule:         #d9d2bf;
  --rule-2:       #e8e2d0;
  --brand:        #173158;       /* deep navy */
  --brand-press:  #0e1f3a;
  --accent:       #a07a3a;       /* warm gold */
  --accent-soft:  #c8a35a;
  --ok:           #2f6b4a;
  --warn:         #a85b2a;

  /* Type */
  --serif:  "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans:   "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --mono:   "DM Mono", "JetBrains Mono", ui-monospace, monospace;

  --fs-mega:   clamp(40px, 5.6vw, 76px);
  --fs-h1:     clamp(34px, 4.2vw, 56px);
  --fs-h2:     clamp(26px, 2.8vw, 38px);
  --fs-h3:     20px;
  --fs-eyebrow:11px;
  --fs-body:   16px;
  --fs-lead:   19px;
  --fs-small:  14px;

  /* Layout */
  --container:  1240px;
  --pad-x:      clamp(20px, 4vw, 56px);
  --section-y:  clamp(72px, 9vw, 128px);
  --radius:     2px;
  --radius-card:4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { background: var(--paper); min-height: 100vh; }

::selection { background: var(--ink); color: var(--paper); }

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

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

button { font: inherit; cursor: pointer; }

/* ---------------- Typography ---------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.018em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; font-family: var(--sans); letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.eyebrow.no-dot::before { display: none; }

.num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

/* ---------------- Layout primitives ---------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.section-head h2 { max-width: 18ch; }
.section-head .lead { max-width: 50ch; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

.divider { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------------- Buttons / CTAs ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #f5efe1;
  border-radius: var(--radius);
  transition: background .18s ease, transform .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-press); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.btn.gold {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
}
.btn.gold:hover { background: #8d6a30; border-color: #8d6a30; color: #f5efe1;}

.btn.sm { padding: 9px 14px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  font-size: 14px;
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 241, 232, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 88px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand-mark {
  width: 120px; height: 120px;
  display: inline-grid; place-items: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1;
  display: block;
}
.brand-tagline {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.005em;
  display: block;
  margin-top: 4px;
  max-width: 32ch;
  line-height: 1.25;
}
@media (max-width: 1200px) {
  .brand-tagline { display: none; }
}
@media (max-width: 720px) {
  .brand-mark { width: 110px; height: 110px; }
}
@media (max-width: 768px) {
  .hero h1, .page-hero h1 { max-width: none !important; }
  .hero .lead, .page-hero .lead, .lead { max-width: none !important; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .page-hero [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .gala-invite {
    aspect-ratio: unset;
    padding: 36px 28px;
    gap: 0;
  }
  .gala-date-num { font-size: 56px; }
  .gala-event { font-size: 17px; }
  .gala-venue-name { font-size: 15px; }
}
.social-link { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; border:1.5px solid currentColor; color:var(--ink); opacity:.5; transition:opacity .15s, background .15s; flex-shrink:0; }
.social-link:hover { opacity:1; background:var(--ink); color:var(--paper); }
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
.nav-item { position: relative; display: inline-flex; align-items: center; line-height: 1; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 16px;
  left: 0;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown-box {
  background: var(--surface, #fff);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(14,30,53,.12);
  min-width: 210px;
  padding: 6px 0;
  position: relative;
}
.nav-dropdown-box::before {
  content: '';
  position: absolute;
  top: -7px; left: 18px;
  border: 7px solid transparent;
  border-top: none;
  border-bottom-color: var(--rule);
}
.nav-dropdown-box::after {
  content: '';
  position: absolute;
  top: -5px; left: 20px;
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--surface, #fff);
}
.nav-dropdown a {
  display: block;
  padding: 9px 18px 9px 28px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  transition: background .12s, color .12s;
  position: static;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--paper-2, #efe9dc); color: var(--accent); }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-right: 6px;
}
.lang-switch a {
  padding: 6px 10px;
  color: var(--muted);
}
.lang-switch a.active { background: var(--ink); color: var(--paper); }

.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--rule);
    background: transparent;
    border-radius: 2px;
    color: var(--ink);
  }
  .nav-cta .btn:not(.always) { display: none; }
}

/* mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 16px var(--pad-x) 24px;
}
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule-2); font-size: 16px; color: var(--ink); }
.mobile-menu.open { display: block; }

/* ---------------- Hero ---------------- */

.hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hero h1 { font-size: var(--fs-mega); line-height: 1.02; letter-spacing: -0.024em; }
.hero .lead { margin-top: 28px; font-size: 20px; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-meta dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* Hero placeholder image (subtle striped) */
.placeholder {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(23, 49, 88, 0.06) 0px,
      rgba(23, 49, 88, 0.06) 1px,
      transparent 1px,
      transparent 14px
    ),
    linear-gradient(180deg, #efe9dc, #e5dcc4);
  border: 1px solid var(--rule);
  color: var(--muted);
}
.placeholder .ph-label {
  position: absolute;
  inset: auto 14px 14px auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(245, 241, 232, 0.85);
  padding: 5px 8px;
  border: 1px solid var(--rule);
}
.placeholder.aspect-hero { aspect-ratio: 4 / 5; min-height: 420px; }
.placeholder.aspect-wide { aspect-ratio: 16 / 9; }
.placeholder.aspect-square { aspect-ratio: 1 / 1; }
.placeholder.aspect-portrait { aspect-ratio: 3 / 4; }

/* ---------------- Cards ---------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}
.card:hover { border-color: var(--ink-2); }
.card .num { color: var(--accent); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link { margin-top: auto; padding-top: 12px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; } }

/* Big feature card (e.g. AMLR teaser) */
.feature-card {
  background: var(--ink);
  color: #ece5d3;
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.feature-card h2 { color: #f5efe1; max-width: 18ch; }
.feature-card .lead { color: rgba(245, 239, 225, 0.7); }
.feature-card .btn.ghost { color: #f5efe1; border-color: rgba(245, 239, 225, 0.6); }
.feature-card .btn.ghost:hover { background: #f5efe1; color: var(--ink); border-color: #f5efe1;}
@media (max-width: 880px) { .feature-card { grid-template-columns: 1fr; gap: 28px; align-items: start; } }

/* Two-path split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.split > div {
  background: var(--paper);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.split > div.public { background: var(--paper-2); }
.split h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.split .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.split .checks li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.split .checks li::before { content: "—"; color: var(--accent); }
.split .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.trust-strip > div {
  background: var(--paper);
  padding: 28px 24px;
}
.trust-strip dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.trust-strip dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
}
@media (max-width: 980px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .trust-strip { grid-template-columns: 1fr; } }

/* Member / governance cards */
.person {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 24px;
  border-radius: var(--radius-card);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.person .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(23,49,88,0.12) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #efe9dc, #d8cdb3);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--serif);
  color: var(--ink-2);
  font-size: 18px;
  flex-shrink: 0;
}
.person .role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.person .name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.005em; color: var(--ink); }
.person .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* News card */
.news-card {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card .cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-card .date { color: var(--muted-2); font-size: 12px; font-family: var(--mono); letter-spacing: 0.08em; }
.news-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.news-card .summary { color: var(--muted); font-size: 14px; }

/* Bullet list */
.bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule-2);
  align-items: baseline;
}
.bullets li:last-child { border-bottom: 0; }
.bullets .b-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.bullets .b-title { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -0.005em; }
.bullets .b-body { color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.55; }
#αρχες .b-title { color: #f5f1e8; }
#αρχες .b-body  { color: rgba(245,241,232,.7); }

/* Big numbers list */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}
.steps .step {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.steps .step:last-child { border-right: 0; }
.steps .step .num { display: block; margin-bottom: 16px; color: var(--accent); font-size: 13px; }
.steps .step h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: -0.005em; margin: 0 0 6px; }
.steps .step p { color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .steps .step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .steps .step { border-right: 0; }
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: #c8c4b8;
  padding: clamp(56px, 7vw, 88px) 0 32px;
  margin-top: clamp(48px, 6vw, 96px);
}
.site-footer .container { color: inherit; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 239, 225, 0.12);
}
.site-footer .brand-name { color: #f5efe1; }
.site-footer .brand-mark { background: transparent; }
.site-footer .brand-mark img { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-about { max-width: 38ch; color: rgba(245, 239, 225, 0.6); font-size: 14px; margin-top: 18px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(245, 239, 225, 0.75); font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: #f5efe1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  color: rgba(245, 239, 225, 0.45);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #f5efe1; }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* Marks (REALTORS®, CEPI, MMCEPI) */
.mark-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.mark {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mark sup { font-size: 9px; color: var(--accent); }
.mark.muted { color: var(--muted); }

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper);
}

/* Logo seal usages */
.logo-seal {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-seal-cream { filter: brightness(0) invert(1); opacity: 0.92; }
.hero-logo-wrap {
  aspect-ratio: 4 / 5;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 50% 45%, rgba(160,122,58,0.08), transparent 55%),
    repeating-linear-gradient(135deg, rgba(23, 49, 88, 0.05) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--paper), #e8dfc8);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hero-logo-wrap img {
  width: 78%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(23, 49, 88, 0.04));
}
.hero-logo-wrap .corner-tag {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--rule);
  padding: 5px 10px;
  border-radius: 100px;
}
.hero-logo-wrap .corner-tag-2 {
  position: absolute;
  bottom: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
/* ── Hero news banner (replaces logo when highlighted article is set) ──────── */
.hero-news-banner {
  display: block;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 14px),
    var(--ink);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--paper);
}
.hero-news-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,18,34,.88) 0%, rgba(8,18,34,.25) 55%, transparent 100%);
  pointer-events: none;
}
.hero-news-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-news-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 1;
}
.hero-news-cat {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.hero-news-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper);
  margin-bottom: 8px;
}
.hero-news-summary {
  font-size: 0.875rem;
  color: rgba(245,241,232,.72);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-news-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent-soft);
}
/* ── Gala invitation card ────────────────────────────────────────────────── */
.gala-invite {
  aspect-ratio: 1/1;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(160,122,58,.22) 0%, transparent 58%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px),
    var(--ink);
  border: 1px solid rgba(160,122,58,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  text-align: center;
}
.gala-invite::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(160,122,58,.22);
  border-radius: calc(var(--radius-card) + 2px);
  pointer-events: none;
}
.gala-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-soft, #c8a35a);
  margin-bottom: 16px;
}
.gala-logo {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: .92;
}
.gala-ornament {
  color: var(--accent, #a07a3a);
  font-size: 11px;
  margin: 12px 0 8px;
  opacity: .65;
  letter-spacing: .2em;
}
.gala-event {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  color: rgba(245,241,232,.88);
  line-height: 1.35;
}
.gala-org {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-soft, #c8a35a);
  margin-top: 8px;
}
.gala-sep {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(160,122,58,.7), transparent);
  margin: 16px auto;
}
.gala-date-num {
  font-family: var(--serif);
  font-size: clamp(64px, 6vw, 88px);
  color: #f5f1e8;
  line-height: 1;
  letter-spacing: -.02em;
}
.gala-date-text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,241,232,.55);
  margin-top: 6px;
}
.gala-venue-name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(245,241,232,.8);
  margin-top: 6px;
}
.gala-venue-room {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,241,232,.4);
  margin-top: 7px;
}
/* ── Members map section ─────────────────────────────────────────────────── */
.members-map-section {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 4px 20px rgba(14,30,53,.08);
}
.members-map-label {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,241,232,.9);
  background: rgba(14,30,53,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 100px;
  pointer-events: none;
}
.members-map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
/* ─────────────────────────────────────────────────────────────────────────── */

.seal {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at center, transparent 58%, rgba(160, 122, 58, 0.05) 58%);
}
.seal::before, .seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(160, 122, 58, 0.4);
}
.seal::after { inset: 14px; border-style: solid; border-color: rgba(160, 122, 58, 0.18); }
.seal span { position: relative; max-width: 80%; font-family: var(--mono); font-size: 10px; line-height: 1.4; }

/* Forms */
.form {
  display: grid;
  gap: 28px;
}
.form > div { display: flex; flex-direction: column; gap: 20px; margin-bottom: 0 !important; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 14px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.checkbox input { margin-top: 3px; }

/* CTA banner */
.cta-banner {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: clamp(40px, 6vw, 88px);
  border-radius: var(--radius-card);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta-banner .lead { max-width: 56ch; text-align: center; }
.cta-banner .cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Page header (inner pages) */
.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.page-hero .crumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero .crumb-sep { color: var(--accent); }
.page-hero h1 { font-size: clamp(27px, 3.36vw, 45px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: pretty; }
.page-hero .lead { margin-top: 24px; max-width: 56ch; font-size: 19px; }

/* Two column body */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.prose p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin-top: 32px; margin-bottom: 12px; }

/* Side-info box */
.aside-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: var(--radius-card);
}
.aside-card h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.aside-card .info-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 14px;
  color: var(--ink);
}
.aside-card .info-row:last-child { border-bottom: 0; }
.aside-card .info-row .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Compact contact tiles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.contact-tile {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-card);
}
.contact-tile .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-tile .v { font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.3; }
.contact-tile .sub { color: var(--muted); font-size: 13px; margin-top: 6px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Placeholder note */
.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(160,122,58,0.08);
  border: 1px dashed rgba(160,122,58,0.5);
  color: var(--warn);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Geometric block (for inner page imagery) */
.geo {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
}
.geo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(23,49,88,0.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(23,49,88,0.06) 0 1px, transparent 1px 40px);
}
.geo .geo-mark {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
}
.geo .geo-mark::before,
.geo .geo-mark::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(160, 122, 58, 0.3);
}
.geo .geo-mark::after { inset: 28px; border-color: rgba(23,49,88,0.2); }
.geo .geo-mark:has(img)::before,
.geo .geo-mark:has(img)::after { display: none; }
.geo .geo-glyph {
  position: relative;
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
}

/* Dark band */
.dark-band {
  background: var(--ink);
  color: #ece5d3;
}
.dark-band .eyebrow { color: var(--accent-soft); }
.dark-band h2 { color: #f5efe1; }
.dark-band .lead { color: rgba(245, 239, 225, 0.7); }
.dark-band .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(245,239,225,0.14);
  color: #ece5d3;
}
.dark-band .card h3 { color: #f5efe1; }
.dark-band .card p { color: rgba(245,239,225,0.7); }
.dark-band .num { color: var(--accent-soft); }
.dark-band .divider { background: rgba(245,239,225,0.14); }

/* Filter chips */
.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover, .chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 1000; }
