/* We Are At The Same Boat – project site (simple theme) */
@font-face { font-family: "Quicksand"; font-weight: 500; font-display: swap; src: url("fonts/quicksand-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2026, U+2192; }
@font-face { font-family: "Quicksand"; font-weight: 600; font-display: swap; src: url("fonts/quicksand-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2026, U+2192; }
@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url("fonts/quicksand-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2026, U+2192; }
@font-face { font-family: "Quicksand"; font-weight: 500; font-display: swap; src: url("fonts/quicksand-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Quicksand"; font-weight: 600; font-display: swap; src: url("fonts/quicksand-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url("fonts/quicksand-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }

:root { --navy: #0d2c4a; --navy-2: #133a60; --cyan: #00b1df; --cyan-dk: #006f8e; --yel: #ffdb00; --sea: #e6f6fb;
  --paper: #ffffff; --ink: #0d2c4a; --muted: #3c5368; --line: #d5e4ea; --wrap: 1080px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Quicksand", system-ui, sans-serif; font-weight: 500; color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 1.0625rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-dk); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
strong, b { font-weight: 700; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--yel); color: var(--navy); padding: .6rem 1rem; border-radius: 999px; }

/* header (same family as the other sites) */
.top { background: var(--navy); color: #fff; border-bottom: 4px solid var(--yel); }
.top .wrap { width: min(100% - 2.5rem, 1260px); display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand:hover, .brand:hover span { color: #fff; }
.brand span { font-weight: 700; font-size: 1.05rem; padding-left: 1rem; border-left: 2px solid #2f6a96; line-height: 1.2; }
.brand i { display: none; }
.nav { display: flex; flex-wrap: wrap; gap: .15rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; padding: .5rem .8rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--yel); color: var(--navy); }
.nav a.out { color: #cfe6f2; gap: .3rem; }
.nav a.out:hover { color: #fff; }
.lang { display: inline-flex; border: 1px solid #2f6a96; border-radius: 999px; padding: 3px; gap: 2px; }
.lang a { color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; min-width: 44px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 .7rem; }
.lang a:hover { background: var(--navy-2); color: #fff; }
.lang a[aria-current="true"] { background: #fff; color: var(--navy); }

/* page */
.head { background: var(--sea); }
.head .wrap { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.head p { color: var(--muted); font-size: 1.15rem; max-width: 46rem; margin-top: .8rem; }
.head .meta { font-weight: 700; color: var(--navy); }
.page { padding-block: 1rem 4rem; }
.s { padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.s:first-child { border-top: 0; }
.col { max-width: 46rem; }
.col > * + * { margin-top: 1rem; }
.col h3 { margin-top: 1.8rem; }
.s > h2, .s .col > h2 { margin-bottom: 1rem; }
.muted { color: var(--muted); }
ul, ol { padding-left: 1.3rem; margin: 0; }
li + li { margin-top: .35rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; }
.two > div > * + * { margin-top: .8rem; }
.note { background: var(--sea); border-left: 4px solid var(--cyan); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }
.todo { background: #ffe7a8; border-radius: 4px; padding: 0 .3em; }

/* tables & facts */
.tw { overflow-x: auto; }
table.t { border-collapse: collapse; width: 100%; max-width: 46rem; font-size: 1rem; }
table.t th, table.t td { text-align: left; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t thead th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); }
table.t td.n { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
table.t .de { color: var(--cyan-dk); }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.5rem; margin: 0; max-width: 46rem; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; color: var(--muted); }

/* photos */
.ph { margin: 1.5rem 0 0; max-width: 46rem; }
.ph img { border-radius: 10px; }
.ph figcaption { color: var(--muted); font-size: .95rem; margin-top: .4rem; }

/* footer */
.foot { background: var(--navy); color: #cfe6f2; border-top: 4px solid var(--yel); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-block: 2.6rem 2.2rem; }
.foot img { height: 50px; width: auto; margin-bottom: 1rem; }
.foot h2 { font-size: .95rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .7rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot li + li { margin-top: 0; }
.foot a { color: #fff; text-decoration-color: var(--cyan); font-weight: 600; }
.foot a:hover { color: var(--yel); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid #23507a; padding-top: 1.1rem; font-size: .92rem; }

/* visual helpers */
.head.has-art .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(1.8rem, 4vw, 3rem); }
.head .art svg { width: 100%; height: auto; max-width: 340px; margin-left: auto; }
.ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sea); flex: 0 0 52px; }
.ic svg { display: block; }
h2.hi { display: flex; align-items: center; gap: .8rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 0 0 .5rem; }
.stats div { border-left: 4px solid var(--yel); padding: .2rem 0 .2rem 1rem; }
.stats dd { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; order: -1; }
.stats div { display: flex; flex-direction: column; }
.stats dt { color: var(--muted); font-size: .98rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.cards.c2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cd { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem 1.2rem; background: #fff; }
.cd .ic { margin-bottom: .7rem; }
.cd h3 { font-size: 1.1rem; }
.cd p { margin-top: .4rem; color: var(--muted); font-size: 1rem; }
.cd p.go { margin-top: .7rem; }
.more { margin-top: .6rem; }
.more summary { cursor: pointer; font-weight: 700; color: var(--cyan-dk); font-size: .95rem; list-style: none; display: inline-flex; align-items: center; gap: .3rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; flex: 0 0 auto; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / .6rem 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px .6rem no-repeat, var(--sea); transition: transform .2s; }
.more[open] summary::after { background: linear-gradient(currentColor, currentColor) center / .6rem 2px no-repeat, var(--sea); transform: rotate(180deg); }
.more summary:hover::after { background-color: #d3eff8; }
.more > div { margin-top: .5rem; color: var(--muted); }
.more > div > * + * { margin-top: .6rem; }
@media (max-width: 860px) { .two, .foot .wrap, .head.has-art .wrap { grid-template-columns: minmax(0, 1fr); } .head .art svg { max-width: 240px; margin: 0; } }
@media (max-width: 560px) {
  .top .wrap { padding-block: .7rem; gap: .6rem 1rem; }
  .lang { order: 2; } .nav { order: 3; width: 100%; }
  .nav a { padding: .45rem .8rem; } .nav a.out { display: none; }
  .brand { gap: .6rem; } .brand img { height: 34px; } .brand span { font-size: .95rem; padding-left: .6rem; }
  .lang a { min-width: 40px; min-height: 36px; padding: 0 .5rem; }
  dl.facts { grid-template-columns: minmax(0, 1fr); gap: .1rem; } dl.facts dd { margin-bottom: .6rem; }
}
@media (max-width: 370px) { .brand span { display: none; } }


.site-main .brand span { display: none; }
.acts h3:first-child { margin-top: 0; }
.date { font-weight: 700; color: var(--navy); font-size: .92rem; }
ul.cols { columns: 2 260px; column-gap: 2rem; }
ul.cols li { break-inside: avoid; }
.col:has(ul.cols) { max-width: none; }
.nw + .nw { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.nw > * + * { margin-top: .4rem; }
.nw .muted { font-weight: 700; font-size: .95rem; }
iframe.tally { border: 0; margin-top: .6rem; }
.article h2 { margin-top: 2.2rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.article ul li + li { margin-top: .5rem; }
.cd h3 a, .cd h3 a:visited { color: var(--navy); text-decoration: none; }
.cd h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta .by { font-weight: 700; }
.banner { display: block; margin: 0 0 2rem; max-width: 60rem; }
.banner img { display: block; width: 100%; height: auto; border-radius: 12px; }
/* article card with banner: picture flush on top, text below; wide screens: picture left, text right */
#clanky .cd.has-ban { padding: 0; overflow: hidden; display: flex; flex-direction: column; grid-column: 1 / -1; max-width: 60rem; transition: box-shadow .2s, transform .2s; }
#clanky .cd.has-ban:hover { box-shadow: 0 10px 28px rgba(13, 44, 74, .12); transform: translateY(-2px); }
#clanky .cd .ban { display: flex; align-items: center; background: #0d2c4a; line-height: 0; }
#clanky .cd .ban img { display: block; width: 100%; height: auto; border-radius: 0; }
#clanky .cd .txt { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
#clanky .cd h3 { font-size: 1.3rem; line-height: 1.25; }
#clanky .cd .date { display: inline-block; font-size: .85rem; color: var(--navy); background: var(--sea); border-radius: 999px; padding: .15rem .7rem; margin-bottom: .6rem; align-self: flex-start; }
#clanky .cd .pr { margin-top: .5rem; }
#clanky .cd p.go { margin-top: auto; padding-top: .9rem; }
#clanky .cd p.go a { display: inline-block; background: var(--yel, #ffdb00); color: #0d2c4a; font-weight: 700; text-decoration: none; border-radius: 999px; padding: .45rem 1.1rem; }
#clanky .cd p.go a:hover { filter: brightness(.95); }
@media (min-width: 760px) {
  #clanky .cd.has-ban { flex-direction: row; }
  #clanky .cd .ban { flex: 0 0 50%; }
  #clanky .cd .txt { padding: 1.4rem 1.6rem; }
}

/* sneak-peek banner: one stage, the pieces of each banner animate in and out */
.peek { margin: 0 0 2.4rem; max-width: 60rem; }
.stage { position: relative; container-type: inline-size; aspect-ratio: 3 / 1; background: #0d2c4a; border-radius: 14px; overflow: hidden; touch-action: pan-y; }
.bgw { position: absolute; inset: 0; width: 100%; height: 100%; }
.bgw path { transform-box: fill-box; transform-origin: center; animation: pk-drift 6s ease-in-out infinite alternate; }
.bgw path:nth-child(2n) { animation-duration: 7.5s; animation-direction: alternate-reverse; }
.bgw path:nth-child(3n) { animation-duration: 5s; }
@keyframes pk-drift { to { transform: translateX(18px); } }

.sc { position: absolute; inset: 0; display: grid; grid-template-columns: 38% 1fr; align-items: center; color: #fff; text-decoration: none; visibility: hidden; }
.sc:hover, .sc:focus, .sc:active, .sc:visited { color: #fff; }
.sc:hover .sc-h { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.peek:not(.js) .sc:first-child, .sc.in, .sc.out { visibility: visible; }
.sc:focus-visible { outline: 4px solid #ffdb00; outline-offset: -4px; border-radius: 14px; }
.sc-art { position: relative; height: 100%; display: grid; place-items: center; }
.isl-svg { width: 88%; height: auto; overflow: visible; }
.isl-svg .isl, .isl-svg .bub, .isl-svg .bob { transform-box: fill-box; transform-origin: 50% 50%; }
.sc-art img.bub { width: 86%; height: auto; }
.bob { animation: pk-bob 3.2s ease-in-out infinite; }
@keyframes pk-bob { 50% { transform: translateY(-5%); } }
.sc-txt { display: block; padding: 0 5cqw 0 1cqw; }
.sc-label, .sc-h, .sc-foot { display: block; }
.sc-label { font-weight: 700; font-size: 2.5cqw; color: var(--acc, #ffdb00); }
.sc-h { overflow: hidden; margin-top: .8cqw; padding-bottom: .3cqw; font-weight: 700; font-size: 4.3cqw; line-height: 1.13; }
.sc-h > span { display: block; }
.sc-foot { margin-top: 2cqw; display: flex; align-items: center; flex-wrap: wrap; gap: 1.4cqw; }
.sc-pill, .sc-note { display: inline-block; }
.sc-pill { background: #ffdb00; color: #0d2c4a; border-radius: 999px; padding: .7cqw 2cqw; font-size: 2.1cqw; font-weight: 700; }
.sc-note { color: #9fdcef; font-size: 1.9cqw; font-weight: 700; }

/* with JavaScript: pieces start hidden and are choreographed by .in / .out */
.peek.js .sc .isl, .peek.js .sc .bub, .peek.js .sc-label, .peek.js .sc-pill, .peek.js .sc-note { opacity: 0; }
.peek.js .sc-h > span { transform: translateY(115%); }
.sc.in .isl { animation: pk-isl .6s cubic-bezier(.2, .8, .2, 1) both; }
.sc.in .bub { animation: pk-pop .75s .12s cubic-bezier(.3, .7, .3, 1.25) both; }
.sc.in .sc-label { animation: pk-right .5s .22s cubic-bezier(.2, .8, .2, 1) both; }
.sc.in .sc-h > span { animation: pk-rise .65s .32s cubic-bezier(.2, .8, .2, 1) both; }
.sc.in .sc-pill { animation: pk-pill .5s .62s cubic-bezier(.3, .7, .3, 1.3) both; }
.sc.in .sc-note { animation: pk-right .5s .78s cubic-bezier(.2, .8, .2, 1) both; }
.sc.out .bub { animation: pk-sink .42s cubic-bezier(.6, 0, .8, .4) both; }
.sc.out .isl { animation: pk-sink .42s .05s cubic-bezier(.6, 0, .8, .4) both; }
.sc.out .sc-label, .sc.out .sc-foot .sc-pill, .sc.out .sc-note { animation: pk-left .36s cubic-bezier(.6, 0, .8, .4) both; }
.sc.out .sc-h > span { animation: pk-down .38s cubic-bezier(.6, 0, .8, .4) both; }
@keyframes pk-isl { from { opacity: 0; transform: translateY(40%) scaleX(.3); } to { opacity: 1; transform: none; } }
@keyframes pk-pop { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pk-right { from { opacity: 0; transform: translateX(10cqw); } to { opacity: 1; transform: none; } }
@keyframes pk-rise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes pk-pill { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes pk-sink { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(25%) scale(.5) rotate(15deg); } }
@keyframes pk-left { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-8cqw); } }
@keyframes pk-down { from { transform: none; } to { transform: translateY(115%); } }

/* coloured wipe that crosses the stage between two banners */
.wipe { position: absolute; top: -20%; bottom: -20%; left: -60%; width: 34%; background: var(--wc, #ffdb00); transform: skewX(-16deg); z-index: 3; pointer-events: none; }
.wipe::after { content: ""; position: absolute; top: 0; bottom: 0; left: 108%; width: 30%; background: #00b1df; }
.stage.wiping .wipe { animation: pk-wipe .95s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes pk-wipe { from { left: -60%; } to { left: 135%; } }

/* controls */
.peek-ctl { display: none; align-items: center; gap: .5rem; margin-top: .8rem; }
.peek.js .peek-ctl { display: flex; }
.peek-ctl > button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.peek-ctl > button:hover { background: var(--sea); }
.peek-dots { flex: 1; display: flex; justify-content: center; gap: .3rem; }
.peek-dot { position: relative; width: 38px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; }
.peek-dot::before, .peek-dot::after { content: ""; position: absolute; left: 4px; right: 4px; top: 19px; height: 6px; border-radius: 99px; background: #d3e3ea; }
.peek-dot::after { background: var(--navy); transform: scaleX(0); transform-origin: left; }
.peek-dot.on::after { animation: peekfill 6s linear forwards; }
.peek.hold .peek-dot.on::after { animation-play-state: paused; }
.peek.stopped .peek-dot.on::after { animation: none; transform: none; }
@keyframes peekfill { to { transform: none; } }
.peek-pause .i-play, .peek.stopped .peek-pause .i-pause { display: none; }
.peek.stopped .peek-pause .i-play { display: block; }

/* phones: taller stage, picture above the text */
@media (max-width: 600px) {
  .stage { aspect-ratio: 5 / 4; }
  .sc { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; align-items: start; }
  .sc-art { height: 100%; }
  .isl-svg { width: auto; height: 36cqw; margin-top: 2cqw; }
  .sc-art img.bub { width: 70%; align-self: center; }
  .sc-txt { padding: 2cqw 6cqw 0; }
  .sc-label { font-size: 4.4cqw; }
  .sc-h { font-size: 6.6cqw; }
  .sc-pill { font-size: 3.6cqw; padding: 1.2cqw 3.4cqw; }
  .sc-note { font-size: 3.4cqw; }
  .sc-foot { margin-top: 3cqw; }
  .peek-dot { width: 26px; }
  .peek-dots { gap: 0; }
  .peek-ctl { gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .peek.js .sc *, .bgw path, .bob, .stage.wiping .wipe { animation: none !important; }
  .peek.js .sc .isl, .peek.js .sc .bub, .peek.js .sc-label, .peek.js .sc-pill, .peek.js .sc-note { opacity: 1; }
  .peek.js .sc-h > span { transform: none; }
  .wipe { display: none; }
}

