/* =========================================================
   MARTA MONGE · 55
   Concept: "Linea di galleggiamento" (the waterline).
   Everything lifts off a line, the way a foil lifts a board.
   Palette taken from the sport's own photos:
   misty sky, deep lake teal, turquoise water, wing orange.
   ========================================================= */

:root {
  /* the sea, from the surface down */
  --paper: #f4f8f9;        /* sea foam */
  --mist: #e2eef3;         /* shallow water haze */
  --aqua: #39c2d7;         /* turquoise shallows */
  --signal: #0a7bc2;       /* open-sea blue: the accent */
  --teal: #0b5d8f;         /* offshore blue */
  --ink: #062a46;          /* deep ocean navy */
  --deep: #031a2e;         /* the abyss */
  --signal-ink: #021626;

  --line-dark: rgba(6, 42, 70, 0.14);
  --line-light: rgba(243, 241, 234, 0.18);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-serif: "Newsreader", Georgia, serif;
  /* small labels: Newsreader in spaced capitals, as on inbuonacompagnia.com */
  --f-mono: "Newsreader", "Iowan Old Style", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease-lift: cubic-bezier(0.22, 1.2, 0.36, 1);   /* slight overshoot: a foil popping up */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--signal); color: var(--paper); }

.defs { position: absolute; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- language switch: hide the inactive language ---------- */
html[data-lang="it"] [lang="en"],
html[data-lang="en"] [lang="it"]:not(html) { display: none !important; }

/* ---------- type primitives ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 88;
}
.body { font-family: var(--f-serif); font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; margin: 0; }
.body-s { font-family: var(--f-serif); font-size: 16px; line-height: 1.5; }
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  font-size: clamp(48px, 8.4vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin: 0;
}
.display em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -0.02em; color: var(--signal);
}
.display--light { color: var(--paper); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  color: var(--paper);
  pointer-events: none;
  transition: color .4s, background .4s, padding .4s;
}
.nav > * { pointer-events: auto; }
body.nav-dark .nav { color: var(--ink); }
body.nav-solid .nav { background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; }
body.nav-solid:not(.nav-dark) .nav { background: color-mix(in srgb, var(--ink) 78%, transparent); }
.nav__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.nav__mm { font-size: 18px; font-variation-settings: "wdth" 62; letter-spacing: 0.02em; }
.nav__rule { width: 28px; height: 1px; background: currentColor; }
.nav__num { font-size: 18px; font-variation-settings: "wdth" 62; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav__links a {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { font-family: var(--f-mono); font-size: 11px; display: flex; gap: 4px; padding: 6px 0; }
.lang [data-l] { opacity: .45; transition: opacity .3s; }
html[data-lang="it"] .lang [data-l="it"], html[data-lang="en"] .lang [data-l="en"] { opacity: 1; }
.lang__slash { opacity: .45; }
.burger { display: none; width: 34px; height: 24px; position: relative; }
.burger > span:not(.sr) {
  position: absolute; left: 4px; right: 4px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.burger > span:nth-child(1) { top: 8px; }
.burger > span:nth-child(2) { top: 15px; }
.burger[aria-expanded="true"] > span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { top: 11px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) 40px; gap: 6px;
}
.menu[hidden] { display: none; }
.menu a {
  text-decoration: none; font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 62; font-size: clamp(44px, 13vw, 88px); line-height: .95;
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line-light); padding: 6px 0;
  animation: rise .7s var(--ease-lift) both;
}
.menu a:nth-child(2) { animation-delay: .04s; } .menu a:nth-child(3) { animation-delay: .08s; }
.menu a:nth-child(4) { animation-delay: .12s; } .menu a:nth-child(5) { animation-delay: .16s; }
.menu a:nth-child(6) { animation-delay: .2s; }
.menu i { font-family: var(--f-mono); font-style: normal; font-size: 12px; color: var(--signal); font-weight: 400; }

/* ---------- depth gauge (desktop) ---------- */
.gauge {
  position: fixed; right: 18px; top: 50%; z-index: 45; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  mix-blend-mode: difference; color: var(--paper);
  pointer-events: none;
  opacity: 0; transition: opacity .6s;
}
body.past-hero .gauge { opacity: 1; }
.gauge__track {
  width: 1px; height: 34vh; background: rgba(243,241,234,.3); position: relative;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(10% - 1px), rgba(243,241,234,.6) calc(10% - 1px) 10%);
}
.gauge__fill { position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: var(--paper); }
.gauge__label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
}

/* =========================================================
   HERO: the name cut by the waterline
   ========================================================= */
.hero {
  --wl: 64svh;               /* waterline Y, moved by JS on scroll */
  --cut: 50%;                /* where the waterline crosses the name box */
  position: relative; height: 100svh; min-height: 560px;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.04); transform-origin: 50% 50%;
  animation: settle 2.4s var(--ease-out) both;
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(3,26,46,.45) 0%, rgba(3,26,46,0) 26%),
    linear-gradient(to top, rgba(3,26,46,.55) 0%, rgba(3,26,46,0) 40%);
}
/* everything under the waterline gets a cold underwater tint */
.hero__water {
  position: absolute; left: 0; right: 0; bottom: 0; top: var(--wl);
  background: linear-gradient(to bottom, rgba(11,93,143,.38), rgba(3,26,46,.72));
  backdrop-filter: blur(1.5px) saturate(1.25);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.25);
  transform-origin: top;
  animation: fill-in 1.4s .5s var(--ease-out) both;
}
.hero__top {
  position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(84px, 14vh, 140px);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.hero__kicker { display: flex; align-items: center; gap: 10px; margin: 0; animation: fade 1s 1.1s both; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); display: inline-block; }
.hero__lede {
  margin: 0; max-width: 20ch; text-align: right;
  font-family: var(--f-serif); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.15;
  animation: fade 1s 1.25s both;
}
.hero__lede em { color: var(--paper); font-style: italic; }

