/* ─────────────────────────────────────────────────────────────
   S Tennis Academy · Soma Bay — design system
   Dark, editorial, restrained. Serif display + humanist sans.
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #0A0F0D;
  --bg-2: #0F1613;
  --bg-3: #141D19;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #EEEAE0;
  --text-2: #B8B5AB;
  --muted: #80877F;
  --accent: #C8E05A;
  --accent-2: #8DC63F;
  --accent-ink: #0A0F0D;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; margin: 0 0 .5em; line-height: 1.08; color: #fff; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 40rem; }
.role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; font-weight: 500; }
.center { text-align: center; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.6rem; border-radius: 999px; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.actions.center { justify-content: center; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem var(--pad); transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(10, 15, 13, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: .6rem var(--pad); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: cover; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: .01em; color: #fff; }
.brand small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .82rem; font-weight: 400; letter-spacing: .06em; }
.site-nav a:not(.btn) { color: var(--text-2); position: relative; padding: .3rem 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .3s var(--ease); }
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-cta { min-height: 40px; padding: 0 1.2rem; font-size: .74rem; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem var(--pad) 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; transform: scale(1.04); animation: hero-zoom 14s var(--ease) forwards; filter: saturate(.85) brightness(.9); }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,15,13,.55) 0%, rgba(10,15,13,.25) 35%, rgba(10,15,13,.78) 70%, var(--bg) 100%); }
.hero-content { max-width: var(--wrap); margin: 0 auto; width: 100%; padding-bottom: 3.5rem; }
.hero-content h1 { max-width: 14ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #DAD7CD; }
.stats { max-width: var(--wrap); margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); padding: 1.8rem 0 2.6rem; gap: 1.5rem; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.stats dt { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: #fff; }
.stats dt sup { font-size: .45em; color: var(--accent); vertical-align: super; }
.stats dd { margin-top: .4rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.6rem); }
.section-head p:last-child { color: var(--text-2); font-size: 1.08rem; }
.section-head.compact { margin-top: clamp(4rem, 7vw, 6rem); }
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--bg); padding: 2rem 1.8rem; position: relative; transition: background .3s; }
.tile:hover { background: var(--bg-2); }
.tile h3 { font-size: 1.45rem; margin-top: .4rem; }
.tile p { color: var(--text-2); margin: 0; font-size: .98rem; }
.tile .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.tile.group a { display: inline-block; margin-top: 1.1rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tile.quote { display: flex; align-items: center; background: var(--bg-3); }
.tile.quote p { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: #fff; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.split figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 1.2s var(--ease); }
.split figure:hover img { transform: scale(1.03); }
.split.reverse figure img { aspect-ratio: 4 / 3; }
.story { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.people { display: grid; gap: .9rem; margin-top: 2rem; }
.people li { display: flex; align-items: center; gap: 1rem; }
.people img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.people b { display: block; font-weight: 500; color: #fff; }
.people small { color: var(--muted); font-size: .82rem; }
.people.compact { margin: 1rem 0 1.2rem; }
.mono { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; color: var(--accent); flex-shrink: 0; }
.mono.lg { width: 64px; height: 64px; font-size: 1.35rem; }

/* Founders & coaches */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.founder { background: var(--bg); padding: 2.2rem 1.9rem; display: flex; flex-direction: column; }
.founder-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.3rem; }
.founder-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.founder h3 { margin: 0; font-size: 1.6rem; }
.founder p { color: var(--text-2); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .8rem; }
.tags li { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: .32rem .7rem; }
.coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.coach { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.coach img, .coach-mono { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.coach-mono { display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; color: var(--accent); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }
.coach div:last-child { padding: 1.3rem 1.5rem 1.5rem; }
.coach h3 { margin: 0 0 .2rem; font-size: 1.4rem; }
.coach p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Programs */
.programs { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.programs .tile, .programs .founder { background: var(--bg-2); }
.programs .tile:hover { background: var(--bg-3); }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: clamp(3rem, 5vw, 4.5rem); }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; background: var(--bg); }
.offer .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.3rem; padding-top: .2rem; }
.offer h3 { margin: 0 0 .6rem; font-size: 1.7rem; }
.offer p { color: var(--text-2); font-size: .98rem; }
.surfaces { font-size: .76rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; margin: .4rem 0 0 !important; }
.offer .btn { grid-column: 1 / -1; justify-self: start; margin-top: .4rem; }
.offer.featured { border-color: rgba(200,224,90,.35); background: linear-gradient(160deg, rgba(200,224,90,.06), transparent 60%); }
.offer.featured .surfaces { text-transform: none; letter-spacing: 0; font-size: .95rem !important; color: var(--text-2) !important; }
.band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem 2.2rem; margin-top: clamp(3rem, 5vw, 4.5rem); background: var(--bg); }
.band h3 { font-size: 1.7rem; margin: 0; max-width: 34ch; }
.band p:last-child { margin: .6rem 0 0; color: var(--text-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
.steps span { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; display: block; margin-bottom: .4rem; }
.steps b { display: block; font-weight: 500; color: #fff; font-size: 1.05rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* Wall of fame */
.fame .sub { font-size: 1.1rem; font-family: var(--sans); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: clamp(2rem, 4vw, 3rem) 0 1.2rem; }
.champions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.champions.big { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.champions figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--bg-3); }
.champions.big figure { aspect-ratio: 4 / 3; }
.champions img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.champions figure:hover img { transform: scale(1.04); filter: saturate(1); }
.champions figcaption { position: absolute; inset: auto 0 0 0; padding: 2.4rem 1.1rem 1.1rem; background: linear-gradient(180deg, transparent, rgba(10,15,13,.92)); }
.champions figcaption span { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
.champions figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; color: #fff; }
.champions.big figcaption b { font-size: 1.7rem; }
.champions figcaption i { font-style: normal; font-family: var(--sans); font-size: .65rem; letter-spacing: .1em; color: var(--text-2); vertical-align: middle; margin-left: .25rem; }
.champions figcaption small { display: block; color: var(--text-2); font-size: .78rem; margin-top: .25rem; }
.champions figure.soon { border: 1px dashed var(--line-2); display: flex; align-items: flex-end; }
.champions figure.soon figcaption { position: static; background: none; }

/* Calendar */
.calendar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.chip { background: none; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: .55rem 1.1rem; font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.chip:hover { color: #fff; border-color: #fff; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.event { background: var(--bg-2); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .3rem; transition: background .3s, opacity .3s; }
.event:hover { background: var(--bg-3); }
.event.hidden { display: none; }
.event h3 { margin: .1rem 0 .1rem; font-size: 1.5rem; }
.event p { margin: 0; }
.badge { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.badge.itf { color: #7FB8FF; } .badge.atp { color: var(--accent); } .badge.grass { color: #6FD39A; }
.when { color: var(--text-2); font-size: .92rem; }
.winner { color: #fff; font-size: .95rem; margin-top: .2rem !important; }
.status { margin-top: auto !important; padding-top: 1rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event.tbc .status { color: var(--accent); }
.event.featured { box-shadow: inset 0 0 0 1px rgba(200,224,90,.25); }
.calendar .center { margin-top: 2rem; }

/* Experience */
.experience .checks { display: grid; gap: .55rem; margin: 1.4rem 0 1.8rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 1px; background: var(--accent); }
.package { display: grid; grid-template-columns: repeat(3, auto); gap: 1.6rem 2.4rem; justify-content: start; margin-bottom: 1.8rem; }
.package dt, .info dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.package dd, .info dd { color: #fff; font-weight: 400; }

/* Visit */
.visit { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.info dd { color: var(--text-2); font-weight: 300; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }

/* FAQ */
.accordion details { border-top: 1px solid var(--line-2); }
.accordion details:last-child { border-bottom: 1px solid var(--line-2); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; font-family: var(--serif); font-size: 1.45rem; color: #fff; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion details p { margin: -.3rem 0 1.4rem; color: var(--text-2); max-width: 60ch; }

/* Social & partners */
.social .band { margin-top: 0; }
.partners { margin-top: 3rem; }
.partners ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partners li { background: var(--bg); padding: 1.8rem 1.5rem; }
.partners b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #fff; }
.partners small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partner-cta { margin-top: 1.4rem; color: var(--text-2); }
.partner-cta a { color: var(--accent); }

/* Contact */
.contact { background: radial-gradient(60% 80% at 50% 100%, rgba(200,224,90,.10), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.contact p { color: var(--text-2); }
.contact-line { margin-top: 2rem !important; font-size: .95rem; }
.contact-line a:hover { color: var(--accent); }

/* Footer */
.site-footer { padding: 2.4rem 0 7rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; letter-spacing: .06em; }
.site-footer nav a:hover { color: #fff; }
.site-footer p { margin: 0; }

/* WhatsApp button */
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.fab:hover { transform: translateY(-2px) scale(1.04); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-bg { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .champions { grid-template-columns: repeat(3, 1fr); }
  .founders { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  /* The header's backdrop-filter makes it the containing block for fixed children, so size the menu in viewport units */
  .site-nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; background: rgba(10,15,13,.97); flex-direction: column; justify-content: center; gap: 1.6rem; font-size: 1.3rem; font-family: var(--serif); letter-spacing: 0; transform: translateY(-100%); transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; z-index: -1; }
  .site-nav.open { visibility: visible; transition: transform .45s var(--ease); }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { font-family: var(--sans); margin-top: 1rem; min-height: 50px; font-size: .82rem; }
  .site-header.solid, .site-header { background: rgba(10,15,13,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
  .hero { padding-top: 7rem; min-height: 92svh; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.2rem; }
  .stats div + div { border-left: 0; padding-left: 0; }
  .stats div:nth-child(2) { border-left: 1px solid var(--line); padding-left: 1.2rem; }
  .stats div:nth-child(4) { border-left: 1px solid var(--line); padding-left: 1.2rem; }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse figure { order: -1; }
  .coaches, .offers, .steps, .events { grid-template-columns: 1fr; }
  .champions { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .champions.big { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .partners ul { grid-template-columns: repeat(2, 1fr); }
  .package { grid-template-columns: 1fr 1fr; }
  .accordion summary { font-size: 1.25rem; }
  .site-footer { padding-bottom: 6rem; }
}

/* ── Multi-page additions ──────────────────────────────────────────────────── */
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.lang { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; letter-spacing: .12em; color: var(--muted); }
.lang a { color: var(--muted); padding: .2rem .1rem; }
.lang a.on { color: #fff; border-bottom: 1px solid var(--accent); }
.lang a:hover { color: var(--accent); }
.site-footer .lang { margin-left: .4rem; }
.langbar { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 95; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; max-width: calc(100vw - 6rem); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 999px; padding: .7rem 1.2rem; font-size: .9rem; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.langbar a { color: var(--accent); font-weight: 500; }
.langbar button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; }
.langbar[hidden] { display: none; }
.page-hero { padding: clamp(8rem, 16vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(70% 60% at 30% 0%, rgba(200,224,90,.10), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { margin: 0; }
.page-hero.tall { min-height: 70svh; display: flex; align-items: center; border-bottom: 0; }
.page-hero.tall h1 { margin-left: auto; margin-right: auto; }
.page-hero.tall .lead { margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); max-width: 68ch; }
.prose a { color: var(--accent); }
.fine { font-size: .82rem; color: var(--muted); }
.fine a { color: var(--accent); }
.split.top { align-items: start; }
.h3 { font-size: 1.6rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; background: var(--bg-2); display: grid; gap: 1.1rem; }
.form legend { font-family: var(--serif); font-size: 1.5rem; color: #fff; padding: 0 .5rem; }
.form label { display: grid; gap: .4rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .8rem .9rem; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; }
.contact-page aside .map { margin-top: 1.8rem; aspect-ratio: 16 / 10; }
@media (max-width: 860px) {
  .site-nav .lang { font-size: 1rem; font-family: var(--sans); }
  .langbar { bottom: 5.4rem; border-radius: var(--radius); }
}
