:root {
--bg: #f8f7f4;
--text: #2a2a2a;
--border: #e5e0d8;
--accent: #7a5a28;
scrollbar-color: var(--accent) var(--bg);
scrollbar-width: thin;
}

::selection {
background: var(--accent);
color: #fffdfa;
}

::-moz-selection {
background: var(--accent);
color: #fffdfa;
}

::-webkit-scrollbar {
width: 11px;
height: 11px;
}

::-webkit-scrollbar-track {
background: var(--bg);
}

::-webkit-scrollbar-thumb {
background: var(--accent);
border: 3px solid var(--bg);
border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
background: #5f451f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

li::marker {
color: var(--accent);
}

:target {
scroll-margin-top: 32px;
animation: target-highlight 1.8s ease-out;
}

@keyframes target-highlight {
0% {
background-color: rgba(122, 90, 40, 0.14);
}
100% {
background-color: transparent;
}
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

:target {
animation: none;
}
}

body {
background: var(--bg);
color: var(--text);
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.85;
}

img {
display: block;
width: 100%;
}

a {
color: inherit;
text-decoration: none;
}

/* =========================
SIGNAL PAGE
========================= */

.signal-page {
min-height: 100vh;
min-height: 100svh;
overflow: hidden;
background: var(--bg);
}

.signal-header {
position: fixed;
color: var(--accent);
}

.signal-main {
position: relative;
width: 100vw;
height: 100vh;
height: 100svh;
max-width: none;
margin: 0;
padding: 0;
overflow: hidden;
background:
    radial-gradient(circle at 20% 18%, rgba(122, 90, 40, 0.12), transparent 32%),
    linear-gradient(135deg, #fffdfa 0%, var(--bg) 45%, #eee6da 100%);
cursor: crosshair;
}

.signal-canvas,
.signal-svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}

.signal-svg {
display: block;
}

.signal-wordmark {
position: absolute;
right: clamp(24px, 5vw, 70px);
bottom: clamp(34px, 7vw, 88px);
z-index: 3;
max-width: min(420px, calc(100vw - 48px));
color: var(--text);
text-align: right;
pointer-events: none;
}

.signal-wordmark h1 {
font-size: clamp(2rem, 5vw, 4.8rem);
font-weight: normal;
line-height: 1;
margin-bottom: 16px;
color: var(--accent);
}

.signal-wordmark p {
font-size: clamp(0.9rem, 1.5vw, 1.08rem);
font-style: italic;
line-height: 1.45;
color: #5f5a52;
}

.signal-wordmark a {
color: var(--accent);
pointer-events: auto;
}

@media (max-width: 700px) {

.signal-header {
    top: 22px;
    left: 22px;
    right: 22px;
}

.signal-main {
    min-height: 100vh;
    min-height: 100svh;
}

.signal-wordmark {
    left: 22px;
    right: 22px;
    bottom: max(24px, env(safe-area-inset-bottom));
    max-width: none;
    text-align: left;
}

.signal-wordmark h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.signal-wordmark p {
    max-width: 260px;
    font-size: 0.95rem;
}

}

.page-quicknav {
position: fixed;
right: 22px;
bottom: 22px;
z-index: 1000;
width: 58px;
height: 58px;
display: grid;
grid-template-rows: 1fr 1fr;
overflow: hidden;
border-radius: 50%;
background: #fffdfa;
border: 1px solid var(--border);
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.18);
}

.page-quicknav a {
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
line-height: 1;
color: var(--accent);
}

.page-quicknav a:first-child {
border-bottom: 1px solid var(--border);
}

.page-quicknav a:hover,
.page-quicknav a:focus-visible {
background: var(--accent);
color: #fffdfa;
outline: none;
}

/* =========================
HEADER
========================= */

header {
position: absolute;
top: 30px;
left: 40px;
right: 40px;

display: flex;
justify-content: space-between;
align-items: center;

z-index: 20;

color: white;
font-size: 14px;
letter-spacing: 1px;


}

.logo {
letter-spacing: 2px;
}

.language {
display: flex;
gap: 12px;
}

.logo a,
.language a,
.footer-links a {
transition: color 160ms ease;
}

.logo a:hover,
.logo a:focus-visible,
.language a:hover,
.language a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
color: var(--accent);
}

.logo a:focus-visible,
.language a:focus-visible,
.footer-links a:focus-visible {
outline: 2px solid currentColor;
outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
.logo a,
.language a,
.footer-links a {
transition: none;
}
}

/* =========================
HERO
========================= */

.hero {
position: relative;
height: 85vh;
overflow: hidden;
}

.hero img {
width: 100%;
height: 100%;
object-fit: cover;
}

.hero::after {
content: "";
position: absolute;
inset: 0;


background: linear-gradient(
    to right,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.30) 35%,
    rgba(0,0,0,0.10) 60%,
    rgba(0,0,0,0.00) 100%
);


}

.hero-text {
position: absolute;
left: 8%;
bottom: 80px;
max-width: 650px;
color: white;
z-index: 10;
}

.hero-text h1 {
font-size: 4.5rem;
font-weight: normal;
line-height: 1;
margin-bottom: 20px;
}

.hero-text p {
font-size: 1.15rem;
}

/* =========================
MAIN
========================= */

main {
max-width: 1200px;
margin: auto;
padding: 120px 30px;
}

section {
margin-bottom: 120px;
}

/* =========================
TEXT
========================= */

.text {
max-width: 760px;
margin: auto;
}

.text h2 {
font-size: 3rem;
font-weight: normal;
line-height: 1.2;
margin-bottom: 45px;
}

.text p {
margin-bottom: 26px;
}