.name {
  position: absolute; left: 0; right: 0;
  top: var(--name-top, 44svh);
  margin: 0; text-align: center;
  font-weight: 850; text-transform: uppercase;
  font-variation-settings: "wdth" var(--stretch, 62);
  font-size: clamp(64px, 15.2vw, 300px);
  line-height: .8; letter-spacing: -0.012em;
  white-space: nowrap;
  pointer-events: none;
}
.name__air, .name__water { display: block; padding: .06em 0 .02em; }
.name__air {
  position: relative;
  clip-path: inset(0 0 calc(100% - var(--cut)) 0);
  animation: name-up 1.3s .35s var(--ease-lift) both;
}
.name__water {
  position: absolute; inset: 0;
  color: rgba(190,232,245, .55);
  clip-path: inset(var(--cut) 0 0 0);
  filter: url(#refract);
  transform: translateX(.012em) scaleY(1.04);
  transform-origin: 50% var(--cut);
  animation: name-up 1.3s .35s var(--ease-lift) both;
}

.waterline {
  position: absolute; left: 0; right: 0; top: var(--wl); height: 1px;
  background: rgba(243,241,234,.85);
  transform-origin: left; animation: draw 1.1s .15s var(--ease-out) both;
}
.waterline__tag { position: absolute; top: -22px; left: var(--gutter); font-size: 10px; opacity: .85; }
.waterline__tag--r { left: auto; right: var(--gutter); }

.hero__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 4vh, 36px);
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: end;
  animation: fade 1s 1.4s both;
}
.hud__cell { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line-light); padding-top: 10px; }
.hud__k { opacity: .6; font-size: 10px; }
.hud__v { font-size: 12px; }
.wind-arrow {
  display: inline-block; font-style: normal; color: var(--signal); font-weight: 600;
  transition: transform 1.2s var(--ease-lift);
}
.hud__cue {
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-light); border-radius: 99px; padding: 12px 18px;
  transition: background .3s, color .3s;
}
.hud__cue b { display: inline-block; animation: bob 2.2s ease-in-out infinite; }
.hud__cue:hover { background: var(--paper); color: var(--ink); }

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { position: relative; padding: clamp(80px, 12vw, 180px) var(--gutter); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--deep { background: var(--deep); color: var(--paper); }
.sec--mist { background: var(--mist); }
.sec--paper { background: var(--paper); }
.sec--signal { background: var(--signal); color: var(--signal-ink); }

/* the section rule: every chapter starts on its own waterline */
.rule {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(48px, 7vw, 110px);
}
.rule > span:first-child { color: var(--signal); }
.sec--signal .rule > span:first-child { color: var(--paper); }
.rule i { flex: 1; height: 1px; background: currentColor; opacity: .3; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.rule.is-in i { transform: scaleX(1); }
.rule > span:last-child { opacity: .6; text-align: right; }

/* reveal: rise from below a line, with a small overshoot */
.lift { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-lift); }
.lift.is-in { opacity: 1; transform: none; }

/* ---------- 03 course ---------- */
.course__wrap { position: relative; }
.course__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.course__path path { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 6 7; }
.course__marks { list-style: none; margin: 0; padding: 0; position: relative; }
.mark {
  position: relative; width: min(44%, 520px); padding: 0 0 clamp(56px, 7vw, 110px);
  opacity: 0; transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-lift);
}
.mark.is-in { opacity: 1; transform: none; }
.mark:nth-child(even) { margin-left: auto; text-align: left; }
.mark__buoy {
  position: absolute; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--paper);
  left: -34px;
}
.mark:nth-child(even) .mark__buoy { left: -34px; }
.mark--hot .mark__buoy { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px rgba(10,123,194,.18); }
.mark--dark .mark__buoy { background: transparent; border-style: dashed; }
.mark--next .mark__buoy { background: transparent; border-color: var(--aqua); animation: pulse 2.4s infinite; }
.mark__date { margin: 0 0 12px; color: var(--aqua); }
.mark h4 {
  margin: 0 0 12px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62;
  font-size: clamp(34px, 3.6vw, 60px); line-height: .9;
}
.mark p:not(.mark__date) { font-family: var(--f-serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; margin: 0; opacity: .85; }
.mark--dream h4 { color: var(--signal); }

/* ---------- 04 results ---------- */
.sheet { margin-top: clamp(56px, 7vw, 100px); background: #fff; border: 1px solid var(--line-dark); }
.sheet__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; background: var(--ink); color: var(--paper);
}
.sheet__title { margin: 0; }
.sheet__table { width: 100%; border-collapse: collapse; }
.sheet__table th {
  text-align: left; font-weight: 400; padding: 12px 18px; border-bottom: 1px solid var(--line-dark); opacity: .6;
}
.sheet__table td { padding: 14px 18px; border-bottom: 1px solid var(--line-dark); vertical-align: middle; }
.sheet__table tr { transition: background .25s; }
.sheet__table tbody tr:hover { background: var(--mist); }
.ev b { display: block; font-weight: 700; font-size: 17px; font-variation-settings: "wdth" 85; }
.ev small { font-family: var(--f-serif); font-style: italic; font-size: 15px; opacity: .7; }
.td-mono { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.sheet__foot { margin: 0; padding: 14px 18px; opacity: .55; text-transform: none; font-size: 10px; }

/* ---------- 05 sessions reel ---------- */
.sessions { padding-left: 0; padding-right: 0; overflow: hidden; }
.sessions .rule, .sessions .display, .sessions__note { margin-left: var(--gutter); margin-right: var(--gutter); }
.sessions .display { margin-bottom: clamp(40px, 5vw, 80px); }
.reel {
  display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--gutter) 10px;
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel.is-drag img { pointer-events: none; }
.shot { margin: 0; flex: 0 0 auto; scroll-snap-align: start; position: relative; }
.shot img {
  height: clamp(340px, 62vh, 640px); width: auto; object-fit: cover;
  filter: saturate(.9); transition: filter .6s, transform 1.2s var(--ease-out);
  user-select: none; -webkit-user-drag: none;
}
.shot:hover img { filter: saturate(1.08); }
.shot--wide img { aspect-ratio: 3 / 2; }
.shot--tall img { aspect-ratio: 2 / 3; }
.shot figcaption {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 10px;
  font-size: 10px; opacity: .7; text-transform: none;
}
.shot figcaption b { color: var(--signal); font-weight: 400; }
.sessions__note { margin-top: 28px; opacity: .5; text-transform: none; }

/* ---------- 07 partners ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-dark); }
.logos li {
  min-height: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  text-align: center; padding: 20px; border-right: 1px solid var(--line-dark);
  filter: grayscale(1); opacity: .75; transition: opacity .4s, background .4s;
}
.logos li:last-child { border-right: 0; }
.logos li:hover { opacity: 1; background: var(--mist); }
.logos small { opacity: .55; }
.logo { line-height: 1; }
.logo--a { font-family: var(--f-serif); font-size: 42px; font-weight: 500; letter-spacing: -0.02em; }
.logo--b { font-weight: 800; font-style: italic; font-size: 30px; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.logo--c { font-weight: 900; font-size: 30px; text-transform: uppercase; font-variation-settings: "wdth" 62; letter-spacing: .06em; }
.logo--d { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; border: 1.5px solid currentColor; padding: 8px 10px; }
.logo--e { font-family: var(--f-serif); font-style: italic; font-size: 22px; }
.partners__note { margin: 18px 0 0; opacity: .5; text-transform: none; }

/* ---------- 08 contact ---------- */
.contact .rule i { opacity: .5; }
.contact__big {
  margin: 0; font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 62;
  font-size: clamp(90px, 19vw, 360px); line-height: .8; letter-spacing: -0.02em; color: var(--paper);
}
.contact__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(48px, 6vw, 90px); }
.cta {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 14px;
  text-decoration: none; padding: 20px 22px; border: 1.5px solid var(--signal-ink);
  transition: background .35s, color .35s;
}
.cta span { grid-column: 1; }
.cta b { grid-column: 1; font-weight: 800; font-size: clamp(22px, 2.2vw, 34px); font-variation-settings: "wdth" 70; line-height: 1; }
.cta i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 28px; transition: transform .5s var(--ease-lift); }
.cta:hover { background: var(--signal-ink); color: var(--signal); }
.cta:hover i { transform: translate(4px, -4px); }
.cta[aria-disabled="true"] { opacity: .6; }
.cta[aria-disabled="true"]:hover { background: transparent; color: inherit; }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: var(--paper); padding: 28px var(--gutter); }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; opacity: .8; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--signal); }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fill-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@keyframes name-up { from { transform: translateY(45%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57,194,215,.5); } 100% { box-shadow: 0 0 0 16px rgba(57,194,215,0); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li:nth-child(3) { border-right: 0; }
  .logos li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .gauge { display: none; }
  .hero__top { flex-direction: column; top: 88px; gap: 14px; }
  .hero__lede { text-align: left; }
  .hero__hud { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hud__cell--hide-s { display: none; }
  .hud__cue { grid-column: 1 / -1; justify-content: center; }
  .mark, .mark:nth-child(even) { width: auto; margin-left: 34px; }
  .sheet__table thead { display: none; }
  .sheet__table tr { display: grid; grid-template-columns: 64px 1fr; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); }
  .sheet__table td { border: 0; padding: 2px 0; }
  .sheet__table td.pos { grid-row: 1 / 4; }
  .contact__row { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logos li { min-height: 130px; }
  .logos li:nth-child(3) { border-right: 1px solid var(--line-dark); }
  .logos li:nth-child(even) { border-right: 0; }
  .logos li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .logos li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
}

@media (hover: none) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .lift, .mark { opacity: 1; transform: none; }
  .name__water { filter: none; }
}

.course__marks { padding-left: 40px; }
@media (max-width: 860px) { .course__marks { padding-left: 0; } }
@media (max-width: 600px) {
  .waterline__tag { display: none; }
  .rule > span:last-child:not(:first-child) { display: none; }
  .rule > span:nth-child(2), .rule > span:nth-child(3) { white-space: nowrap; }
}
@media (max-width: 1240px) { .gauge { display: none; } }

/* =========================================================
   v2: athlete-first sections (profile, progress chart)
   ========================================================= */
/* ---------- 01 profile ---------- */
.profile__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.profile__bio .display { margin-bottom: 32px; }
.profile__bio .body { max-width: 46ch; opacity: .9; }
.facts { margin: 0; border-top: 1px solid var(--line-light); transition-delay: .1s; }
.facts > div {
  display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line-light);
}
.facts dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .55; padding-top: 4px; }
.facts dd { margin: 0; font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); font-variation-settings: "wdth" 85; line-height: 1.3; }

/* ---------- 03 upcoming races ---------- */
.next { margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid var(--ink); padding-top: 18px; display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.next__h { margin: 0; color: var(--signal); }
.next__empty { margin: 0; font-family: var(--f-serif); font-size: 20px; }
.next__todo { opacity: .45; margin-left: 8px; text-transform: none; }

/* ---------- 07 contact ---------- */
.contact__sub { margin: 18px 0 0; font-family: var(--f-serif); font-size: clamp(20px, 2vw, 28px); }

@media (max-width: 860px) {
  .profile__grid, .progress__grid { grid-template-columns: 1fr; }
  .next { grid-template-columns: 1fr; }
}

/* =========================================================
   v3: one results section (columns + grouped sheet)
   ========================================================= */
.bars-fig { margin: 0; }
.bars-fig__title {
  margin: 0; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62;
  font-size: clamp(30px, 3.4vw, 54px); line-height: .95; max-width: 22ch;
}
.bars-fig__sub { margin: 12px 0 0; opacity: .55; text-transform: none; }
.bars {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.6vw, 24px);
  margin-top: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--ink);
}
.bar { display: grid; grid-template-rows: auto auto auto; }
.bar__track { height: clamp(220px, 30vw, 360px); display: flex; align-items: flex-end; }
.bar__col {
  width: 100%; height: var(--h); position: relative;
  background: var(--ink); border-radius: 4px 4px 0 0;
  transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease-lift);
}
.bars-fig.is-in .bar__col { transform: scaleY(1); }
.bar:nth-child(2) .bar__col { transition-delay: .08s; } .bar:nth-child(3) .bar__col { transition-delay: .16s; }
.bar:nth-child(4) .bar__col { transition-delay: .24s; } .bar:nth-child(5) .bar__col { transition-delay: .32s; }
.bar.is-podium .bar__col { background: var(--signal); }
.bar.is-live .bar__col { background: repeating-linear-gradient(135deg, var(--ink) 0 6px, #1d4a6b 6px 12px); }
.bar__v {
  position: absolute; left: 0; right: 0; bottom: 100%; padding-bottom: 8px; text-align: center;
  font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(30px, 4vw, 64px); line-height: .85; color: var(--ink);
}
.bar__y { margin: 0; padding: 12px 0 4px; font-size: 12px; border-top: 1px solid var(--ink); }
.bar__y i { font-style: normal; opacity: .55; text-transform: none; }
.bar__ev { margin: 0 0 4px; font-family: var(--f-serif); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.3; }
.bar__at { display: block; font-style: italic; opacity: .6; }
.bars-fig__rank { margin: 22px 0 0; font-family: var(--f-serif); font-size: clamp(17px, 1.4vw, 20px); }
.bars-fig__rank b { font-weight: 600; }

/* grouped results sheet */
.sheet__table tr.yr th {
  text-align: left; padding: 26px 18px 10px; background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.sheet__table tbody tr.yr:hover { background: transparent; }
.yr__y { font-weight: 900; font-variation-settings: "wdth" 62; font-size: 34px; line-height: 1; margin-right: 18px; }
.yr__r { font-weight: 400; opacity: .7; }
.yr__r b { font-weight: 600; opacity: 1; }
.pos { width: 90px; }
.pos__n { font-weight: 800; font-variation-settings: "wdth" 70; font-size: 22px; font-variant-numeric: tabular-nums; }
tr.is-podium .pos__n { background: var(--signal); color: var(--paper); padding: 3px 10px; border-radius: 99px; }
.ev small { display: block; margin-top: 2px; }

@media (max-width: 860px) {
  .bars { gap: 6px; }
  .bar__track { height: 200px; }
  .bar__v { font-size: 26px; }
  .bar__ev { font-size: 12.5px; }
  .bar__at { display: none; }
  .sheet__table tr.yr { display: block; padding: 0; }
  .sheet__table tr.yr th { display: block; padding: 20px 14px 8px; }
  .yr__y { display: block; margin-bottom: 4px; }
}
.bar { align-content: start; }

/* =========================================================
   v4: real photos, name on the real horizon, photo profile
   ========================================================= */
.nav__name { font-weight: 800; font-size: 19px; text-transform: uppercase; font-variation-settings: "wdth" 62; letter-spacing: .03em; }

/* desktop: the name sits on two lines on the left, the waterline on the photo's horizon */
.name {
  left: var(--gutter); right: auto; text-align: left; white-space: normal;
  font-size: clamp(72px, 11vw, 230px); line-height: .84;
}
.name__air, .name__water { padding: .06em 0 .02em; }
.hero__media::after {
  background:
    linear-gradient(to bottom, rgba(3,26,46,.5) 0%, rgba(3,26,46,0) 22%),
    linear-gradient(to right, rgba(3,26,46,.35) 0%, rgba(3,26,46,0) 40%),
    linear-gradient(to top, rgba(3,26,46,.6) 0%, rgba(3,26,46,0) 30%);
}
.hero__water { background: linear-gradient(to bottom, rgba(11,93,143,.22), rgba(3,26,46,.55)); }

@media (max-width: 760px) {
  /* phone: photo on top, title + latest result below it (no overlap with the name) */
  .hero { height: 100svh; }
  .hero__hud { position: relative; left: auto; right: auto; bottom: auto; padding: 20px var(--gutter) 28px; }
  .hero__media img { object-position: 72% 50%; }
  .name { left: 0; right: 0; text-align: center; white-space: nowrap; font-size: 15.5vw; line-height: .8; }
  .name br { display: none; }
}

/* ---------- 01 profile: the photo is the page, text lives in its sky ---------- */
.profile { position: relative; background: var(--deep); color: var(--paper); overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; }
.profile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.profile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(3,26,46,.85) 0%, rgba(3,26,46,0) 32%);
}
.profile__inner { position: relative; z-index: 1; padding: clamp(76px, 7.5vw, 120px) var(--gutter) 0; flex: 1; }
.profile .rule { margin-bottom: clamp(28px, 4vw, 56px); }
.profile .rule i { max-width: 34vw; }
.profile__text {
  margin: 0; max-width: 31ch;
  font-family: var(--f-serif); font-weight: 300;
  font-size: clamp(22px, 2vw, 36px); line-height: 1.22; letter-spacing: -0.012em;
  text-shadow: 0 1px 24px rgba(3,26,46,.25);
}
.profile__text em { font-style: italic; color: #9fe3ef; }
.strip {
  position: relative; z-index: 1; margin: 0; padding: 18px var(--gutter) 22px;
  display: flex; flex-wrap: wrap; gap: 14px 44px; text-transform: none;
  border-top: 1px solid rgba(243,241,234,.25);
}
.strip dt { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; margin-bottom: 4px; }
.strip dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 16px; font-variation-settings: "wdth" 85; text-transform: none; letter-spacing: 0; }
.profile__credit { position: absolute; z-index: 1; right: var(--gutter); top: clamp(76px, 7.5vw, 120px); margin: 0; font-size: 9.5px; opacity: .6; text-transform: none; }

@media (max-width: 760px) {
  .profile { min-height: 0; display: block; }
  .profile__img { position: relative; height: 62svh; object-position: 52% 40%; }
  .profile::after { display: none; }
  .profile__inner { padding: 36px var(--gutter) 0; }
  .profile__text { max-width: none; font-size: 25px; }
  .strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 20px; }
  .strip div:last-child { grid-column: 1 / -1; }
  .profile__credit { position: static; padding: 0 var(--gutter) 28px; }
}

