/* Self-hosted Google Fonts (SIL OFL): Oswald 700 (titles), Work Sans 400-800 (text). latin + latin-ext (Romanian). */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(assets/fonts/oswald-700-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: 'Oswald';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(assets/fonts/oswald-700-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: 'Work Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/worksans-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: 'Work Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/worksans-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;
}
/* NextPad, see DESIGN.md for every decision below. */
:root {
  /* palette (DESIGN.md §4) */
  --ink: #0A1633;          /* midnight, base */
  --ink-2: #0F1F47;        /* midnight 2, raised panels */
  --ocean: #1668E3;        /* ocean blue: secondary buttons, lines, accents */
  --ocean-deep: #0F4FB8;   /* ocean pressed: blue section fields (text passes 6.5:1) */
  --acid: #E4FF1A;         /* acid yellow: primary buttons + small accents only */
  --paper: #F3F0E7;        /* cream text */
  --paper-2: #B7B3A8;      /* muted text, on midnight only (8.5:1) */
  --line: #F3F0E7;
  --line-soft: rgba(243, 240, 231, .22);
  --scrim: 10, 22, 51;     /* midnight as rgb, for overlays */

  --disp: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', system-ui, sans-serif;
  --gut: 20px;
  --max: 1320px;
  --stretch: 62%;

  /* motion (Reguli-Animatii-Viteza) */
  --out: cubic-bezier(.16, 1, .3, 1);        /* entrances */
  --in: cubic-bezier(.55, .085, .68, .53);   /* exits, soft */
  --in-strong: cubic-bezier(.7, 0, .84, 0);  /* fast exits */
  --spring: cubic-bezier(.34, 1.56, .64, 1); /* interface */
  --fade: cubic-bezier(.45, 0, .55, 1);      /* crossfades */
}
@media (min-width: 761px) { :root { --gut: 40px; --stretch: 78% } }
@media (min-width: 1200px) { :root { --gut: 56px; --stretch: 84% } }

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--ink) }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.5 var(--body); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 761px) { body { font-size: 18px } }
body.locked { overflow: hidden }
img, svg, video { display: block; max-width: 100% }
a { color: inherit }
button { font: inherit; color: inherit }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0 }
ul, ol { list-style: none }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acid); color: var(--ink); padding: 10px 14px; font-weight: 700 }
.skip:focus { top: 12px }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut) }

/* ---------- type ---------- */
.display {
  font-family: var(--disp); font-weight: 900; font-stretch: var(--stretch);
  text-transform: uppercase; line-height: 1; letter-spacing: 0;
}
.hl { color: var(--acid); font-style: italic }
.sec-title { font-size: clamp(50px, 14vw, 132px) }
.h3 { font: 800 15px/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; max-width: 46ch }
.kicker { font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em }

/* line-by-line reveal; padding keeps Î above and Ș Ț commas below from being clipped */
.line { display: block; overflow: hidden; padding-block: .17em .14em; margin-block: -.17em -.14em }
.line > span { display: inline-block }
.js .reveal-lines .line > span { transform: translate3d(0, 110%, 0); transition: transform .9s var(--out) }
.js .reveal-lines.in .line > span { transform: none }
.reveal-lines.in .line:nth-child(2) > span { transition-delay: .08s }
.reveal-lines.in .line:nth-child(3) > span { transition-delay: .16s }
.js .reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--out), transform .9s var(--out) }
.js .reveal.in { opacity: 1; transform: none }
@media (min-width: 900px) { .sports-grid .reveal:nth-child(2) { transition-delay: .09s } }

/* placeholders: impossible to mistake for real data */
.ph {
  font-style: normal; outline: 1.5px dashed currentColor; outline-offset: 2px;
  border-radius: 2px; padding-inline: .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px; border-radius: 0; text-align: center;
  font: 800 15px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  transition: transform .45s var(--spring), background-color .25s var(--out), color .25s var(--out), box-shadow .25s var(--out);
  border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.95); transition-duration: .12s; transition-timing-function: var(--out) }