.text > h3 {
font-size: 1.55rem;
font-weight: normal;
line-height: 1.35;
margin: 42px 0 18px;
}

.text p a {
color: var(--accent);
text-decoration-line: underline;
text-decoration-thickness: 1px;
text-decoration-color: rgba(122, 90, 40, 0.48);
text-underline-offset: 0.2em;
text-decoration-skip-ink: auto;
}

.text p a:hover,
.text p a:focus-visible {
text-decoration-thickness: 2px;
text-decoration-color: currentColor;
}

.text p a:focus-visible {
outline: 2px solid rgba(122, 90, 40, 0.28);
outline-offset: 3px;
}

a.story-inline-link {
color: inherit;
text-decoration-line: underline;
text-decoration-style: dotted;
text-decoration-thickness: 1px;
text-decoration-color: currentColor;
text-underline-offset: 0.24em;
}

a.story-inline-link:hover,
a.story-inline-link:focus-visible {
color: inherit;
text-decoration-style: solid;
text-decoration-thickness: 1px;
text-decoration-color: currentColor;
}

a.story-inline-link:focus-visible {
outline: 2px solid rgba(122, 90, 40, 0.28);
outline-offset: 3px;
}

/* =========================
GALERIEN
========================= */

.gallery-a,
.gallery-b {
max-width: 900px;
margin: 60px auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

.gallery-a img,
.gallery-b img {
aspect-ratio: 4 / 3;
object-fit: cover;
}

/* =========================
BESUCH
========================= */

.visit {
max-width: 900px;
margin: auto;
border-top: 1px solid var(--border);
padding-top: 50px;
}

.visit h2 {
font-size: 2rem;
font-weight: normal;
margin-bottom: 35px;
}

.visit-company {
font-size: 1.3rem;
margin-bottom: 15px;
}

.visit-address {
margin-bottom: 35px;
}

.visit-grid {
display: grid;
grid-template-columns: 160px 1fr;
gap: 14px;
}

.visit-label {
color: #777;
}

.visit a {
color: var(--accent);
}

.maps-link {
    display:block;
    margin-top:10px;
    color:var(--accent);
    font-size:0.9rem;
}

/* =========================
ZURÜCK
========================= */

/* =========================
KARTEN
========================= */

.match-grid,
.result-list,
.calendar-list,
.round-list {
display: grid;
gap: 18px;
}

.match-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.match-card,
.result-card,
.calendar-card,
.round-card,
.contact-card {
background: #fffdfa;
border: 1px solid var(--border);
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.05);
box-sizing: border-box;
}

.match-card,
.contact-card {
padding: 30px;
}

.match-players {
display: grid;
gap: 8px;
margin: 24px 0;
font-size: 1.5rem;
line-height: 1.35;
}

.versus {
display: block;
font-size: 0.82rem;
letter-spacing: 1.3px;
text-transform: uppercase;
color: #777;
}

.result-card,
.calendar-card,
.round-card {
display: grid;
grid-template-columns: 150px minmax(0, 1fr) 145px;
gap: 22px;
align-items: center;
padding: 22px 26px;
}

.status {
display: inline-block;
border-top: 1px solid var(--border);
padding-top: 12px;
}

.back {
max-width: 900px;
margin: 60px auto 0 auto;
}

.back a {
color: var(--accent);
}

/* =========================
FOOTER
========================= */

footer{
    margin-top:140px;
    border-top:1px solid var(--border);
    padding:100px 30px;
}

.footer-inner{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.footer-brand{
    font-size:20px;
    letter-spacing:3px;
    margin-bottom:20px;
}

.footer-tagline{
    font-size:16px;
    color:#666;
    margin-bottom:25px;
}

.footer-links{
    font-size:15px;
}   


/* =========================
MOBILE
========================= */

@media (max-width: 900px) {


header {
    left: 20px;
    right: 20px;
}

.hero {
    height: 70vh;
}

.hero-text {
    left: 30px;
    right: 30px;
    bottom: 120px;
}

.hero-text h1 {
    font-size: 3rem;
}

.gallery-a,
.gallery-b {
    grid-template-columns: 1fr;
}

.visit-grid {
    grid-template-columns: 1fr;
    gap: 6px;
}

.match-grid,
.result-list,
.calendar-list,
.round-list {
    grid-template-columns: 1fr;
    gap: 18px;
}

.match-card,
.result-card,
.calendar-card,
.round-card,
.contact-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding: 24px 20px;
    background: #fffdfa;
    border: 1px solid var(--border);
    box-shadow: 0 14px 32px rgba(58, 44, 28, 0.06);
}

.match-players {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 20px 0;
    font-size: 1.35rem;
}

.versus {
    display: block;
}

.text h2 {
    font-size: 2.2rem;
}


.footer-brand{
    font-size:16px;
}

.footer-tagline{
    font-size:15px;
}

.footer-links{
    font-size:14px;
}


}
/* =========================
HOME
========================= */

.home-hero {
height: 92vh;
min-height: 680px;
}

.home-hero img {
filter: saturate(1.08) contrast(0.96) brightness(0.9);
}

.hero::after {
background: linear-gradient(
    to right,
    rgba(25, 19, 12, 0.62) 0%,
    rgba(25, 19, 12, 0.38) 38%,
    rgba(25, 19, 12, 0.12) 68%,
    rgba(25, 19, 12, 0.00) 100%
);
}

.home-hero .hero-text {
bottom: 110px;
}

.hero-kicker {
font-size: 0.78rem;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 22px;
}

.hero-text h1 {
font-size: clamp(3.6rem, 7vw, 6.8rem);
}

