/* ============================================================
   Šahovski klub Dubrovnik — Design System
   ============================================================ */
:root {
  /* Brand */
  --navy:      #0c2c4d;   /* deep brand blue (text, dark sections) */
  --navy-800:  #0f3257;
  --navy-700:  #16406d;
  --blue:      #1768b0;   /* primary action blue */
  --blue-600:  #1f7ac4;
  --sky:       #6cb6e3;   /* logo light blue (accent) */
  --sky-300:   #9fd0ec;
  --sky-100:   #d7ecf8;
  --sky-50:    #eef6fc;   /* light tint background */
  --red:       #d22730;   /* Croatian red — sparing */
  --gold:      #c49a4a;   /* heritage accent — very sparing */

  --ink:       #15242f;
  --body:      #38505f;
  --muted:     #6b7f8e;
  --line:      #e1e8ef;
  --line-soft: #eef2f6;
  --paper:     #ffffff;
  --cream:     #f6f9fb;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-sm: 0 1px 2px rgba(12,44,77,.06), 0 2px 8px rgba(12,44,77,.05);
  --sh:    0 4px 14px rgba(12,44,77,.08), 0 14px 40px rgba(12,44,77,.07);
  --sh-lg: 0 18px 50px rgba(12,44,77,.16);

  --ff-serif: "Spectral", Georgia, serif;
  --ff-sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--ff-serif); color: var(--navy); margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; }

