/* =====================================================================
   Клуб «Настоящий писатель» — true-writer.ru
   Design system: «Голубые полутона» (blue half-tones)
   Single stylesheet · tokens → base → components → responsive
   ===================================================================== */

/* ------------------------------- TOKENS ------------------------------ */
:root {
  /* Blue ramp — cool, slightly desaturated half-tones */
  --blue-50:  #f3f8fe;
  --blue-100: #e6f0fb;
  --blue-200: #cfe2f6;
  --blue-300: #aecdee;
  --blue-400: #82b0e2;
  --blue-500: #5790d6;   /* primary */
  --blue-600: #3d72bd;   /* primary-strong, links */
  --blue-700: #305a9b;
  --blue-800: #244672;
  --blue-900: #182f4d;

  /* Companion + accent hues that sit in harmony with the blues */
  --sky:      #7fc1de;   /* soft cyan companion */
  --sky-tint: #eaf5fa;
  --gold:     #c6a570;   /* warm premium accent — used sparingly (Премия) */
  --gold-soft: rgba(198, 165, 112, 0.16);

  /* Ink + neutrals */
  --ink:      #16263f;
  --ink-soft: #33486a;
  --muted:    #5c6f8d;
  --muted-2:  #647691;   /* затемнён до AA (≥4.5:1 на белом) */

  /* Surfaces */
  --paper:      #ffffff;
  --paper-tint: #f6fafe;
  --glass:      rgba(255, 255, 255, 0.72);
  --glass-soft: rgba(255, 255, 255, 0.55);

  /* Lines */
  --line:        rgba(61, 114, 189, 0.18);
  --line-strong: rgba(61, 114, 189, 0.30);

  /* Elevation — blue-tinted */
  --shadow-1: 0 2px 8px rgba(36, 70, 114, 0.06);
  --shadow-2: 0 16px 40px rgba(36, 70, 114, 0.10);
  --shadow-3: 0 30px 70px rgba(24, 47, 77, 0.16);

  /* Semantic */
  --success: #2f7d63;
  --danger:  #c0445f;

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  /* Type */
  --serif: Georgia, "Times New Roman", "PT Serif", serif;
  --sans:  "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, Arial, sans-serif;

  /* Layout */
  --content: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
}

/* ------------------------------- BASE -------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(1100px 540px at 82% -6%, rgba(127, 193, 222, 0.20), transparent 60%),
    radial-gradient(900px 600px at 6% 8%, rgba(87, 144, 214, 0.14), transparent 55%),
    linear-gradient(180deg, var(--blue-50), #ffffff 30%, var(--paper-tint) 100%);
  background-attachment: fixed;
}

body::selection { background: rgba(87, 144, 214, 0.26); }
::selection { background: rgba(87, 144, 214, 0.26); }

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

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

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(61, 114, 189, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.shell { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue-600);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed; left: 18px; top: 14px; z-index: 200;
  padding: 12px 18px; border-radius: var(--pill);
  color: #fff; background: var(--blue-600); box-shadow: var(--shadow-2);
  transform: translateY(-180%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ------------------------------ BUTTONS ------------------------------ */
.btn {
  --pad: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: var(--pad);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-weight: 700; letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 14px 30px rgba(48, 90, 155, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(48, 90, 155, 0.36); }
.btn-ghost {
  color: var(--blue-700);
  background: var(--glass);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; border-color: var(--blue-400); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: var(--pill); font-size: 0.9rem; }

/* ------------------------------ HEADER ------------------------------- */
.site-header {
  position: sticky; top: 14px; z-index: 100;
  width: min(100% - 24px, var(--content));
  margin: 14px auto 0;
}
.nav-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto;
  color: var(--blue-600);
}
.brand-mark svg { width: 30px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { color: var(--blue-600); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.brand-text strong { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; color: var(--ink); }

.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 1.6vw, 26px); }
.main-nav a {
  position: relative; padding: 8px 2px; color: var(--ink-soft);
  font-size: 0.92rem; font-weight: 600; white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--blue-700); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.nav-cta { justify-self: end; display: inline-flex; }