.hero-text p {
font-size: 1.35rem;
line-height: 1.55;
max-width: 540px;
}

.intro {
max-width: 920px;
}

.intro h2 {
max-width: 720px;
}

.intro .lead {
font-size: 1.45rem;
line-height: 1.65;
color: #1f1f1f;
}

.home-mosaic {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: 1.35fr 0.75fr;
grid-template-rows: 260px 260px;
gap: 22px;
}

.home-mosaic figure {
overflow: hidden;
background: var(--border);
}

.home-mosaic img {
height: 100%;
object-fit: cover;
transition: transform 600ms ease;
}

.home-mosaic figure:hover img {
transform: scale(1.025);
}

.mosaic-large {
grid-row: span 2;
}

.statement {
max-width: 1050px;
margin-left: auto;
margin-right: auto;
padding: 82px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}

.statement p {
max-width: 850px;
font-size: 2.35rem;
line-height: 1.32;
margin-bottom: 34px;
}

.statement p:last-child {
margin-bottom: 0;
color: var(--accent);
}

.feature-story {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
gap: 80px;
align-items: center;
}

.feature-image img {
aspect-ratio: 4 / 3;
object-fit: cover;
}

.feature-text {
max-width: 430px;
}

.feature-place,
.path-label {
font-size: 0.78rem;
letter-spacing: 1.8px;
text-transform: uppercase;
color: var(--accent);
}

.feature-text h2,
.paths h2 {
font-size: 3.2rem;
font-weight: normal;
line-height: 1.12;
margin: 16px 0 30px;
}

.feature-text p {
font-size: 1.08rem;
}

.feature-text a {
color: var(--accent);
}

.paths {
max-width: 1180px;
margin-left: auto;
margin-right: auto;
}

.paths-heading {
display: grid;
grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
gap: 70px;
align-items: end;
margin-bottom: 48px;
}

.paths-heading h2 {
margin: 0;
}

.paths-heading p {
max-width: 560px;
font-size: 1.2rem;
line-height: 1.7;
}

.paths-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 34px;
}

.path-card {
display: block;
background: #fffdfa;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.06);
transition: transform 220ms ease, box-shadow 220ms ease;
}

.path-card[href]:hover {
transform: translateY(-3px);
box-shadow: 0 22px 52px rgba(58, 44, 28, 0.1);
}

.path-card img {
aspect-ratio: 16 / 10;
height: auto;
object-fit: cover;
filter: saturate(0.96);
}

.path-card-body {
padding: 34px 38px 40px;
}

.path-card h3 {
font-size: 1.9rem;
font-weight: normal;
line-height: 1.18;
margin: 18px 0 22px;
}

.path-card p {
font-size: 1rem;
line-height: 1.72;
}

.path-card-soon img {
filter: saturate(0.72) contrast(0.92);
}

@media (max-width: 900px) {

.home-hero {
    height: 78vh;
    min-height: 560px;
}

.home-hero .hero-text {
    bottom: 80px;
}

.hero-text p {
    font-size: 1.1rem;
}

.intro .lead {
    font-size: 1.18rem;
}

.home-mosaic,
.feature-story,
.paths-heading,
.paths-grid {
    grid-template-columns: 1fr;
}

.home-mosaic {
    grid-template-rows: none;
    gap: 14px;
}

.home-mosaic figure,
.mosaic-large {
    grid-row: auto;
}

.home-mosaic figure {
    aspect-ratio: 4 / 3;
}

.statement {
    padding: 48px 0;
}

.statement p {
    font-size: 1.55rem;
}

.feature-story {
    gap: 36px;
}

.feature-text h2,
.paths h2 {
    font-size: 2.25rem;
}

.paths-heading {
    gap: 18px;
    margin-bottom: 30px;
}

.paths-heading p {
    font-size: 1.05rem;
}

.path-card-body {
    padding: 28px 30px 34px;
}

.path-card h3 {
    font-size: 1.6rem;
}

}
/* =========================
MAP
========================= */

.map-hero {
height: 62vh;
min-height: 460px;
}

.map-main {
max-width: 1280px;
}

.map-intro {
max-width: 820px;
margin-left: auto;
margin-right: auto;
}

.map-intro h2,
.map-list-section h2,
.map-teaser h2,
.amici-teaser h2 {
font-size: 3rem;
font-weight: normal;
line-height: 1.15;
margin-bottom: 28px;
}

.map-intro p,
.map-teaser p,
.amici-teaser p {
font-size: 1.25rem;
line-height: 1.7;
}

.map-section {
position: relative;
max-width: 1180px;
margin-left: auto;
margin-right: auto;
}

.explore-map {
height: 680px;
background: var(--border);
}

.map-legend {
position: absolute;
left: 24px;
bottom: 24px;
z-index: 500;
display: flex;
gap: 18px;
background: rgba(248, 247, 244, 0.94);
padding: 12px 16px;
font-size: 0.9rem;
box-shadow: 0 12px 32px rgba(58, 44, 28, 0.12);
}

.map-legend span {
display: inline-flex;
align-items: center;
gap: 8px;
}

.legend-dot {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
}

.legend-place {
background: #7a5a28;
}

.legend-story {
background: #b26b35;
}

.story-marker span {
display: block;
width: 22px;
height: 22px;
border-radius: 50%;
border: 3px solid #fffdfa;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.story-marker-place span {
background: #7a5a28;
}

.story-marker-story span {
background: #b26b35;
}

.leaflet-popup-content-wrapper {
border-radius: 0;
box-shadow: 0 18px 44px rgba(58, 44, 28, 0.18);
}

