@import url('/assets/css/site.css');

:root {
    --ink: #15251f;
    --muted: #617068;
    --line: rgba(21, 37, 31, .15);
    --paper: #f7f6f1;
    --surface: #fff;
    --forest: #173f35;
    --forest-dark: #0d2b24;
    --green: #237a58;
    --lime: #d9e8a7;
    --sun: #e9b95f;
    --soft: #e8eee7;
}

/* Legal pages */
.legal-page { background: var(--paper); }
.legal-hero { padding: clamp(70px, 9vw, 118px) clamp(20px, 7vw, 110px) clamp(48px, 6vw, 76px); color: #fff; background: var(--forest-dark); }
.legal-hero h1 { max-width: 980px; margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 7vw, 88px); font-weight: 500; line-height: 1; }
.legal-hero > p:not(.eyebrow) { max-width: 780px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 19px; line-height: 1.65; }
.legal-hero > span { display: block; margin-top: 24px; color: var(--lime); font-size: 13px; font-weight: 800; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 850px); justify-content: center; gap: clamp(42px, 7vw, 100px); padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 110px); }
.legal-index { position: sticky; top: 110px; align-self: start; display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal-index strong, .legal-index a { padding: 13px 0; border-bottom: 1px solid var(--line); }
.legal-index strong { color: var(--green); font-size: 12px; text-transform: uppercase; }
.legal-index a { color: var(--muted); font-size: 14px; }
.legal-index a:hover { color: var(--green); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 110px; padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin: 8px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.1; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal-content p { margin: 0 0 17px; }
.legal-content ul { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 22px; }
.legal-content a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-table-wrap { width: 100%; margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 650px; border-collapse: collapse; background: #fff; }
.legal-table th, .legal-table td { padding: 15px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.legal-table th:last-child, .legal-table td:last-child { border-right: 0; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table th { color: var(--green); background: var(--soft); font-size: 12px; text-transform: uppercase; }
.legal-table td { color: var(--muted); font-size: 15px; }
.legal-table code { color: var(--ink); font-size: 13px; }

/* Technical cookie notice */
.cookie-settings-link { padding: 0; border: 0; color: rgba(255,255,255,.62); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.cookie-settings-link:hover { color: #fff; }
.cookie-notice { position: fixed; z-index: 3000; right: 0; bottom: 0; left: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 34px; align-items: center; padding: 22px clamp(64px, 7vw, 110px) calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.18); color: #fff; background: var(--forest-dark); box-shadow: 0 -14px 44px rgba(4, 20, 16, .24); }
.cookie-notice[hidden] { display: none; }
.cookie-notice__content { display: grid; gap: 8px; min-width: 0; }
.cookie-notice__content strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.cookie-notice__content p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.55; }
.cookie-notice__content a { width: fit-content; color: var(--lime); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice__confirm { min-height: 44px; padding: 0 20px; border: 1px solid var(--lime); border-radius: 4px; color: var(--forest-dark); background: var(--lime); font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.cookie-notice__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; padding: 0; border: 0; color: rgba(255,255,255,.82); background: transparent; font-size: 29px; line-height: 1; cursor: pointer; }
.cookie-notice button:focus-visible, .cookie-notice a:focus-visible, .cookie-settings-link:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* Tournament event */
.tournament-public-hero { min-height: 430px; }
.event-public-page > .section { padding-top: 42px; padding-bottom: 42px; }
.event-public-page > .section + .section { border-top: 1px solid var(--line); }
.event-public-page .section-heading { max-width: 780px; }
.event-public-page .section-heading h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.06; }
.event-public-page .section-heading > p:not(.eyebrow) { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.tournament-public-section { display: grid; gap: 20px; }
.tournament-public-schedule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tournament-public-schedule a { display: grid; gap: 7px; min-height: 124px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.tournament-public-schedule span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.tournament-public-schedule strong { font-family: var(--font-display); font-size: 23px; }
.tournament-public-schedule small { color: var(--muted); line-height: 1.5; }
.tournament-public-table { overflow-x: auto; border: 1px solid var(--line); }
.tournament-public-table table { width: 100%; border-collapse: collapse; background: #fff; }
.tournament-public-table th, .tournament-public-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tournament-public-table th { background: #f3f5f2; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.tournament-public-table tbody tr:last-child td { border-bottom: 0; }
.tournament-absent { color: #b42318; font-weight: 800; }
.tournament-public-prizes { display: grid; grid-template-columns: minmax(180px, .7fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tournament-public-prizes h3, .tournament-public-prizes p { margin: 0; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tournament-public-prizes p { display: grid; gap: 4px; }
.tournament-public-prizes span { color: var(--muted); }
.tournament-public-prizes small { color: var(--green); font-weight: 700; }
.tournament-public-race { scroll-margin-top: 90px; }
.event-public-page > .tournament-compact-section { padding-top: 24px; padding-bottom: 24px; }
.tournament-public-accordion { border: 1px solid var(--line); background: #fff; }
.tournament-public-accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 19px 24px; cursor: pointer; list-style: none; }
.tournament-public-accordion > summary::-webkit-details-marker { display: none; }
.tournament-public-accordion > summary > span:first-child { display: grid; gap: 5px; min-width: 0; }
.tournament-public-accordion > summary small { color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.tournament-public-accordion > summary strong { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.tournament-public-accordion > summary em { color: var(--muted); font-size: 14px; font-style: normal; }
.accordion-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--line); color: var(--green); font-size: 25px; font-weight: 400; }
.tournament-public-accordion[open] .accordion-icon { transform: rotate(45deg); }
.tournament-public-accordion__body { padding: 28px; border-top: 1px solid var(--line); }
.tournament-public-accordion__body.legal-copy { max-width: none; color: var(--ink); font-size: 16px; line-height: 1.75; }
.tournament-race-accordions { display: grid; gap: 12px; }
.tournament-races-section { background: var(--soft); }
.tournament-sponsor-section { overflow: hidden; background: #fff; }
.sponsor-carousel { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 14px; align-items: center; }
.sponsor-carousel.is-static { grid-template-columns: minmax(0, 1fr); }
.sponsor-carousel.is-static .sponsor-slide { width: min(100%, 360px); min-width: min(100%, 360px); }
.sponsor-carousel__viewport { min-width: 0; overflow: hidden; scroll-behavior: smooth; }
.sponsor-carousel__track { display: flex; gap: 16px; }
.sponsor-slide { min-width: calc((100% - 48px) / 4); height: 170px; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.sponsor-slide img { width: 100%; height: 92px; object-fit: contain; }
.sponsor-slide strong { max-width: 100%; font-size: 14px; text-align: center; }
.sponsor-carousel__button { width: 42px; height: 42px; border: 1px solid var(--line); color: var(--forest); background: #fff; font-size: 27px; cursor: pointer; }

@media (max-width: 800px) {
    .tournament-public-schedule,
    .tournament-public-prizes { grid-template-columns: 1fr; }
    .sponsor-slide { min-width: calc((100% - 16px) / 2); }
}

body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body > main { flex: 1 0 auto; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }
main, header, footer, section, article, nav, div { min-width: 0; }
img, video, svg { max-width: 100%; }
.site-header, .site-footer { flex-shrink: 0; }
.site-header { display: block; width: 100%; padding: 0; background: rgba(247, 246, 241, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { width: 100%; min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; padding: 0 clamp(18px, 5vw, 76px); }
.header-inner > .brand { grid-column: 1; justify-self: start; }
.brand img { width: 52px; height: 52px; }
.brand strong { font-size: 16px; letter-spacing: 0; }
.brand small { color: var(--green); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { grid-column: 2; justify-self: center; gap: clamp(4px, 1.2vw, 18px); margin-left: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.main-nav a { position: relative; min-height: 82px; padding: 0 4px; border-radius: 0; color: #4d5d55; font-size: 15px; font-weight: 800; }
.main-nav a:hover, .main-nav a.is-active { color: var(--forest); background: transparent; box-shadow: none; }
.main-nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 7px; height: 2px; background: var(--green); opacity: 0; }
.main-nav a:hover::after, .main-nav a.is-active::after { opacity: 1; }
.header-inner > .reserved-link { grid-column: 3; justify-self: end; min-width: max-content; min-height: 44px; padding: 0 20px; border-radius: 4px; color: #fff; background: var(--forest); box-shadow: none; white-space: nowrap; font-size: 14px; }
.main-nav .reserved-link--mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--forest); transition: transform .28s ease, opacity .2s ease; }
.nav-backdrop { display: none; }

.hero.home-hero { position: relative; min-height: min(790px, calc(100vh - 82px)); grid-template-columns: minmax(0, 1fr) 310px; align-items: end; overflow: hidden; padding: clamp(70px, 11vw, 150px) clamp(20px, 6vw, 92px) clamp(46px, 7vw, 82px); background-image: linear-gradient(90deg, rgba(6, 25, 21, .89) 0%, rgba(10, 35, 29, .68) 48%, rgba(10, 35, 29, .12) 100%), url('/assets/img/hero-pesca-sassinoro.webp'); background-position: center; background-size: cover; }
.home-hero .hero-content { position: relative; z-index: 1; max-width: 760px; }
.home-hero h1 { max-width: 740px; font-family: Georgia, "Times New Roman", serif; font-size: 96px; font-weight: 500; line-height: .93; }
.home-hero .hero-copy { max-width: 610px; font-size: 21px; }
.eyebrow { color: var(--green); font-size: 11px; letter-spacing: .16em; }
.hero .eyebrow { color: var(--lime); }
.btn { min-height: 50px; border-radius: 4px; padding: 0 22px; font-size: 14px; }
.btn-primary { background: var(--lime); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.52); }
.btn-light { color: var(--forest); background: #fff; }
.hero-note { position: relative; z-index: 1; display: grid; gap: 8px; align-self: end; padding: 20px 0 0 24px; border-left: 1px solid rgba(255,255,255,.45); }
.hero-note span { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-note strong { max-width: 250px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; line-height: 1.25; }

.intro-band { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr); align-items: center; gap: clamp(44px, 7vw, 110px); padding: clamp(72px, 9vw, 130px) clamp(20px, 6vw, 92px); background: #fff; }
.intro-band-image { min-width: 0; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe6e1; }
.intro-band-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.intro-band-copy { min-width: 0; }
.intro-band h2, .section h2, .values-band h2, .membership-cta h2, .page-hero h1, .story-copy h2, .join-section h2, .contact-layout h2, .inline-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
.intro-band h2 { max-width: 780px; font-size: clamp(48px, 4.4vw, 68px); line-height: 1.04; }
.intro-band-copy > p:not(.eyebrow) { max-width: 720px; margin: 28px 0 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid var(--green); color: var(--forest); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.section { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 42px; }
.section h2 { font-size: 60px; }
.event-list-home { border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 60px); align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.event-date { display: grid; text-align: center; }
.event-date strong { font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; line-height: 1; }
.event-date span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.event-row h3 { margin: 2px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 500; }
.event-row p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.5; }
.event-row > a { padding: 10px 0; border-bottom: 1px solid var(--green); font-weight: 800; }
.empty-event .event-date strong { font-size: 21px; }

.values-band { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 7vw, 110px); padding: clamp(72px, 10vw, 130px) clamp(20px, 7vw, 110px); color: #fff; background-color: var(--forest-dark); background-image: linear-gradient(90deg, rgba(6, 28, 23, .76) 0%, rgba(8, 35, 28, .58) 42%, rgba(8, 35, 28, .4) 100%), url('/assets/img/associazione-gruppo.webp'); background-position: center top; background-size: cover; }
.values-band .eyebrow { color: var(--lime); }
.values-band h2 { max-width: 420px; font-size: 72px; line-height: .98; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.values-grid article { min-height: 320px; padding: 28px; background: rgba(7, 31, 25, .34); }
.values-grid span { color: var(--sun); font-size: 12px; font-weight: 900; }
.values-grid h3 { margin: 110px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.values-grid p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.6; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.values-band h2, .values-grid h3 { text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.results-section { background: #fff; }
.result-list article { grid-template-columns: 130px minmax(220px, .7fr) 1fr 40px; }
.result-list a { color: var(--green); font-size: 24px; }
.membership-cta { display: grid; grid-template-columns: 1fr .7fr; gap: clamp(30px, 8vw, 130px); align-items: end; padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 110px); color: #fff; background: var(--green); }
.membership-cta .eyebrow { color: var(--lime); }
.membership-cta h2 { max-width: 700px; font-size: 70px; line-height: 1.02; }
.membership-cta p { margin: 0 0 24px; font-size: 18px; line-height: 1.6; }

.page-hero { min-height: 560px; display: grid; align-content: end; padding: clamp(90px, 13vw, 170px) clamp(20px, 7vw, 110px) clamp(55px, 7vw, 90px); background-image: linear-gradient(90deg, rgba(8,30,25,.9), rgba(8,30,25,.36)), url('/assets/img/hero-pesca-sassinoro.webp'); background-position: center 48%; background-size: cover; }
.page-hero h1 { max-width: 1020px; font-size: 86px; line-height: .98; }
.page-hero p:not(.eyebrow) { max-width: 720px; }
.story-section, .join-section, .contact-layout { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(36px, 8vw, 130px); padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 110px); }
.story-marker { min-height: 390px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; background: var(--forest); }
.story-marker--photo { aspect-ratio: 1; min-height: 0; position: relative; isolation: isolate; overflow: hidden; background-image: linear-gradient(0deg, rgba(8, 31, 25, .84), rgba(8, 31, 25, .05) 70%), url('/assets/img/hero-pesca-sassinoro.webp'); background-position: center; background-size: cover; }
.story-marker--collage { aspect-ratio: 1; min-height: 0; position: relative; margin: 0; padding: 0; overflow: hidden; background: #e6e8e4; }
.story-marker--collage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, rgba(7, 29, 24, .76), transparent); pointer-events: none; }
.story-marker--collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-marker--collage figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 2.4vw, 36px); line-height: 1.05; }
.story-marker span { color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.story-marker strong { max-width: 300px; margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 500; }
.story-copy h2, .join-section h2, .contact-layout h2 { font-size: 58px; line-height: 1.05; }
.story-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; }
.principles-section { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: #fff; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 35px; border-top: 1px solid var(--line); }
.principles-grid article { min-height: 300px; padding: 30px 30px 30px 0; border-right: 1px solid var(--line); }
.principles-grid article + article { padding-left: 30px; }
.principles-grid article:last-child { border-right: 0; }
.principles-grid strong, .contact-options article > span { color: var(--green); font-size: 12px; }
.principles-grid h2 { margin: 100px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.principles-grid p { color: var(--muted); line-height: 1.6; }
.founders-section { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: var(--soft); }
.founders-heading { display: grid; grid-template-columns: minmax(0, .7fr) minmax(280px, .45fr); column-gap: clamp(36px, 8vw, 120px); align-items: end; margin-bottom: 46px; }
.founders-heading .eyebrow { grid-column: 1 / -1; }
.founders-heading h2 { margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: 60px; font-weight: 500; line-height: 1.04; }
.founders-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.founders-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.founders-grid article { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .58); }
.founders-grid article > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 34%; filter: saturate(.82); }
.founders-grid article > div { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; }
.founders-grid span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.founders-grid h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; line-height: 1.1; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 60px clamp(20px, 7vw, 110px); color: #fff; background: var(--forest); }
.inline-cta .eyebrow { color: var(--lime); }
.inline-cta h2 { font-size: 52px; }

.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps-list span { color: var(--green); font-weight: 900; }
.steps-list h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 500; }
.steps-list p { margin: 0; color: var(--muted); line-height: 1.6; }
.member-preview { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(36px, 8vw, 130px); align-items: center; padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: var(--soft); }
.member-preview h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 60px; font-weight: 500; line-height: 1.05; }
.member-preview p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.membership-card-preview { width: 100%; margin: 0; }
.membership-card-preview img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 20px 24px 0 var(--sun); }
.contact-options { display: grid; }
.contact-options article { display: grid; grid-template-columns: 55px 170px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-options h3, .contact-options p { margin: 0; }
.contact-options h3 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.contact-options p { color: var(--muted); line-height: 1.5; }

.events-browser { background: var(--paper); }
.event-tabs { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.event-tab { border-radius: 0; }
.event-tab:hover, .event-tab.is-active { color: var(--forest); background: transparent; box-shadow: inset 0 -3px var(--green); }
.poster-card { transition: transform .2s ease, box-shadow .2s ease; }
.poster-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(23,63,53,.16); }
.event-detail-hero { padding-top: 46px; padding-bottom: 72px; color: #fff; background-image: linear-gradient(90deg, rgba(9, 30, 25, .94), rgba(23, 63, 53, .72)), url('/assets/img/hero-pesca-sassinoro.webp'); background-position: center; background-size: cover; border-bottom: 0; }
.event-detail-hero .page-back-link { margin-bottom: 34px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; color: #fff; background: rgba(255, 255, 255, .1); }
.event-detail-hero__grid { grid-template-columns: minmax(220px, 330px) minmax(0, 1fr); align-items: center; }
.event-detail-poster { border: 1px solid rgba(255, 255, 255, .34); border-radius: 6px; padding: 16px; box-shadow: 0 18px 45px rgba(5, 20, 16, .22); }
.event-detail-summary .eyebrow { color: var(--lime); }
.event-detail-summary h1 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 76px; font-weight: 500; line-height: 1; }
.tournament-public-summary { max-width: 940px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }
.tournament-public-summary strong { color: #fff; font-weight: 800; }
.event-detail-chips span { border: 1px solid rgba(255, 255, 255, .34); border-radius: 4px; color: #fff; background: rgba(255, 255, 255, .1); }
.event-detail-facts { gap: 0; border-top: 1px solid rgba(255, 255, 255, .28); border-bottom: 1px solid rgba(255, 255, 255, .28); }
.event-detail-facts div { border: 0; border-right: 1px solid rgba(255, 255, 255, .28); border-radius: 0; color: #fff; background: transparent; }
.event-detail-facts div:last-child { border-right: 0; }
.event-detail-facts small { color: rgba(255, 255, 255, .66); }
.event-detail-copy { color: rgba(255, 255, 255, .8); }

.public-live-section { background: #fbfaf6; }
.public-live-section > .section-heading { margin-bottom: 0; }
.public-event-live { padding: 0; color: var(--ink); background: transparent; }
.event-dashboard-live { gap: 12px; }
.event-dashboard-grid { gap: 12px; }
.event-dashboard-panel { border: 1px solid #d5dfdc; border-radius: 0; padding: 20px; background: #fff; box-shadow: none; backdrop-filter: none; }
.event-dashboard-panel__head { align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e0e7e4; }
.event-dashboard-panel__head p { color: var(--green); font-size: 12px; letter-spacing: .1em; }
.event-dashboard-panel__head strong { border-radius: 4px; color: var(--forest); background: var(--soft); }
.event-pickets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.event-sector-group { display: grid; gap: 6px; min-width: 0; }
.event-sector-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 6px; }
.event-sector-group .event-sector-title, .event-ranking-sector { grid-column: auto; margin: 0; border-radius: 0; color: var(--forest); background: var(--soft); }
.event-picket-card { min-height: 68px; align-content: start; border: 1px solid #dce4e1; border-radius: 4px; padding: 10px; background: #f7f9f8; }
.event-picket-card strong { overflow: visible; color: #1a302b; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.3; }
.event-picket-number { border-radius: 3px; color: var(--forest); background: #dce9df; }
.event-picket-card small, .event-ranking-row small { color: #72817c; font-size: 11px; }
.event-picket-card.is-empty { opacity: .55; }
.event-ranking--sectors { gap: 12px; }
.event-ranking-sector-column { gap: 6px; }
.event-ranking-row { min-height: 48px; border: 1px solid #dce4e1; border-radius: 4px; padding: 8px 10px; background: #f8faf9; }
.event-ranking-row strong { color: #1a302b; font-size: 13px; }
.event-ranking-position { border-radius: 3px; color: #35504a; background: #e4eae7; }
.event-ranking-score strong { color: var(--green); font-size: 16px; }
.event-ranking-row--gold { border-color: #cfaa59; background: #fff9ea; box-shadow: inset 3px 0 #cfaa59; }
.event-ranking-row--silver { border-color: #b8c1c4; background: #f7f9fa; }
.event-ranking-row--bronze { border-color: #c99368; background: #fcf6f1; }
.event-ranking-row--gold .event-ranking-position { color: #fff; background: #b98939; }
.event-ranking-row--silver .event-ranking-position { color: #fff; background: #88979d; }
.event-ranking-row--bronze .event-ranking-position { color: #fff; background: #aa704b; }
.single-event-page .event-picket-card,
.single-event-page .event-ranking-row,
.single-event-page .event-dashboard-totals > * { border-radius: 0; box-shadow: none; }
.event-prize-badge { display: none; }
.event-dashboard-totals { gap: 12px; }
.event-dashboard-totals div { border: 1px solid #d5dfdc; border-radius: 4px; padding: 14px 16px; background: #fff; }
.event-dashboard-totals span { color: #60746e; }
.event-dashboard-totals strong { color: #173136; }
.tournament-public-totals { margin-top: 0; }
.tournament-public-accordion__body > .tournament-public-totals { margin-top: 12px; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding: 48px clamp(20px, 7vw, 110px); border-top: 0; color: rgba(255,255,255,.74); background: #091e19; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 52px; height: 52px; filter: brightness(0) invert(1); }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand span { color: rgba(255,255,255,.55); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer nav a { font-size: 13px; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.45); font-size: 12px; }
.footer-bottom p span { margin-left: 8px; }
.footer-legal { justify-content: flex-end; }
.footer-legal a { color: rgba(255,255,255,.62); }

@media (max-width: 1240px) {
    .header-inner { display: flex; gap: 12px; }
    .header-inner > .brand { grid-column: auto; }
    .nav-toggle { display: block; margin-left: auto; }
    .main-nav { position: absolute; top: 82px; left: 0; right: 0; display: none; align-items: stretch; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
    .main-nav.is-open { display: grid; }
    .main-nav a { justify-content: flex-start; min-height: 48px; }
    .main-nav a::after { bottom: 3px; }
    .reserved-link--desktop { display: none; }
    .main-nav .reserved-link--mobile { display: inline-flex; justify-content: center; min-height: 44px; margin-top: 8px; border-radius: 4px; color: #fff; background: var(--forest); white-space: nowrap; }
}

@media (max-width: 980px) {
    .header-inner { gap: 12px; min-height: 72px; }
    .nav-toggle { position: relative; z-index: 1002; display: block; flex: 0 0 44px; margin-left: auto; transition: border-color .2s ease, background-color .2s ease; }
    .nav-toggle[aria-expanded="true"] { border-color: transparent; background: rgba(23, 63, 53, .08); }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .main-nav { position: fixed; z-index: 1001; top: 0; right: 0; bottom: auto; left: auto; width: min(83.333vw, 430px); height: 100vh; height: 100dvh; display: grid; grid-auto-rows: min-content; align-content: start; align-items: stretch; gap: 2px; margin: 0; padding: 92px 26px 34px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; border: 0; border-radius: 0; background: var(--paper); box-shadow: -24px 0 60px rgba(8, 31, 25, .2); visibility: hidden; transform: translate3d(100%, 0, 0); transition: transform .34s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .34s; }
    .main-nav.is-open { visibility: visible; transform: translate3d(0, 0, 0); transition-delay: 0s; }
    .main-nav a { justify-content: flex-start; min-height: 58px; padding: 0 4px; border-bottom: 1px solid rgba(21, 37, 31, .1); font-size: 18px; }
    .main-nav a::after { right: auto; bottom: 8px; width: 34px; }
    .main-nav .reserved-link--mobile { width: fit-content; min-width: 190px; min-height: 52px; justify-self: center; justify-content: center; margin-top: 22px; padding: 0 22px; border: 0; font-size: 16px; text-align: center; }
    .main-nav .reserved-link--mobile::after { display: none; }
    .nav-backdrop { position: fixed; z-index: 1000; inset: 0; display: block; width: 100%; height: 100vh; height: 100dvh; padding: 0; border: 0; background: rgba(5, 22, 18, .54); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
    html.nav-open, body.nav-open { height: 100%; overflow: hidden !important; overscroll-behavior: none; }
    body.nav-open { position: fixed; right: 0; left: 0; width: 100%; }
    .hero.home-hero { min-height: 700px; grid-template-columns: 1fr; }
    .home-hero h1 { font-size: 72px; }
    .intro-band h2, .values-band h2, .membership-cta h2, .page-hero h1 { font-size: 58px; }
    .section h2, .story-copy h2, .join-section h2, .contact-layout h2, .member-preview h2, .inline-cta h2 { font-size: 48px; }
    .hero-note { display: none; }
    .intro-band, .values-band, .story-section, .join-section, .contact-layout, .member-preview, .membership-cta { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: minmax(0, 1fr); }
    .legal-index { position: static; }
    .intro-band > *, .values-band > *, .story-section > *, .join-section > *, .contact-layout > *, .member-preview > *, .membership-cta > * { min-width: 0; }
    .intro-band-image { aspect-ratio: 16 / 10; }
    .values-grid, .principles-grid { grid-template-columns: 1fr; }
    .founders-heading { grid-template-columns: 1fr; }
    .founders-heading h2 { font-size: 48px; }
    .founders-heading > p:not(.eyebrow) { margin-top: 22px; }
    .founders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .values-grid article { min-height: 230px; }
    .values-grid h3 { margin-top: 70px; }
    .principles-grid article, .principles-grid article + article { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .principles-grid h2 { margin-top: 50px; }
    .contact-options article { grid-template-columns: 45px 1fr; }
    .contact-options p, .contact-options a { grid-column: 2; }
    .event-detail-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .event-detail-poster { width: min(100%, 430px); justify-self: center; }
    .event-detail-summary h1 { font-size: 58px; }
    .event-detail-facts { grid-template-columns: 1fr; }
    .event-detail-facts div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); }
    .event-detail-facts div:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
    .header-inner { width: 100%; max-width: 100%; padding: 0 14px; }
    .brand img { width: 42px; height: 42px; }
    .brand span { min-width: 0; }
    .brand strong { font-size: 15px; white-space: nowrap; }
    .main-nav { width: 83.333vw; max-width: 83.333vw; padding: 84px 20px 28px; }
    .main-nav .reserved-link--mobile { min-width: min(190px, 100%); max-width: 100%; }
    .hero.home-hero { min-height: calc(100svh - 72px); align-items: end; padding: 90px 18px 42px; background-position: 62% center; }
    .home-hero h1 { font-size: 52px; }
    .home-hero .hero-copy { font-size: 18px; }
    .intro-band h2, .values-band h2, .membership-cta h2 { font-size: 42px; }
    .event-public-page > .section { padding-top: 30px; padding-bottom: 30px; }
    .event-public-page > .tournament-compact-section { padding-top: 16px; padding-bottom: 16px; }
    .section h2, .story-copy h2, .join-section h2, .contact-layout h2, .member-preview h2, .inline-cta h2 { font-size: 38px; }
    .event-public-page .section-heading h2 { font-size: 36px; }
    .hero-actions { display: flex; flex-wrap: wrap; width: 100%; }
    .hero-actions .btn { width: auto; max-width: 100%; }
    .intro-band, .section, .values-band, .membership-cta, .story-section, .principles-section, .join-section, .member-preview, .contact-layout, .inline-cta { padding-left: 18px; padding-right: 18px; }
    .page-hero, .event-detail-hero, .page-shell { width: 100%; padding-left: 18px; padding-right: 18px; }
    .legal-hero, .legal-layout { padding-left: 18px; padding-right: 18px; }
    .legal-hero h1 { font-size: 48px; }
    .legal-hero > p:not(.eyebrow) { font-size: 17px; }
    .legal-content section { padding-bottom: 34px; margin-bottom: 34px; }
    .legal-content p, .legal-content li { font-size: 16px; }
    .cookie-notice { right: 0; bottom: 0; left: 0; width: 100%; grid-template-columns: minmax(0, 1fr); align-items: stretch; padding: 20px 48px calc(18px + env(safe-area-inset-bottom, 0px)) 18px; }
    .cookie-notice__confirm { width: 100%; }
    h1, h2, h3, p, a, strong, span { overflow-wrap: anywhere; }
    .intro-band-image { aspect-ratio: 4 / 3; }
    .values-band { background-position: 44% top; background-size: auto 145%; }
    .founders-section { padding: 70px 18px; }
    .founders-heading h2 { font-size: 42px; }
    .founders-grid { grid-template-columns: minmax(0, 1fr); }
    .founders-grid article > div { min-height: 118px; }
    .section-heading-row, .inline-cta { align-items: flex-start; flex-direction: column; }
    .event-row { width: 100%; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
    .event-row > * { min-width: 0; }
    .event-row > a { grid-column: 2; justify-self: start; }
    .event-date strong { font-size: 34px; }
    .result-list article { grid-template-columns: 1fr; }
    .page-hero { min-height: 440px; }
    .page-hero h1 { font-size: 44px; }
    .event-detail-summary h1 { font-size: 42px; }
    .tournament-public-summary { margin-top: 18px; font-size: 16px; line-height: 1.6; }
    .event-detail-chips span { max-width: 100%; white-space: normal; }
    .tournament-public-accordion > summary { min-height: 76px; padding: 16px; }
    .tournament-public-accordion > summary strong { font-size: 23px; }
    .tournament-public-accordion__body { padding: 16px; }
    .sponsor-carousel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
    .sponsor-carousel__button { width: 34px; height: 34px; }
    .sponsor-slide { min-width: 100%; }
    .event-dashboard-panel { padding: 14px; }
    .event-dashboard-panel__head { gap: 10px; }
    .event-dashboard-panel__head > * { min-width: 0; }
    .event-dashboard-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
    .event-phase { min-width: 0; flex-direction: column; gap: 3px; padding: 7px 2px; text-align: center; }
    .event-phase strong { font-size: 10px; line-height: 1.15; }
    .event-ranking--sectors { grid-template-columns: minmax(0, 1fr); }
    .event-ranking-row { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px; padding: 8px; }
    .event-ranking-row > div { min-width: 0; }
    .event-ranking-row strong { white-space: normal; overflow-wrap: anywhere; }
    .event-ranking-score { min-width: 54px; }
    .event-dashboard-totals { grid-template-columns: minmax(0, 1fr); }
    .event-dashboard-totals div { min-width: 0; }
    .event-tabs { width: 100%; grid-template-columns: minmax(0, 1fr); }
    .event-tab { max-width: 100%; white-space: normal; }
    .poster-grid, .poster-card, .poster-card__body { min-width: 0; }
    .contact-options article { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
    .contact-options p, .contact-options a { grid-column: 2; max-width: 100%; }
    .steps-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
    .membership-card-preview { width: calc(100% - 12px); max-width: calc(100% - 12px); }
    .membership-card-preview img { box-shadow: 10px 12px 0 var(--sun); }
    .story-marker { min-height: 280px; }
    .inline-cta { width: 100%; }
    .inline-cta .btn { width: 100%; max-width: 100%; }
    .site-footer { grid-template-columns: 1fr; padding: 40px 18px; }
    .site-footer nav { gap: 14px 20px; }
    .footer-brand, .footer-brand div, .footer-primary, .footer-legal { min-width: 0; max-width: 100%; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .footer-bottom p span { display: block; margin: 5px 0 0; }
    .footer-legal { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .main-nav, .nav-backdrop, .nav-toggle span { transition-duration: .01ms !important; }
}
