/* 0.31.0: the new single team page (Carsten, 25 Nov). Black throughout, Anton headings, blue labels, soft fades. */
body:has(.wtr-t3) .wtr-team-single-page, body:has(.wtr-t3) .wtr-team-single-main { max-width: none !important; margin: 0 !important; padding: 0 !important; background: #000 !important; }

.wtr-t3 { --t3-blue: #62d0f5; --t3-display: var(--wtr-font-display, Anton, Impact, sans-serif); --t3-body: var(--wtr-font-body, Inter, system-ui, sans-serif); --t3-pad: 64px; background: #000; color: #fff; font-family: var(--t3-body); overflow: hidden; }
.wtr-t3 a { color: inherit; text-decoration: none; }
.wtr-t3-label { margin: 0 0 14px; color: var(--t3-blue); font: 700 12px/1.2 var(--t3-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-t3-flag { flex: none; border-radius: 2px; object-fit: cover; }

/* ---- Header ---- */
.wtr-t3-head { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 800px; overflow: hidden; background: #000; }
.wtr-t3-head-photo { position: absolute; top: 0; right: calc(-1 * var(--t3-hx, 0%)); bottom: 0; width: 60%; /* 0.31.7: 0.31.5's 60% again (Barry) */ overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%); }
.wtr-t3-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.65) 16%, rgba(0,0,0,0) 40%); }
.wtr-t3-head-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; filter: brightness(.97) saturate(.95) contrast(1.08); animation: wtr-t3-zoom 7s ease-out both; transform-origin: 55% 35%; }
.wtr-t3-head-top { position: absolute; z-index: 3; top: 40px; left: var(--t3-pad); }
/* 0.31.3: the class word at the top, away from the oar blade: top left under ‹ ALL TEAMS, or top right. */
.wtr-t3-ghost { position: absolute; z-index: 3; top: 74px; left: var(--t3-pad); color: transparent; font: 400 120px/1 var(--t3-display); letter-spacing: .02em; -webkit-text-stroke: 1.6px rgba(255, 255, 255, .7); pointer-events: none; }
.wtr-t3-ghost.is-right { top: 40px; right: var(--t3-pad); left: auto; }
.wtr-t3:not(.has-photo) .wtr-t3-head { min-height: 560px; background: radial-gradient(circle at 80% 20%, rgba(98, 208, 245, .12), transparent 55%), #000; }
.wtr-t3-head-inner { position: relative; z-index: 3; padding: 250px var(--t3-pad) 40px; animation: wtr-t3-up 1s ease-out both; }
/* 0.31.3 (Barry): crews of three or more on a laptop: the photo on the right at its own shape (nobody cropped off the
   sides), fading in from the left and into black at its foot, so the text keeps a black side. */
.wtr-t3.is-wide .wtr-t3-head-photo { left: auto; right: calc(-1 * var(--t3-hx, 0%)); bottom: auto; width: 62%; height: auto; /* 0.31.7: 0.31.5's 62% again */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%);
    mask-composite: intersect; }