.leaflet-popup-content {
margin: 0;
width: 260px !important;
font-family: Georgia, serif;
}

.map-popup img {
height: 130px;
object-fit: cover;
}

.map-popup-body {
padding: 18px 20px 20px;
}

.map-popup-type,
.map-list-card span {
font-size: 0.72rem;
letter-spacing: 1.6px;
text-transform: uppercase;
color: var(--accent);
}

.map-popup h3,
.map-list-card h3 {
font-size: 1.45rem;
font-weight: normal;
line-height: 1.2;
margin: 8px 0 10px;
}

.map-popup p,
.map-list-card p {
font-size: 0.95rem;
line-height: 1.55;
margin-bottom: 12px;
}

.map-popup a {
color: var(--accent);
}

.map-error {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
padding: 30px;
text-align: center;
}

.map-list-section {
max-width: 1180px;
margin-left: auto;
margin-right: auto;
}

.map-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 28px;
}

.map-list-card {
display: grid;
grid-template-columns: 190px 1fr;
gap: 24px;
background: #fffdfa;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.06);
transition: transform 220ms ease, box-shadow 220ms ease;
}

.map-list-card:hover,
.map-list-card:focus-visible {
transform: translateY(-3px);
box-shadow: 0 22px 52px rgba(58, 44, 28, 0.1);
}

.map-list-card:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
}

.map-list-card img {
height: 100%;
min-height: 190px;
object-fit: cover;
}

.map-list-card div {
padding: 28px 28px 28px 0;
}

@media (prefers-reduced-motion: reduce) {
.path-card,
.map-list-card {
transition: none;
}

.path-card[href]:hover,
.map-list-card:hover,
.map-list-card:focus-visible {
transform: none;
}
}

.map-teaser {
max-width: 1180px;
margin-left: auto;
margin-right: auto;
padding: 70px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 60px;
align-items: center;
}

.map-teaser div {
max-width: 720px;
}

.map-teaser a {
color: #fffdfa;
background: var(--accent);
padding: 16px 22px;
white-space: nowrap;
}

.amici-teaser {
position: relative;
max-width: 820px;
margin-left: auto;
margin-right: auto;
padding: clamp(40px, 6vw, 54px);
overflow: hidden;
border: 1px solid rgba(122, 90, 40, 0.16);
background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 84% 78%, rgba(122, 90, 40, 0.035), transparent 38%),
    #f5f0e7;
box-shadow:
    0 2px 2px rgba(58, 44, 28, 0.045),
    0 19px 48px rgba(58, 44, 28, 0.075);
transform: rotate(-0.12deg);
}

.map-teaser + .amici-teaser {
margin-top: -32px;
}

.amici-teaser::after {
content: "";
position: absolute;
top: 28px;
right: 30px;
width: 46px;
height: 46px;
background: url('/images/favicon.png') center / contain no-repeat;
opacity: 0.34;
pointer-events: none;
}

.amici-teaser div {
position: relative;
z-index: 1;
max-width: none;
}

.amici-teaser h2 {
font-size: clamp(1.9rem, 3.7vw, 2.25rem);
white-space: nowrap;
}

.amici-teaser p {
max-width: 610px;
font-size: 1.03rem;
line-height: 1.68;
margin-bottom: 0;
}

.amici-teaser a {
position: relative;
z-index: 1;
display: inline-block;
color: var(--accent);
background: transparent;
padding: 3px 0 2px;
margin-top: 22px;
border-bottom: 1px solid rgba(122, 90, 40, 0.42);
font-weight: 600;
white-space: nowrap;
}

.amici-teaser a:hover,
.amici-teaser a:focus-visible {
border-bottom-color: currentColor;
outline: none;
}

/* =========================
AMICI
========================= */

.amici-hero {
height: 68vh;
min-height: 520px;
}

.amici-main {
max-width: 980px;
}

.amici-form-section {
display: grid;
grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
gap: clamp(50px, 8vw, 100px);
align-items: start;
}

.amici-form-intro h2 {
font-size: clamp(2.4rem, 5vw, 4rem);
font-weight: normal;
line-height: 1.08;
margin-bottom: 26px;
}

.amici-form {
display: grid;
gap: 25px;
}

.amici-field {
display: grid;
gap: 8px;
}

.amici-field label {
font-size: 0.9rem;
letter-spacing: 0.04em;
}

.amici-field label span {
color: #716b62;
font-size: 0.82rem;
}

.amici-field input,
.amici-field textarea {
width: 100%;
border: 1px solid #cfc8bd;
border-radius: 0;
background: #fffdfa;
color: var(--text);
font: inherit;
font-size: 1rem;
line-height: 1.5;
padding: 13px 14px;
}

.amici-field textarea {
resize: vertical;
}

.amici-field input:focus,
.amici-field textarea:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-color: var(--accent);
}

.amici-consent {
display: grid;
grid-template-columns: 20px 1fr;
gap: 12px;
align-items: start;
font-size: 0.86rem;
line-height: 1.55;
}

.amici-consent input {
width: 18px;
height: 18px;
margin-top: 3px;
accent-color: var(--accent);
}

.amici-consent a {
color: var(--accent);
text-decoration: underline;
text-underline-offset: 0.2em;
}

.amici-form button {
justify-self: start;
border: 0;
border-radius: 0;
background: var(--accent);
color: #fffdfa;
font: inherit;
padding: 14px 24px;
cursor: pointer;
}

.amici-form button:hover,
.amici-form button:focus-visible {
background: #5f451f;
}

.amici-form button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}

.amici-form-message {
padding: 14px 16px;
border-left: 3px solid var(--accent);
background: rgba(122, 90, 40, 0.08);
font-size: 0.9rem;
line-height: 1.55;
}