.btn-acid { background: var(--acid); color: var(--ink) }
.btn-acid:focus-visible { outline-color: var(--paper) }
.btn-blue { box-shadow: inset 0 0 0 2px var(--ocean); color: var(--paper) }
.btn-blue:active { background: var(--ocean-deep) }
@media (hover: hover) {
  .btn-acid:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ocean) }
  .btn-blue:hover { background: var(--ocean-deep); transform: translateY(-2px) }
}
.blue .btn-blue { box-shadow: inset 0 0 0 2px var(--paper) }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gut);
  padding-top: env(safe-area-inset-top); box-sizing: content-box;
  transition: background-color .4s var(--out), box-shadow .4s var(--out);
}
.nav.solid, .nav.open { background: rgba(var(--scrim), .96); box-shadow: 0 1px 0 var(--line-soft) }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px }
.brand-mark { width: auto; height: 46px }
.nav-links { display: flex; gap: 26px }
.nav-links a { font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 12px; background: linear-gradient(var(--acid), var(--acid)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--out) }
.nav-links a:hover { background-size: 100% 2px }
.nav-toggle { display: none }
@media (max-width: 960px) {
  .nav { gap: 10px }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; color: var(--paper); cursor: pointer;
  }
  .nav-toggle i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .45s var(--spring) }
  .nav.open .nav-toggle i:first-of-type { transform: translateY(4px) rotate(45deg) }
  .nav.open .nav-toggle i:last-of-type { transform: translateY(-4px) rotate(-45deg) }
  .nav-links {
    position: absolute; inset: calc(68px + env(safe-area-inset-top)) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px var(--gut) 24px; border-bottom: 2px solid var(--ocean);
    display: none;
  }
  .nav.open .nav-links { display: flex; animation: menuIn .5s var(--out) }
  .nav-links a { font: 900 18px/1 var(--disp); text-transform: uppercase; letter-spacing: .04em; padding-block: 13px; border-bottom: 1px solid var(--line-soft) }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px) } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink) }
.hero-media { position: absolute; inset: 0; overflow: hidden }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--fade) }
.slide.is-on { opacity: 1 }
.slide-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.slide-bg { display: none }
@media (min-width: 761px) {
  /* desktop: the vertical clip / portrait photo stands in the centre, a dark blurred copy fills the sides */
  .slide-bg { display: block; position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(30px) brightness(.5) saturate(1.1) }
  .slide-fg { left: 50%; right: auto; width: auto; aspect-ratio: 3 / 4; transform: translateX(-50%) }
  video.slide-fg { aspect-ratio: 464 / 832 }
  .slide.wide .slide-fg { left: 0; width: 100%; transform: none; aspect-ratio: auto }
  .slide.wide .slide-bg { display: none }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--scrim), .6) 0%, rgba(var(--scrim), 0) 18%),
    linear-gradient(0deg, rgba(var(--scrim), .95) 0%, rgba(var(--scrim), .82) 30%, rgba(var(--scrim), .5) 46%, rgba(var(--scrim), 0) 60%);
}
/* phone: the small kicker sits high, over bright sky in some photos; a soft dark halo keeps it readable */
@media (max-width: 760px) {
  .hero .kicker { text-shadow: 0 0 14px rgba(var(--scrim), .95), 0 1px 3px rgba(var(--scrim), .9) }
  /* extra shade that follows the text block itself, so short phones (320x640) where the text starts high stay readable */
  .hero-content { z-index: 1 }
  .hero-content::before {
    content: ""; position: absolute; inset: -56px 0 0 0; z-index: -1; pointer-events: none;
    background: linear-gradient(0deg, rgba(var(--scrim), .2) 0%, rgba(var(--scrim), .5) 70%, rgba(var(--scrim), .5) 90%, rgba(var(--scrim), 0) 100%);
  }
}
@media (min-width: 761px) {
  .hero-scrim { background:
    linear-gradient(180deg, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), 0) 18%),
    linear-gradient(90deg, rgba(var(--scrim), .7) 0%, rgba(var(--scrim), .25) 38%, rgba(var(--scrim), 0) 56%),
    linear-gradient(0deg, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), .6) 28%, rgba(var(--scrim), 0) 52%) }
  .slide-bg { filter: blur(30px) brightness(.62) saturate(1.1) }
}
.hero-content { position: absolute; inset: auto 0 0 0; padding-bottom: max(5vh, 30px, calc(env(safe-area-inset-bottom) + 24px)) }
.hero-title { font-size: clamp(36px, min(12.6vw, 6.6vh), 150px); line-height: 1; letter-spacing: 0; margin: 14px 0 16px; text-shadow: 0 2px 30px rgba(var(--scrim), .6) }
.hero-sub { max-width: 42ch; font-size: clamp(17px, 1.6vw, 20px); text-shadow: 0 1px 12px rgba(var(--scrim), .8) }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px }
.js .hero-content > * { animation: heroIn 1s var(--out) both }
.js .hero-content > :nth-child(2) { animation-delay: .08s }
.js .hero-content > :nth-child(3) { animation-delay: .16s }
.js .hero-content > :nth-child(4) { animation-delay: .24s }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px) } }
@media (max-width: 760px) {
  .hero-ctas { flex-wrap: nowrap }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 14px; letter-spacing: .04em; line-height: 1.15 }
  .hero-sub { font-size: 16px }
  .hero-title { margin: 10px 0 12px }
  .hero-ctas { margin-top: 16px }
}
@media (min-width: 761px) { .hero-title { font-size: clamp(50px, min(10vw, 7.4vh), 150px) } .hero-sub { max-width: 52ch } }

