:root {
  color-scheme: only light;
  font: 112.5%/1.58 "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #262435;
  --paper: #faf8f5;
  --accent: #463663;
  --deep: #2e2543;
  --tint: #eee7f3;
  --line: #dcd5e2;
  --muted: #59546a;
}
* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
body.coastal { background: #fff; color: #151739; --paper: #fff; --accent: #171c72; --deep: #10135a; --tint: #e8f8f6; --line: #c6e1df; --muted: #525572; --orange: #ff9024; --turquoise: #63d7cc; --teal: #125b59; }
img { display: block; max-width: 100%; }
svg { width: 1.12em; height: 1.12em; flex: none; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #aa5500; outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
main:focus { outline: none; }
h1, h2 { font-family: Georgia, serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 5.7vw, 4.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.wrap { width: min(calc(100% - 3rem), 70rem); margin-inline: auto; }
.skip { position: absolute; top: .4rem; left: .4rem; background: white; padding: .65rem; transform: translateY(-200%); z-index: 2; }
.skip:focus { transform: none; }
.utility-row, .masthead { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.utility { background: var(--deep); color: #fff; font-size: .83rem; border-bottom: 3px solid var(--orange); }
.utility-row { justify-content: flex-end; }
.utility-links { display: flex; gap: .25rem; }
.utility-links a { display: flex; align-items: center; gap: .35rem; min-height: 44px; padding-inline: .55rem; border-radius: 2rem; text-decoration: none; }
.utility-links a:hover, .utility-links a:focus-visible { background: #ffffff24; }
.utility-links svg { width: 1.25em; height: 1.25em; color: #ffb36c; }
.site-header { background: var(--turquoise); }
.masthead { padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; text-decoration: none; line-height: 1.17; color: var(--deep); }
.brand img { width: clamp(3.15rem, 5.6vw, 4rem); height: auto; aspect-ratio: 1; object-fit: contain; flex: none; }
.coastal .brand img { border-radius: 50%; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .77rem; font-weight: 600; }
.menu-toggle { display: none; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .15rem; }
nav :is(a, summary) { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 44px; padding: .3rem .48rem; border-radius: 2rem; font-size: .82rem; line-height: 1.25; font-weight: 650; text-decoration: none; transition: color 160ms, background-color 160ms; }
nav a[aria-current] { color: var(--accent); background: #ffe5c1; }
nav a:hover, nav a:focus-visible, nav a:active { background: var(--tint); color: var(--accent); }
.results-menu { display: flex; align-items: center; position: relative; }
.results-options { display: none; position: absolute; top: 100%; left: 0; z-index: 3; min-width: max-content; padding: .35rem; border-radius: .9rem; background: var(--paper); box-shadow: 0 .5rem 1.5rem #10135a2b; }
.results-menu:focus-within .results-options { display: block; }
.results-touch { display: none; position: relative; }
.results-touch summary { width: 100%; gap: .2rem; cursor: pointer; list-style: none; }
.results-touch summary::-webkit-details-marker { display: none; }
.results-touch[open] summary { background: var(--tint); color: var(--accent); }
.results-touch[open] summary svg { transform: rotate(180deg); }
.results-touch[open] .results-options { display: block; border: 1px solid var(--line); }
@media (hover: hover) {
  .results-menu:hover .results-options { display: block; }
}
@media (max-width: 42rem), (hover: none) {
  .results-menu { display: none; }
  .results-touch { display: block; }
}
.results-options a { display: flex; justify-content: space-between; padding-inline: .7rem; }
nav a.masterpoint { background: #b51325; color: #fff; gap: .35rem; }
nav a.masterpoint:is(:hover, :focus-visible) { background: #8d1020; color: #fff; }
.shore-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(22rem, 39vw, 33rem); background: #11143f; color: #fff; }
.shore-copy { padding-block: clamp(1.35rem, 3vw, 2.5rem); }
.shore-copy h1 { font-size: clamp(2rem, 4.3vw, 3.55rem); max-width: 22ch; }
.hero-image { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; opacity: 0; animation: photo-slot 12s steps(1, end) infinite; }
.hero-image img:last-child { object-position: center 48%; }
.shore-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #11143fe8 0%, #11143f78 25%, transparent 65%); }
.hero-image img:first-child { opacity: 1; }
.hero-image img:nth-child(2) { animation-delay: -8s; }
.hero-image img:nth-child(3) { animation-delay: -4s; }
@keyframes photo-slot {
  0% { opacity: 1; }
  33.333333%, 100% { opacity: 0; }
}
.home-updates { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); max-width: 58rem; margin-block: 2.3rem; }
.home-updates h2 { margin-bottom: .75rem; padding-left: .55rem; border-left: 4px solid var(--orange); }
.tournament-hours { container-type: inline-size; }
.tournament-hours h2 { font-size: 1.35rem; font-size: clamp(1.25rem, 10cqi, 2.35rem); }
.tournament-hours dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .85rem; margin-top: 0; border-top: 1px solid var(--line); }
.tournament-hours dl div { display: block; }
.tournament-hours time { font-variant-numeric: tabular-nums; }
.tournament-hours .button { margin-top: .85rem; background: var(--orange); color: #151739; }
.tournament-hours .button:is(:hover, :focus-visible) { background: #ffc379; }
.photo-albums { display: grid; gap: .65rem; }
.photo-album { border: 1px solid var(--line); border-radius: .85rem; }
.photo-album summary { display: flex; align-items: center; gap: .65rem; min-height: 54px; padding: .75rem; cursor: pointer; list-style: none; }
.photo-album summary::-webkit-details-marker { display: none; }
.photo-album summary > span { flex: 1; }
.photo-album summary svg:first-child { width: 1.55rem; height: 1.55rem; color: var(--accent); }
.photo-album summary small { display: block; color: var(--muted); }
.photo-album[open] summary svg:last-child { transform: rotate(180deg); }
.photo-album summary:is(:hover, :focus-visible) { background: var(--tint); border-radius: .85rem; }
.photo-album .photo-gallery { padding: .25rem .75rem .75rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .85rem; }
.photo-gallery figure { max-width: 25rem; }
.photo-gallery a { display: block; cursor: zoom-in; }
.photo-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: .8rem; background: var(--tint); }
.announcement-copy { margin-bottom: 1rem; }
.announcement-copy p + p { margin-top: .4rem; }
.photo-viewer { width: min(calc(100% - 1rem), 92rem); max-width: none; max-height: calc(100% - 1rem); margin: auto; padding: .6rem; border: 0; border-radius: .85rem; background: #101329; color: #fff; }
.photo-viewer[open] { display: grid; gap: .55rem; }
.photo-viewer::backdrop { background: #080b1ee8; }
body:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer-toolbar, .photo-viewer-controls:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.photo-viewer button { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .3rem .7rem; border: 0; border-radius: .55rem; background: #fff; color: #101329; font-size: .9rem; font-weight: 700; }
.photo-viewer-stage { position: relative; }
.photo-viewer-image { width: 100%; height: min(83vh, 58rem); height: min(83dvh, 58rem, calc(100dvh - 5rem)); object-fit: contain; }
.photo-viewer-controls { position: absolute; inset: 0; pointer-events: none; }
.photo-viewer-controls button { justify-content: center; min-width: 48px; min-height: 48px; font-size: 1.4rem; pointer-events: auto; }
.button, .text-link, .row-link, .back-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; font-weight: 650; color: var(--accent); }
.button { background: var(--accent); color: #fff; border-radius: 2rem; padding: .6rem 1rem; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--deep); }
.text-link:hover, .row-link:hover, .back-link:hover { text-decoration-thickness: 2px; }
.subtle { color: var(--muted); font-size: .85rem; }
.coastal .home-news .event-list strong { font-size: 1rem; }
.coastal .home-news .event-list { border-left: 0; padding-left: 0; }
.coastal .home-news .event-list li { border-top: 1px solid var(--line); }
.coastal .home-news .event-list li::before { content: none; }
.coastal .home-news .event-list a { padding-block: .75rem; }
.event-list { margin: 0; padding: 0 0 0 1.05rem; border-left: 1px solid var(--line); list-style: none; }
.event-list li { position: relative; }
.event-list li::before { content: ""; position: absolute; top: 1rem; left: -1.31rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
.event-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding-block: .25rem .65rem; min-height: 48px; text-decoration: none; }
.announcement-thumb { width: 76px; height: 60px; border-radius: .6rem; object-fit: cover; }
.event-list a:hover strong { text-decoration: underline; }
.event-list small, .event-list strong { display: block; }
.event-list small { color: var(--muted); }
.event-list svg { color: var(--accent); }
.page-heading { background: var(--tint); border-radius: 0 0 55% 1.8rem / 0 0 1.5rem 1rem; padding-block: 1.25rem 2rem; }
.page-heading .wrap, .page-content { max-width: 52rem; }
.page-heading h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
.page-content { margin-inline: auto; padding-block: clamp(1.5rem, 4vw, 3rem); }
.page-content .lead { margin-bottom: 1.1rem; }
.page-content .subtle { margin-top: .4rem; }
.page-content .event-list { margin-bottom: .65rem; }
.content-section { margin-top: 1.7rem; }
.education-list { list-style: none; padding: 0; margin: .6rem 0 0; }
.education-list li { border-bottom: 1px solid var(--line); }
.education-list a { width: 100%; justify-content: space-between; }
.about-intro, .management { max-width: 39rem; margin-inline: auto; }
.about-intro, .management h2, .management > p { text-align: center; }
.management { margin-top: 1.65rem; }
.management dl { margin-top: 1.25rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(1.1rem, 4vw, 2.8rem); }
.contact-layout a[href^="mailto:"] { overflow-wrap: anywhere; }
.contacts > div { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.contacts dt strong { display: block; color: inherit; }
.contacts dd { align-self: center; }
.contacts dd a { display: inline-flex; align-items: center; min-height: 44px; }
.iban { margin-top: .4rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.club-map { display: block; width: 100%; border: 1px solid var(--line); border-radius: .75rem; background: var(--tint); }
.club-map-large { height: clamp(17rem, 42vw, 23rem); margin-top: .7rem; }
.link-list { display: grid; justify-items: start; margin-top: .7rem; }
.row-link { padding-block: .25rem; }
address { font-style: normal; margin-top: .6rem; }
dl { margin: 1rem 0 0; }
dl div { display: grid; grid-template-columns: minmax(7rem, .8fr) 1.2fr; gap: .75rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 650; }
footer { background: var(--turquoise); border-top: 3px solid var(--orange); }
.footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 4vw, 3rem); padding-block: 1.6rem; }
.footer ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.footer address { margin-top: .4rem; }
.footer-pages ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer .text-link { min-height: 44px; }
@media (max-width: 56rem) {
  .masthead { display: block; }
  nav { justify-content: flex-start; margin-top: .4rem; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: .45rem; }
  .brand img { width: 3rem; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .35rem .65rem;
    border: 1px solid var(--deep);
    border-radius: .7rem;
    background: var(--paper);
    color: var(--deep);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-toggle svg { width: 1.25em; height: 1.25em; }
  .menu-toggle[aria-expanded="true"] { background: #ffe5c1; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  nav { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem; margin-top: 0; }
  nav :is(a, summary) { padding-inline: .2rem; }
  .results-touch .results-options { left: 50%; transform: translateX(-50%); }
  .announcement-thumb { width: 54px; height: 50px; }
  .hero-image img:last-child { object-fit: contain; object-position: center top; }
  .home-updates { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .photo-viewer-image { height: min(70vh, 58rem); height: min(70dvh, calc(100dvh - 8rem)); }
  .photo-viewer-controls { position: static; margin-top: .55rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1.65rem; }
}
@media (max-width: 32rem) {
  .footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  nav :is(a, summary) { transition: none; }
  .hero-image img { animation: none; }
}