.amici-honeypot {
position: absolute;
left: -10000px;
width: 1px;
height: 1px;
overflow: hidden;
}

.amici-confirmation {
position: fixed;
inset: 0;
z-index: 5000;
display: none;
place-items: center;
overflow-y: auto;
padding: clamp(30px, 8vw, 120px);
background: rgba(31, 31, 31, 0.94);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
color: #fff;
cursor: pointer;
}

.amici-confirmation.is-visible {
display: grid;
}

.amici-confirmation > div {
width: min(760px, 100%);
cursor: default;
}

.amici-confirmation-close {
position: absolute;
top: clamp(20px, 4vw, 42px);
right: clamp(24px, 5vw, 54px);
display: grid;
place-items: center;
width: 52px;
height: 52px;
border: 1px solid rgba(255, 255, 255, 0.55);
border-radius: 50%;
font-family: Arial, sans-serif;
font-size: 2rem;
font-weight: 200;
line-height: 1;
color: #fff;
cursor: pointer;
}

.amici-confirmation-close:hover,
.amici-confirmation-close:focus-visible {
background: #fff;
color: #292929;
outline: none;
}

.amici-confirmation h2 {
font-size: clamp(2.8rem, 7vw, 5.5rem);
font-weight: normal;
line-height: 1.05;
margin-bottom: 42px;
}

.amici-confirmation p {
font-size: clamp(1rem, 2vw, 1.25rem);
margin-top: 24px;
}

body.amici-confirmed {
overflow: hidden;
}

@media (max-width: 760px) {
.amici-form-section {
grid-template-columns: 1fr;
gap: 48px;
}

.amici-hero {
min-height: 460px;
}

.amici-teaser {
padding: 34px 28px;
transform: none;
}

.amici-teaser h2 {
white-space: normal;
}

.amici-teaser::after {
top: 22px;
right: 18px;
width: 38px;
height: 38px;
opacity: 0.28;
}
}

@media (max-width: 900px) {

.map-hero {
    min-height: 420px;
}

.explore-map {
    height: 560px;
}

.map-intro h2,
.map-list-section h2,
.map-teaser h2,
.amici-teaser h2 {
    font-size: 2.25rem;
}

.map-list,
.map-teaser,
.amici-teaser {
    grid-template-columns: 1fr;
}

.map-list-card {
    grid-template-columns: 1fr;
}

.map-list-card img {
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.map-list-card div {
    padding: 0 28px 30px;
}

.map-teaser,
.amici-teaser {
    gap: 30px;
}

.map-teaser a,
.amici-teaser a {
    display: inline-block;
    width: max-content;
}

}
/* =========================
PLACE HUB
========================= */

.place-hero {
height: 78vh;
min-height: 560px;
}

.place-nav {
max-width: 980px;
margin: -40px auto 110px;
position: relative;
z-index: 5;
display: grid;
grid-template-columns: repeat(4, 1fr);
background: #fffdfa;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.08);
}

.place-nav a {
padding: 20px 22px;
text-align: center;
border-right: 1px solid var(--border);
font-size: 0.82rem;
letter-spacing: 1.6px;
text-transform: uppercase;
color: var(--accent);
}

.place-nav a:last-child {
border-right: 0;
}

.place-center {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 80px;
align-items: start;
}

.place-story h2,
.place-notes h2,
.place-stories h2 {
font-size: 3rem;
font-weight: normal;
line-height: 1.15;
margin: 16px 0 34px;
}

.place-story .lead {
font-size: 1.32rem;
line-height: 1.65;
color: #1f1f1f;
}

.place-story p {
margin-bottom: 24px;
}

.place-notes {
background: #fffdfa;
border-top: 3px solid var(--accent);
padding: 34px;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.06);
}

.place-notes h2 {
font-size: 2rem;
margin-bottom: 30px;
}

.note-item {
padding: 22px 0;
border-top: 1px solid var(--border);
}

.note-item:first-of-type {
border-top: 0;
padding-top: 0;
}

.note-date {
font-size: 0.82rem;
letter-spacing: 1.6px;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 8px;
}

.note-item p {
font-size: 1rem;
line-height: 1.65;
}

.note-muted {
color: #666;
}

.place-gallery {
max-width: 980px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 22px;
}

.place-gallery img {
aspect-ratio: 4 / 3;
object-fit: cover;
}

.place-stories {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}

.place-story-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 34px;
}

.place-map-teaser {
margin-bottom: 0;
}

.place-center-wide {
display: block;
max-width: 1120px;
}

.place-center-wide .place-story {
max-width: 760px;
margin-left: auto;
margin-right: auto;
}

.place-center-wide .place-notes {
max-width: 760px;
margin: 90px auto 0;
}

.place-center-wide .story-image,
.place-center-wide .story-image-pair {
width: min(900px, calc(100vw - 60px));
max-width: none;
margin-left: 50%;
margin-right: 0;
transform: translateX(-50%);
}

.place-intro-notes {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
gap: 90px;
align-items: start;
}

.place-intro-notes .place-story,
.place-story-follow .place-story {
max-width: 760px;
margin-left: auto;
margin-right: auto;
}

.place-intro-notes .place-notes {
max-width: none;
margin: 0;
}

@media (max-width: 900px) {

.place-hero {
    min-height: 500px;
}

.place-nav {
    margin: -30px auto 80px;
    grid-template-columns: 1fr 1fr;
}

.place-nav a:nth-child(2) {
    border-right: 0;
}

.place-nav a:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
}

.place-center,
.place-gallery,
.place-story-grid {
    grid-template-columns: 1fr;
}