/* ---------- blue sections ---------- */
.blue { background: var(--ocean-deep); color: var(--paper) }
.blue :focus-visible { outline-color: var(--acid) }

/* ---------- about ---------- */
.about { padding-block: 110px 100px }
.about-grid { display: grid; gap: 40px }
.about-text { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; max-width: 60ch }
.about-facts { display: grid; margin-top: 36px; max-width: 640px }
.about-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-top: 2px solid var(--ocean) }
.about-facts > div:last-child { border-bottom: 2px solid var(--ocean) }
.about-facts dt { font: 600 13px/1.7 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--paper-2) }
.about-facts dd { font-weight: 700 }
.about-story { margin-top: 40px; padding: 24px 22px; background: var(--ink-2); box-shadow: inset 0 0 0 2px var(--line-soft); max-width: 640px }
.about-story .h3 { margin-bottom: 12px; color: var(--acid) }
.about-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px }
.about-note { color: var(--paper-2); font-size: 15px }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start }
  .about .sec-title { position: sticky; top: 110px }
}

/* ---------- sports ---------- */
.sports { padding-block: 110px 120px; position: relative }
.sports-grid { display: grid; gap: 28px; margin-top: 56px }
.sport { position: relative; padding: 26px 22px 30px; box-shadow: inset 0 0 0 2px var(--line-soft) }
.sport-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); margin: 0 0 26px }
.sport-photo img { width: 100%; height: 100%; object-fit: cover }
.sport-name { font-size: clamp(54px, 10vw, 104px) }
.sport-line { font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; margin: 14px 0; max-width: 30ch }
.sport-body { color: var(--paper-2); max-width: 52ch }
.sport-body + .sport-body { margin-top: 12px }
.sport-padbol { box-shadow: inset 0 0 0 2px var(--ocean); background: var(--ink-2) }
.sport-tag {
  position: absolute; top: -14px; right: 18px; background: var(--acid); color: var(--ink);
  font: 800 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 8px 10px;
}
@media (min-width: 900px) {
  .sports-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 32px }
  .sport { padding: 36px 34px 40px }
}