/* Layout helpers ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tint { background: var(--sky-50); }
.section--navy { background: var(--navy); color: #c8d8e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-sans); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); border-radius: 2px; }
.section--navy .eyebrow { color: var(--sky); }
.section--navy .eyebrow::before { background: var(--sky); }

.h-sec { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--body); max-width: 60ch; }
.section--navy .lead { color: #bcd0e0; }
.sec-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 54px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-sans); font-weight: 600; font-size: 15.5px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(23,104,176,.28); }
.btn--primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(12,44,77,.3); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(12,44,77,.22); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky-100); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Pills / tags -------------------------------------------------- */
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--sky-100); color: var(--navy-700);
}
.tag--red { background: #fae3e4; color: #a51b22; }
.tag--gold { background: #f4ead2; color: #8a6a23; }
.tag--green { background: #def0e4; color: #226b41; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy); color: #b9cee0; font-size: 13.5px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 6px; }
.topbar a { color: #cfe0ee; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__left .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(108,182,227,.22); flex: none; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__socials { display: flex; gap: 12px; }
.topbar__socials a { display: inline-flex; }
.topbar__socials svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .topbar__msg-long { display: none; } }
/* Najava traka nije potrebna na mobitelu */
@media (max-width: 760px) { .topbar { display: none; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(12,44,77,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 46px; height: 46px; }
.brand__txt strong { display: block; font-family: var(--ff-serif); font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1.05; letter-spacing: -.01em; }
.brand__txt span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 9px;
  color: var(--navy); font-weight: 600; font-size: 15px; transition: background .15s, color .15s;
}
.menu > li > a:hover, .menu > li.active > a { background: var(--sky-50); color: var(--blue); }
.menu .caret { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.menu > li:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 13px; border-radius: 8px; color: var(--navy); font-weight: 500; font-size: 14.5px; }
.submenu a:hover { background: var(--sky-50); color: var(--blue); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .menu, .nav__cta .btn { display: none; }
  .burger { display: flex; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8,28,48,.5); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__close { width: 40px; height: 40px; border: none; background: var(--sky-50); border-radius: 10px; font-size: 22px; color: var(--navy); cursor: pointer; }
.drawer__nav { padding: 12px 14px; list-style: none; margin: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--line-soft); }
.drawer__nav a { display: block; padding: 14px 8px; color: var(--navy); font-weight: 600; font-size: 16px; }
.drawer__nav .sub a { padding: 9px 8px 9px 22px; font-weight: 500; font-size: 14.5px; color: var(--body); }
.drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,26,46,.62) 0%, rgba(8,26,46,.30) 30%, rgba(8,26,46,.55) 70%, rgba(8,26,46,.86) 100%),
    linear-gradient(90deg, rgba(8,26,46,.72) 0%, rgba(8,26,46,.15) 60%);
}
.hero__inner { padding-block: clamp(86px, 14vh, 170px); max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13.5px;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero__eyebrow b { color: var(--sky); }
.hero h1 { color: #fff; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: #fff; }
.hero__sub { font-size: clamp(17px, 1.9vw, 21px); color: #dce8f2; max-width: 56ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 70%{opacity:1; transform: translate(-50%,9px);} 100%{opacity:0; transform: translate(-50%,11px);} }

/* Floating event card on hero */
.hero__event {
  position: absolute; right: var(--gut); bottom: 56px; z-index: 2; width: 320px; max-width: calc(100vw - 2*var(--gut));
  background: rgba(255,255,255,.96); color: var(--navy); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--sh-lg); backdrop-filter: blur(6px);
}
.hero__event .tag { margin-bottom: 12px; }
.hero__event h4 { font-size: 18px; margin-bottom: 6px; line-height: 1.2; }
.hero__event .meta { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
@media (max-width: 1100px) { .hero__event { display: none; } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(26px, 4vw, 44px) 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-family: var(--ff-serif); font-size: clamp(34px, 4.6vw, 54px); color: #fff; line-height: 1; }
.stat b .accent { color: var(--sky); }
.stat span { display: block; margin-top: 9px; font-size: 14px; letter-spacing: .04em; color: #9fb6cb; text-transform: uppercase; font-weight: 600; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2){border-right:none;} .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid rgba(255,255,255,.1);} }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--sky-300); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sky-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__tags { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.card__body h3 { font-size: 20px; line-height: 1.22; margin-bottom: 10px; }
.card__body h3 a { color: var(--navy); }
.card__body h3 a:hover { color: var(--blue); }
.card__excerpt { font-size: 15px; color: var(--body); margin-bottom: 16px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: auto; }
.card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.news-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } }
.feature-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--sh); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s; }
.feature-card:hover img { transform: scale(1.04); }
.feature-card::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,46,0) 30%, rgba(8,26,46,.85) 100%); }
.feature-card__body { padding: 30px; }
.feature-card__body h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.feature-card__body .card__meta { color: #cddcea; }
.feature-side { display: flex; flex-direction: column; gap: 16px; }
.mini-news { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: .2s; flex: 1; align-items: center; }
.mini-news:hover { border-color: var(--sky-300); box-shadow: var(--sh-sm); }
.mini-news img { width: 92px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-news h4 { font-size: 15.5px; line-height: 1.25; margin-bottom: 6px; color: var(--navy); }
.mini-news .card__meta { font-size: 12.5px; }

/* ============================================================
   CALENDAR
   ============================================================ */
.cal-list { display: flex; flex-direction: column; gap: 14px; }
.cal-item {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; transition: .2s;
}
.cal-item:hover { border-color: var(--sky-300); box-shadow: var(--sh-sm); transform: translateX(3px); }
.cal-date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.cal-date .d { font-family: var(--ff-serif); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.cal-date .m { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 700; margin-top: 4px; }
.cal-date .y { font-size: 12px; color: var(--muted); }
.cal-body h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.cal-body .loc { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.cal-body .loc svg { width: 15px; height: 15px; flex: none; color: var(--sky); }
.cal-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
@media (max-width: 720px) {
  .cal-item { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .cal-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 12px; }
  .cal-date { padding-right: 12px; }
  .cal-date .d { font-size: 24px; }
}

/* ============================================================
   ABOUT — mission/vision/values
   ============================================================ */
.mvv { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 880px) { .mvv { grid-template-columns: 1fr; } }
.mvv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-sm); }
.mvv-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.mvv-card .ic svg { width: 26px; height: 26px; }
.mvv-card h3 { font-size: 21px; margin-bottom: 10px; }
.mvv-card p { font-size: 15px; margin: 0; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
@media (max-width: 880px){ .about-split { grid-template-columns: 1fr; } }
.about-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); aspect-ratio: 4/5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.about-badge {
  position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,.95); color: var(--navy);
  border-radius: var(--r); padding: 14px 20px; box-shadow: var(--sh); backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 14px;
}
.about-badge b { font-family: var(--ff-serif); font-size: 34px; color: var(--blue); line-height: 1; }
.about-badge span { font-size: 13px; color: var(--muted); }

/* Leadership */
.org-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .org-wrap { grid-template-columns: 1fr; } }
.org-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; text-align: center; box-shadow: var(--sh-sm); }
.org-card .avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--ff-serif); font-size: 22px; font-weight: 700; margin: 0 auto 14px; }
.org-card b { display: block; color: var(--navy); font-size: 17px; font-family: var(--ff-serif); }
.org-card span { font-size: 13.5px; color: var(--blue); font-weight: 600; }
.org-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.org-table th { text-align: left; background: var(--sky-50); color: var(--navy); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 13px 18px; }
.org-table td { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.org-table td:first-child { color: var(--navy); font-weight: 600; }
.org-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px){ .org-cols { grid-template-columns: 1fr; } }