.place-intro-notes {
    grid-template-columns: 1fr;
    gap: 42px;
}

.place-center {
    gap: 50px;
}

.place-story h2,
.place-stories h2 {
    font-size: 2.25rem;
}

.place-story .lead {
    font-size: 1.16rem;
}

.place-notes {
    padding: 28px;
}

}
.place-story-long h3 {
font-size: 2rem;
font-weight: normal;
line-height: 1.25;
margin: 58px 0 24px;
}

.place-story-long p {
max-width: 760px;
}

.story-quote,
.place-quote {
font-size: 1.35rem;
line-height: 1.75;
color: var(--accent);
padding: 18px 0 18px 34px;
border-left: 3px solid var(--accent);
}

.story-quote {
max-width: 760px;
margin: 42px 0 50px;
}

.story-quote p {
margin-bottom: 18px;
}

.story-quote cite {
display: block;
font-size: 1rem;
font-style: normal;
line-height: 1.5;
color: var(--text);
}

.place-gallery-five {
max-width: 1100px;
grid-template-columns: 1.2fr 0.8fr 0.8fr;
grid-auto-rows: 260px;
}

.place-gallery-five figure {
overflow: hidden;
background: var(--border);
}

.place-gallery-five img {
height: 100%;
aspect-ratio: auto;
object-fit: cover;
}

.place-gallery-wide {
grid-row: span 2;
}

@media (max-width: 900px) {

.place-story-long h3 {
    font-size: 1.65rem;
    margin-top: 42px;
}

.place-quote {
    font-size: 1.18rem;
    padding-left: 22px;
}

.story-quote,
.place-quote {
    border-left: 3px solid var(--accent);
    padding: 14px 0 14px 22px;
    box-sizing: border-box;
}

.story-quote {
    font-size: 1.18rem;
    line-height: 1.65;
    margin: 34px 0 42px;
}

.story-quote cite {
    font-size: 0.95rem;
}

.place-gallery-five {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
}

.place-gallery-wide {
    grid-row: auto;
}

.place-gallery-five figure {
    aspect-ratio: 4 / 3;
}

}
.story-image,
.story-image-pair {
margin: 54px 0 58px;
}

.story-image {
max-width: 860px;
}

.story-image img,
.story-image-pair img {
width: 100%;
object-fit: cover;
}

.story-image img {
aspect-ratio: 4 / 3;
}

.story-image-wide img {
aspect-ratio: 3 / 2;
}

.story-image-pair {
display: grid;
grid-template-columns: 0.85fr 1fr;
gap: 20px;
max-width: 900px;
}

.story-image-pair figure {
overflow: hidden;
background: var(--border);
}

.story-image-pair img {
height: 100%;
aspect-ratio: 4 / 3;
}

.story-image-pair figure:first-child img {
aspect-ratio: 3 / 4;
}

@media (max-width: 900px) {

.story-image,
.story-image-pair {
    margin: 38px 0 42px;
}

.story-image-pair {
    grid-template-columns: 1fr;
    gap: 14px;
}

.story-image-pair figure:first-child img {
    aspect-ratio: 4 / 3;
}

}
.home-essay {
max-width: 820px;
}

.home-essay p {
max-width: 760px;
}

.home-word {
font-size: 2.4rem;
line-height: 1.2;
color: var(--accent);
margin: 40px 0;
}

.home-essay-second {
margin-top: 20px;
}

.home-image-rhythm {
max-width: 1120px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: 0.9fr 1.1fr 0.8fr;
grid-auto-rows: 230px;
gap: 22px;
}

.home-image-rhythm figure {
overflow: hidden;
background: var(--border);
}

.home-image-rhythm img {
height: 100%;
object-fit: cover;
}

.home-image-tall {
grid-row: span 2;
}

.home-image-wide {
grid-column: span 2;
}

.home-growing p:first-child {
font-size: 3rem;
line-height: 1.15;
color: var(--text);
}

@media (max-width: 900px) {

.home-word {
    font-size: 1.9rem;
}

.home-image-rhythm {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
}

.home-image-tall,
.home-image-wide {
    grid-row: auto;
    grid-column: auto;
}

.home-image-rhythm figure {
    aspect-ratio: 4 / 3;
}

.home-growing p:first-child {
    font-size: 2.25rem;
}

}
/* =========================
HOME REVISION
========================= */

.home-prologue {
max-width: 1120px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 90px;
align-items: end;
}

.home-prologue-text h2,
.home-mosaic-text h2,
.home-growing h2 {
font-size: 3.2rem;
font-weight: normal;
line-height: 1.12;
margin-bottom: 38px;
}

.home-prologue-text p,
.home-mosaic-text p,
.home-growing p {
max-width: 760px;
margin-bottom: 24px;
}

.home-prologue-text .lead,
.home-mosaic-text .lead {
font-size: 1.35rem;
line-height: 1.65;
color: #1f1f1f;
}

.home-bondi {
background: #fffdfa;
border-top: 3px solid var(--accent);
padding: 34px;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.06);
}

.home-bondi span {
display: block;
font-size: 2.8rem;
line-height: 1;
color: var(--accent);
margin-bottom: 24px;
}

.home-bondi p {
font-size: 1.05rem;
line-height: 1.7;
}

.home-scenes {
max-width: 1120px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-auto-rows: 145px;
gap: 18px;
}

.home-scenes figure {
overflow: hidden;
background: var(--border);
}

.home-scenes img {
height: 100%;
object-fit: cover;
}

.scene-a {
grid-column: 1 / 5;
grid-row: span 3;
}