/* ---------- courts ---------- */
.courts { padding-block: 100px 110px }
.courts-head { display: grid; gap: 22px; align-items: end }
@media (min-width: 900px) { .courts-head { grid-template-columns: 1fr 1fr } }
.courts-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 46px }
.courts-photos .photo { aspect-ratio: 1200 / 1421 }
.photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2) }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out) }
@media (hover: hover) { .photo:hover img { transform: scale(1.03) } }
@media (min-width: 900px) {
  .courts-photos { gap: 14px }
}
.courts-info { margin-top: 40px }
.courts-note { font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; max-width: 32ch }
@media (min-width: 900px) {
  .courts { padding-bottom: 36px }
  .courts-info { margin-top: 36px }
  .courts-note { max-width: none; white-space: nowrap; text-align: center }
}

/* ---------- how to book ---------- */
.book { padding-block: 110px 120px }
.steps { display: grid; margin-top: 56px }
.step { position: relative; padding: 26px 0 30px 92px }
.step-n { position: absolute; left: 0; top: 12px; font-size: 84px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--acid) }
.step .h3 { font-size: 17px; margin-bottom: 8px }
.step p { color: var(--paper-2); max-width: 42ch }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr) }
  .step { padding: 152px 32px 36px 28px }
  .step:first-child { border-right: 2px solid var(--line) }
  .step-n { left: 28px; top: 22px; font-size: 104px }
}
.book-cta { margin-top: 32px }

/* ---------- events (accordion) ---------- */
.events { padding-block: 40px 120px }
.acc-list { margin-top: 48px }
.ev-head { margin: 0 }
.ev-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px;
  padding: 20px 0 24px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--paper);
}
.ev-cover + .ev-name { grid-row: 2 }
.ev-cover ~ .ev-icon { grid-row: 2 }
.ev-cover { grid-column: 1 / -1; grid-row: 1; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); margin-bottom: 8px }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out) }
@media (hover: hover) { .ev-btn:hover .ev-cover img { transform: scale(1.03) } }
@media (min-width: 640px) {
  .ev-btn { grid-template-columns: minmax(0, 44%) 1fr auto; grid-template-rows: 1fr auto 1fr; gap: 10px 28px; padding: 24px 0; min-height: 300px }
  .ev-cover { grid-column: 1; grid-row: 1 / -1; align-self: stretch; aspect-ratio: auto; max-width: 567px; min-height: 252px; margin: 0 }
  .ev-cover + .ev-name { grid-column: 2; grid-row: 2; font-size: clamp(38px, 5.4vw, 84px) }
  .ev-cover ~ .ev-icon { grid-column: 3; grid-row: 1 / -1 }
}
.ev-name { font: 900 clamp(38px, 7vw, 92px)/1 var(--disp); font-stretch: var(--stretch); text-transform: uppercase; transition: color .3s var(--out) }
.ev-icon { grid-column: 2; grid-row: 1; position: relative; width: 52px; height: 52px; box-shadow: inset 0 0 0 2px var(--ocean); transition: background-color .3s var(--out), transform .5s var(--spring) }
.ev-icon::before, .ev-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: var(--paper); transition: transform .5s var(--spring) }
.ev-icon::after { transform: rotate(90deg) }
.ev.open .ev-icon { background: var(--ocean) }
.ev.open .ev-icon::after { transform: rotate(0deg) }
@media (hover: hover) { .ev-btn:hover .ev-name { color: var(--acid) } .ev-btn:hover .ev-icon { transform: scale(1.06) } }
.ev-btn:focus-visible { outline-offset: -3px }