/* ============================================================
   SCHOOL
   ============================================================ */
.school-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; margin-bottom: clamp(40px,6vw,70px); }
@media (max-width: 880px){ .school-hero { grid-template-columns: 1fr; } }
.school-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.school-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-sm); }
.school-collage img:first-child { grid-row: span 2; }

.group-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 880px){ .group-grid { grid-template-columns: 1fr; } }
.group-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.group-card__top { padding: 22px 24px; color: #fff; }
.group-card:nth-child(1) .group-card__top { background: linear-gradient(135deg, var(--sky), var(--blue-600)); }
.group-card:nth-child(2) .group-card__top { background: linear-gradient(135deg, var(--blue), var(--navy-700)); }
.group-card:nth-child(3) .group-card__top { background: linear-gradient(135deg, var(--navy-700), var(--navy)); }
.group-card__top .lvl { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.group-card__top h3 { color: #fff; font-size: 24px; margin-top: 4px; }
.group-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.group-card__body p { font-size: 14.5px; }
.group-card .instr { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.group-card .instr .av { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; font-weight: 700; flex: none; }
.group-card .instr b { display: block; color: var(--navy); font-size: 14.5px; }
.group-card .instr span { font-size: 12.5px; color: var(--muted); }

/* Schedule table */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.data th { background: var(--navy); color: #fff; text-align: left; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 14px 18px; font-weight: 600; }
table.data td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--body); vertical-align: top; }
table.data tr:nth-child(even) td { background: var(--cream); }
table.data td:first-child { font-weight: 600; color: var(--navy); }

.note { font-size: 14px; color: var(--muted); background: var(--sky-50); border-left: 3px solid var(--sky); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 18px; }

.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; border-radius: var(--r-xl); padding: clamp(30px,5vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--sh); position: relative; overflow: hidden; }
.cta-band::before { content:""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background-image: conic-gradient(var(--navy-700) 0 25%, transparent 0 50%, var(--navy-700) 0 75%, transparent 0); background-size: 36px 36px; opacity: .35; border-radius: 50%; }
.cta-band h3 { color: #fff; font-size: clamp(22px,3vw,32px); margin-bottom: 8px; position: relative; }
.cta-band p { color: #cfe0ef; margin: 0; position: relative; max-width: 48ch; }
.cta-band .btn { position: relative; }

/* ============================================================
   COMPETITIONS
   ============================================================ */
.comp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px){ .comp-split { grid-template-columns: 1fr; } }
.comp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 34px; box-shadow: var(--sh-sm); }
.comp-card h3 { font-size: 23px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.comp-card h3 .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; }
.comp-card h3 .ic svg { width: 22px; height: 22px; }
.comp-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.comp-card li { padding: 11px 0; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 11px; font-size: 15px; }
.comp-card li svg { width: 17px; height: 17px; color: var(--sky); flex: none; }

.comp-feature { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; margin-top: 26px; box-shadow: var(--sh); }
.comp-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.comp-feature::after { content:""; position: absolute; inset:0; z-index: -1; background: linear-gradient(90deg, rgba(8,26,46,.92), rgba(8,26,46,.55) 70%, rgba(8,26,46,.3)); }
.comp-feature__body { padding: clamp(30px,5vw,56px); max-width: 600px; }
.comp-feature__body h3 { color: #fff; font-size: clamp(24px,3.4vw,38px); margin-bottom: 12px; }
.comp-feature__body p { color: #d7e4f0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer; background: var(--sky-50); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content:""; position: absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(8,26,46,.4)); opacity: 0; transition: .25s; }
.gallery a:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 900px){ .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; } .gallery .wide{grid-column:span 2;} }
@media (max-width: 560px){ .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,18,32,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; font-size: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 26px; }
.lightbox__nav.prev { left: 22px; }
.lightbox__nav.next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: var(--sh-sm); position: relative; }
.step .num { font-family: var(--ff-serif); font-size: 40px; color: var(--sky-300); line-height: 1; font-weight: 700; }
.step h4 { font-size: 18px; margin: 8px 0 8px; }
.step p { font-size: 14.5px; margin: 0; }

.member-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px){ .member-cols { grid-template-columns: 1fr; } }
.price-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.price-row:first-child { border-top: none; }
.price-row b { color: var(--navy); font-weight: 600; }
.price-row .amt { color: var(--blue); font-weight: 700; }
.price-row .amt.free { color: #226b41; }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.doc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (max-width: 760px){ .doc-grid { grid-template-columns: 1fr; } }
.doc-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-sm); }
.doc-cat h3 { font-size: 19px; margin-bottom: 14px; display: flex; align-items: center; gap: 11px; }
.doc-cat h3 svg { width: 22px; height: 22px; color: var(--blue); }
.doc-cat ul { list-style: none; padding: 0; margin: 0; }
.doc-cat li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); color: var(--body); font-size: 15px; transition: .15s; }
.doc-cat li a:hover { color: var(--blue); padding-left: 5px; }
.doc-cat li svg.f { width: 16px; height: 16px; color: var(--muted); flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; font-family: var(--ff-sans); font-weight: 600; font-size: 17px; color: var(--navy); }
.faq-q .pm { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; font-size: 20px; transition: .25s; }
.faq-item.open .faq-q .pm { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; margin: 0; color: var(--body); font-size: 15.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,5vw,56px); }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.ci-row .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.ci-row .ic svg { width: 21px; height: 21px; }
.ci-row b { display: block; color: var(--navy); font-size: 15px; }
.ci-row a, .ci-row span { color: var(--body); font-size: 14.5px; }
.ci-row a:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,36px); box-shadow: var(--sh-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--ff-sans); font-size: 15px; color: var(--ink); background: var(--cream); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(108,182,227,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--body); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.form-ok { display: none; background: #def0e4; color: #1c5e38; padding: 14px 18px; border-radius: 10px; font-size: 15px; font-weight: 600; margin-top: 6px; }
.form-ok.show { display: block; }

/* Map link block */
.map-block { margin-top: 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--sky-50); aspect-ratio: 16/7; display: grid; place-items: center; text-align: center; }
.map-block .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(108,182,227,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(108,182,227,.18) 1px, transparent 1px); background-size: 28px 28px; }
.map-block .pin { position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #9fb6cb; font-size: 14.5px; }
.footer a { color: #c2d4e4; }
.footer a:hover { color: #fff; }
.sponsors { border-bottom: 1px solid rgba(255,255,255,.1); padding-block: 30px; overflow: hidden; }
.sponsors__label { text-align: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #7f97ad; margin-bottom: 20px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; align-items: center; animation: marquee 32s linear infinite; padding-right: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sponsor-chip { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 26px; height: 84px; min-width: 180px; transition: .2s; }
.sponsor-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.sponsor-chip img { max-height: 52px; max-width: 200px; width: auto; height: auto; object-fit: contain; display: block; }

.footer-main { padding-block: clamp(44px,6vw,64px); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 920px){ .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px){ .footer-main { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-family: var(--ff-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { color: #fff; font-family: var(--ff-serif); font-size: 19px; display: block; line-height: 1.1; }
.footer-brand span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7f97ad; }
.footer ul.links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer .social-row { display: flex; gap: 12px; margin-top: 8px; }
.footer .social-row a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; transition: .2s; }
.footer .social-row a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer .social-row svg { width: 19px; height: 19px; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer .contact-line svg { width: 17px; height: 17px; color: var(--sky); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7f97ad; }
.webpost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 16px 20px; font-size: 13px; color: #a9bfd2; margin-top: 24px; }
.webpost b { color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__scroll .mouse::after { animation: none; } .marquee__track { animation: none; } }

/* ============================================================
   ACCOUNT (header)
   ============================================================ */
.account { display: flex; align-items: center; gap: 10px; }
.account__chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14.5px; transition: .15s; }
.account__chip:hover { border-color: var(--sky-300); background: var(--sky-100); }
.account__av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 1040px) { .nav__cta { display: none; } }

/* ============================================================
   PAGE HERO + BREADCRUMB
   ============================================================ */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,46,.74), rgba(8,26,46,.6)); }
.page-hero__inner { padding-block: clamp(54px, 9vw, 92px); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); line-height: 1.06; margin-bottom: 14px; }
.page-hero p { color: #d4e2ee; font-size: clamp(16px, 1.7vw, 19px); max-width: 60ch; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #b6cadd; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: #dbe8f3; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .55; }
.breadcrumb b { color: var(--sky-300); font-weight: 600; }

.muted { color: var(--muted); }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tab-btn { background: none; border: none; cursor: pointer; font-family: var(--ff-sans); font-weight: 600; font-size: 15.5px; color: var(--muted); padding: 13px 18px; border-radius: 10px 10px 0 0; position: relative; transition: color .15s; white-space: nowrap; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--blue); }
.tab-btn.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeup .4s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   CALENDAR (month view)
   ============================================================ */
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px,3vw,28px); box-shadow: var(--sh-sm); }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-title h3 { font-size: clamp(22px,3vw,30px); color: var(--navy); }
.cal-ctrls { display: flex; align-items: center; gap: 8px; }
.cal-nav { font-family: var(--ff-sans); font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .15s; }
.cal-nav:hover { border-color: var(--blue); color: var(--blue); }
.cal-nav.ic { width: 40px; padding: 0; height: 40px; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.cal-dow { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin-bottom: 8px; }
.cal-dow span { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.cal-cell { min-width: 0; min-height: 104px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 4px; background: var(--cream); }
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell.has { background: #fff; border-color: var(--line); }
.cal-cell.today { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.cal-num { font-size: 13.5px; font-weight: 700; color: var(--navy); align-self: flex-start; }
.cal-cell.today .cal-num { background: var(--blue); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cal-ev { text-align: left; border: none; cursor: pointer; font-family: var(--ff-sans); font-size: 11.5px; font-weight: 600; line-height: 1.2; padding: 4px 7px; border-radius: 6px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: transform .12s, filter .12s; }
.cal-ev:hover { transform: translateX(2px); filter: brightness(1.08); }
.cal-ev.ev-blue { background: var(--blue); }
.cal-ev.ev-red { background: var(--red); }
.cal-ev.ev-green { background: #2c8a57; }
.cal-more { font-size: 11px; color: var(--muted); font-weight: 600; padding-left: 4px; }
@media (max-width: 720px) {
  .cal-cell { min-height: 64px; padding: 5px; }
  .cal-ev { font-size: 0; padding: 0; height: 8px; border-radius: 4px; }
  .cal-more { display: none; }
}

.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; }
.cal-legend i.b { background: var(--blue); } .cal-legend i.r { background: var(--red); } .cal-legend i.g { background: #2c8a57; }

/* upcoming list reuses .cal-item; make it button-friendly */
button.cal-item { width: 100%; text-align: left; font-family: var(--ff-sans); background: #fff; cursor: pointer; }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8,22,40,.62); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: #fff; border-radius: var(--r-lg); max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--sh-lg); animation: fadeup .3s ease; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: none; background: var(--sky-50); border-radius: 10px; font-size: 24px; color: var(--navy); cursor: pointer; z-index: 2; }
.modal__close:hover { background: var(--sky-100); }
.modal__content { padding: clamp(24px,4vw,38px); }
.modal__content h3 { font-size: clamp(22px,3vw,28px); margin: 14px 0 18px; }
.modal__content > .tag, .modal__content > span.tag { margin-right: 6px; }
.modal__facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 11px; }
.modal__facts li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--body); }
.modal__facts svg { width: 19px; height: 19px; color: var(--sky); flex: none; margin-top: 1px; }
.modal__reg { margin: 20px 0; padding: 18px; border-radius: var(--r); background: var(--sky-50); border: 1px solid var(--line); }
.reg-note { font-size: 14.5px; color: var(--body); }
.reg-ok { font-size: 15.5px; font-weight: 600; color: #1c6e3f; margin-bottom: 12px; }
.reg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.reg-pull b { font-size: 13.5px; color: var(--navy); }
.reg-fields { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.reg-fields span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); }
.reg-fields svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: var(--sh-lg); z-index: 500; opacity: 0; transition: opacity .3s, transform .3s; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,60px); align-items: center; }
@media (max-width: 880px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }
.auth-aside { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 520px; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--sh); }
.auth-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.auth-aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(8,26,46,.55), rgba(8,26,46,.9)); }
.auth-aside__body { padding: 38px; }
.auth-aside__body h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.auth-aside__body p { color: #d2e1ee; margin: 0; }
.auth-aside__body ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 11px; }
.auth-aside__body li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: #e6eef6; }
.auth-aside__body li svg { width: 20px; height: 20px; color: var(--sky-300); flex: none; }
.form-err { display: none; background: #fae3e4; color: #a51b22; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.form-err.show { display: block; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* ============================================================
   PROFILE
   ============================================================ */
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; text-align: center; box-shadow: var(--sh-sm); position: sticky; top: 96px; }
.profile-av { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--ff-serif); font-size: 30px; font-weight: 700; margin: 0 auto 16px; text-transform: uppercase; }
.profile-card h3 { font-size: 20px; }
.profile-main { display: flex; flex-direction: column; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-sm); }
.panel h4 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel h4 .count { background: var(--sky-100); color: var(--navy-700); font-family: var(--ff-sans); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } }
.kv-row { background: #fff; padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.kv-row span { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; font-weight: 600; }
.kv-row b { color: var(--navy); font-size: 15.5px; }
.reg-list { display: flex; flex-direction: column; gap: 12px; }
.reg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); flex-wrap: wrap; }
.reg-row b { color: var(--navy); display: block; font-size: 15.5px; }
.reg-row__meta { font-size: 13px; color: var(--muted); }
.reg-row__act { display: flex; gap: 8px; }
.empty-state { padding: 28px; text-align: center; color: var(--muted); background: var(--cream); border-radius: var(--r); font-size: 15px; }