.scene-b {
grid-column: 5 / 9;
grid-row: span 2;
}

.scene-c {
grid-column: 9 / 13;
grid-row: span 2;
}

.scene-d {
grid-column: 5 / 10;
grid-row: span 2;
}

.scene-e {
grid-column: 10 / 13;
grid-row: span 2;
}

.home-mosaic-text {
max-width: 1120px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
gap: 80px;
align-items: start;
}

.home-growing {
max-width: 920px;
margin-left: auto;
margin-right: auto;
padding: 70px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}

.home-growing h2 {
color: var(--accent);
}

@media (max-width: 900px) {

.home-prologue,
.home-mosaic-text {
    grid-template-columns: 1fr;
    gap: 34px;
}

.home-prologue-text h2,
.home-mosaic-text h2,
.home-growing h2 {
    font-size: 2.25rem;
}

.home-prologue-text .lead,
.home-mosaic-text .lead {
    font-size: 1.15rem;
}

.home-bondi {
    padding: 28px;
}

.home-bondi span {
    font-size: 2.2rem;
}

.home-scenes {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
}

.scene-a,
.scene-b,
.scene-c,
.scene-d,
.scene-e {
    grid-column: auto;
    grid-row: auto;
}

.home-scenes figure {
    aspect-ratio: 4 / 3;
}

.home-growing {
    padding: 48px 0;
}

}

/* =========================
TOURNAMENT
========================= */

.tournament-main {
max-width: 1120px;
}

.tournament-hero {
height: 85vh;
}

.tournament-eyebrow {
display: inline-block;
font-size: 0.78rem;
letter-spacing: 1.8px;
text-transform: uppercase;
margin-bottom: 18px;
}

.tournament-section {
max-width: 1040px;
margin-left: auto;
margin-right: auto;
padding-top: 34px;
padding-bottom: 34px;
}

.tournament-break-image,
.tournament-calendar-image {
max-width: 900px;
margin-left: auto;
margin-right: auto;
}

.tournament-heading {
display: grid;
grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
gap: 56px;
align-items: end;
margin-bottom: 34px;
}

.tournament-heading h2 {
font-size: 3rem;
font-weight: normal;
line-height: 1.15;
}

.tournament-heading p {
font-size: 1.08rem;
line-height: 1.7;
color: #555;
}

.tournament-story-section {
padding-top: 58px;
padding-bottom: 58px;
}

.tournament-story-section .tournament-heading {
align-items: start;
margin-bottom: 0;
}

.tournament-story-section .tournament-heading > div:last-child p + p {
margin-top: 1.25em;
}

.winner-board {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
gap: 48px;
align-items: end;
background: #fffdfa;
border-top: 3px solid var(--accent);
padding: 42px;
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.06);
}

.winner-board-kicker {
display: block;
font-size: 0.78rem;
letter-spacing: 1.8px;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 18px;
}

.winner-board h2 {
font-size: 2.8rem;
font-weight: normal;
line-height: 1.08;
margin-bottom: 18px;
}

.winner-board p {
font-size: 1.05rem;
line-height: 1.7;
color: #555;
}

.winner-board-list {
list-style: none;
margin: 0;
padding: 0;
border-top: 1px solid var(--border);
}

.winner-board-list li {
display: grid;
grid-template-columns: 88px 1fr;
gap: 20px;
align-items: baseline;
padding: 18px 0;
border-bottom: 1px solid var(--border);
}

.winner-board-list span {
font-size: 1.65rem;
color: var(--accent);
}

.winner-board-list strong {
font-size: 1.05rem;
font-weight: normal;
letter-spacing: 0.04em;
}

.match-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}

.match-card,
.result-card,
.calendar-card,
.round-card,
.contact-card {
background: #fffdfa;
border: 1px solid var(--border);
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.05);
}

.match-card {
padding: 30px;
border-top: 3px solid var(--accent);
}

.match-date,
.calendar-meta,
.result-date,
.round-label,
.status {
font-size: 0.78rem;
letter-spacing: 1.4px;
text-transform: uppercase;
color: var(--accent);
}

.match-players,
.round-players {
margin: 24px 0;
font-size: 1.5rem;
line-height: 1.35;
}

.versus {
display: block;
font-size: 0.82rem;
letter-spacing: 1.3px;
text-transform: uppercase;
color: #777;
margin: 9px 0;
}

.status {
display: inline-block;
border-top: 1px solid var(--border);
padding-top: 12px;
}

.result-list,
.calendar-list,
.round-list {
display: grid;
gap: 14px;
}

.calendar-round,
.round-block h3 {
font-size: 1.35rem;
font-weight: normal;
line-height: 1.25;
margin: 28px 0 4px;
color: var(--text);
}

.calendar-round:first-child,
.round-block:first-child h3 {
margin-top: 0;
}

.tournament-note {
max-width: 720px;
font-size: 1.02rem;
line-height: 1.75;
color: #5f5a52;
margin: -10px 0 28px;
}

.player-standings {
overflow-x: auto;
background: #fffdfa;
border: 1px solid var(--border);
box-shadow: 0 18px 42px rgba(58, 44, 28, 0.05);
}

.player-standings table {
width: 100%;
border-collapse: collapse;
min-width: 560px;
}

.player-standings th,
.player-standings td {
padding: 16px 20px;
border-bottom: 1px solid var(--border);
text-align: left;
line-height: 1.45;
}

.player-standings th {
font-size: 0.78rem;
letter-spacing: 1.4px;
text-transform: uppercase;
color: var(--accent);
font-weight: normal;
}

.player-standings td:nth-child(2),
.player-standings th:nth-child(2) {
width: 110px;
text-align: center;
}