.ev-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--in) }
.ev.open .ev-panel { grid-template-rows: 1fr; transition: grid-template-rows 1.05s var(--out) }
.ev-inner { min-height: 0; overflow: hidden }
.ev-content { padding: 4px 0 34px }
.ev-media > li, .ev-all { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .5s var(--in), transform .5s var(--in) }
.ev.open .ev-media > li, .ev.open .ev-all { opacity: 1; transform: none; transition: opacity .85s var(--out), transform .7s var(--spring); transition-delay: calc(.15s + var(--i, 0) * .08s) }
.ev-media { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut) }
.ev-media::-webkit-scrollbar { display: none }
.ev-media > li { scroll-snap-align: start; min-width: 0 }
.ev-item { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden }
.ev-item img, .ev-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out) }
@media (hover: hover) { .ev-item:hover img { transform: scale(1.03) } }
.ev-video { cursor: pointer }
.ev-sound {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px; background: rgba(var(--scrim), .85); color: var(--paper);
  font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; pointer-events: none;
}
.ev-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2 }
.ev-all { margin-top: 26px }
@media (min-width: 761px) {
  .ev-media { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 12px }
}

/* ---------- contact ---------- */
.contact { padding-block: 40px 110px }
.contact-title { font-size: clamp(60px, 18vw, 220px); line-height: .98 }
.contact-grid { display: grid; gap: 40px; margin-top: 56px }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start } }
.contact-rows > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0 }
.contact-rows dt { font: 600 13px/1.7 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--paper-2) }
.contact-rows dd { font-weight: 700; overflow-wrap: anywhere }
.contact-rows a { text-underline-offset: 4px; text-decoration-color: var(--ocean); text-decoration-thickness: 2px; display: inline-block; padding-block: 10px; margin-block: -10px }
.contact-rows a:hover { color: var(--acid) }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.contact-wa { margin-top: 18px; font-size: 16px }
.contact-wa a { display: inline-block; padding-block: 12px; font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--ocean); text-decoration-thickness: 2px }
.contact-wa a:hover { color: var(--acid) }
.contact-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-2); max-width: 460px }
.contact-photo img { width: 100%; height: 100%; object-fit: cover }

/* ---------- partners ---------- */
.partners { padding-block: 56px 40px; border-top: 2px solid var(--line-soft) }
.partners-title { margin-bottom: 20px; color: var(--paper-2) }
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.partner-tile {
  display: grid; place-items: center; aspect-ratio: 1; padding: 6%;
  text-decoration: none; transition: transform .45s var(--spring)
}
.partner-tile img { width: 100%; height: 100%; max-height: 68%; object-fit: contain }
a.partner-tile:focus-visible { outline-color: var(--acid) }
@media (hover: hover) { a.partner-tile:hover { transform: translateY(-3px) } }
@media (min-width: 761px) { .partner-row { grid-template-columns: repeat(4, minmax(0, 190px)); gap: 16px } }

/* ---------- social ---------- */
.social { padding-block: 40px 90px }
.social-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px }
.social-row .h3 { color: var(--paper-2) }
.social-list { display: flex; flex-wrap: wrap; gap: 10px }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  box-shadow: inset 0 0 0 2px var(--ocean); text-decoration: none; font-weight: 700;
  transition: background-color .25s var(--out), transform .45s var(--spring)
}
.social-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none }
@media (hover: hover) { .social-btn:hover { background: var(--ocean-deep); transform: translateY(-2px) } }
.social-btn:active { transform: scale(.95); transition-duration: .12s }
@media (max-width: 480px) { .social-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px } .social-btn { justify-content: center; gap: 7px; padding: 0 6px; font-size: 14px; width: 100% } .social-btn svg { width: 20px; height: 20px } }
@media (max-width: 350px) { .social-btn span { font-size: 13px } .social-btn svg { display: none } }

/* ---------- footer ---------- */
.footer { padding-block: 48px calc(48px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ocean); background: var(--ink-2) }
.footer-inner { display: grid; gap: 24px; align-items: center }
.footer-brand { display: block; width: 112px }
.footer-brand img { width: 112px; height: auto }
.footer-text { display: grid; gap: 12px }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px }
.footer-links a { font-weight: 600; font-size: 15px; display: inline-block; padding-block: 12px; text-decoration: none }
.footer-links a:hover { color: var(--acid) }
.footer-small { color: var(--paper-2); font-size: 14px }
@media (min-width: 761px) { .footer-inner { grid-template-columns: auto 1fr; gap: 40px } }