.nav-toggle {
  display: none; justify-self: end; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: var(--glass); place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ------------------------------ LAYOUT ------------------------------- */
main { padding-top: 8px; }
.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; max-width: 640px; }
.section-head .rule { width: 64px; height: 3px; margin-top: 22px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-500), var(--sky)); }

.panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--glass); box-shadow: var(--shadow-2);
  backdrop-filter: blur(14px);
}

/* -------------------------------- HERO ------------------------------- */
.hero {
  position: relative; overflow: hidden;
  width: min(100% - 24px, 1480px); margin: 18px auto 0;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-3); isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(244,250,255,0.7)),
    url("assets/blue-field.svg") top right / 340px no-repeat,
    linear-gradient(135deg, #eef6ff, #dcebfb 60%, #cfe2f6);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(600px 360px at 88% 8%, rgba(127,193,222,0.4), transparent 60%),
    radial-gradient(560px 420px at 4% 96%, rgba(87,144,214,0.16), transparent 60%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(48px, 7vw, 104px) clamp(28px, 6vw, 92px);
}
.hero-title { font-size: clamp(3rem, 7.2vw, 6.2rem); line-height: 0.96; letter-spacing: -0.02em; }
.hero-title .accent {
  background: linear-gradient(120deg, var(--blue-600), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 560px; margin-top: 26px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags span, .hero-tags a {
  padding: 7px 14px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--glass-soft);
  color: var(--blue-700); font-size: 0.82rem; font-weight: 600;
}
.hero-tags a { transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.hero-tags a:hover { border-color: var(--blue-400); color: var(--blue-600); background: #fff; }

.hero-panel { padding: clamp(26px, 3.4vw, 40px); }
.hero-panel .panel-kicker { color: var(--blue-600); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-panel h2 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; }
.hero-panel p { margin-top: 14px; color: var(--muted); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.hero-stats div { border-top: 2px solid var(--line-strong); padding-top: 14px; }
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--blue-700); line-height: 1; }
.hero-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }

/* ------------------------------- ABOUT ------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-copy p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.8; }
.about-copy p + p { margin-top: 18px; }
.about-aside { padding: clamp(26px, 3.2vw, 38px); }
.about-aside .big { font-family: var(--serif); font-size: 3.6rem; color: var(--blue-700); line-height: 1; }
.about-aside h3 { margin-top: 18px; font-size: 1.5rem; line-height: 1.2; }
.about-aside p { margin-top: 12px; color: var(--muted); }
.about-aside .quote { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; }

/* ------------------------------ EVENTS ------------------------------- */
.card-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.event-card { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.event-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-600); background: var(--blue-100); border: 1px solid var(--line); }
.event-icon svg { width: 26px; height: 26px; }
.event-card .meta { color: var(--blue-600); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.event-card h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.18; }
.event-card p { color: var(--muted); }
.events-cta { margin-top: clamp(26px, 3.4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.events-cta p { color: var(--muted); }

/* --------------------------- HONORARY MEMBERS ------------------------ */
.honorary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.member-card {
  overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.member-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue-100); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.member-card:hover .member-photo img { transform: scale(1.05); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(22, 38, 63, 0.5)); }
.member-body { padding: 18px 20px 22px; }
.member-body h3 { font-size: 1.18rem; line-height: 1.2; }
.member-body p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* ------------------------------ PROJECTS ----------------------------- */
.project-card {
  position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  background: linear-gradient(150deg, rgba(255,255,255,0.9), rgba(230,240,251,0.75));
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.project-card .tag { align-self: flex-start; padding: 6px 14px; border-radius: var(--pill); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-100); border: 1px solid var(--line); }
.project-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.project-card p { color: var(--muted); }
.project-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--blue-700); font-weight: 700; }
.project-card .go .arrow { transition: transform var(--t-fast) var(--ease); }
.project-card:hover .go .arrow { transform: translateX(4px); }
.project-card.is-premia { background: linear-gradient(150deg, rgba(255,255,255,0.92), rgba(246,240,228,0.7)); border-color: var(--gold-soft); }
.project-card.is-premia .tag { color: #8a6d36; background: var(--gold-soft); border-color: rgba(198,165,112,0.4); }
.project-card.is-premia::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------------------------- PUBLICATIONS --------------------------- */
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.pub-card { padding: clamp(24px, 2.8vw, 32px); border-radius: var(--r-md); border: 1px dashed var(--line-strong); background: var(--glass-soft); display: flex; flex-direction: column; gap: 10px; }
.pub-card .tag { color: var(--blue-600); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.pub-card h3 { font-size: 1.35rem; }
.pub-card p { color: var(--muted); font-size: 0.95rem; }
.pub-note { margin-top: 22px; color: var(--muted-2); font-size: 0.9rem; }
.pub-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px); }
.pub-empty h3 { margin-top: 10px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.pub-empty p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.pub-empty .btn { flex: none; }

/* ---- Сборники «Новая фантастика» — витрина обложек ---- */
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.sb-item { display: flex; flex-direction: column; gap: 9px; }
.sb-cover { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--blue-100); box-shadow: var(--shadow-2); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.sb-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(198,165,112,0); transition: box-shadow .35s var(--ease); pointer-events: none; }
.sb-item:hover .sb-cover { transform: translateY(-7px); box-shadow: var(--shadow-3); }
.sb-item:hover .sb-cover img { transform: scale(1.045); }
.sb-item:hover .sb-cover::after { box-shadow: inset 0 0 0 1.5px rgba(198,165,112,.55); }
.sb-cap { text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.sb-cap b { font-family: var(--serif); color: var(--blue-700); font-weight: 600; }
.sb-buy { text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--blue-600); transition: color var(--t-fast) var(--ease); }
.sb-buy:hover { color: var(--blue-700); }
.sb-buy .arrow { transition: transform var(--t-fast) var(--ease); display: inline-block; }
.sb-buy:hover .arrow { transform: translateX(3px); }
@media (max-width: 700px) { .sb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 440px) { .sb-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Послание президента (баннер на главной) ---- */
.prez {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  width: min(100% - 24px, 1480px); margin: clamp(28px, 4vw, 60px) auto;
  border-radius: var(--r-xl); box-shadow: var(--shadow-3);
  background:
    linear-gradient(180deg, rgba(10,22,41,0.80), rgba(10,22,41,0.90)),
    url("images/support/manifesto.webp") center / cover no-repeat,
    radial-gradient(900px 520px at 82% -10%, rgba(127,193,222,0.42), transparent 60%),
    linear-gradient(150deg, #15294a, #0b1830);
}
.prez-inner { padding: clamp(56px, 8vw, 116px) 0; position: relative; z-index: 1; max-width: 860px; }
.prez .eyebrow { color: var(--sky); }
.prez h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.06; letter-spacing: -0.01em; max-width: 19ch; }
.prez h2 .em { background: linear-gradient(120deg, var(--sky), #cfe2f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prez p { margin-top: 22px; max-width: 56ch; color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.7; }
.prez .prez-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.prez .prez-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(255,255,255,0.5); }
.prez .prez-sign span { font-size: 0.96rem; color: rgba(255,255,255,0.8); }
.prez .prez-sign b { display: block; font-family: var(--serif); font-size: 1.16rem; color: #fff; font-weight: 600; }
.prez-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.prez .btn-ghost { color: #fff; background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.42); backdrop-filter: blur(6px); }
.prez .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

/* ---- Кинематографичный hero (фантастический фон) ---- */
.hero {
  color: #fff; border-color: rgba(127,193,222,0.20);
  background:
    linear-gradient(90deg, rgba(11,22,41,0.94) 0%, rgba(11,22,41,0.72) 34%, rgba(11,22,41,0.30) 60%, rgba(11,22,41,0.55) 100%),
    linear-gradient(180deg, rgba(11,22,41,0.42), rgba(11,22,41,0.18) 38%, rgba(11,22,41,0.72)),
    url("images/hero-cosmos.jpg") center / cover no-repeat,
    linear-gradient(150deg, #14294a, #0c1a31);
}
.hero::before { display: none; }
.hero-inner { grid-template-columns: 1fr; }
.hero-copy { max-width: 760px; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--sky); }
.hero-title { color: #fff; text-shadow: 0 2px 34px rgba(7,16,31,0.5); }
.hero-lead { color: rgba(255,255,255,0.88); }
.hero .btn-ghost { color: #fff; background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.42); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.hero-statline { display: flex; flex-wrap: wrap; gap: clamp(24px, 3.6vw, 52px); margin: clamp(30px, 3.8vw, 42px) 0 0; padding: 0; }
.hero-statline div { border-top: 2px solid rgba(127,193,222,0.4); padding-top: 12px; }
.hero-statline dt { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; line-height: 1; }
.hero-statline dd { margin: 8px 0 0; color: rgba(255,255,255,0.68); font-size: 0.86rem; }
.hero .hero-tags a { color: #fff; background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.34); }
.hero .hero-tags a:hover { background: rgba(255,255,255,0.2); border-color: #fff; color: #fff; }

/* ------------------------------ CONTACTS ----------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.contact-channels { display: grid; gap: 14px; }
.channel {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--glass); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.channel:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--shadow-2); }
.channel .ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); border: 1px solid var(--line); font-weight: 800; }
.channel .ic svg { width: 24px; height: 24px; }
.channel strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.channel small { color: var(--muted); }
.channel .go { color: var(--blue-600); font-size: 1.4rem; }

.org-card { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass-soft); color: var(--muted); font-size: 0.92rem; }
.org-card a { color: var(--blue-700); font-weight: 600; }

.app-form { padding: clamp(26px, 3.2vw, 38px); display: grid; gap: 8px; }
.app-form h3 { font-size: 1.5rem; margin-bottom: 10px; }
.app-form label { color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; margin-top: 8px; }
.app-form input, .app-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.85); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.app-form input:focus, .app-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(87,144,214,0.16); }
.app-form textarea { min-height: 130px; resize: vertical; }
.app-form [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 18px; color: var(--danger); font-size: 0.84rem; font-weight: 700; }
.form-status { min-height: 22px; margin-top: 6px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.form-status.is-success { color: var(--success); font-weight: 700; }
.form-note { margin-top: 4px; color: var(--muted-2); font-size: 0.82rem; text-align: center; }

/* ------------------------------- FOOTER ------------------------------ */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  color: rgba(255,255,255,0.82);
  background: linear-gradient(150deg, #1b3354, var(--blue-900) 70%, #11243d);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3vw, 40px); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 360px; color: rgba(255,255,255,0.66); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--sky); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-size: 0.84rem; }

/* ------------------------- REVEAL ANIMATIONS ------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ------------------------------ RESPONSIVE --------------------------- */
@media (max-width: 1080px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .honorary-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .nav-bar { grid-template-columns: auto 1fr auto; }
  .nav-cta { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .site-header { top: 8px; }
  .cols-3, .cols-2, .pub-grid { grid-template-columns: 1fr; }
  .honorary-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 48px 1fr auto; }

  /* mobile nav drawer */
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg);
    background: rgba(255,255,255,0.97); box-shadow: var(--shadow-3); backdrop-filter: blur(16px);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: var(--r-sm); }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.is-active { background: var(--blue-50); }
}
@media (max-width: 460px) {
  .honorary-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* --------------------------- REDUCED MOTION -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
