/* Beach Sprint Series Antalya 2027 — "Deep Water"
   Design system: design-system/beach-sprint-series-antalya-2027/MASTER.md */

/* ================================================================ 1. Tokens */
:root {
  --deep-900: #03101B;
  --deep-800: #061B2C;
  --deep-700: #0B2A40;
  --deep-600: #12385A;
  --on-deep: #E6F4FA;
  --on-deep-2: #9DB9C9;
  --line-deep: rgba(255, 255, 255, .09);
  --aqua: #2DD4BF;
  --aqua-soft: rgba(45, 212, 191, .14);
  --sky: #38BDF8;
  --coral: #FF7A45;
  --coral-hover: #FF9165;
  --sun: #FCD34D;
  --foam: #F3F8FA;
  --foam-2: #E6F0F5;
  --surface: #FFFFFF;
  --ink: #0B2433;
  --ink-2: #4B6474;
  --link: #0E7490;
  --line: #DCE8EF;
  --error: #DC2626;
  --error-bg: #FEF2F2;
  --success: #15803D;
  --success-bg: #ECFDF5;

  --ev-masters: #38BDF8;
  --ev-quota: #FF7A45;
  --ev-off: #FCD34D;
  --ev-series: #2DD4BF;

  --font-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-pirate: "Pirata One", "Outfit", serif;
  --font-royal: "Cormorant Garamond", Georgia, serif;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --shadow: 0 10px 30px rgba(3, 16, 27, .08);
  --shadow-lg: 0 24px 60px rgba(3, 16, 27, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t: 240ms;
  --container: 1680px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --header-h: 78px;
  --buoys: radial-gradient(circle, var(--coral) 0 3px, transparent 3.5px) 0 50% / 26px 8px repeat-x;
}

/* ================================================================ 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--ink); background: var(--foam); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; transition: color var(--t) var(--ease); }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { width: 100%; border-collapse: collapse; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -.02em; }
strong { font-weight: 600; }
code { font: .92em ui-monospace, Menlo, monospace; background: var(--foam-2); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .section--deep :focus-visible, .section--lanes :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible { outline-color: var(--aqua); }
button, input, select, textarea { font: inherit; }
button, .btn, a.btn { cursor: pointer; }
[hidden] { display: none !important; }

/* ================================================================ 3. Utilities */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: 1840px; }
.container--narrow { max-width: 940px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 200; padding: .75rem 1.1rem; border-radius: 999px; background: var(--coral); color: var(--deep-900); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 2.4rem; }
.lead-strong { font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* ================================================================ 4. Buttons, labels */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 58px; padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--coral); color: var(--deep-900); box-shadow: 0 10px 30px rgba(255, 122, 69, .35); }
.btn-gold:hover { background: var(--coral-hover); color: var(--deep-900); box-shadow: 0 14px 36px rgba(255, 122, 69, .45); }
.btn-teal { background: var(--deep-800); color: #fff; }
.btn-teal:hover { background: var(--deep-600); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: #fff; color: var(--deep-900); }
.btn-disabled { background: var(--foam-2); color: var(--ink-2); cursor: not-allowed; }
.btn-link { min-height: 44px; padding: .4rem 0; background: none; border: 0; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--error); }
.btn-add { margin: .4rem 0 1.4rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--link); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font: 600 .78rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.eyebrow::before { content: ""; width: 34px; height: 8px; background: var(--buoys); background-size: 13px 8px; }
.eyebrow--light { color: var(--aqua); }
.eyebrow--gold { color: var(--sun); }
.status { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--success-bg); color: var(--success); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(21, 128, 61, .18); }
.status--closed, .status--deadline { background: #F1F5F9; color: var(--ink-2); }
.status--full { background: var(--error-bg); color: var(--error); }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.tile-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--foam-2); color: var(--link); flex-shrink: 0; }
.tile-icon .icon { width: 26px; height: 26px; }