/* ---------- Rezervă pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut) }
.modal[hidden] { display: none }
.modal-backdrop { position: absolute; inset: 0; background: rgba(var(--scrim), .78); opacity: 0; transition: opacity .3s var(--in) }
.modal-card {
  position: relative; width: min(100%, 440px); padding: 34px 26px 26px; background: var(--ink-2);
  box-shadow: inset 0 0 0 2px var(--ocean), 0 30px 80px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate3d(0, 24px, 0) scale(.94); transition: opacity .22s var(--in-strong), transform .22s var(--in-strong)
}
.modal-card:focus { outline: none }
.modal.on .modal-backdrop { opacity: 1; transition: opacity .4s var(--out) }
.modal.on .modal-card { opacity: 1; transform: none; transition: opacity .35s var(--out), transform .55s var(--spring) }
.modal-title { font-size: clamp(40px, 10vw, 58px); padding-right: 44px }
.modal-sub { margin-top: 12px; color: var(--paper-2); font-size: 16px }
.modal-actions { display: grid; gap: 10px; margin-top: 24px }
.modal-btn { min-height: 60px; justify-content: space-between; padding: 0 20px }
.modal-btn small { font: 700 16px/1 var(--body); letter-spacing: .02em; text-transform: none }
.modal-wa { display: inline-block; margin-top: 16px; padding-block: 12px; font-weight: 700; font-size: 15px; text-underline-offset: 4px; text-decoration-color: var(--ocean); text-decoration-thickness: 2px }
.modal-wa:hover { color: var(--acid) }
.modal-x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; background: none; border: 0; cursor: pointer }
.modal-x i, .lb-close i { position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px; background: var(--paper); transform: rotate(45deg) }
.modal-x i + i, .lb-close i + i { transform: rotate(-45deg) }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 95; background: var(--ink); display: grid; grid-template-rows: auto 1fr; opacity: 0; transition: opacity .25s var(--in) }
.lb[hidden] { display: none }
.lb:focus { outline: none }
.lb.on { opacity: 1; transition: opacity .45s var(--out) }
.lb-top { display: flex; align-items: center; gap: 16px; padding: calc(10px + env(safe-area-inset-top)) var(--gut) 10px }
.lb-title { font: 900 26px/1 var(--disp); font-stretch: var(--stretch); text-transform: uppercase }
.lb-count { color: var(--paper-2); font-size: 15px; margin-right: auto }
/* explicit minmax(0, 1fr) track = definite area, so max-height: 100% below really caps the photo at the screen height */
.lb-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; overflow: hidden; padding: 0 var(--gut) calc(84px + env(safe-area-inset-bottom)) }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: lbIn .6s var(--out) }
@keyframes lbIn { from { opacity: 0; transform: scale(.97) } }
.lb-btn { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink-2); border: 0; box-shadow: inset 0 0 0 2px var(--ocean); cursor: pointer; position: relative; transition: transform .45s var(--spring) }
.lb-btn:active { transform: scale(.95) }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--paper); stroke-width: 2.4 }
.lb-prev, .lb-next { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)) }
.lb-prev { left: calc(50% - 62px) }
.lb-next { left: calc(50% + 10px) }
@media (min-width: 900px) {
  .lb-stage { padding: 0 100px 40px }
  .lb-prev, .lb-next { bottom: auto; top: 50% }
  .lb-prev { left: 28px } .lb-next { left: auto; right: 28px }
}

/* ---------- no JS ---------- */
.nojs { position: relative; z-index: 2; background: var(--acid); color: var(--ink); padding: 12px var(--gut); font-weight: 700 }
.nojs a { color: var(--ink) }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important }
  .js .reveal-lines .line > span, .js .reveal { transform: none; opacity: 1 }
  /* the hero slideshow keeps running (see main.js startHero): keep its soft crossfade instead of a hard cut */
  .slide { transition-duration: 1s !important }
}