/* =========================================================
   v5: hero video version + review-only version switcher
   ========================================================= */
.hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
html[data-hero="video"] .hero__vid { display: block; }
html[data-hero="video"] .hero__media picture { display: none; }
html[data-hero="video"] .hero__media::after { z-index: 1; }

.versions {
  position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 4px; padding: 5px;
  background: rgba(6,42,70,.88); color: var(--paper); border-radius: 99px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-mono); font-size: 11px; box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
}
.versions__k { padding: 0 8px 0 10px; opacity: .6; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.versions button { padding: 7px 14px; border-radius: 99px; transition: background .25s, color .25s; }
.versions button:hover { background: rgba(243,241,234,.12); }
.versions button.is-on { background: var(--signal); color: var(--paper); }
/* keep the photo/video overlay inside the media layer, under the name and info */
.hero__media { z-index: 0; }
html[data-hero="video"] .hero__media::after {
  background:
    linear-gradient(to bottom, rgba(3,26,46,.5) 0%, rgba(3,26,46,0) 22%),
    linear-gradient(to right, rgba(3,26,46,.6) 0%, rgba(3,26,46,.2) 38%, rgba(3,26,46,0) 55%),
    linear-gradient(to top, rgba(3,26,46,.65) 0%, rgba(3,26,46,0) 34%);
}
/* video version: smaller name, low on the water, always under the info bar */
.hero__hud { z-index: 2; }
.name { z-index: 1; }



/* =========================================================
   v7: results board, one column per season, one card per race
   ========================================================= */
.board__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.board__title {
  margin: 0; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62;
  font-size: clamp(36px, 4.4vw, 72px); line-height: .9;
}
.board__key { margin: 0; display: flex; gap: 22px; align-items: center; text-transform: none; opacity: .75; }
.board__key > span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.key--podium { background: var(--signal); }
.key--call { background: linear-gradient(90deg, #1f8f4e 0 33%, #f3f1ea 33% 66%, #d6322f 66%); outline: 1px solid var(--line-dark); }
.board__swipe { display: none !important; }

.board {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
  border-top: 1px solid var(--ink); padding-top: 18px;
}
.board:focus-visible { outline-offset: 6px; }
.season__head { display: flex; flex-direction: column; gap: 4px; padding: 0 2px 14px; }
.season__y { margin: 0; font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(44px, 4.6vw, 76px); line-height: .85; }
.season--live .season__y::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 10px; vertical-align: .55em; border-radius: 50%; background: var(--signal); animation: pulse-o 2s infinite; }
@keyframes pulse-o { 0% { box-shadow: 0 0 0 0 rgba(10,123,194,.5); } 100% { box-shadow: 0 0 0 12px rgba(10,123,194,0); } }
.season__r { margin: 0; text-transform: none; opacity: .6; font-size: 10.5px; }
.season__r b { font-weight: 600; opacity: 1; color: var(--ink); }
.season__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.race {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  background: #fff; border: 1px solid var(--line-dark); border-radius: 6px; padding: 12px 12px 12px 10px;
  transition: transform .4s var(--ease-lift), box-shadow .4s;
}
.race:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -18px rgba(6,42,70,.5); }
.race__p {
  min-width: 52px; font-weight: 900; font-variation-settings: "wdth" 62;
  font-size: 44px; line-height: .82; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.race__p sup { font-size: .36em; vertical-align: top; position: relative; top: .12em; margin-left: 1px; }
.race__body { min-width: 0; }
.race__k { margin: 0 0 3px; font-size: 9.5px; opacity: .55; text-transform: uppercase; letter-spacing: .05em; }
.race__t { margin: 0; font-weight: 700; font-size: 15.5px; line-height: 1.15; font-variation-settings: "wdth" 85; }
.race__at { margin: 3px 0 0; font-family: var(--f-serif); font-size: 14.5px; line-height: 1.25; }
.race__at em { color: var(--signal); }
.race__d { margin: 4px 0 0; font-size: 10px; opacity: .55; }

.race--podium { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.race--podium .race__p, .race--podium .race__at em { color: var(--paper); }
.race--podium .race__k, .race--podium .race__d { opacity: .8; }
.race--win .race__p { color: var(--signal-ink); }

.race--call { background: var(--paper); border-style: dashed; border-color: var(--ink); grid-template-columns: 52px 1fr; }
.race__flag { display: flex; height: 34px; width: 46px; border-radius: 3px; overflow: hidden; margin-top: 2px; box-shadow: 0 0 0 1px var(--line-dark); }
.race__flag i { flex: 1; }
.race__flag i:nth-child(1) { background: #1f8f4e; } .race__flag i:nth-child(2) { background: #f3f1ea; } .race__flag i:nth-child(3) { background: #d6322f; }

/* cards surface one after another when the board scrolls into view */
.board .race { opacity: 0; transform: translateY(18px); }
.board.is-in .race { animation: race-in .7s var(--ease-lift) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes race-in { to { opacity: 1; transform: none; } }
.board__foot { margin: 18px 0 0; opacity: .5; text-transform: none; font-size: 10px; }

@media (max-width: 1100px) {
  .board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: thin; }
  .season { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
  .board__swipe { display: inline-flex !important; }
}
@media (prefers-reduced-motion: reduce) { .board .race { opacity: 1; transform: none; } }
.season__r { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   v8: ocean palette + new sections
   ========================================================= */
.sec--ink .rule > span:first-child, .sec--deep .rule > span:first-child, .sec--ocean .rule > span:first-child { color: var(--aqua); }
.sec--ocean {
  color: var(--paper);
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(57,194,215,.22), transparent 60%),
    linear-gradient(180deg, #0b5d8f 0%, #073c66 38%, #052a49 72%, #031a2e 100%);
}
/* faint swell lines, like light moving on the surface */
.sec--ocean::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-radial-gradient(ellipse 140% 34% at 50% -10%, transparent 0 46px, rgba(255,255,255,.035) 46px 48px);
}
.sec--ocean > * { position: relative; }

/* ---------- career, grouped by year ---------- */
.mark__date { color: var(--aqua); }
.mark--hot .mark__buoy { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 0 6px rgba(57,194,215,.2); }
.mark__items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mark__items li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: baseline; font-family: var(--f-serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; }
.tag {
  font-style: normal; font-family: var(--f-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid rgba(244,248,249,.35); border-radius: 99px; padding: 3px 8px; text-align: center; white-space: nowrap; opacity: .9;
}
.tag--race { background: rgba(57,194,215,.18); border-color: rgba(57,194,215,.6); color: #bdeef6; }
.course__path path { stroke: var(--aqua); }

/* ---------- results board in sea colours ---------- */
.race--podium { background: linear-gradient(160deg, #0a7bc2, #0b5d8f); border-color: #0a7bc2; }
.race--win { background: linear-gradient(160deg, #062a46, #0b5d8f); border-color: #062a46; }
.race--win .race__p { color: var(--aqua); }
.key--podium { background: linear-gradient(160deg, #0a7bc2, #0b5d8f); }
.season--live .season__y::after { background: var(--aqua); }

/* ---------- Instagram mosaic ---------- */
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.insta__title { margin: 0; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(40px, 5vw, 84px); line-height: .9; }
.insta__follow { font-family: var(--f-mono); font-size: 12px; text-decoration: none; border: 1px solid var(--ink); border-radius: 99px; padding: 10px 16px; transition: background .3s, color .3s; }
.insta__follow:hover { background: var(--ink); color: var(--paper); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 19vw, 300px); gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: 6px; display: block; background: var(--mist); text-decoration: none; color: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.tile:hover img { transform: scale(1.05); }
.tile--0 { grid-column: span 2; grid-row: span 2; }
.tile--1 { grid-column: span 2; }
.tile--5 { grid-column: span 2; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: grid; gap: 4px;
  background: linear-gradient(to top, rgba(3,26,46,.85), rgba(3,26,46,0));
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap, .tile--0 .tile__cap { transform: none; opacity: 1; }
.tile__cap b { font-weight: 700; font-size: 15px; font-variation-settings: "wdth" 85; }
.tile--0 .tile__cap b { font-size: clamp(18px, 1.6vw, 24px); }
.tile__cap i { font-style: normal; font-size: 10px; opacity: .75; text-transform: none; }
.tile__badge { position: absolute; top: 14px; left: 14px; background: var(--aqua); color: var(--deep); border-radius: 99px; padding: 6px 12px; font-size: 10px; }
.tile--follow {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px;
  background: linear-gradient(160deg, #0a7bc2, #062a46); transition: filter .3s;
}
.tile--follow:hover { filter: brightness(1.12); }
.tile--follow .mono { opacity: .75; }
.tile--follow b { font-weight: 800; font-size: clamp(20px, 1.8vw, 28px); font-variation-settings: "wdth" 70; }
.tile__arrow { position: absolute; top: 14px; right: 18px; font-size: 26px; }
@media (hover: none) { .tile__cap { transform: none; opacity: 1; } }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .tile--0 { grid-column: span 2; grid-row: span 2; }
  .tile--1, .tile--5 { grid-column: span 2; }
}

/* ---------- partner logos ---------- */
.logos li { filter: none; opacity: 1; }
.logo-img { max-width: 78%; max-height: 64px; width: auto; }
.logo-img--mark { max-height: 46px; }
.logo-pair { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; font-variation-settings: "wdth" 90; }
.logo--surfando { font-weight: 900; font-style: italic; font-size: 34px; letter-spacing: -0.01em; color: #00b2cc; text-transform: uppercase; font-variation-settings: "wdth" 100; }
.logo--turtle { display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; font-variation-settings: "wdth" 85; }
.logo--turtle small { font-size: 11px; letter-spacing: .14em; font-weight: 500; }

/* ---------- contact, Instagram only ---------- */
.contact__big { color: var(--paper); }
.contact .rule i { opacity: .3; }
.cta--solo { margin-top: clamp(40px, 5vw, 80px); max-width: 560px; border-color: rgba(244,248,249,.5); color: var(--paper); }
.cta--solo:hover { background: var(--paper); color: var(--ink); }
/* legend: readable at a glance */
.board__key { font-size: 14px; opacity: 1; }
.board__key > span { gap: 10px; }
.key { width: 18px; height: 18px; border-radius: 4px; }
.tag--start { background: rgba(244,248,249,.12); }
/* career: bigger year, buoy centred on it */
.course .mark__date { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; letter-spacing: .02em; font-weight: 500; margin-bottom: 10px; }
.course .mark__buoy { top: clamp(1px, .3vw, 5px); }

/* =========================================================
   v9: labels in the In Buona Compagnia style
   (Newsreader, capitals, wide letter-spacing; no mono, no pills)
   ========================================================= */
.mono, .mono * { font-family: var(--f-mono); }
.mono { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-variation-settings: normal; }
.nav__links a, .lang, .menu i, .gauge__label, .chip, .versions, .insta__follow, .tile__badge, .race__k, .race__d, .season__r, .board__key, .mark__date, .rule {
  font-family: var(--f-mono); letter-spacing: .18em;
}
.nav__links a { font-size: 12px; font-weight: 500; }
.tag {
  border: 0; background: none !important; border-radius: 0; padding: 0;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em;
  text-align: left; color: var(--aqua) !important; opacity: 1;
}
.tag--start { color: #cfe9f0 !important; }
.mark__items li { grid-template-columns: 104px 1fr; }
.course .mark__date { font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; }
.race__k { font-size: 10px; letter-spacing: .16em; }
.race__d { font-size: 10.5px; letter-spacing: .14em; }
.season__r { font-size: 11px; letter-spacing: .1em; text-transform: none; }
.board__key { font-size: 15px; letter-spacing: .04em; }
.tile__cap i { letter-spacing: .08em; }
@media (max-width: 860px) { .mark__items li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- partners v2: sponsor plaques ---------- */
.partners { background: var(--mist); }
.partners__title { margin: 0 0 clamp(28px, 3.5vw, 48px); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(40px, 5vw, 84px); line-height: .9; }
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcards li:nth-child(2) { transition-delay: .06s; } .pcards li:nth-child(3) { transition-delay: .12s; } .pcards li:nth-child(4) { transition-delay: .18s; }
.pcard {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
  background: #fff; border-radius: 10px; box-shadow: 0 1px 0 rgba(6,42,70,.06), 0 10px 30px -22px rgba(6,42,70,.45);
  transition: transform .5s var(--ease-lift), box-shadow .5s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(6,42,70,.06), 0 24px 40px -24px rgba(6,42,70,.55); }
.pcard__logo { height: clamp(150px, 13vw, 200px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pcard__k { border-top: 1px solid var(--line-dark); padding: 14px 18px; text-align: center; color: var(--teal); font-size: 11px; }
.pcard .logo-img--mark { max-height: 52px; }
.pcard .logo-pair { font-size: 17px; letter-spacing: .14em; }
.logo--surfando { font-size: clamp(28px, 2.6vw, 40px); }
.logo--turtle { font-size: clamp(22px, 2vw, 30px); }
.logo--nobrand { display: flex; flex-direction: column; align-items: center; font-weight: 900; font-size: clamp(24px, 2.2vw, 32px); text-transform: uppercase; letter-spacing: .04em; font-variation-settings: "wdth" 75; border: 2.5px solid currentColor; padding: 8px 14px 6px; line-height: 1; }
.logo--nobrand small { font-size: 10px; font-weight: 600; letter-spacing: .2em; margin-top: 4px; font-variation-settings: "wdth" 100; }
@media (max-width: 860px) { .pcards { grid-template-columns: 1fr 1fr; } }
/* contact title: same scale as the other section titles */
.contact__big { font-size: clamp(40px, 5vw, 84px); line-height: .9; letter-spacing: 0; }
.contact { padding-bottom: clamp(70px, 9vw, 130px); }
/* career items: simple bullet points */
.mark__items { gap: 8px; }
.mark__items li { display: block; position: relative; padding-left: 22px; }
.mark__items li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }

/* =========================================================
   v10: photo gallery (justified rows) + full-screen viewer
   ========================================================= */
.gal { display: grid; gap: 10px; }
.gal__row { display: flex; gap: 10px; }
.gal__item {
  position: relative; padding: 0; border: 0; overflow: hidden; border-radius: 6px; cursor: zoom-in;
  background: var(--mist); min-width: 0;
}
.gal__item img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease-out), filter .6s; }
.gal__item:hover img { transform: scale(1.035); }
.gal__row--solo .gal__item { border-radius: 8px; }
.gal__row .gal__item:nth-child(2) { transition-delay: .07s; } .gal__row .gal__item:nth-child(3) { transition-delay: .14s; }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; text-align: left; color: var(--paper);
  background: linear-gradient(to top, rgba(3,26,46,.8), rgba(3,26,46,0)); font-size: 10.5px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out);
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; transform: none; }
@media (hover: none) { .gal__cap { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .gal__row { flex-direction: column; }
  .gal__row .gal__item { flex: none !important; }
}

.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(3,26,46,.96); color: var(--paper); }
.lb::backdrop { background: rgba(3,26,46,.9); }
.lb[open] { display: flex; align-items: center; justify-content: center; animation: fade .35s both; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 140px); }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.lb__fig figcaption { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; opacity: .8; font-size: 11px; }
.lb__x, .lb__nav { position: absolute; color: var(--paper); font-size: 22px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,248,249,.3); transition: background .25s; }
.lb__x:hover, .lb__nav:hover { background: rgba(244,248,249,.12); }
.lb__x { top: 18px; right: 18px; font-size: 16px; }
.lb__nav--p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__nav--n { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lb__fig { max-width: 100vw; }
  .lb__nav { top: auto; bottom: 18px; transform: none; }
}

/* =========================================================
   v11: photo carousel (right and left)
   ========================================================= */
.gallery { padding-left: 0; padding-right: 0; overflow: hidden; }
.gallery > .rule, .gallery > .insta__head { margin-left: var(--gutter); margin-right: var(--gutter); }
.car__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  padding: 0 var(--gutter); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.car__track::-webkit-scrollbar { display: none; }
.car__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.car__track.is-drag .car__slide { pointer-events: none; }
.car__slide {
  flex: 0 0 auto; height: clamp(300px, 64vh, 680px); padding: 0; border: 0; border-radius: 8px; overflow: hidden;
  position: relative; scroll-snap-align: start; background: var(--mist); cursor: zoom-in;
}
.car__slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.car__slide:hover img { transform: scale(1.03); }
.car__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; display: flex; gap: 12px; align-items: baseline;
  color: var(--paper); text-align: left; font-size: 10.5px; background: linear-gradient(to top, rgba(3,26,46,.78), rgba(3,26,46,0));
}
.car__cap b { color: var(--aqua); font-weight: 600; }
.car__bar { display: flex; align-items: center; gap: 18px; margin: 22px var(--gutter) 0; }
.car__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); font-size: 20px; color: var(--ink);
  transition: background .25s, color .25s; flex: 0 0 auto;
}
.car__btn:hover { background: var(--ink); color: var(--paper); }
.car__progress { flex: 1; height: 2px; background: var(--line-dark); position: relative; border-radius: 2px; overflow: hidden; }
.car__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 4%; background: var(--signal); transition: width .3s; }
.car__count { min-width: 64px; text-align: center; }
@media (max-width: 760px) {
  .car__slide { height: 56svh; max-width: 86vw; }
  .car__btn { width: 44px; height: 44px; }
}

/* =========================================================
   v12: "mirror" gallery. Photo on top, its reflection on the
   water below (progressive blur + sea tint), thumbnails as
   radio buttons. Adapted from the CSS gallery Marco chose
   (freefrontend.com), moved from page-level to a section.
   ========================================================= */
.mirror {
  --cut: 60%;                       /* where the "waterline" sits */
  position: relative; height: min(100svh, 940px); min-height: 560px; overflow: hidden;
  background: var(--deep); margin-top: clamp(8px, 1.5vw, 20px);
}
.mirror__stage {
  position: absolute; inset: 0; padding: 0; border: 0; cursor: zoom-in; background: none;
  transition: opacity .26s ease;
}
.mirror__stage::before, .mirror__stage::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--cut);
  background: var(--bg) no-repeat; background-size: cover; background-position: var(--pos, 50% 40%);
}
.mirror__stage::before { top: 0; }
.mirror__stage::after { top: calc(var(--cut) * 2); transform: scaleY(-1); transform-origin: top; }   /* flipped about its top edge: fills cut..2×cut */
.mirror__stage.is-swap { opacity: .15; }

.progressive-blur { position: absolute; left: 0; right: 0; top: calc(var(--cut) - 1px); bottom: 0; pointer-events: none; z-index: 2; }
.progressive-blur::before, .progressive-blur::after, .progressive-blur > div { content: ""; position: absolute; inset: 0; background-color: rgba(11,93,143,.42); }
.progressive-blur::before { z-index: 1; backdrop-filter: blur(.5px); -webkit-backdrop-filter: blur(.5px); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 12.5%, #000 25%, transparent 37.5%); mask: linear-gradient(to bottom, transparent 0%, #000 12.5%, #000 25%, transparent 37.5%); }
.progressive-blur > div:nth-of-type(1) { z-index: 2; backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); -webkit-mask: linear-gradient(to bottom, transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); mask: linear-gradient(to bottom, transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); }
.progressive-blur > div:nth-of-type(2) { z-index: 3; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); -webkit-mask: linear-gradient(to bottom, transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); mask: linear-gradient(to bottom, transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); }
.progressive-blur > div:nth-of-type(3) { z-index: 4; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); -webkit-mask: linear-gradient(to bottom, transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); mask: linear-gradient(to bottom, transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); }
.progressive-blur > div:nth-of-type(4) { z-index: 5; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); -webkit-mask: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); mask: linear-gradient(to bottom, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); }
.progressive-blur > div:nth-of-type(5) { z-index: 6; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); -webkit-mask: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); mask: linear-gradient(to bottom, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); }
.progressive-blur > div:nth-of-type(6) { z-index: 7; backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); -webkit-mask: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%); mask: linear-gradient(to bottom, transparent 75%, #000 87.5%, #000 100%); }
.progressive-blur::after { z-index: 8; backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); -webkit-mask: linear-gradient(to bottom, transparent 87.5%, #000 100%); mask: linear-gradient(to bottom, transparent 87.5%, #000 100%); }
/* the waterline itself */
.mirror::after { content: ""; position: absolute; left: 0; right: 0; top: var(--cut); height: 1px; background: rgba(244,248,249,.45); z-index: 9; pointer-events: none; }

.mirror__cap {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(var(--cut) + 22px); margin: 0;
  display: flex; gap: 18px; justify-content: center; align-items: baseline; flex-wrap: wrap; padding: 0 var(--gutter);
  color: var(--paper); font-size: 11.5px; text-shadow: 0 1px 12px rgba(3,26,46,.5);
}
.mirror__cap b { color: var(--aqua); font-weight: 600; }
.mirror__cap i { font-style: normal; opacity: .75; }
.mirror__nav {
  position: absolute; z-index: 10; top: calc(var(--cut) / 2); transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; color: var(--paper); font-size: 20px;
  background: rgba(3,26,46,.35); border: 1px solid rgba(244,248,249,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s;
}
.mirror__nav:hover { background: rgba(3,26,46,.65); }
.mirror__nav--p { left: var(--gutter); } .mirror__nav--n { right: var(--gutter); }

.thumbs {
  position: absolute; z-index: 10; left: 0; right: 0; bottom: clamp(16px, 3vh, 34px);
  display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 6px var(--gutter);
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs label {
  flex: 0 0 auto; width: clamp(64px, 6.4vw, 96px); aspect-ratio: 4 / 3; border-radius: 6px; cursor: pointer; position: relative;
  border: 1px solid rgba(255,255,255,.5); background-size: cover; background-position: center; opacity: .75;
  transition: opacity .25s, box-shadow .25s, transform .3s var(--ease-lift);
}
.thumbs label:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px #fff; }
.thumbs label input { position: absolute; opacity: 0; pointer-events: none; }
.thumbs label:has(input:checked) { opacity: 1; box-shadow: 0 0 0 3px #fff; transform: translateY(-4px); }
.thumbs label:has(input:checked)::before {
  content: ""; position: absolute; top: 4px; right: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--signal); border: 1px solid rgba(255,255,255,.7);
}
.thumbs label:has(input:checked)::after {
  content: ""; position: absolute; right: 9px; top: 9px; width: 6px; height: 3px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.thumbs label:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 3px; }
@media (max-width: 760px) {
  .mirror { --cut: 58%; height: 88svh; }
  .mirror__nav { width: 44px; height: 44px; }
  .thumbs { justify-content: flex-start; }
}

/* =========================================================
   v13: career as a regatta. Pinned section, legs slide sideways,
   the 55 boat sails along the buoys on the waterline.
   ========================================================= */
.regatta { padding: 0; }
.regatta__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: clamp(80px, 9vh, 110px) 0 28px; }
.regatta .rule { margin: 0 var(--gutter) clamp(20px, 4vh, 44px); }
.regatta__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); flex: 1; min-height: 0; will-change: transform; }
.leg {
  flex: 0 0 min(560px, 38vw); position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 0 10px; border-left: 1px solid rgba(244,248,249,.18); padding-left: clamp(18px, 2vw, 30px);
  transition: border-color .5s;
}
.leg.is-now { border-left-color: var(--aqua); }
.leg__yr {
  position: absolute; top: 0; left: clamp(14px, 1.6vw, 26px); z-index: 0; pointer-events: none;
  font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(110px, 15vh, 190px); line-height: .8; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(57,194,215,.38);
  transition: -webkit-text-stroke-color .5s, color .5s;
}
.leg.is-now .leg__yr { -webkit-text-stroke-color: rgba(57,194,215,.9); color: rgba(57,194,215,.08); }
.leg > *:not(.leg__yr) { position: relative; z-index: 1; }
.leg__date { margin: 0 0 8px; color: var(--aqua); }
.leg__t { margin: 0 0 18px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(30px, 3vw, 50px); line-height: .92; }
.leg__key { margin: 0 0 18px; display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(244,248,249,.2); border-bottom: 1px solid rgba(244,248,249,.2); }
.leg__key b { font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(44px, 5vw, 76px); line-height: .8; color: var(--paper); }
.leg__key b sup { font-size: .4em; color: var(--aqua); }
.leg__key span { font-family: var(--f-serif); font-style: italic; font-size: 17px; opacity: .85; }
.leg--hot .leg__key b { color: var(--aqua); }
.leg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.leg__list li { position: relative; padding-left: 18px; font-family: var(--f-serif); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.38; opacity: .92; }
.leg__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }

.regatta__course { position: relative; margin: clamp(18px, 3vh, 32px) var(--gutter) 0; height: 46px; }
.regatta__course::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: repeating-linear-gradient(90deg, rgba(244,248,249,.55) 0 6px, transparent 6px 12px); }
.regatta__buoys { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; display: flex; justify-content: space-between; }
.regatta__buoys li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 0; }
.regatta__buoys i { width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; border: 1.5px solid var(--paper); background: var(--ink); transition: background .4s, box-shadow .4s; }
.regatta__buoys li.is-past i { background: var(--aqua); border-color: var(--aqua); }
.regatta__buoys li.is-now i { box-shadow: 0 0 0 6px rgba(57,194,215,.25); }
.regatta__buoys span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; opacity: .7; white-space: nowrap; }
.regatta__boat {
  position: absolute; top: -1px; left: 0; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--aqua); color: var(--deep); font-weight: 800; font-size: 12px; font-variation-settings: "wdth" 62;
  display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(57,194,215,.2); z-index: 2; transition: left .15s linear;
}

/* phones / reduced motion: the legs simply stack */
@media (max-width: 860px) {
  .regatta__pin { position: relative; height: auto; padding: 80px 0 40px; }
  .regatta__track { flex-direction: column; gap: 44px; }
  .leg { flex: none; padding-top: 70px; }
  .leg__yr { font-size: 96px; }
  .regatta__course { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .regatta__pin { position: relative; height: auto; }
  .regatta__track { flex-wrap: wrap; }
}
/* legs: big year sits right above its text (no empty gap) */
.leg { justify-content: center; }
.leg__yr { position: relative; top: auto; left: auto; display: block; margin: 0 0 14px -4px; font-size: clamp(90px, 13vh, 160px); }
.leg__yr--range { font-size: clamp(64px, 9.5vh, 118px); }
@media (max-width: 860px) { .leg { padding-top: 0; } .leg__yr { font-size: 80px; } .leg__yr--range { font-size: 58px; } }
.leg__date { display: none; }   /* the big year already says it */

/* =========================================================
   v14: career back to the zig-zag course, compact.
   Right-hand marks start halfway up the left-hand one (zipper),
   so there is no dead space between legs.
   ========================================================= */
.course .course__marks { padding-left: 40px; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 110px); }
.course .mark { width: auto; padding: 0 0 clamp(26px, 3vw, 44px); grid-column: 1; }
.course .mark:nth-child(even) { grid-column: 2; margin-left: 0; margin-top: clamp(90px, 9vw, 150px); }
.course .mark:nth-child(odd):not(:first-child) { margin-top: calc(clamp(90px, 9vw, 150px) * -1 + 40px); }
.course .mark__buoy { left: -34px; top: clamp(18px, 2.4vw, 40px); }
.course .mark:nth-child(even) .mark__buoy { left: -34px; }
.mk__yr {
  display: block; margin: 0 0 6px -3px; font-weight: 900; font-variation-settings: "wdth" 62; line-height: .82;
  font-size: clamp(64px, 6.6vw, 112px); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(57,194,215,.55);
}
.mk__yr--range { font-size: clamp(48px, 4.8vw, 82px); }
.mark--hot .mk__yr { -webkit-text-stroke-color: var(--aqua); color: rgba(57,194,215,.1); }
.mk__t { margin: 0 0 12px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(28px, 2.6vw, 44px); line-height: .92; }
.mk__key { margin: 0 0 12px; display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(244,248,249,.18); border-bottom: 1px solid rgba(244,248,249,.18); }
.mk__key b { font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(36px, 3.4vw, 54px); line-height: .8; }
.mk__key b sup { font-size: .4em; color: var(--aqua); }
.mark--hot .mk__key b { color: var(--aqua); }
.mk__key span { font-family: var(--f-serif); font-style: italic; font-size: 16px; opacity: .85; }
.mk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mk__list li { position: relative; padding-left: 18px; font-family: var(--f-serif); font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.38; opacity: .92; }
.mk__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
@media (max-width: 860px) {
  .course .course__marks { grid-template-columns: 1fr; padding-left: 34px; }
  .course .mark, .course .mark:nth-child(even), .course .mark:nth-child(odd):not(:first-child) { grid-column: 1; margin-top: 0; }
  .mk__yr { font-size: 64px; } .mk__yr--range { font-size: 50px; }
}

