@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/cormorantgaramond-italic-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/cormorantgaramond-italic-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 600;font-display:swap;src:url(../fonts/cormorantgaramond-normal-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 600;font-display:swap;src:url(../fonts/cormorantgaramond-normal-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/geist-normal-400-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/geist-normal-400-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* HUEM - Hrvatska udruga estetske medicine
   Design system: cool porcelain neutrals, HUEM navy, one rose accent (derived from the original #ff3d5c).
   Shape rule: interactive controls are pills; images and panels use --r (20px); inputs use 12px. */

:root {
  --bg: #fcfcfd;
  --surface: #f3f5f8;
  --surface-2: #e9edf2;
  --ink: #121e2b;
  --ink-2: #435262;
  --ink-3: #5d6b7a;
  --line: rgb(18 30 43 / .12);
  --line-strong: rgb(18 30 43 / .22);
  --brand: #2f557d;
  --brand-deep: #182d44;
  --accent: #b8304b;
  --accent-ink: #fff;
  --focus: #b8304b;
  --shadow: 0 1px 2px rgb(24 45 68 / .06), 0 18px 40px -18px rgb(24 45 68 / .25);
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* Dark bands: a few sections switch to deep navy to give the white page rhythm */
.dark {
  --bg: #13253b;
  --surface: #19304b;
  --surface-2: #1f3958;
  --ink: #eef2f6;
  --ink-2: #c6d2de;
  --ink-3: #a9b8c7;
  --line: rgb(238 242 246 / .14);
  --line-strong: rgb(238 242 246 / .26);
  --brand: #9dbde0;
  --brand-deep: #f4f7fa;
  --accent: #ff94a6;
  --accent-ink: #1a0a0f;
  --focus: #ff94a6;
  background: var(--bg);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 600; letter-spacing: -.012em; margin: 0; color: var(--brand-deep); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.06; }
h3 { font-size: clamp(1.5rem, 2vw, 1.8rem); line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); padding-bottom: .04em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.eyebrow { font: 500 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem; }
.muted { color: var(--ink-3); }

/* Buttons */
.btn {
  --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent);
  display: inline-flex; align-items: center; gap: .6em; white-space: nowrap;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn--ghost:hover { --b-bd: var(--ink); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: .45em; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-deep); margin-right: auto; }
.brand:hover { color: var(--brand-deep); }
.brand svg { width: 34px; color: var(--brand); }
.brand-name { font: 600 1.55rem/1 var(--serif); letter-spacing: .06em; }
.brand-sub { display: block; font: 400 .7rem/1.25 var(--sans); letter-spacing: .02em; color: var(--ink-3); max-width: 16ch; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 8px 11px; font-size: .94rem; text-decoration: none; color: var(--ink-2); border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 40px; font-size: .92rem; padding: 0 1.1em; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font: 500 .74rem/1 var(--sans); letter-spacing: .08em; text-decoration: none; padding: 7px 9px; border-radius: 999px; color: var(--ink-3); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .4s var(--ease); }
  .nav a { font: 500 1.6rem/1.2 var(--serif); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:hover { background: none; color: var(--accent); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav .nav-cta { display: inline-flex; margin-top: 20px; align-self: flex-start; font: 500 1rem/1 var(--sans); border: 0; color: var(--accent-ink); padding: 0 1.4em; border-radius: 999px; }
  .nav .nav-cta:hover { color: var(--accent-ink); }
}
@media (min-width: 1141px) { .nav .nav-cta { display: none; } }
@media (max-width: 520px) { .brand-sub { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lead { margin-bottom: 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #16283b; box-shadow: var(--shadow); isolation: isolate; }
.hero-art img.wave { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; transform: scale(1.06); filter: brightness(.72) saturate(1.1); }
.hero-art .mark { position: absolute; right: 9%; bottom: 8%; width: 30%; color: rgb(255 255 255 / .9); }
.hero-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); pointer-events: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 11; }
}

/* Facts */
.facts { border-top: 1px solid var(--line); padding-bottom: clamp(48px, 6vw, 80px); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: clamp(28px, 4vw, 44px) clamp(16px, 2vw, 28px) 0 0; }
.fact + .fact { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.fact b { display: block; font: 500 clamp(2.8rem, 5vw, 4.2rem)/1 var(--serif); color: var(--brand-deep); font-variant-numeric: lining-nums; margin-bottom: .6rem; }
.fact span { display: block; color: var(--ink-2); font-size: .97rem; max-width: 22ch; }
@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Statement */
.statement { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.statement::before { content: ""; position: absolute; inset: 0; background: url(../img/wave-1600.webp) center / cover no-repeat; opacity: .28; z-index: -1; transform: scaleY(-1); }
.statement blockquote { margin: 0 auto; max-width: 23ch; font: 500 clamp(2rem, 4.2vw, 3.6rem)/1.12 var(--serif); color: var(--brand-deep); text-wrap: balance; }
.statement blockquote::before { content: "\201C"; display: block; font-size: 1.6em; line-height: .6; color: var(--accent); margin-bottom: .2em; }
.statement figcaption { margin-top: 1.8rem; color: var(--ink-3); font-size: .95rem; }
.statement p.after { margin: 2.4rem auto 0; max-width: 52ch; color: var(--ink-2); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.tile { position: relative; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.tile h3 { margin-bottom: .5rem; }
.tile p { color: var(--ink-2); margin: 0; max-width: 40ch; }
.tile .go { position: absolute; top: clamp(20px, 2.6vw, 30px); right: clamp(20px, 2.6vw, 30px); width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
a.tile:hover .go { transform: rotate(-45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tile--a { grid-column: span 4; grid-row: span 2; color: #fff; background: #16283b; border: 0; }
.tile--a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; transition: transform 1.2s var(--ease); }
a.tile--a:hover img { transform: scale(1.04); }
.tile--a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(10 20 31 / .78)); z-index: 1; }
.tile--a > *:not(img) { position: relative; z-index: 2; }
.tile--a h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.tile--a p { color: rgb(255 255 255 / .86); }
.tile--a .go { border-color: rgb(255 255 255 / .4); color: #fff; }
.tile--b { grid-column: span 2; background: var(--brand-deep); border: 0; color: var(--bg); }
.tile--b h3 { color: var(--bg); }
.tile--b p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.tile--b .go { border-color: color-mix(in srgb, var(--bg) 40%, transparent); color: var(--bg); }
.tile--c { grid-column: span 2; }
.tile--d { grid-column: span 3; background: var(--surface-2); border: 0; }
.tile--e { grid-column: span 3; padding-right: calc(38% + clamp(24px, 3vw, 36px)); min-height: 260px; }
.tile--e img { position: absolute; top: 0; right: 0; width: 38%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
a.tile--e:hover img { transform: scale(1.04); }
.tile--e .go { right: calc(38% + clamp(20px, 2.6vw, 30px)); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--a { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .tile--b, .tile--c { grid-column: span 1; }
  .tile--d, .tile--e { grid-column: span 2; }
}
@media (max-width: 600px) { .bento > * { grid-column: 1 / -1 !important; } .tile--e { padding-right: clamp(24px, 3vw, 36px); padding-top: 260px; } .tile--e img { width: 100%; height: 240px; bottom: auto; } .tile--e .go { right: clamp(20px, 2.6vw, 30px); color: #fff; border-color: rgb(255 255 255 / .6); } }

/* Questions (patient safety teaser) */
.safety { background: var(--surface); border-block: 1px solid var(--line); }
.safety-head { max-width: 760px; }
.safety-head .lead { margin-top: 1.2rem; }
.q-grid { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 80px); counter-reset: q; }
.q-grid li { counter-increment: q; display: grid; grid-template-columns: 3.2rem 1fr; grid-template-rows: auto 1fr; gap: 0 1rem; align-content: start; }
.q-grid li::before { content: counter(q); font: 500 2.6rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--accent); grid-row: span 2; }
.q-grid h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); margin-bottom: .55rem; }
.q-grid p { color: var(--ink-2); margin: 0; }
.safety .more { margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 760px) { .q-grid { grid-template-columns: 1fr; } }

/* Split (congress) */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .disc { aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; filter: drop-shadow(0 30px 40px rgb(24 45 68 / .25)); }
.split h2 { margin-bottom: 1.2rem; }
.split p { color: var(--ink-2); max-width: 52ch; }
.split .actions { margin-top: 2rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .disc { max-width: 300px; } }

/* Marquee */
.network-head { display: grid; gap: 1rem; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.network-head p { color: var(--ink-2); margin: 0; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--brand-deep); padding-inline: clamp(18px, 2vw, 30px); white-space: nowrap; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.marquee li::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); flex: none; margin-left: clamp(18px, 2vw, 30px); margin-right: calc(-1 * clamp(18px, 2vw, 30px)); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: auto; }
  .marquee ul { flex-wrap: wrap; row-gap: 14px; }
  .marquee ul[aria-hidden] { display: none; }
}

/* Membership band */
.join { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; background: #172a3f; color: #fff; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; }
.join img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; z-index: -1; opacity: .55; transform: scaleX(-1); }
.join h2 { color: #fff; margin-bottom: 1rem; }
.join h2 em { color: #ffb3c0; }
.join p { color: rgb(255 255 255 / .84); max-width: 48ch; margin: 0; }
.join .eyebrow { color: #ffb3c0; }
.join .price { font: 500 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); font-variant-numeric: lining-nums; margin: 0; }
.join .price small { display: block; font: 400 .92rem/1.4 var(--sans); color: rgb(255 255 255 / .78); margin: .6rem 0 1.6rem; }
.join .btn { --b-bg: #fff; --b-fg: #172a3f; --b-bd: #fff; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; align-items: start; } }

/* Footer */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; font-size: .95rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h2 { font: 500 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand p { max-width: 36ch; margin-top: 1.4rem; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 180px; height: auto; }
.foot-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .86rem; color: var(--ink-3); }
.foot-bottom p { margin: 0; max-width: 72ch; }
.foot-bottom .credit { flex-basis: 100%; justify-content: flex-start; padding-top: 8px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Inner pages */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/wave-1600.webp) 20% 50% / cover no-repeat; opacity: .35; z-index: -1; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: end; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 1.4rem; max-width: 58ch; }
.page-hero .ph-mark { width: 120px; justify-self: end; color: var(--line-strong); }
.crumbs { font-size: .86rem; color: var(--ink-3); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 760px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .ph-mark { display: none; } }

.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 104px; font-size: .92rem; }
.toc p { font-weight: 500; color: var(--ink-3); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-2); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 70ch; }
.prose > section + section { margin-top: clamp(56px, 7vw, 88px); }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1.2rem; }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul.dash { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul.dash li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.prose ul.dash li::before { content: ""; position: absolute; left: 0; top: .78em; width: .8em; height: 1px; background: var(--accent); }
.pull { margin: 2.4rem 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--accent); font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--serif); color: var(--brand-deep); }
.pull cite { display: block; margin-top: .8rem; font: 400 .9rem/1.4 var(--sans); font-style: normal; color: var(--ink-3); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.6rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 20px; }
.card h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.card p { margin: 0; font-size: .98rem; }
.card--wide, .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; color: var(--ink-2); }

.person { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 24px; border-radius: var(--r); background: var(--surface-2); margin: 1.6rem 0; }
.person .mono { width: 72px; height: 72px; border-radius: 999px; background: var(--brand-deep); color: var(--bg); display: grid; place-items: center; font: 600 1.5rem/1 var(--serif); letter-spacing: .04em; }
.person p { margin: 0; }
.person .role { font-size: .9rem; color: var(--ink-3); }
.person .name { font: 600 1.5rem/1.2 var(--serif); color: var(--brand-deep); }

.timeline { list-style: none; padding: 0; margin: 2rem 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0 2rem; padding-bottom: 1.6rem; position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(4.6rem - 4px); top: .55rem; width: 9px; height: 9px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--accent); }
.timeline b { font: 600 1.5rem/1.1 var(--serif); font-variant-numeric: lining-nums; color: var(--brand-deep); }
.timeline p { margin: 0; }

.countries { columns: 3 13ch; column-gap: 32px; list-style: none; padding: 0; margin: 1.4rem 0; }
.countries li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.countries li.is-home { color: var(--accent); font-weight: 500; }

details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { font-variant-numeric: lining-nums; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 1.45rem/1.2 var(--serif); font-variant-numeric: lining-nums; color: var(--brand-deep); }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); }
details.acc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details.acc .acc-body { padding: 0 0 24px; }

.notice { margin: 2rem 0; padding: 20px 24px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font-size: .95rem; }
.notice strong { color: var(--ink); }

.end-cta { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.end-cta p { margin: 0; font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.25 var(--serif); color: var(--brand-deep); max-width: 30ch; }

/* Data list (payment) */
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 1.4rem 0; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.dl dt { color: var(--ink-3); font-size: .92rem; }
.dl dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 1.6rem; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .94rem; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field .hint { font-size: .86rem; color: var(--ink-3); }
.field .err { font-size: .86rem; color: var(--accent); min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .94rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { font-size: .94rem; color: var(--ink-2); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.leader { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: clamp(24px, 4vw, 40px); align-items: end; margin: 1.6rem 0 2rem; }
.leader img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.leader .role { margin: 0 0 .3rem; font-size: .9rem; color: var(--ink-3); }
.leader .name { margin: 0; font: 600 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); color: var(--brand-deep); }
@media (max-width: 560px) { .leader { grid-template-columns: 1fr; } .leader img { max-width: 280px; } }

/* Hero map (Croatia) */
.hero-art .map { position: absolute; inset: 9% 8% 12% 8%; width: 84%; height: 79%; overflow: visible; }
.map .land { fill: rgb(255 255 255 / .08); stroke: rgb(255 255 255 / .9); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map .sea path { fill: none; stroke: rgb(160 220 230 / .55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.map .pin { fill: #ff94a6; }
.map .ring { fill: none; stroke: #ff94a6; stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map .lbl { font: 500 15px/1 var(--sans); fill: #fff; letter-spacing: .04em; }
.map .lbl-sub { font: 400 11px/1 var(--sans); fill: rgb(255 255 255 / .75); letter-spacing: .12em; text-transform: uppercase; }
.hero-art .mark { width: 16%; right: 8%; bottom: 7%; color: rgb(255 255 255 / .85); }
@media (prefers-reduced-motion: no-preference) {
  .map .land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: draw 3.2s .3s var(--ease) forwards, landfill 1.4s 2.4s ease forwards; }
  .map .sea path { stroke-dasharray: .12 .08; animation: sea 9s linear infinite; }
  .map .sea path:nth-child(2) { animation-duration: 12s; animation-direction: reverse; }
  .map .sea path:nth-child(3) { animation-duration: 15s; }
  .map .pin-g { opacity: 0; animation: fadein .6s 2.6s ease forwards; }
  .map .ring { animation: ring 2.8s 3s ease-out infinite; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes landfill { to { fill-opacity: 1; } }
  @keyframes sea { to { stroke-dashoffset: -1; } }
  @keyframes fadein { to { opacity: 1; } }
  @keyframes ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
}

.credit { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-3); }
.credit img { height: 26px; width: auto; }
.credit:hover { color: var(--ink); }

/* 404 */
.nf { min-height: 60dvh; display: grid; place-items: center; text-align: center; }
.nf h1 { margin-bottom: 1rem; }

/* Reveal motion: content is visible by default; only enhanced when JS runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-art img.wave { animation: drift 1.8s var(--ease) both; }
  @keyframes drift { from { transform: scale(1.16); opacity: .4; } to { transform: scale(1.06); opacity: 1; } }
}

@media print {
  .site-header, .site-footer, .toc, .end-cta, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