/* Thin animated wave lines (decorative) */
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(70px, 9vw, 130px); pointer-events: none; z-index: 1; }
.waves svg { width: 200%; height: 100%; }
.waves path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.waves .w1 { stroke: rgba(45, 212, 191, .55); animation: drift 22s linear infinite; }
.waves .w2 { stroke: rgba(56, 189, 248, .35); animation: drift 30s linear infinite reverse; }
.waves .w3 { stroke: rgba(255, 255, 255, .22); animation: drift 38s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ================================================================ 5. Header */
.topbar { background: var(--deep-900); color: var(--on-deep-2); font-size: .84rem; border-bottom: 1px solid var(--line-deep); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-links { display: flex; align-items: center; gap: 1.2rem; }
.topbar-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-deep); text-decoration: none; }
.topbar-links a:hover { color: var(--aqua); }
.lang-switch { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lang-switch a { min-height: 28px; padding: 0 .7rem; border-radius: 999px; font-weight: 600; }
.lang-switch a.active { background: var(--aqua); color: var(--deep-900); }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--on-deep); background: rgba(6, 27, 44, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line-deep); transition: background-color var(--t), box-shadow var(--t); }
.site-header.is-scrolled { background: rgba(3, 16, 27, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.logo, .logo:hover { display: inline-flex; align-items: center; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; }
.main-nav ul a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 999px; color: var(--on-deep); font-weight: 500; font-size: .96rem; text-decoration: none; white-space: nowrap; transition: background-color var(--t), color var(--t); }
.main-nav ul a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.main-nav ul a[aria-current="page"] { background: var(--aqua-soft); color: var(--aqua); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 1px solid var(--line-deep); border-radius: 999px; background: rgba(255, 255, 255, .06); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--t) var(--ease), background-color var(--t); }
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { top: -6px; left: 0; right: 0; }
.nav-toggle-bars::after { top: 6px; left: 0; right: 0; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-extra { display: none; }
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.2rem var(--gutter) 2rem; background: var(--deep-900);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { min-height: 58px; border-radius: 0; border-bottom: 1px solid var(--line-deep); font: 600 1.35rem/1 var(--font-display); letter-spacing: -.01em; }
  .main-nav ul a[aria-current="page"] { background: transparent; }
  .nav-cta { margin: .4rem 0 0; }
  .nav-mobile-extra { display: flex; gap: 1rem; }
  .nav-mobile-extra a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-deep-2); text-decoration: none; font-weight: 600; }
  .nav-mobile-extra a.active { color: var(--aqua); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .topbar-dates { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .brand-logo { height: 40px; }
}

/* ================================================================ 6. Home hero */
.hero { position: relative; isolation: isolate; min-height: min(100svh - 118px, 900px); display: flex; align-items: flex-end; color: var(--on-deep); background: var(--deep-800); overflow: hidden; }
.hero-media { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at 15% 85%, rgba(45, 212, 191, .28), transparent 50%),
  linear-gradient(95deg, rgba(3, 16, 27, .94) 0%, rgba(3, 16, 27, .72) 45%, rgba(3, 16, 27, .15) 85%),
  linear-gradient(0deg, rgba(3, 16, 27, .9) 0%, transparent 45%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .4fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; width: 100%; padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(5.5rem, 9vw, 8rem); }
.kicker { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem; padding: .45rem 1rem .45rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; font-weight: 500; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kicker-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: var(--deep-900); }
.kicker-dot .icon { width: 15px; height: 15px; }
.hero-title { margin: 0 0 1.4rem; color: #fff; font-size: clamp(3.4rem, 8.6vw, 8rem); font-weight: 800; line-height: .9; letter-spacing: -.045em; }
.hero-title span { display: block; }
.hero-year { color: var(--aqua); }
.hero-year em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
.hero-lead { max-width: 580px; margin-bottom: 2.2rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.glass { background: rgba(6, 27, 44, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.hero-card { justify-self: end; width: 100%; max-width: 340px; margin-bottom: clamp(-4.5rem, -5vw, -2rem); padding: 1rem 1.1rem; border-radius: var(--r); color: var(--on-deep); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.countdown-label { margin: 0 0 .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.countdown-grid div { padding: .5rem .2rem .45rem; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.countdown-grid span { display: block; font: 700 clamp(1.35rem, 2vw, 1.7rem)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown-grid small { display: block; margin-top: .25rem; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-2); }
.countdown.is-started .countdown-grid { display: none; }
.hero-card-meta { list-style: none; display: grid; gap: .35rem; margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: var(--on-deep); }
.hero-card-meta li { display: flex; gap: .6rem; }
.hero-card-meta .icon { width: 16px; height: 16px; color: var(--aqua); margin-top: .15rem; }
.hero-card-meta strong { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; animation: bob 2.4s ease-in-out infinite; }
.scroll-cue .icon { width: 18px; height: 18px; transform: rotate(90deg); }
@keyframes bob { 50% { transform: translateY(6px); } }
.hero .bg-credit { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } .hero-card { justify-self: start; max-width: 380px; margin-bottom: 0; } .scroll-cue { display: none; } }

/* Marquee */
.marquee { position: relative; overflow: hidden; background: var(--deep-900); border-block: 1px solid var(--line-deep); padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font: 700 clamp(1.4rem, 2.6vw, 2.1rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--on-deep); white-space: nowrap; }
.marquee-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(230, 244, 250, .55); }
.marquee-item::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 122, 69, .2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================================================================ 7. Sections */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--sand { background: var(--surface); }
.section--alt { background: var(--foam-2); }
.section--deep, .section--navy, .section--lanes { background: var(--deep-800); color: var(--on-deep); }
.section--deep h2, .section--deep h3, .section--navy h2, .section--navy h3, .section--lanes h2 { color: #fff; }
.section--deep .muted, .section--navy .muted { color: var(--on-deep-2); }
.section--lanes { background:
  repeating-linear-gradient(180deg, transparent 0 119px, rgba(255, 255, 255, .05) 119px 120px),
  radial-gradient(ellipse at 90% 0%, rgba(56, 189, 248, .16), transparent 50%),
  var(--deep-800); }
.section--form { padding-top: 3rem; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .3rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head > * { grid-column: 1; }
.section-head h2 { margin: 0; }
.section-head > p:last-child:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; font-size: 1.08rem; color: var(--ink-2); }
.section--deep .section-head > p:last-child:not(.eyebrow), .section--lanes .section-head > p:last-child:not(.eyebrow), .section--navy .section-head > p:last-child:not(.eyebrow), .section-head--light > p:last-child:not(.eyebrow) { color: var(--on-deep-2); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head > p:last-child:not(.eyebrow) { grid-column: 1; grid-row: auto; margin-top: .9rem; } }
.group-title { font-size: 1.8rem; margin: 0 0 1.4rem; }
.group-title:not(:first-child) { margin-top: 3.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split--reverse .split-text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split-text { order: 0; } }

/* Bento programme tiles (photos) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 1.1rem; list-style: none; }
.bento-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 1.6rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--deep-700); border: 1px solid var(--line-deep); }
.bento-tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.bento-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 16, 27, .1) 0%, rgba(3, 16, 27, .55) 45%, rgba(3, 16, 27, .95) 100%); }
.bento-tile:hover > img { transform: scale(1.05); }
.bento-tile--masters { grid-column: span 2; grid-row: span 2; }
.bento-tile--quota { grid-column: span 2; }
.bento-date { position: absolute; top: 1.2rem; left: 1.2rem; display: inline-flex; align-items: baseline; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(3, 16, 27, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .15); }
.bento-date strong { font: 700 1.35rem/1 var(--font-display); color: #fff; }
.bento-date span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-2); }
.bento-tag { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ev, var(--aqua)); }
.bento-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.bento-tile h3 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.bento-tile--masters h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.bento-tile--off p, .bento-tile--series p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bento-tile--off h3, .bento-tile--series h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); }
.bento-tile--off, .bento-tile--series { padding-top: 4.4rem; }
.bento-tile p { margin: 0 0 1rem; color: var(--on-deep); font-size: .96rem; max-width: 520px; }
.bento-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.bento-tile .link-arrow { color: #fff; }
.bento-tile--masters { --ev: var(--ev-masters); }
.bento-tile--quota { --ev: var(--ev-quota); }
.bento-tile--off { --ev: var(--ev-off); }
.bento-tile--series { --ev: var(--ev-series); }
.bento-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ev); }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento-tile--masters { grid-row: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento-tile--masters, .bento-tile--quota { grid-column: span 1; } .bento-tile { padding-top: 5rem; min-height: 0; } }

/* Race-course timeline: the race week as buoys on a lane */
.course { position: relative; list-style: none; display: grid; grid-template-columns: repeat(10, minmax(104px, 1fr)); gap: .5rem; overflow-x: auto; padding: 3.2rem 0 1rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.course::before { content: ""; position: absolute; left: 0; right: 0; top: 1.4rem; height: 8px; background: var(--buoys); }
.course-day { position: relative; scroll-snap-align: start; padding: 1.1rem 1rem 1.2rem; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-deep); }
.course-day::before { content: ""; position: absolute; top: -2.1rem; left: 1rem; width: 18px; height: 18px; border-radius: 50%; background: var(--deep-800); border: 3px solid var(--ev, var(--on-deep-2)); }
.course-day--masters { --ev: var(--ev-masters); }
.course-day--quota { --ev: var(--ev-quota); }
.course-day--off { --ev: var(--ev-off); }
.course-day--series { --ev: var(--ev-series); }
.course-day--masters, .course-day--quota, .course-day--off, .course-day--series { background: linear-gradient(180deg, color-mix(in srgb, var(--ev) 18%, transparent), transparent 85%); border-color: color-mix(in srgb, var(--ev) 45%, transparent); }
.course-wd { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep-2); }
.course-num { display: block; margin: .25rem 0 .6rem; font: 800 2.6rem/1 var(--font-display); letter-spacing: -.04em; color: #fff; }
.course-label { display: block; font-size: .85rem; line-height: 1.35; color: var(--on-deep); }
.course-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-size: .9rem; color: var(--on-deep-2); }
.course-legend li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: .5rem; border-radius: 50%; border: 3px solid var(--c); vertical-align: -1px; }

/* Plan tiles */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1024px) { .plan-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-tiles { grid-template-columns: 1fr; } }
.plan-tile { position: relative; display: flex; flex-direction: column; gap: .6rem; min-height: 250px; padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t); }
.plan-tile::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .22), transparent 70%); transition: transform 500ms var(--ease); }
.plan-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .35); color: var(--ink); }
.plan-tile:hover::after { transform: scale(1.4); }
.plan-tile h3 { margin: .6rem 0 0; }
.plan-tile p { margin: 0; flex: 1; color: var(--ink-2); font-size: .96rem; }
.plan-tile .link-arrow { min-height: 32px; }