.player-standings tbody td:nth-child(2) {
text-align: center;
}

.player-standings tr:last-child td {
border-bottom: 0;
}

.result-card,
.calendar-card,
.round-card {
display: grid;
grid-template-columns: 150px minmax(0, 1fr) 145px;
gap: 22px;
align-items: center;
padding: 22px 26px;
}

.result-score,
.round-score {
font-size: 1.25rem;
color: var(--accent);
text-align: center;
}

.result-line {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
gap: 18px;
align-items: center;
line-height: 1.45;
}

.result-line span:last-child {
text-align: right;
}

.winner {
color: var(--accent);
}

.round-player {
display: block;
}

.round-player + .round-player {
margin-top: 8px;
}

.round-player-loser {
color: #8c857a;
text-decoration: line-through;
text-decoration-thickness: 1px;
}

.round-player-open {
color: #777;
}

.calendar-card {
grid-template-columns: 180px minmax(0, 1fr) 145px;
}

.calendar-match,
.result-match {
line-height: 1.55;
}

.calendar-score {
font-size: 1.05rem;
color: var(--accent);
text-align: right;
}

.bracket-round {
margin-top: 44px;
}

.bracket-round h3 {
font-size: 2rem;
font-weight: normal;
line-height: 1.2;
margin-bottom: 18px;
}

.gallery-tournament {
max-width: 1040px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 20px;
}

.gallery-tournament figure {
overflow: hidden;
background: var(--border);
}

.gallery-tournament img {
height: 100%;
object-fit: cover;
aspect-ratio: 4 / 3;
}

.gallery-tournament figure:first-child {
grid-row: span 2;
}

.gallery-tournament figure:first-child img {
aspect-ratio: auto;
}

/* Shared contact and location section */
.contact-section {
width: 100%;
max-width: 1040px;
margin-left: auto;
margin-right: auto;
padding-top: 34px;
padding-bottom: 34px;
}

.contact-section-heading {
display: grid;
grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
gap: 56px;
align-items: end;
margin-bottom: 34px;
}

.contact-section-heading h2 {
font-size: 3rem;
font-weight: normal;
line-height: 1.15;
}

.contact-section-heading > p {
font-size: 1.08rem;
line-height: 1.7;
color: #555;
}

.contact-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
gap: 24px;
}

.tennis-story-image {
max-width: 900px;
margin-left: auto;
margin-right: auto;
}

.tennis-story-quote {
max-width: 760px;
margin-left: auto;
margin-right: auto;
}

.tournament-story-image {
width: min(900px, calc(100vw - 60px));
max-width: none;
margin-left: 50%;
margin-right: 0;
transform: translateX(-50%);
}

.tournament-story-quote {
max-width: 760px;
margin-left: auto;
margin-right: auto;
}

.contact-card {
padding: 30px;
}

.contact-card h3 {
font-size: 1.8rem;
font-weight: normal;
line-height: 1.2;
margin-bottom: 18px;
}

.contact-card a {
color: var(--accent);
}

.contact-role {
margin: 4px 0 14px;
padding-bottom: 14px;
border-bottom: 1px solid var(--border);
line-height: 1.5;
}

.contact-line {
display: grid;
grid-template-columns: 90px 1fr;
gap: 12px;
padding: 10px 0;
border-top: 1px solid var(--border);
line-height: 1.5;
}

.contact-line:first-of-type {
border-top: 0;
}

.contact-line span {
color: #777;
}

.contact-line a,
.contact-line strong {
overflow-wrap: anywhere;
}

.tournament-nav {
max-width: 1040px;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin-bottom: 80px;
}

.tournament-nav a {
white-space: nowrap;
}

@media (max-width: 900px) {

.tournament-hero {
    min-height: 520px;
}

.tournament-heading,
.match-grid,
.result-card,
.calendar-card,
.round-card,
.gallery-tournament,
.contact-section-heading,
.contact-grid,
.winner-board {
    grid-template-columns: 1fr;
}

.contact-card {
    width: 100%;
    padding: 24px 20px;
    background: #fffdfa;
    border: 1px solid var(--border);
    box-shadow: 0 14px 32px rgba(58, 44, 28, 0.06);
    box-sizing: border-box;
}

.tournament-heading {
    gap: 16px;
}

.contact-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.contact-section-heading {
    gap: 16px;
}

.contact-section-heading h2 {
    font-size: 2.25rem;
}

.tournament-story-section {
    padding-top: 38px;
    padding-bottom: 38px;
}

.winner-board {
    gap: 30px;
    padding: 30px 24px;
}

.winner-board h2 {
    font-size: 2.25rem;
}

.tournament-heading h2 {
    font-size: 2.25rem;
}

.match-card {
    padding: 26px;
}

.result-card,
.calendar-card,
.round-card {
    gap: 10px;
    padding: 22px;
}

.result-score,
.round-score {
    text-align: left;
}

.result-line {
    grid-template-columns: 1fr;
    gap: 6px;
}

.result-line span:last-child {
    text-align: left;
}

.calendar-score {
    text-align: left;
}

.gallery-tournament figure:first-child {
    grid-row: auto;
}

.gallery-tournament figure:first-child img {
    aspect-ratio: 4 / 3;
}

.contact-line {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
}

.contact-line span,
.contact-line a,
.contact-line strong {
    display: block;
    line-height: 1.45;
}

.tournament-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -30px 20px 70px;
}

.tournament-nav a {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tournament-nav a:nth-child(2n) {
    border-right: 0;
}

.tournament-nav a:nth-last-child(-n+2) {
    border-bottom: 0;
}

}