.wtr-t3.is-wide .wtr-t3-head-photo::after { display: none; }
.wtr-t3.is-wide .wtr-t3-head-photo img { position: relative; inset: auto; width: 100%; height: auto; object-fit: initial; transform-origin: 60% 35%; }
/* 0.31.4: the zoom (110% for crews by default, set per team), from the photo's left edge, so the crew moves right. */
.wtr-t3-head-photo img { scale: var(--t3-hz, 1); translate: 0 0; }
.wtr-t3-head-photo { --t3-hz-origin: 0% 40%; }
.wtr-t3-head-photo img { transform-origin: var(--t3-hz-origin); }
.wtr-t3-back { display: inline-flex; gap: 8px; color: rgba(255, 255, 255, .75) !important; font: 700 11px/1 var(--t3-body); letter-spacing: .18em; text-transform: uppercase; }
.wtr-t3-back:hover { color: #fff !important; }
.wtr-t3-eyebrow { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 12px; font: 700 12px/1.2 var(--t3-body); letter-spacing: .2em; text-transform: uppercase; }
.wtr-t3-crew { color: var(--t3-blue); }
.wtr-t3-title { max-width: 820px; margin: 0; color: #fff; font: 400 96px/.92 var(--t3-display); text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.wtr-t3-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; font: 700 13px/1.2 var(--t3-body); letter-spacing: .14em; }
.wtr-t3-nation { display: inline-flex; align-items: center; gap: 8px; }
.wtr-t3-who > .wtr-t3-flag + span { margin-left: -8px; }
.wtr-t3-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.wtr-t3-follow > span { margin-right: 4px; color: rgba(255, 255, 255, .6); font: 700 11px/1 var(--t3-body); letter-spacing: .18em; text-transform: uppercase; }
.wtr-t3-follow a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff !important; transition: border-color .2s, background .2s; }
.wtr-t3-follow a:hover { border-color: var(--t3-blue); background: rgba(98, 208, 245, .12); }
.wtr-t3-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 34px; }
.wtr-t3-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0 44px; margin: 0; }
.wtr-t3-stats > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.wtr-t3-stats dd { margin: 0; font: 400 44px/1 var(--t3-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wtr-t3-stats dt { color: var(--t3-blue); font: 700 11px/1.2 var(--t3-body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.wtr-t3-updated { margin-top: 12px; color: rgba(255, 255, 255, .45); font: 700 10px/1.3 var(--t3-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-t3-updated * { margin: 0; font: inherit; color: inherit; }
.wtr-t3-status { margin-bottom: 6px; }
.wtr-t3-status.is-phone { display: none; }
.wtr-t3-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wtr-t3-pill { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border: 1px solid rgba(98, 208, 245, .5); border-radius: 999px; background: rgba(0, 0, 0, .55); white-space: nowrap; }
.wtr-t3-pill.is-live { gap: 10px; border-color: rgba(255, 77, 77, .6); }
.wtr-t3-pill-label { color: var(--t3-blue); font: 700 11px/1 var(--t3-body); letter-spacing: .18em; text-transform: uppercase; }
.wtr-t3-pill-big { font: 400 24px/1 var(--t3-display); letter-spacing: .02em; text-transform: uppercase; }
.wtr-t3-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: wtr-t3-pulse 1.6s ease-in-out infinite; }
.wtr-t3-pill.is-link { color: #fff !important; transition: background .2s, border-color .2s, color .2s; }
.wtr-t3-pill.is-link:hover, .wtr-t3-pill.is-link:focus-visible { border-color: var(--t3-blue); background: var(--t3-blue); color: #000 !important; }
.wtr-t3-pill-arrow { font: 700 18px/1 var(--t3-body); }
.wtr-t3-btn { display: inline-block; padding: 14px 22px; border-radius: 999px; /* 0.31.10: pill-shaped, to sit with the pill */ background: var(--t3-blue); color: #000 !important; font: 800 13px/1 var(--t3-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.wtr-t3-btn:hover { background: #fff; }

/* ---- Sections ---- */
.wtr-t3-sec { padding: 64px var(--t3-pad) 0; }
.wtr-t3-story-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.wtr-t3-story-grid.is-for-only { grid-template-columns: minmax(0, 1fr); }
.wtr-t3-solo-grid { display: grid; grid-template-columns: .82fr 1.35fr; gap: 64px; align-items: start; }
.wtr-t3-solo-grid .wtr-t3-solo-text { order: 2; }
.wtr-t3-solo-grid .wtr-t3-solo-card { order: 1; }
.wtr-t3-solo-text .wtr-t3-for { margin-top: 40px; }
.wtr-t3-quote { margin: 0 0 22px; color: #fff; font: 400 44px/1.02 var(--t3-display); text-transform: uppercase; text-wrap: balance; }
.wtr-t3-story-text p { max-width: 680px; margin: 0 0 16px; color: rgba(255, 255, 255, .85); font: 400 18px/1.65 var(--t3-body); }
.wtr-t3-charities { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wtr-t3-solo-text .wtr-t3-charities { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wtr-t3-charity { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border: 1px solid #222; border-radius: 12px; background: #0f0f0f; }
.wtr-t3-charity h3 { margin: 0; color: #fff; font: 400 22px/1.1 var(--t3-display); text-transform: uppercase; }
.wtr-t3-charity p { margin: 0; color: rgba(255, 255, 255, .72); font: 400 14px/1.5 var(--t3-body); }
.wtr-t3-give { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.wtr-t3-give > span { color: rgba(255, 255, 255, .6); font: 500 12px/1.4 var(--t3-body); letter-spacing: .06em; }

.wtr-t3-crew { display: grid; grid-template-columns: repeat(var(--wtr-t3-n, 4), minmax(0, 1fr)); gap: 16px; }
.wtr-t3-crew[style*="--wtr-t3-n:2"], .wtr-t3-crew[style*="--wtr-t3-n:3"] { grid-template-columns: repeat(var(--wtr-t3-n), minmax(0, 340px)); }
.wtr-t3-rower { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #222; border-radius: 12px; background: #0f0f0f; }
.wtr-t3-rower-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.wtr-t3-rower-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.97) saturate(.95) contrast(1.08); transition: transform 1.2s ease; }
.wtr-t3-rower-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 55%, rgba(15,15,15,.65) 80%, #0f0f0f 100%); }
.wtr-t3-rower:hover .wtr-t3-rower-photo img { transform: scale(1.05); }
.wtr-t3-rower-body { position: relative; padding: 20px; }
.wtr-t3-rower-photo + .wtr-t3-rower-body { margin-top: -18px; padding-top: 0; }
.wtr-t3-rower-name { margin: 0; color: #fff; font: 400 26px/1.02 var(--t3-display); text-transform: uppercase; }
.is-solo .wtr-t3-rower-name { font-size: 32px; }
.wtr-t3-rower-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; color: rgba(255, 255, 255, .85); font: 500 13px/1.2 var(--t3-body); letter-spacing: .08em; text-transform: uppercase; }
.wtr-t3-sep { color: rgba(255, 255, 255, .35); }

.wtr-t3-boat { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: center; padding-top: 72px; }
.wtr-t3-h2 { margin: 0 0 10px; color: #fff; font: 400 56px/.95 var(--t3-display); text-transform: uppercase; }
.wtr-t3-boat-line { margin: 0; color: rgba(255, 255, 255, .8); font: 400 18px/1.5 var(--t3-body); }
.wtr-t3-specs { display: flex; flex-wrap: wrap; gap: 48px; margin: 34px 0 0; }
.wtr-t3-specs > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.wtr-t3-specs dd { margin: 0; font: 400 38px/1 var(--t3-display); }
.wtr-t3-specs dt { color: var(--t3-blue); font: 700 11px/1.2 var(--t3-body); letter-spacing: .16em; text-transform: uppercase; }
.wtr-t3-boat-drawing svg, .wtr-t3-boat-drawing img { display: block; width: 100%; height: auto; }

.wtr-t3-race { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 30px var(--t3-pad); border-top: 1px solid rgba(255, 255, 255, .1); }
.wtr-t3-race p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin: 0; }
.wtr-t3-race .wtr-t3-label { margin: 0; }
.wtr-t3-route { font: 400 40px/1 var(--t3-display); }
.wtr-t3-race-facts { color: rgba(255, 255, 255, .75); font: 500 14px/1.2 var(--t3-body); letter-spacing: .12em; }
.wtr-t3-ghostbtn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; font: 800 11px/1 var(--t3-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.wtr-t3-ghostbtn:hover { border-color: #fff; }

.wtr-t3-media { padding-top: 72px; }
.wtr-t3-media-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wtr-t3-media-head a, .wtr-t3-mediabar a { font: 800 12px/1 var(--t3-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.wtr-t3-media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wtr-t3-media-row.is-four { grid-template-columns: repeat(4, 1fr); } /* 0.32.26: the newest 4 photos */
.wtr-t3-media-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #222; border-radius: 12px; }
.wtr-t3-media-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.97) saturate(.95) contrast(1.08); transition: transform 1.2s ease; }
.wtr-t3-media-item:hover img { transform: scale(1.05); }
.wtr-t3-mediabar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 26px var(--t3-pad); border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wtr-t3-mediabar p { margin: 0; color: rgba(255, 255, 255, .7); font: 500 14px/1.4 var(--t3-body); }
.wtr-t3-mediabar .wtr-t3-label { display: inline; margin: 0 14px 0 0; }

.wtr-t3-next { position: relative; display: block; min-height: 420px; margin-top: 72px; overflow: hidden; background: #000; }
.wtr-t3-next-photo { position: absolute; top: 0; bottom: 0; left: 0; width: 58%; overflow: hidden; -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%); mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%); }
.wtr-t3-next-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.97) saturate(.95) contrast(1.08); transform: scale(1.06); transition: transform 7s ease-out; }
.wtr-t3-next.is-in .wtr-t3-next-photo img { transform: scale(1); }
.wtr-t3-next-text { position: relative; display: block; padding: 130px var(--t3-pad); }
.wtr-t3-next.has-photo .wtr-t3-next-text { margin-left: 48%; }
.wtr-t3-next .wtr-t3-label { display: block; }
.wtr-t3-next-name { display: block; max-width: 640px; color: #fff; font: 400 84px/.95 var(--t3-display); text-transform: uppercase; }
.wtr-t3-next:hover .wtr-t3-next-name { color: var(--t3-blue); }
.wtr-t3-next-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; color: rgba(255, 255, 255, .75); font: 700 12px/1.2 var(--t3-body); letter-spacing: .16em; }

/* ---- Motion: sections and cards fade up (only once the script starts it, so nothing hides without it) ---- */
.wtr-t3.is-animated .wtr-t3-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; transition-delay: calc(var(--wtr-t3-i, 0) * .08s); }
.wtr-t3.is-animated .wtr-t3-reveal.is-in { opacity: 1; transform: none; }
@keyframes wtr-t3-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes wtr-t3-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wtr-t3-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Smaller laptops and tablets ---- */
@media (max-width: 1179px) {
    .wtr-t3 { --t3-pad: 40px; }
    .wtr-t3-head { min-height: 720px; }
    .wtr-t3-head-photo { width: 70%; }
    .wtr-t3.is-wide .wtr-t3-head-photo { width: 70%; }
    .wtr-t3-ghost { font-size: 96px; }
    .wtr-t3-head-inner { padding-top: 220px; }
    .wtr-t3-title { font-size: 80px; }
    .wtr-t3-next-name { font-size: 60px; }
}
@media (max-width: 999px) {
    /* 0.31.2 (Barry: half the crew disappeared on smaller screens): the header stacks. The whole photo, uncropped, on top,
       fading into black at its foot; ‹ ALL TEAMS and the class word, then the text, below it. */
    .wtr-t3-head { display: block; min-height: 0 !important; }
    .wtr-t3-head-photo, .wtr-t3.is-wide .wtr-t3-head-photo { position: relative; inset: auto; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%); }
    .wtr-t3-head-photo::after { display: none; }
    .wtr-t3-head-photo img, .wtr-t3.is-wide .wtr-t3-head-photo img { position: relative; inset: auto; width: 100%; height: auto; object-fit: initial; scale: 1; }
    .wtr-t3.is-wide .wtr-t3-head-photo { -webkit-mask-composite: source-over; mask-composite: add; }
    .wtr-t3-head-top { position: relative; top: auto; left: auto; margin-top: -34px; padding: 0 var(--t3-pad); }
    .wtr-t3:not(.has-photo) .wtr-t3-head-top { margin-top: 0; padding-top: 40px; }
    /* The class word at the top of the photo, on its blade-free side. */
    .wtr-t3-ghost, .wtr-t3-ghost.is-right { top: 18px; font-size: 64px; }
    .wtr-t3-ghost.is-left { left: var(--t3-pad); right: auto; }
    .wtr-t3-ghost.is-right { right: var(--t3-pad); left: auto; }
    .wtr-t3:not(.has-photo) .wtr-t3-ghost { top: 28px; right: var(--t3-pad); left: auto; } /* no photo yet: opposite ‹ ALL TEAMS */
    .wtr-t3-head-inner, .wtr-t3.has-photo .wtr-t3-head-inner { padding: 22px var(--t3-pad) 36px; }
    .wtr-t3-boat { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .wtr-t3-crew { grid-template-columns: repeat(min(var(--wtr-t3-n, 3), 3), minmax(0, 1fr)) !important; }
}
/* ---- Phones ---- */
@media (max-width: 767px) {
    .wtr-t3 { --t3-pad: 20px; }
    .wtr-t3-ghost, .wtr-t3-ghost.is-right { font-size: 56px; }
    .wtr-t3-title { font-size: 56px; }
    .wtr-t3-stats { gap: 0 26px; }
    .wtr-t3-stats dd { font-size: 34px; }
    .wtr-t3-stats dt { font-size: 10px; }
    .wtr-t3-pill { gap: 10px; padding: 10px 16px; }
    .wtr-t3-pill-big { font-size: 20px; }
    .wtr-t3-sec { padding-top: 48px; }
    .wtr-t3-story-grid, .wtr-t3-solo-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .wtr-t3-solo-grid .wtr-t3-solo-text { order: 1; }
    .wtr-t3-solo-grid .wtr-t3-solo-card { order: 2; max-width: 440px; }
    .wtr-t3-quote { font-size: 34px; }
    .wtr-t3-story-text p { font-size: 16px; }
    .wtr-t3-crew, .wtr-t3-media-row { display: flex !important; gap: 12px; margin: 0 calc(-1 * var(--t3-pad)); padding: 0 var(--t3-pad) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--t3-pad); scrollbar-width: none; }
    .wtr-t3-crew::-webkit-scrollbar, .wtr-t3-media-row::-webkit-scrollbar { display: none; }
    .wtr-t3-crew > .wtr-t3-rower { flex: 0 0 72%; scroll-snap-align: start; }
    .wtr-t3-media-row > .wtr-t3-media-item { flex: 0 0 80%; scroll-snap-align: start; }
    .wtr-t3-h2 { font-size: 40px; }
    .wtr-t3-specs { gap: 28px; }
    .wtr-t3-specs dd { font-size: 30px; }
    .wtr-t3-route { font-size: 30px; }
    .wtr-t3-next { min-height: 380px; }
    .wtr-t3-next-name { font-size: 48px; }
}
@media (max-width: 559px) {
    .wtr-t3-ghost, .wtr-t3-ghost.is-right { top: 14px; font-size: 44px; }
    .wtr-t3-title { font-size: 48px; }
    .wtr-t3-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
    .wtr-t3-status.is-phone { display: block; margin: 0; }
    .wtr-t3-status.is-wide { display: none; }
    .wtr-t3-next-photo { left: 0; right: 0; bottom: auto; width: auto; height: 250px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
    .wtr-t3-next.has-photo .wtr-t3-next-text { margin-left: 0; padding: 200px 20px 44px; }
    .wtr-t3-next-text { padding: 60px 20px 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .wtr-t3-head-photo img, .wtr-t3-head-inner, .wtr-t3-dot { animation: none; }
    .wtr-t3-next-photo img { transform: none; transition: none; }
}

/* 0.31.15 (Carsten): long team names (16+ characters) smaller, so they fit on one line on a laptop; balanced breaks */
.wtr-t3-title { text-wrap: balance; }
.wtr-t3-title.is-long { font-size: 72px !important; }
@media (max-width: 1179px) { .wtr-t3-title.is-long { font-size: 60px !important; } }
@media (max-width: 767px) { .wtr-t3-title.is-long { font-size: 44px !important; } }
@media (max-width: 559px) { .wtr-t3-title.is-long { font-size: 38px !important; } }
/* 0.31.15 (Carsten): the header and boat numbers in Anton (a site-wide rule had them in the thin font) */
.wtr-t3 :is(.wtr-t3-stats, .wtr-t3-specs) dd { font-family: var(--wtr-font-display, Anton, Impact, sans-serif) !important; font-weight: 400 !important; }

/* 0.31.17: a site-wide rule capped headlines at about 8x their size (569px here), so THE ENTREPRENEUR SHIP broke even
   with room to spare; the team name gets the header's real width. team-page3.js shrinks the odd one still too long. */
.wtr-t3 .wtr-t3-title { max-width: min(820px, 100%) !important; }

/* 0.31.19 (Carsten, Malihini Holo): the header photo drifts in from the left over half its width, no edge behind the
   team name (laptops; phones stack the photo above the words). */
@media (min-width: 1000px) {
    .wtr-t3 .wtr-t3-head-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.28) 18%, rgba(0,0,0,.58) 30%, rgba(0,0,0,.86) 42%, #000 52%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.28) 18%, rgba(0,0,0,.58) 30%, rgba(0,0,0,.86) 42%, #000 52%); }
    .wtr-t3.is-wide .wtr-t3-head-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.28) 18%, rgba(0,0,0,.58) 30%, rgba(0,0,0,.86) 42%, #000 52%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 8%, rgba(0,0,0,.28) 18%, rgba(0,0,0,.58) 30%, rgba(0,0,0,.86) 42%, #000 52%), linear-gradient(180deg, #000 62%, rgba(0,0,0,.5) 84%, transparent 100%); }
}
/* 0.31.19: after the race, WORLD RECORD among the numbers, in words (its label is the record). */
.wtr-t3 .wtr-t3-stats .is-word dd { font-size: 30px !important; line-height: 1.05; }
/* 0.31.19 (Carsten): before and after, side by side, the after portrait fading in as the card comes into view, as on
   the Rower Stories pages; "[X] DAYS LATER" over the crew. */
.wtr-t3-rower-photo.is-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.wtr-t3-rower-photo.is-ba img { position: relative; inset: auto; width: 100%; height: 100%; object-fit: cover; }
.wtr-t3-rower-photo.is-ba .wtr-t3-ba-after { opacity: 0; transition: opacity 1.4s ease .5s, transform 1.2s ease; } /* 0.31.24: the hover zoom eases like the before half (it jumped: the fade-in rule had replaced its transition) */
.wtr-t3-rower.is-in .wtr-t3-ba-after, .wtr-t3:not(.is-animated) .wtr-t3-ba-after { opacity: 1; }
.wtr-t3-ba-tag { position: absolute; bottom: 26px; z-index: 2; color: rgba(255, 255, 255, .85); font: 800 10px/1 var(--t3-body, Inter, sans-serif); letter-spacing: .16em; text-transform: uppercase; }
.wtr-t3-ba-tag.is-before { left: 12px; }
.wtr-t3-ba-tag.is-after { left: calc(50% + 12px); }
.wtr-t3 .wtr-t3-ba-head { margin: 4px 0 22px; color: #fff; font: 400 clamp(40px, 5vw, 64px)/1 var(--t3-display) !important; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .wtr-t3-rower-photo.is-ba .wtr-t3-ba-after { opacity: 1; transition: transform 1.2s ease; } }

/* 0.32.0: the rowers' cut-out over the header photo and its class word (same frame, crop, zoom and fades). */
.wtr-t3-head-photo.is-cutout { z-index: 4; pointer-events: none; }

/* 0.32.4 (Carsten): a headshot on the crew card until the before portrait exists; black and white when the switch on
   Team photos → Headshots says so (the photos themselves stay in colour). */
.wtr-t3-rower-photo.is-headshot.is-bw img { filter: grayscale(1) var(--wtr-crisp, contrast(1.05)) !important; } /* 0.32.5: the theme's site-wide crisp filter (chrome.css, !important) replaced the grey; now grey, then the same crisp filter */

/* 0.32.12 (Carsten: more blur at the bottom of the headshots, to hide bare shoulders): headshots fade to black higher
   up, with a soft blur under the fade. Strength set on Teams → Team photos → Headshots; Strong by default. */
.wtr-t3-rower-photo.is-headshot { isolation: isolate; } /* 0.32.13: keeps the fade's layers inside the photo, so the name below (pulled up over the photo) stays on top */
.wtr-t3-rower-photo.is-headshot { --hs-f1: 62%; --hs-f2: 80%; --hs-f3: 95%; --hs-blur: 6px; } /* 0.32.14 (Carsten: "one tiny bit down") */
.wtr-t3-rower-photo.is-headshot.fade-standard { --hs-f1: 55%; --hs-f2: 80%; --hs-f3: 100%; --hs-blur: 0px; }
.wtr-t3-rower-photo.is-headshot.fade-strongest { --hs-f1: 55%; --hs-f2: 70%; --hs-f3: 86%; --hs-blur: 10px; }
.wtr-t3-rower-photo.is-headshot::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; -webkit-backdrop-filter: blur(var(--hs-blur)); backdrop-filter: blur(var(--hs-blur)); -webkit-mask-image: linear-gradient(180deg, transparent var(--hs-f1), #000 var(--hs-f2)); mask-image: linear-gradient(180deg, transparent var(--hs-f1), #000 var(--hs-f2)); }
.wtr-t3-rower-photo.is-headshot::after { z-index: 2; background: linear-gradient(180deg, rgba(15,15,15,0) var(--hs-f1), rgba(15,15,15,.8) var(--hs-f2), #0f0f0f var(--hs-f3)); }

/* 0.32.17: see front.css, the header cut-out waits for the photo under it. */
.wtr-t3-head-photo.is-cutout { opacity: 0; transition: opacity .25s ease; }
.wtr-t3-head-photo.is-cutout.is-ready { opacity: 1; }

/* 0.32.22 (Carsten, Team Spirit: "Challenge on web version is the very big black space"): on laptops the header was
   always at least 800px tall, while a crew photo shown at its own shape is only about 41% of the screen's width tall,
   so a smaller laptop got a tall black band under and beside it. The header now follows the photo: 44% of the screen's
   width, between 600px (room for the class word and the name) and 800px (as before, on big screens). */
@media (min-width: 1000px) {
    .wtr-t3.has-photo .wtr-t3-head { min-height: clamp(600px, 44vw, 800px); }
    .wtr-t3.has-photo .wtr-t3-head-inner { padding-top: 200px; }
}

/* 0.32.30 (Barry, 5 Dec) */
/* Some header photos covered the LIVE pill and the FOLLOW THE RACE LIVE button: the rowers' cut-out (the layer that puts
   the class word behind the crew) sat on top of everything, fade included. The words and buttons now sit above it; the
   cut-out still covers the class word. Only crews with a working cut-out on the photo side had it, hence "some pages". */
.wtr-t3-head-top, .wtr-t3-head-inner { z-index: 5; }
/* Pairs and trios: the crew cards centred, THE CREW above the first card (laptops; tablets and phones as before). */
@media (min-width: 1000px) {
    .wtr-t3-crew-sec.is-few > * { max-width: calc(var(--wtr-t3-n, 3) * 340px + (var(--wtr-t3-n, 3) - 1) * 16px); margin-left: auto; margin-right: auto; }
    .wtr-t3-crew-sec.is-few .wtr-t3-crew { grid-template-columns: repeat(var(--wtr-t3-n, 3), minmax(0, 1fr)); }
}

/* 0.32.31 (Barry, 5 Dec) */
/* Laptops: the class word always top left, with the name, crew, follow links and numbers straight under it rather than
   at the foot of the header, so there's no empty black corner at the top left. The LIVE · 7 DAYS TO GO pill sits under
   the numbers; FOLLOW THE RACE LIVE stays bottom right. Tablets and phones as before. */
@media (min-width: 1000px) {
    .wtr-t3 .wtr-t3-head-inner, .wtr-t3.has-photo .wtr-t3-head-inner { flex: 1 0 auto; display: flex; flex-direction: column; padding-top: 224px; }
    .wtr-t3-bar { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 22px; }
    .wtr-t3-status.is-wide { margin-bottom: 0; }
    .wtr-t3-status.is-wide .wtr-t3-btn { position: absolute; right: var(--t3-pad); bottom: 40px; }
}
@media (min-width: 1000px) and (max-width: 1179px) {
    .wtr-t3 .wtr-t3-head-inner, .wtr-t3.has-photo .wtr-t3-head-inner { padding-top: 198px; }
}

/* 0.32.32 (Barry, 5 Dec): the LIVE pill the same height, shape and width as FOLLOW THE RACE LIVE, and on the same line:
   the pill under the numbers on the left, the button level with it on the right. */
.wtr-t3-pill.is-live { box-sizing: border-box; height: 41px; min-width: 243px; justify-content: center; padding: 0 22px; gap: 10px; }
.wtr-t3-pill.is-live .wtr-t3-pill-big { font-size: 20px; line-height: 1; letter-spacing: .04em; }
.wtr-t3-pill.is-live .wtr-t3-dot { width: 8px; height: 8px; }
.wtr-t3-status-row .wtr-t3-btn { box-sizing: border-box; min-width: 243px; text-align: center; }
@media (min-width: 1000px) {
    .wtr-t3-status.is-wide { align-self: stretch; margin-bottom: 0; }
    .wtr-t3-status.is-wide .wtr-t3-status-row { justify-content: space-between; }
    .wtr-t3-status.is-wide .wtr-t3-btn { position: static; }
}