/* Calendar (events page) */
.calendar { padding: clamp(1.1rem, 2.5vw, 1.8rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.calendar-head h3 { margin: 0; font-size: 1.8rem; }
.calendar-tag { padding: .35rem .8rem; border-radius: 999px; background: var(--foam-2); color: var(--link); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { padding: .3rem 0; text-align: center; font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.cal-day { min-height: 58px; padding: .45rem .5rem; border-radius: 12px; background: var(--foam); font: 700 1.1rem/1 var(--font-display); color: var(--ink); }
.cal-day small { display: block; margin-top: .65rem; font: 600 .62rem/1.15 var(--font-body); }
.cal-day--empty { background: transparent; }
.cal-day--masters { background: var(--ev-masters); color: var(--deep-900); }
.cal-day--quota { background: var(--ev-quota); color: var(--deep-900); }
.cal-day--off { background: var(--ev-off); color: var(--deep-900); }
.cal-day--series { background: var(--ev-series); color: var(--deep-900); }
.cal-day--arrival { background: var(--foam-2); }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1rem 0 .6rem; font-size: .88rem; }
.cal-legend li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: .45rem; border-radius: 4px; background: var(--c); vertical-align: -1px; }
.calendar .muted { margin: 0; font-size: .85rem; }
@media (max-width: 520px) { .cal-day { min-height: 44px; } .cal-day small { display: none; } }

/* Venue */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.2rem 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--ink-2); font-size: .9rem; }
.stats dd { margin: 0; font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--link); }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Social programme */
.feature-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-height: 360px; padding: 2.2rem; border-radius: var(--r-lg); color: #fff; text-decoration: none; overflow: hidden; border: 1px solid var(--line-deep); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); color: #fff; }
.feature-card h3 { margin: 0; color: #fff; font-size: clamp(2.2rem, 3.4vw, 3rem); }
.feature-card p { margin: 0 0 .4rem; color: rgba(255, 255, 255, .86); }
.feature-card .link-arrow { align-self: flex-start; color: var(--sun); }
.feature-card--pirate { background: radial-gradient(circle at 80% 15%, rgba(252, 211, 77, .35), transparent 40%), linear-gradient(160deg, #3b2414, #0d0805 75%); }
.feature-card--royal { background: radial-gradient(circle at 80% 15%, rgba(252, 211, 77, .3), transparent 40%), linear-gradient(160deg, #12385A, #03101B 78%); }
.feature-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.pirate-font { font-family: var(--font-pirate); font-weight: 400; letter-spacing: .01em; }
.royal-font { font-family: var(--font-royal); font-weight: 600; letter-spacing: 0; }

/* CTA */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 8vw, 6rem) 0; color: var(--on-deep); background: radial-gradient(ellipse at 20% 120%, rgba(45, 212, 191, .35), transparent 55%), radial-gradient(ellipse at 90% -20%, rgba(255, 122, 69, .3), transparent 50%), var(--deep-900); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .4rem; color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 760px; }
.cta-band p { margin: 0; color: var(--on-deep-2); font-size: 1.1rem; }

/* Partners */
.partners-strip { padding: 3.5rem 0; background: var(--surface); border-top: 1px solid var(--line); }
.strip-title { margin-bottom: 1.6rem; text-align: center; font: 600 .8rem/1 var(--font-body); letter-spacing: .18em; color: var(--ink-2); }
.strip-logos, .partner-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.partner-logo { display: grid; place-items: center; width: 168px; height: 88px; padding: .8rem; border-radius: 18px; background: var(--foam); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--t), box-shadow var(--t); }
a.partner-logo:hover { border-color: var(--link); box-shadow: var(--shadow); }
.partner-logo img { max-height: 100%; width: auto; object-fit: contain; }
.logo-placeholder { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.partner-tier { margin-bottom: 3rem; text-align: center; }
.partner-tier h2 { font-size: 2rem; }
.partner-tier--main .partner-logo { width: 340px; height: 170px; }
.partner-tier--official .partner-logo { width: 240px; height: 120px; }

/* ================================================================ 8. Photos */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--foam-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit, .bg-credit { position: absolute; right: .7rem; bottom: .6rem; z-index: 2; max-width: calc(100% - 1.4rem); padding: .15rem .55rem; border-radius: 999px; background: rgba(3, 16, 27, .65); color: #fff; font-size: .68rem; line-height: 1.4; text-align: right; pointer-events: none; }
.photo--feature { aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.photo--block { aspect-ratio: 16 / 9; margin-bottom: 1.4rem; }
.photo--wide { aspect-ratio: 21 / 9; max-width: 1000px; margin: 0 auto 2rem; border-radius: var(--r-lg); }
.photo-band { padding-top: 0; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.photo-row .photo { aspect-ratio: 3 / 2; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery-item { border-radius: var(--r); }
.gallery-item img { transition: transform 700ms var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--1 { grid-column: span 2; grid-row: span 2; }
.gallery-item--6 { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .photo-row { grid-template-columns: 1fr; } .photo--wide { aspect-ratio: 16 / 9; } }
.scene { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
@media (max-width: 600px) { .photo-credit, .bg-credit { font-size: .6rem; } }

/* ================================================================ 9. Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-deep); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7.5rem); background:
  radial-gradient(ellipse at 85% -10%, rgba(56, 189, 248, .35), transparent 50%),
  radial-gradient(ellipse at 0% 110%, rgba(45, 212, 191, .3), transparent 50%),
  var(--deep-800); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 79px, rgba(255, 255, 255, .045) 79px 80px); mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); }
.page-hero h1 { margin-bottom: 1rem; max-width: 980px; color: #fff; font-size: clamp(2.8rem, 6.6vw, 5.4rem); letter-spacing: -.045em; }
.page-hero-lead { max-width: 680px; margin: 0; font-size: 1.15rem; color: var(--on-deep); }
.page-hero--night { background: radial-gradient(ellipse at 85% -10%, rgba(252, 211, 77, .25), transparent 50%), linear-gradient(160deg, #1a100b, var(--deep-800) 60%); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; font-size: .9rem; color: var(--on-deep-2); }
.breadcrumb a { color: var(--on-deep); }
.breadcrumb a:hover { color: var(--aqua); }

/* ================================================================ 10. Content cards (light sections) */
.event-block, .reg-card, .info-card, .hotel-card, .form-card, .doc-card { border-radius: var(--r); }
.event-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 860px) { .event-blocks { grid-template-columns: 1fr; } }
.event-block { position: relative; overflow: hidden; padding: 0 1.8rem 1.8rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.event-block::before { content: ""; display: block; height: 5px; margin: 0 -1.8rem 1.6rem; background: var(--ev-masters); }
.event-block--quota::before { background: var(--ev-quota); }
.event-block--off::before { background: var(--ev-off); }
.event-block--series::before { background: var(--ev-series); }
.event-block .photo--block { margin: -1.6rem -1.8rem 1.4rem; border-radius: 0; }
.event-block-date { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .6rem; font-weight: 600; color: var(--link); }
.event-block h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.event-block-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.check-list { list-style: none; display: grid; gap: .55rem; margin: 1rem 0; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: .2rem; color: var(--link); }
.check-list--compact { gap: .3rem; font-size: .95rem; }
.section--deep .check-list .icon { color: var(--aqua); }
.dot-list { display: grid; gap: .5rem; padding-left: 1.2rem; margin-bottom: 1rem; }
.steps-list { display: grid; gap: .7rem; padding-left: 1.3rem; margin-bottom: 1.6rem; }
.steps-list li::marker { font-weight: 700; color: var(--coral); }

.schedule { list-style: none; display: grid; gap: .8rem; }
.schedule-day { display: grid; grid-template-columns: 120px 1fr; overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.schedule-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem .5rem; background: var(--deep-800); color: #fff; text-align: center; }
.schedule-date strong { font: 800 2.4rem/1 var(--font-display); letter-spacing: -.04em; }
.schedule-date span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.schedule-date small { font-size: .74rem; opacity: .85; }
.schedule-day--masters .schedule-date { background: var(--ev-masters); color: var(--deep-900); }
.schedule-day--quota .schedule-date { background: var(--ev-quota); color: var(--deep-900); }
.schedule-day--off .schedule-date { background: var(--ev-off); color: var(--deep-900); }
.schedule-day--series .schedule-date { background: var(--ev-series); color: var(--deep-900); }
.schedule-body { padding: 1.1rem 1.4rem; }
.schedule-body h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.schedule-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; color: var(--ink-2); }
.schedule-body li::before { content: "•"; margin-right: .4rem; color: var(--coral); }
@media (max-width: 520px) { .schedule-day { grid-template-columns: 84px 1fr; } }

.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.doc-card { display: flex; flex-direction: column; gap: .3rem; min-height: 120px; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color var(--t), box-shadow var(--t); }
a.doc-card:hover { border-color: var(--link); box-shadow: var(--shadow); color: var(--ink); }
.doc-card .icon { width: 28px; height: 28px; margin-bottom: .4rem; color: var(--link); }
.doc-card small { color: var(--ink-2); font-weight: 500; }
.doc-card--soon { background: var(--foam); color: var(--ink-2); }
.doc-card--live .icon { color: var(--error); }
@media (max-width: 900px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }

.reg-grid { margin-bottom: .5rem; }
.reg-card { position: relative; display: flex; flex-direction: column; gap: .6rem; overflow: hidden; padding: 1.9rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.reg-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ev-masters); }
.reg-card--quota::before { background: var(--ev-quota); }
.reg-card--training::before { background: var(--deep-600); }
.reg-card--accommodation::before { background: var(--ev-series); }
.reg-card--entertainment::before { background: var(--ev-off); }
.reg-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reg-card h3 { margin: .4rem 0 0; font-size: 1.7rem; }
.reg-card p { margin: 0; color: var(--ink-2); }
.reg-card-meta { list-style: none; display: grid; gap: .45rem; flex: 1; margin: .5rem 0 1rem; font-size: .95rem; }
.reg-card-meta li { display: flex; align-items: center; gap: .5rem; }
.reg-card-meta .icon { width: 19px; height: 19px; color: var(--link); }
.reg-card.is-closed { opacity: .8; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.info-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .info-grid, .info-grid--2 { grid-template-columns: 1fr; } }
.info-card { padding: 1.9rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.8rem; }
.info-card h2:not(:first-child) { margin-top: 2rem; }
.info-card h3 { margin: 1.2rem 0 .4rem; font-size: 1.2rem; color: var(--link); }
.table td, .table th { padding: .65rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table .num { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.table caption { padding-bottom: .3rem; text-align: left; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.age-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.age-grid div { display: flex; flex-direction: column; align-items: center; padding: .6rem .3rem; border-radius: 14px; background: var(--foam); }
.age-grid strong { font: 800 1.6rem/1 var(--font-display); color: var(--ink); }
.age-grid span { font-size: .8rem; color: var(--ink-2); }

.facts-card { display: grid; gap: 1rem; padding: 1.9rem; border-radius: var(--r); background: var(--deep-800); color: var(--on-deep); box-shadow: var(--shadow-lg); }
.facts-card dl { display: grid; gap: .9rem; margin: 0; }
.facts-card dl div { display: grid; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-deep); }
.facts-card dt { display: flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.facts-card dt .icon { width: 18px; height: 18px; }
.facts-card dd { margin: 0; font: 700 1.5rem/1.15 var(--font-display); color: #fff; }
.facts-card dd small { font: 400 .9rem var(--font-body); color: var(--on-deep-2); }
.facts-highlight { margin: 0; color: var(--sun); font-weight: 600; }
.facts-card .muted { margin: 0; color: var(--on-deep-2); }
.facts-card .status { justify-self: start; }

.hotel-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hotel-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--foam-2); }
.hotel-media img { width: 100%; height: 100%; object-fit: cover; }
.hotel-cat { position: absolute; left: 1rem; top: 1rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(3, 16, 27, .75); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hotel-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: 1.6rem; }
.hotel-body h2 { margin: 0 0 .4rem; font-size: 1.7rem; }
.stars { margin: 0; color: var(--coral); letter-spacing: .15em; }
.hotel-meta { display: flex; align-items: center; gap: .45rem; margin: 0; color: var(--ink-2); font-size: .95rem; }
.hotel-meta .icon { width: 18px; height: 18px; color: var(--link); }
.table--prices { margin: .8rem 0 1.2rem; }
.hotel-body .btn { margin-top: auto; }
.travel-list { list-style: none; display: grid; gap: 1.2rem; }
.travel-list li { display: flex; gap: 1rem; }
.travel-list h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.travel-list p { margin: 0; color: var(--ink-2); }

.ent-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.ent-section--pirate { background: radial-gradient(ellipse at 90% 10%, rgba(252, 211, 77, .2), transparent 40%), linear-gradient(170deg, #241510, #0b0604); color: rgba(255, 241, 214, .92); }
.ent-section--pirate h2 { color: #f6dea2; font-size: clamp(2.8rem, 6vw, 4.6rem); }
.ent-section--royal { background: radial-gradient(ellipse at 10% 10%, rgba(252, 211, 77, .16), transparent 40%), linear-gradient(170deg, var(--deep-700), var(--deep-900)); color: var(--on-deep); }
.ent-section--royal h2 { color: #f6d77d; font-size: clamp(2.8rem, 6vw, 4.6rem); }
.ent-photos { position: relative; padding: 0 0 3.5rem 2.5rem; }
.ent-photo-main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.ent-photo-inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border: 6px solid rgba(255, 255, 255, .92); border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.ent-photo-inset .photo-credit { font-size: .6rem; }
.split--reverse .ent-photos { padding: 0 2.5rem 3.5rem 0; }
.split--reverse .ent-photo-inset { left: auto; right: 0; }
.split--reverse .ent-photo-main .photo-credit { right: auto; left: .7rem; text-align: left; }
@media (max-width: 600px) { .ent-photos { padding: 0 0 2.5rem 1.25rem; } .split--reverse .ent-photos { padding: 0 1.25rem 2.5rem 0; } .ent-photo-inset { width: 50%; border-width: 4px; } }
.ent-tagline { font-size: 1.3rem; font-style: italic; color: var(--sun); }
.ent-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; margin: 1.5rem 0 1rem; }
.ent-facts dt { display: flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ent-facts dt .icon { width: 16px; height: 16px; color: var(--sun); }
.ent-facts dd { margin: 0; font-weight: 600; color: #fff; }
.ent-facts dd small { font-weight: 400; color: rgba(255, 255, 255, .75); }
.dress-code { display: inline-flex; flex-direction: column; padding: .7rem 1.2rem; border-radius: var(--r-sm); border: 1px solid rgba(252, 211, 77, .5); }
.dress-code span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.dress-code strong { font: 600 1.6rem/1.2 var(--font-royal); color: var(--sun); }
.soon-note { display: inline-block; margin-bottom: 1.5rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); font-size: .9rem; }
.places { color: var(--sun); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
.contact-info { display: grid; gap: 1.25rem; }
.contact-list { list-style: none; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; margin-top: .2rem; color: var(--link); }
.map { overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================================================================ 11. Forms */
.form-card { padding: clamp(1.4rem, 4vw, 2.6rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: .2rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field > span { font-size: .93rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: var(--r-sm); border: 1.5px solid #C9DAE4; background: #fff; color: var(--ink); font-size: 1rem; transition: border-color var(--t), box-shadow var(--t); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #93B6C8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(14, 116, 144, .16); }
.field select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B2433' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.field-error { color: var(--error); font-size: .86rem; font-weight: 600; }
.row { display: grid; gap: 0 1rem; }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-rooms { grid-template-columns: 1.3fr 1.3fr .6fr; }
@media (max-width: 640px) { .row-2, .row-3, .row-rooms { grid-template-columns: 1fr; } }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: 1rem 0 1.3rem; font-size: .98rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .1rem; flex-shrink: 0; accent-color: var(--link); }
.check.is-invalid { color: var(--error); }
.alert { margin-bottom: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); }
.alert ul { margin-top: .4rem; padding-left: 1.2rem; }
.alert-ok { background: var(--success-bg); color: #14532D; border: 1px solid #BBF7D0; }
.alert-error { background: var(--error-bg); color: #7F1D1D; border: 1px solid #FECACA; }

.wz-progress { list-style: none; display: flex; gap: .35rem; margin: 0 0 .4rem; }
.wz-progress li { flex: 1; min-width: 0; }
.wz-progress button { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 100%; text-align: center; cursor: default; }
.wz-progress li.is-done button { cursor: pointer; }
.wz-progress li:not(:last-child) button::after { content: ""; position: absolute; top: 19px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; background: var(--buoys); background-size: 14px 8px; opacity: .35; }
.wz-progress li.is-done button::after { opacity: 1; }
.wz-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #C9DAE4; background: #fff; color: var(--ink-2); font: 700 1.05rem/1 var(--font-display); transition: background-color var(--t), color var(--t), border-color var(--t); }
.wz-label { font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.wz-progress li.is-active .wz-num { border-color: var(--coral); background: var(--coral); color: var(--deep-900); box-shadow: 0 0 0 6px rgba(255, 122, 69, .18); }
.wz-progress li.is-active .wz-label { color: var(--ink); }
.wz-progress li.is-done .wz-num { border-color: var(--deep-800); background: var(--deep-800); color: #fff; }
.wz-progress button:focus-visible .wz-num { outline: 3px solid var(--link); outline-offset: 3px; }
.wz-counter { min-height: 1.3em; margin: .6rem 0 1.6rem; text-align: center; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 640px) { .wz-label { display: none; } .wz-progress li.is-active .wz-label { display: block; position: absolute; top: 48px; white-space: nowrap; } .wz-counter { margin-top: 2rem; } }
.wz-step { min-width: 0; margin: 0 0 1rem; padding: 0; border: 0; }
.wz-title { margin-bottom: .9rem; padding: 0; font: 700 clamp(1.8rem, 3.4vw, 2.4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); outline: none; }
.wz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wz-step-error { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--error-bg); color: var(--error); font-weight: 600; }
.wizard:not(.is-enhanced) .wz-progress, .wizard:not(.is-enhanced) .wz-nav [data-next], .wizard:not(.is-enhanced) .wz-nav [data-back] { display: none; }
.rows { display: grid; gap: 1rem; margin-bottom: 1rem; }
.row-card { padding: 1.2rem 1.3rem .3rem; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--foam); animation: rowIn 260ms var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.row-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.row-card-head h3 { flex: 1; margin: 0; font-size: 1.25rem; }
.row-amount { font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.crew { display: grid; gap: .2rem; }
.crew-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0 .8rem; align-items: end; }
.crew-row--masters { grid-template-columns: 2fr 1fr; }
.crew-row .field { margin-bottom: .8rem; }
.crew-seat { grid-column: 1 / -1; margin: .3rem 0 .4rem; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
@media (max-width: 640px) { .crew-row, .crew-row--masters { grid-template-columns: 1fr; } }
.age-badge { display: inline-block; margin: 0 0 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--deep-800); color: #fff; font-size: .86rem; font-weight: 600; }
.yesno { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.yesno-q { flex-basis: 100%; margin: 0 0 .2rem; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.yesno label { flex: 1; min-width: 180px; cursor: pointer; }
.yesno input { position: absolute; opacity: 0; pointer-events: none; }
.yesno span { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: .8rem 1rem; border-radius: var(--r-sm); border: 1.5px solid #C9DAE4; background: #fff; font-weight: 600; text-align: center; transition: border-color var(--t), background-color var(--t), box-shadow var(--t); }
.yesno label:hover span { border-color: #93B6C8; }
.yesno input:checked + span { border-color: var(--link); background: #E6F6F8; color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 116, 144, .14); }
.yesno input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
.yesno.is-invalid span { border-color: var(--error); }
.ent-options { display: grid; gap: 1rem; margin-bottom: 1rem; }
.ent-option { display: grid; grid-template-columns: 1fr 150px; gap: 0 1rem; padding: 1.3rem 1.4rem .5rem; border-radius: var(--r); color: rgba(255, 255, 255, .9); }
.ent-option--boat_tour { background: linear-gradient(150deg, #3b2414, #120a06); }
.ent-option--royal_reception { background: linear-gradient(150deg, var(--deep-700), var(--deep-900)); }
.ent-option h3 { margin: 0 0 .2rem; color: var(--sun); font-size: 1.5rem; }
.ent-option p { margin: 0 0 .3rem; font-size: .95rem; }
.ent-price { color: #fff; font-weight: 600; }
.ent-option .field > span { color: rgba(255, 255, 255, .9); }
.ent-option [data-ent-names] { grid-column: 1 / -1; }
.names-title { margin: .4rem 0 .5rem; font-weight: 600; }
.names-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1rem; }
.names-room h4 { margin: .6rem 0 .4rem; font: 600 .95rem/1.3 var(--font-body); }
.check--names { margin: .3rem 0 1rem; }
.names-later-note { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: #FAF5EC; }
.ent-option .field-error { color: #FCA5A5; }
@media (max-width: 560px) { .ent-option { grid-template-columns: 1fr; } }
.summary { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.sum-section { padding: 1rem 1.2rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.sum-section h3 { margin-bottom: .5rem; font: 600 .8rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.sum-section p { margin: 0; }
.sum-list { list-style: none; display: grid; gap: .55rem; }
.sum-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line); }
.sum-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.sum-list small { color: var(--ink-2); }
.sum-list strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; padding: .9rem 1.2rem; border-radius: var(--r-sm); background: var(--foam-2); font: 700 1.3rem/1 var(--font-display); color: var(--ink); }
.total-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.3rem 1.5rem; border-radius: var(--r); background: radial-gradient(ellipse at 100% 0%, rgba(45, 212, 191, .3), transparent 60%), var(--deep-800); color: #fff; }
.total-box span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.total-box strong { grid-row: span 2; font: 800 2.4rem/1 var(--font-display); letter-spacing: -.03em; }
.total-box small { color: var(--on-deep-2); }

.thanks-card h2 { margin-top: 2rem; font-size: 1.8rem; }
.ref-box { padding: 1.6rem; border-radius: var(--r); background: radial-gradient(ellipse at 100% 0%, rgba(45, 212, 191, .25), transparent 60%), var(--deep-800); text-align: center; }
.ref-box span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.ref-box strong { display: block; margin-top: .3rem; font: 800 clamp(1.9rem, 5vw, 2.8rem)/1.1 var(--font-display); letter-spacing: .04em; color: #fff; overflow-wrap: anywhere; }
.bank-details { margin: 0 0 1rem; overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--line); }
.bank-details div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.bank-details div:last-child { border-bottom: 0; }
.bank-details dt { color: var(--ink-2); }
.bank-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bank-details .big { font: 800 1.8rem/1 var(--font-display); color: var(--ink); }
@media (max-width: 560px) { .bank-details div { grid-template-columns: 1fr; gap: .1rem; } }

/* ================================================================ 12. Footer & misc */
.site-footer { position: relative; overflow: hidden; background: var(--deep-900); color: var(--on-deep-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-brand p { max-width: 340px; margin: 1.2rem 0 1.3rem; }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.footer-brand .brand-logo { height: 60px; }
.site-footer h3 { margin-bottom: 1.1rem; font: 600 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.footer-links, .footer-contact { list-style: none; display: grid; gap: .2rem; margin-bottom: 1rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.site-footer .btn-outline-light { min-height: 44px; }
.footer-word { margin: 2.5rem 0 0; font: 800 clamp(3.4rem, 13vw, 11rem)/.85 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(230, 244, 250, .14); white-space: nowrap; text-align: center; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.4rem; border-top: 1px solid var(--line-deep); font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--aqua); color: var(--deep-900); }
.social--dark a { background: var(--foam-2); color: var(--ink); }
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 540px; margin: 0 auto; padding: .8rem .8rem .8rem 1.2rem; border-radius: 999px; background: rgba(3, 16, 27, .92); color: var(--on-deep); box-shadow: var(--shadow-lg); font-size: .9rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--aqua); }
@media (max-width: 560px) { .cookie-note { border-radius: var(--r); } }

/* ================================================================ 13. Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none !important; }
}