/* =========================================================
   v15: gallery without reflection. Each photo shown whole,
   at its own proportions, on deep water blue.
   ========================================================= */
.mirror { height: auto; min-height: 0; padding: clamp(18px, 3vw, 36px) 0 clamp(20px, 3vw, 34px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mirror::after { display: none; }
.mirror__stage { position: relative; inset: auto; display: flex; justify-content: center; align-items: center; width: 100%; height: min(74vh, 760px); padding: 0 calc(var(--gutter) + 70px); }
.mirror__stage::before, .mirror__stage::after { display: none; }
.mirror__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.mirror__nav { top: calc(clamp(18px, 3vw, 36px) + min(74vh, 760px) / 2); }
.mirror__cap { position: static; }
.thumbs { position: static; width: 100%; }
@media (max-width: 760px) {
  .mirror__stage { height: auto; max-height: 70svh; padding: 0 var(--gutter); }
  .mirror__nav { top: auto; bottom: 120px; }
}
.course .mark p.mk__key { font-family: var(--f-display); font-size: inherit; opacity: 1; }
.course .mark p.mk__key span { font-family: var(--f-serif); }
.course .mark h3.mk__t { font-family: var(--f-display); }
/* career: straight central spine, legs alternate left / right of it */
.course .course__marks { padding-left: 0; column-gap: 120px; }
.course .mark__buoy { left: auto; right: -69px; }
.course .mark:nth-child(even) .mark__buoy { left: -69px; right: auto; }
.course .mark:nth-child(odd) { text-align: right; }
.course .mark:nth-child(odd) .mk__key { justify-content: flex-end; }
.course .mark:nth-child(odd) .mk__yr { margin: 0 -3px 6px 0; }
.course .mark:nth-child(odd) .mk__list li { padding-left: 0; padding-right: 18px; }
.course .mark:nth-child(odd) .mk__list li::before { left: auto; right: 0; }
@media (max-width: 860px) {
  .course .course__marks { padding-left: 34px; }
  .course .mark__buoy, .course .mark:nth-child(even) .mark__buoy { left: -34px; right: auto; }
  .course .mark:nth-child(odd) { text-align: left; }
  .course .mark:nth-child(odd) .mk__key { justify-content: flex-start; }
  .course .mark:nth-child(odd) .mk__list li { padding-left: 18px; padding-right: 0; }
  .course .mark:nth-child(odd) .mk__list li::before { left: 0; right: auto; }
}
@media (max-width: 860px) { .course .course__marks .mark { margin-left: 0; } }
.course .mk__t { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(244,248,249,.18); }
/* career bullets: bigger text, wraps freely; bullets stay on the spine side */
.course .mk__list { gap: 10px; }
.course .mk__list li { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.38; }
.course .mk__list li::before { top: .62em; width: 7px; height: 7px; }
.course .mark:nth-child(odd) .mk__list li { padding-right: 22px; }
.course .mark:nth-child(even) .mk__list li { padding-left: 22px; }
/* section titles carry the section name (small numbered lines removed) */
.sec__title { margin: 0 0 clamp(36px, 5vw, 70px); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(40px, 5vw, 84px); line-height: .9; }
.course .sec__title { color: var(--paper); }
.profile__inner { padding-top: clamp(96px, 10vw, 150px); }
/* bullets always before the text, list left-aligned on both sides */
.course .mark:nth-child(odd) .mk__list { text-align: left; }
.course .mark:nth-child(odd) .mk__list li { padding-left: 22px; padding-right: 0; }
.course .mark:nth-child(odd) .mk__list li::before { left: 0; right: auto; }
/* profile text: soft shadow so it reads on the pale part of the sky */
.profile__text { text-shadow: 0 1px 2px rgba(3,26,46,.45), 0 2px 14px rgba(3,26,46,.35); }
/* =========================================================
   v16: "liquid glass" header. A floating frosted capsule:
   blur + saturation behind, bright rim, top highlight.
   Dark glass over the video / dark sections, light glass
   over the light sections (body.nav-dark).
   ========================================================= */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav {
  top: 12px; left: 50%; right: auto; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px)); padding: 10px 14px 10px 22px; border-radius: 999px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 48%, rgba(3,26,46,.10) 100%), rgba(3,26,46,.32);
  backdrop-filter: blur(18px) saturate(1.7) brightness(.92);
  -webkit-backdrop-filter: blur(18px) saturate(1.7) brightness(.92);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 10px 30px -12px rgba(3,26,46,.55);
  pointer-events: auto;
  transition: background .45s, color .45s, border-color .45s, box-shadow .45s;
}
.nav__links a { text-shadow: 0 1px 6px rgba(3,26,46,.35); }
body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.45) 100%);
  border-color: rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -14px rgba(6,42,70,.35);
}
body.nav-dark .nav__links a { text-shadow: none; }
.nav__right { padding-right: 6px; }
@media (max-width: 860px) {
  .nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav { top: 8px; width: calc(100% - 16px); padding: 9px 12px 9px 18px; }
}
/* left-hand legs: the bullet block hugs the central spine (dots still before the text) */
.course .mark:nth-child(odd) .mk__list { width: fit-content; max-width: 100%; margin-left: auto; }
@media (max-width: 860px) { .course .mark:nth-child(odd) .mk__list { width: auto; margin-left: 0; } }
/* =========================================================
   v17: header = full-width, light frosted band at the top of
   the page. Not fixed: it scrolls away and fades as you go down.
   ========================================================= */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  position: absolute; top: 0; left: 0; right: 0; transform: none; width: auto;
  padding: 16px var(--gutter); border-radius: 0; border: 0; box-shadow: none;
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(3,26,46,.42), rgba(3,26,46,.18));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: var(--nav-o, 1); transition: none;
}
body.nav-dark .nav__links a { text-shadow: 0 1px 6px rgba(3,26,46,.35); }
/* left-hand legs: lines aligned to the spine, dot stays at the start of each sentence */
.course .mark:nth-child(odd) .mk__list { width: auto; margin-left: 0; text-align: right; }
.course .mark:nth-child(odd) .mk__list li { padding-left: 0; padding-right: 0; }
.course .mark:nth-child(odd) .mk__list li::before { position: static; display: inline-block; vertical-align: .18em; margin-right: 12px; }
@media (max-width: 860px) {
  .course .mark:nth-child(odd) .mk__list { text-align: left; }
  .course .mark:nth-child(odd) .mk__list li { padding-left: 22px; }
  .course .mark:nth-child(odd) .mk__list li::before { position: absolute; margin-right: 0; }
}
/* the sailed part of the wave: solid turquoise, like a fresh wake */
.course .course__path path { stroke: var(--aqua); stroke-width: 2.5; stroke-dasharray: none; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(57,194,215,.45)); }
/* =========================================================
   v18: clean gallery. Light page background, the photo in
   evidence lifted by a soft dark shadow; navy controls.
   ========================================================= */