/* ============================================================
   TIMELINE (povijest)
   ============================================================ */
.timeline { position: relative; margin-top: 10px; padding-left: 4px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--sky), var(--line)); }
.tl-item { position: relative; padding: 0 0 30px 44px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px var(--sky-50); }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--ff-serif); font-weight: 700; color: var(--blue); font-size: 19px; line-height: 1; margin-bottom: 6px; }
.tl-item h4 { font-size: 17px; color: var(--navy); margin-bottom: 5px; }
.tl-item p { font-size: 14.5px; color: var(--body); margin: 0; }

/* Champions table */
.champ-table td:first-child { color: var(--muted); width: 56px; font-weight: 600; }
.champ-table td:nth-child(2) { width: 90px; font-weight: 700; color: var(--navy); }
table.data tr.row-hl td { background: var(--sky-50) !important; }
table.data tr.row-hl td:last-child { color: var(--blue); font-weight: 700; }

/* honor chips */
.honors { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 720px){ .honors { grid-template-columns: 1fr; } }
.honor { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-sm); }
.honor b { display: block; font-family: var(--ff-serif); font-size: 26px; color: var(--blue); line-height: 1; }
.honor span { font-size: 14px; color: var(--muted); display: block; margin-top: 6px; }

/* generic prose */
.prose { max-width: 72ch; }
.prose p { font-size: 16px; color: var(--body); }
.prose h3 { font-size: 22px; margin: 28px 0 12px; }
.pull-quote { border-left: 3px solid var(--sky); padding: 6px 0 6px 20px; margin: 24px 0; font-family: var(--ff-serif); font-style: italic; font-size: 19px; color: var(--navy); }
@media (max-width: 820px) { .povijest-split { grid-template-columns: 1fr !important; } .school-cols { grid-template-columns: 1fr !important; } }