.mirror { background: transparent; }
.mirror__stage img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(6,42,70,.10), 0 18px 40px -12px rgba(6,42,70,.35), 0 50px 90px -40px rgba(6,42,70,.45);
}
.mirror__cap { color: var(--ink); text-shadow: none; }
.mirror__cap b { color: var(--signal); }
.mirror__cap i { opacity: .6; }
.mirror__nav { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--line-dark); box-shadow: 0 6px 18px -8px rgba(6,42,70,.35); }
.mirror__nav:hover { background: var(--ink); color: var(--paper); }
.thumbs label { border-color: transparent; opacity: .55; box-shadow: 0 4px 10px -6px rgba(6,42,70,.4); }
.thumbs label:hover { opacity: .9; box-shadow: 0 0 0 2px var(--ink); }
.thumbs label:has(input:checked) { opacity: 1; box-shadow: 0 0 0 3px var(--signal), 0 10px 18px -8px rgba(6,42,70,.5); }
/* =========================================================
   v19: Contatti on Marta's Silvaplana 2025 photo, dimmed.
   Darker on the left (where the text is), lighter on the right
   (where she flies), so she stays visible.
   ========================================================= */
.contact { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--deep); }
.contact::before { display: none; }
.contact__bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%; z-index: 0; }
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,26,46,.88) 0%, rgba(3,26,46,.66) 38%, rgba(3,26,46,.30) 70%, rgba(3,26,46,.22) 100%),
    linear-gradient(to top, rgba(3,26,46,.55), rgba(3,26,46,0) 35%);
}
.contact > *:not(.contact__bg) { position: relative; z-index: 1; }
.cta--solo { background: rgba(3,26,46,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .contact { min-height: 80svh; justify-content: flex-end; }
  .contact__bg { object-position: 62% 40%; }
  .contact::after { background: linear-gradient(to top, rgba(3,26,46,.9) 0%, rgba(3,26,46,.55) 45%, rgba(3,26,46,.25) 100%); }
}
/* =========================================================
   v20: partners without white cards. Logos float on the
   background with a soft shadow; small label underneath.
   ========================================================= */
.pcard, .pcard:hover { background: none; box-shadow: none; border-radius: 0; }
.pcard__k { border-top: 0; padding-top: 4px; }
.pcard__logo { filter: drop-shadow(0 2px 2px rgba(6,42,70,.18)) drop-shadow(0 10px 18px rgba(6,42,70,.22)); transition: transform .5s var(--ease-lift), filter .5s; }
.pcard:hover .pcard__logo { transform: translateY(-5px); filter: drop-shadow(0 3px 3px rgba(6,42,70,.2)) drop-shadow(0 16px 26px rgba(6,42,70,.3)); }
.pcard:hover { transform: none; }
.pcard__logo { transform: scale(1.25); }
.pcard:hover .pcard__logo { transform: scale(1.25) translateY(-4px); }
/* contact button: compact pill instead of a big box */
.cta--solo {
  display: inline-flex; align-items: center; gap: 14px; width: auto; max-width: none;
  padding: 12px 18px 12px 22px; border-radius: 999px; grid-template-columns: none;
}
.cta--solo .mono { font-size: 10px; opacity: .7; }
.cta--solo b { font-size: clamp(18px, 1.5vw, 22px); }
.cta--solo i { font-size: 18px; }

/* full-screen viewer: white, simple */
.lb { background: #fff; color: var(--ink); }
.lb::backdrop { background: rgba(255,255,255,.96); }
.lb__fig img { box-shadow: 0 2px 6px rgba(6,42,70,.08), 0 24px 60px -24px rgba(6,42,70,.35); }
.lb__fig figcaption { color: var(--ink); opacity: .75; }
.lb__x, .lb__nav { color: var(--ink); border-color: var(--line-dark); background: #fff; }
.lb__x:hover, .lb__nav:hover { background: var(--ink); color: #fff; }

/* Carriera: plain ocean gradient (no texture) */
.course > * { position: relative; z-index: 1; }
.cta--solo { align-self: flex-start; }
/* header: transparent, neutral shade that fades out (no hard edge, no blue tint) */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.12) 60%, rgba(0,0,0,0) 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding-top: 18px; padding-bottom: 26px;
}
.nav__mark, .nav__links a, .lang { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* year fills in when the boat reaches its buoy */
.mk__yr { transition: color .6s var(--ease-out), -webkit-text-stroke-color .6s; }
.course .mark.is-reached .mk__yr { color: var(--aqua); -webkit-text-stroke-color: var(--aqua); }
.course .mark__buoy { transition: background .4s, border-color .4s, box-shadow .4s; }
.course .mark.is-reached .mark__buoy { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 0 6px rgba(57,194,215,.2); }
/* header a bit darker, light frosted blur so the menu is always readable */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  background: linear-gradient(to bottom, rgba(0,0,0,.48) 0%, rgba(0,0,0,.30) 65%, rgba(0,0,0,.08) 100%);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.nav__mark, .nav__links a, .lang { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.lang [data-l] { opacity: .65; }
/* =========================================================
   v24: press archive, newest first. Rows like a newspaper index.
   ========================================================= */
.press__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.press__title { margin-bottom: 0; }
.press__count { margin: 0; opacity: .6; }
.press__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.press__list li { border-bottom: 1px solid var(--line-dark); }
.press__list li:nth-child(2) { transition-delay: .05s; } .press__list li:nth-child(3) { transition-delay: .1s; } .press__list li:nth-child(4) { transition-delay: .15s; }
.press__row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(20px, 2.4vw, 30px) 0; text-decoration: none; color: var(--ink);
  transition: padding .45s var(--ease-out), color .3s;
}
.press__date { font-size: 12px; color: var(--teal); }
.press__body { display: grid; gap: 6px; min-width: 0; }
.press__outlet { font-size: 10.5px; opacity: .6; }
.press__h { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 66; font-size: clamp(22px, 2.2vw, 34px); line-height: 1; letter-spacing: .005em; }
html[data-lang="en"] .press__h { display: block !important; }   /* headlines stay in their original Italian */
.press__sum { font-family: var(--f-serif); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.4; opacity: .8; }
.press__go { font-size: 11px; white-space: nowrap; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.press__row:hover { padding-left: 14px; color: var(--signal); }
.press__row:hover .press__go { background: var(--signal); color: #fff; border-color: var(--signal); }
@media (max-width: 760px) {
  .press__row { grid-template-columns: 1fr; gap: 8px; }
  .press__go { justify-self: start; }
}
/* press + photos share the light background: don't double the spacing between them */
.press { padding-bottom: clamp(40px, 4vw, 64px); }
.press + .gallery, #foto { padding-top: clamp(40px, 4vw, 64px); }
/* header a touch lighter */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  background: linear-gradient(to bottom, rgba(0,0,0,.36) 0%, rgba(0,0,0,.22) 65%, rgba(0,0,0,.05) 100%);
}
/* =========================================================
   v25: press as an article gallery (magazine contents page)
   ========================================================= */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pgrid > li { min-width: 0; }
.pgrid > li:nth-child(n+2) { transition-delay: calc((var(--d, 0)) * 1s); }
.pc--feature { grid-column: span 2; }
.pc { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.pc__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--mist);
  box-shadow: 0 2px 6px rgba(6,42,70,.08), 0 16px 34px -18px rgba(6,42,70,.4); }
.pc--feature .pc__img { aspect-ratio: 16 / 9.2; }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__img--type {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: var(--paper);
  background: radial-gradient(120% 80% at 80% 0%, rgba(57,194,215,.35), transparent 60%), linear-gradient(160deg, #0b5d8f, #062a46);
}
.pc__img--type b { font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(80px, 8vw, 130px); line-height: .8; }
.pc__img--type b sup { font-size: .35em; color: var(--aqua); }
.pc__img--type i { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; opacity: .85; }
.pc__body { display: grid; gap: 8px; padding: 16px 2px 0; }
.pc__meta { font-size: 10.5px; color: var(--teal); }
.pc__h { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 66; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.02; }
.pc--feature .pc__h { font-size: clamp(26px, 2.4vw, 38px); }
.pc__sum { font-family: var(--f-serif); font-size: 16px; line-height: 1.4; opacity: .78; }
.pc__go { font-size: 10.5px; margin-top: 4px; color: var(--signal); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease-out); }
.pc:hover .pc__go, .pc:focus-visible .pc__go { opacity: 1; transform: none; }
.pc:hover .pc__h { color: var(--signal); }
@media (hover: none) { .pc__go { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } .pc--feature { grid-column: auto; } }
/* every buoy is hollow until the line reaches it (no pre-filled "hot" buoys) */
.course .mark .mark__buoy, .course .mark.mark--hot .mark__buoy { background: var(--ink); border: 1.5px solid rgba(244,248,249,.85); box-shadow: none; }
.course .mark.is-reached .mark__buoy { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 0 6px rgba(57,194,215,.2); }
.course .mark.mark--hot .mk__yr { color: transparent; -webkit-text-stroke-color: rgba(57,194,215,.55); }
.course .mark.is-reached .mk__yr { color: var(--aqua); -webkit-text-stroke-color: var(--aqua); }
/* page rhythm: light / dark alternate. Press now sits on deep ocean */
.press { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
#foto { padding-bottom: clamp(60px, 7vw, 110px); }
.press .sec__title, .press .pc { color: var(--paper); }
.press .press__count { color: var(--paper); }
.press .pc__meta { color: var(--aqua); }
.press .pc__sum { opacity: .8; }
.press .pc:hover .pc__h, .press .pc__go { color: var(--aqua); }
.press .pc__img { box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
/* =========================================================
   v26: press = hover-reveal index (magazine contents page).
   Rows of headlines on the left; the hovered article's photo
   in a fixed panel on the right; row line fills like a waterline.
   ========================================================= */
.pindex { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.pindex__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244,248,249,.25); }
.pi {
  position: relative; display: grid; grid-template-columns: 150px 1fr 28px; grid-template-areas: "meta h arrow" "meta sum arrow";
  column-gap: clamp(16px, 2vw, 32px); row-gap: 6px; align-items: baseline;
  padding: clamp(18px, 2vw, 26px) 0; text-decoration: none; color: var(--paper);
}
.pi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(244,248,249,.18); }
.pi::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--aqua); z-index: 1;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.pi.is-on::before, .pi:focus-visible::before { transform: scaleX(1); }
.pi__meta { grid-area: meta; display: grid; gap: 6px; font-size: 10.5px; align-self: start; padding-top: 6px; }
.pi__meta time { color: var(--aqua); }
.pi__meta b { font-weight: 500; opacity: .65; }
.pi__h {
  grid-area: h; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 66;
  font-size: clamp(22px, 2.15vw, 34px); line-height: 1; opacity: .55; transition: opacity .35s, transform .5s var(--ease-out);
}
.pi.is-on .pi__h, .pi:focus-visible .pi__h { opacity: 1; transform: translateX(6px); }
.pi__sum { grid-area: sum; font-family: var(--f-serif); font-size: 16.5px; line-height: 1.4; opacity: .55; transition: opacity .35s, transform .5s var(--ease-out); }
.pi.is-on .pi__sum { opacity: .85; transform: translateX(6px); }
.pi__arrow { grid-area: arrow; align-self: center; font-size: 22px; color: var(--aqua); opacity: 0; transform: translate(-6px, 6px); transition: opacity .35s, transform .45s var(--ease-lift); }
.pi.is-on .pi__arrow { opacity: 1; transform: none; }
.pi__thumb { display: none; }

.pindex__preview { position: sticky; top: 90px; aspect-ratio: 4 / 3.3; }
.pp { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(.97); transition: opacity .5s, transform .7s var(--ease-out); }
.pp.is-on { opacity: 1; transform: none; }
.pp__media { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); }
.pp__media img { width: 100%; height: 100%; object-fit: cover; }
.pp__media--type { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: var(--paper);
  background: radial-gradient(120% 80% at 80% 0%, rgba(57,194,215,.35), transparent 60%), linear-gradient(160deg, #0b5d8f, #062a46); }
.pp__media--type b { font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(110px, 11vw, 180px); line-height: .8; }
.pp__media--type b sup { font-size: .35em; color: var(--aqua); }
.pp__media--type i { font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; }
.pp figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 10.5px; padding: 6px 10px; border-radius: 99px; background: rgba(3,26,46,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-width: 900px) {
  .pindex { grid-template-columns: 1fr; }
  .pindex__preview { display: none; }
  .pi { grid-template-columns: 96px 1fr; grid-template-areas: "thumb meta" "thumb h" "sum sum"; row-gap: 8px; }
  .pi__thumb { display: block; grid-area: thumb; width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; align-self: start; }
  .pi__thumb--type { display: grid; place-items: center; background: linear-gradient(160deg, #0b5d8f, #062a46); font-weight: 900; font-size: 44px; font-variation-settings: "wdth" 62; }
  .pi__thumb--type sup { font-size: .4em; color: var(--aqua); }
  .pi__meta { display: flex; gap: 10px; padding-top: 0; }
  .pi__h, .pi__sum { opacity: 1; transform: none !important; font-size: 21px; }
  .pi__sum { font-size: 15.5px; opacity: .8; }
  .pi__arrow { display: none; }
}
/* press on pale sea-mist (not blue): light sections no longer look identical back to back */
.press { background: #e3edf2; color: var(--ink); }
.partners { background: var(--paper); }
.press .sec__title, .press .press__count { color: var(--ink); }
.pindex__list { border-top-color: rgba(6,42,70,.25); }
.pi { color: var(--ink); }
.pi::after { background: rgba(6,42,70,.14); }
.pi::before { background: var(--signal); }
.pi__meta time { color: var(--signal); }
.pi__arrow { color: var(--signal); }
.pp__media { box-shadow: 0 2px 6px rgba(6,42,70,.1), 0 26px 50px -24px rgba(6,42,70,.45); }
@media (max-width: 900px) {
  .pi__thumb--type { display: flex; align-items: center; justify-content: center; color: var(--paper); line-height: 1; }
  .pi__thumb--type sup { position: relative; top: -.6em; font-size: .38em; margin-left: 1px; }
  .pi__meta { flex-wrap: wrap; row-gap: 2px; }
  .pi__meta time { white-space: nowrap; }
}
/* =========================================================
   v27: press = magazine covers (bento). Photo tiles of
   different sizes, headline written on the photo.
   ========================================================= */
.covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(190px, 17vw, 270px); gap: 12px; }
.cv--0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.cv--1 { grid-column: 3; grid-row: 1; }
.cv--2 { grid-column: 4; grid-row: 1 / 3; }
.cv--3 { grid-column: 3; grid-row: 2; }
.cv--4 { grid-column: 1; grid-row: 3; }
.cv--5 { grid-column: 2; grid-row: 3; }
.cv--6 { grid-column: 3 / 5; grid-row: 3; }
.cv:nth-child(2) { transition-delay: .05s; } .cv:nth-child(3) { transition-delay: .1s; } .cv:nth-child(4) { transition-delay: .15s; }
.cv:nth-child(5) { transition-delay: .2s; } .cv:nth-child(6) { transition-delay: .25s; } .cv:nth-child(7) { transition-delay: .3s; }
.cv > a {
  position: relative; display: block; height: 100%; overflow: hidden; border-radius: 10px; text-decoration: none; color: #fff;
  background: var(--ink); box-shadow: 0 2px 6px rgba(6,42,70,.1), 0 20px 40px -24px rgba(6,42,70,.5);
}
.cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cv > a:hover img { transform: scale(1.05); }
.cv > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,26,46,.92) 0%, rgba(3,26,46,.55) 38%, rgba(3,26,46,0) 70%); }
.cv__type { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 30%;
  font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(90px, 8vw, 140px); line-height: 1;
  background: radial-gradient(120% 80% at 80% 0%, rgba(57,194,215,.35), transparent 60%), linear-gradient(160deg, #0b5d8f, #062a46); }
.cv__type sup { font-size: .35em; color: var(--aqua); position: relative; top: -.4em; }
.cv__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(14px, 1.6vw, 24px); }
.cv__meta { font-size: 10px; color: var(--aqua); }
.cv__h { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 66; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.02; }
.cv--0 .cv__h { font-size: clamp(26px, 2.6vw, 42px); }
.cv--6 .cv__h, .cv--2 .cv__h { font-size: clamp(19px, 1.6vw, 26px); }
.cv__sum { font-family: var(--f-serif); font-size: 15px; line-height: 1.35; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.cv--0 .cv__sum { max-height: 6em; font-size: clamp(15px, 1.15vw, 18px); }
.cv > a:hover .cv__sum, .cv > a:focus-visible .cv__sum { max-height: 6em; }
.cv__go { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 16px;
  opacity: 0; transform: translate(-4px, 4px); transition: opacity .35s, transform .45s var(--ease-lift); }
.cv > a:hover .cv__go, .cv > a:focus-visible .cv__go { opacity: 1; transform: none; }
@media (hover: none) { .cv__go { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .covers { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .cv--0 { grid-column: 1 / 3; grid-row: auto / span 2; }
  .cv--1, .cv--2, .cv--3, .cv--4, .cv--5 { grid-column: auto; grid-row: auto; }
  .cv--6 { grid-column: 1 / 3; grid-row: auto; }
  .cv__sum { display: none; }
  .cv--0 .cv__sum { display: block; }
}
.cv__type { display: flex; align-items: flex-start; justify-content: center; padding: 18px 0 0; }
.cv__type sup { top: .1em; margin-left: 2px; }
.cv--6 img { object-position: 50% 80%; }
.cv--5 img { object-position: 50% 30%; }
/* 6 tiles: IVG becomes the tall tile next to the lead */
.cv--3 { grid-column: 3; grid-row: 1 / 3; }
.cv--3 img { object-position: 78% 50%; }
@media (max-width: 900px) { .cv--3 { grid-column: auto; grid-row: auto; } }
/* =========================================================
   v28: mobile pass
   ========================================================= */
html, body { overflow-x: clip; }
.results, .gallery, .press, .partners, .course { overflow-x: clip; }
@media (max-width: 860px) {
  /* thumb-sized tap targets (44px) */
  .burger { width: 44px; height: 44px; margin-right: -8px; }
  .burger > span:not(.sr) { left: 10px; right: 10px; }
  .burger > span:nth-child(1) { top: 17px; } .burger > span:nth-child(2) { top: 25px; }
  .burger[aria-expanded="true"] > span:nth-child(1), .burger[aria-expanded="true"] > span:nth-child(2) { top: 21px; }
  .lang { padding: 12px 6px; }
  .nav__mark { padding: 8px 0; }
  .nav { padding-top: 8px; padding-bottom: 14px; }
  /* profile: less dead space under the photo */
  .profile__inner { padding-top: 28px; }
  .profile__img { height: 56svh; }
  /* partners: logos at natural size in two columns */
  .pcard__logo, .pcard:hover .pcard__logo { transform: none; height: 120px; padding: 10px; }
  .logo--turtle { font-size: 22px; white-space: nowrap; }
  .logo--surfando { font-size: 26px; }
  .logo--nobrand { font-size: 22px; }
  .pcards { gap: 22px 10px; }
  /* results: a hint of the next column, then swipe */
  .season { flex: 0 0 82vw; }
  /* gallery: photo a bit bigger, arrows under it */
  .mirror__stage { padding: 0 var(--gutter); }
  .mirror__nav { top: auto; bottom: auto; position: static; transform: none; }
  .mirror { gap: 14px; }
  .mirror__navs { display: flex; gap: 12px; justify-content: center; }
  /* section titles a little smaller on phones */
  .sec__title, .insta__title, .board__title, .partners__title, .contact__big { font-size: 44px; }
}
@media (max-width: 860px) { .mirror__nav { display: none; } }
/* header: more transparent; menu in the site's display font (Archivo condensed) with a light shadow */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.12) 60%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.nav__links a, .lang {
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .07em;
  font-variation-settings: "wdth" 75; text-transform: uppercase;
}
.nav__mark, .nav__links a, .lang { text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 0 14px rgba(0,0,0,.18); }
/* 7 tiles: lead (2×2), video interview (tall), Salice (tall); IVG, Nonsolonautica, RIWmag, La Stampa below */
.covers > .cv--0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.covers > .cv--reel { grid-column: 3; grid-row: 1 / 3; }
.covers > .cv--2 { grid-column: 4; grid-row: 1 / 3; }
.covers > .cv--3 { grid-column: 1; grid-row: 3; }
.covers > .cv--4 { grid-column: 2; grid-row: 3; }
.covers > .cv--5 { grid-column: 3; grid-row: 3; }
.covers > .cv--6 { grid-column: 4; grid-row: 3; }
.cv--reel img { object-position: 50% 45%; }
.cv__play {
  position: absolute; z-index: 1; top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px;
  font-size: 18px; color: #fff; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .45s var(--ease-lift), background .3s;
}
.cv > a:hover .cv__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(57,194,215,.55); }
@media (max-width: 900px) {
  .covers > .cv--0, .covers > .cv--reel, .covers > .cv--2, .covers > .cv--3, .covers > .cv--4, .covers > .cv--5, .covers > .cv--6 { grid-column: auto; grid-row: auto; }
  .covers > .cv--0 { grid-column: 1 / 3; grid-row: span 2; }
  .covers > .cv--reel, .covers > .cv--2 { grid-row: span 2; }
}
/* header: almost clear glass; the video's own top shade lightened too */
.nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
  background: linear-gradient(to bottom, rgba(0,0,0,.12) 0%, rgba(0,0,0,.05) 70%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
html[data-hero="video"] .hero__media::after {
  background:
    linear-gradient(to bottom, rgba(3,26,46,.22) 0%, rgba(3,26,46,0) 18%),
    linear-gradient(to right, rgba(3,26,46,.6) 0%, rgba(3,26,46,.2) 38%, rgba(3,26,46,0) 55%),
    linear-gradient(to top, rgba(3,26,46,.65) 0%, rgba(3,26,46,0) 34%);
}
.nav__mark, .nav__links a, .lang { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 0 16px rgba(0,0,0,.25); }
/* =========================================================
   v29: mobile round 2
   ========================================================= */
.board-tabs { display: none; }
@media (max-width: 860px) {
  /* header readable over bright sky */
  .nav, body.nav-solid .nav, body.nav-solid:not(.nav-dark) .nav, body.nav-dark .nav, body.nav-dark.nav-solid .nav {
    background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.25) 65%, rgba(0,0,0,0) 100%);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  /* hero name: two big lines, higher on the screen */
  .name { left: var(--gutter); right: auto; text-align: left; white-space: normal; font-size: 27vw; line-height: .84; }
  .name br { display: inline !important; }
  /* results: year tabs, one season shown, vertical list */
  .board-tabs { display: flex; gap: 6px; margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
  .board-tabs::-webkit-scrollbar { display: none; }
  .board-tabs button {
    flex: 1 0 auto; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-dark);
    font-family: var(--f-display); font-weight: 800; font-size: 17px; font-variation-settings: "wdth" 70; color: var(--ink);
  }
  .board-tabs button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .board { display: block; overflow: visible; margin-right: 0; padding-right: 0; border-top: 0; padding-top: 0; }
  .season { display: none; }
  .season.is-on { display: block; }
  .season .season__head { display: none; }
  .board.is-in .season.is-on .race { animation: race-in .5s var(--ease-lift) forwards; animation-delay: calc(var(--i, 0) * 25ms); }
  /* contact: tighter gap before the Instagram button */
  .cta--solo { margin-top: 20px; }
}
/* phones: "← scorri →" hint on the photo, fades after the first swipe */
.mirror__hint { display: none; }
@media (max-width: 860px) {
  .mirror__stage { position: relative; }
  .mirror__hint {
    display: block; position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
    top: calc(clamp(18px, 3vw, 36px) + 12px); padding: 8px 16px; border-radius: 999px; white-space: nowrap;
    color: #fff; font-size: 11px; background: rgba(3,26,46,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    pointer-events: none; transition: opacity .5s; animation: hint-nudge 2.4s ease-in-out infinite;
  }
  .mirror.is-used .mirror__hint { opacity: 0; animation: none; }
}
@keyframes hint-nudge { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 6px)); } }
/* phones: shorter hero, less empty water under the name */
@media (max-width: 860px) { .hero { height: 82svh; min-height: 520px; } }
.menu a { font-size: clamp(36px, 10.5vw, 70px); padding: 8px 0; }
@media (max-width: 860px) { .profile__inner { padding-bottom: 48px; } }
@media (max-width: 860px) { .hero { height: 100svh; min-height: 560px; } }
/* hint sits under the thumbnails, as quiet text */
@media (max-width: 860px) {
  .mirror__hint {
    position: static; transform: none; animation: none; align-self: center; margin-top: -4px;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--teal); padding: 4px 0;
  }
}
.contact .cta--solo { margin-top: 28px; }
