@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("./assets/sofia-poster-cyrillic.woff2") format("woff2");
  font-weight: 1000;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("./assets/sofia-poster-latin.woff2") format("woff2");
  font-weight: 1000;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #112f38;
  --deep: #102f39;
  --sea: #164653;
  --paper: #f5f2e9;
  --pale: #e7ece3;
  --salt: #faf6e9;
  --accent: #ff9b6c;
  --accent-hot: #ffb58e;
  --muted: #405b5c;
  --slate: #c2d8d6;
  --line: #c4ccc0;
  --sea-line: #53757c;
  --edge: clamp(16px, 4.1vw, 68px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.57 system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid #b64327; outline-offset: 5px; }
.hero :focus-visible, .join :focus-visible, .route :focus-visible, .footer :focus-visible, .masthead :focus-visible { outline-color: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { font-weight: 650; line-height: 1.16; letter-spacing: -.02em; }
.poster-title {
  font-family: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(3.4rem, calc(5.6vw + 1.35rem), 8.6rem);
  font-weight: 1000;
  line-height: .86;
  letter-spacing: -.018em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.poster-title em { font-style: normal; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 2 * var(--edge)); max-width: 1410px; margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: 10px auto auto var(--edge);
  z-index: 50;
  padding: .6rem 1rem;
  color: var(--ink);
  background: var(--salt);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: .9375rem;
  font-weight: 620;
  text-align: center;
  text-decoration: none;
  line-height: 1.22;
  transition: background-color .22s, color .22s, transform .35s var(--ease);
}
.button-accent { background: var(--accent); color: var(--ink); }
.button-outline { border-color: #ffffffa0; color: var(--salt); }
.button:active { transform: translateY(1px) scale(.98); }
.text-link {
  display: inline-block;
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  font-size: .9375rem;
  font-weight: 630;
  line-height: 1.5;
  text-underline-offset: .28em;
  text-decoration-color: currentColor;
  transition: text-underline-offset .25s, color .25s;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  gap: 1.5rem;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  color: var(--salt);
  border-bottom: 1px solid #faf6e955;
}
.brand { display: inline-block; width: fit-content; }
.brand img { width: 165px; height: auto; }
.brand-light img { filter: brightness(0) invert(94%) sepia(16%) saturate(470%) hue-rotate(327deg) brightness(107%) contrast(96%); }
.main-nav { display: flex; gap: clamp(16px, 2.35vw, 42px); font-size: .9375rem; font-weight: 510; }
.main-nav a, .footer a { text-underline-offset: .34em; }
.main-nav a { text-decoration: none; white-space: nowrap; padding-block: .7rem; }
.header-cta { justify-self: end; min-height: 45px; }
.mobile-menu { display: none; }

.hero, .join {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: var(--salt);
}
.hero {
  min-height: max(720px, 100svh);
  display: grid;
  align-content: end;
  padding-top: 8rem;
}
.hero-image, .join-image { position: absolute; inset: -36px 0; z-index: -3; pointer-events: none; }
.hero-image picture, .hero-image img, .join-image img { width: 100%; height: 100%; display: block; }
.hero-image img, .join-image img { object-fit: cover; }
.hero-image img { object-position: 57% 49%; }
.hero-light, .join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, #081e29bc 0%, #0a222771 33%, #0a22270b 68%),
    linear-gradient(180deg, #081f31ba, transparent 29%, transparent 55%, #071f2ad6 100%);
}
.hero-content { padding-bottom: clamp(36px, 8svh, 96px); }
.hero h1 {
  font-size: clamp(4.75rem, calc(10.9vw + 2.5rem), 15.2rem);
  line-height: .82;
}
.hero h1 span { color: var(--accent); }
.hero-intro { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem 2.2rem; margin-top: clamp(1.25rem, 3.8svh, 3rem); }
.hero-intro p { font-size: clamp(1rem, 1.45vw, 1.1875rem); line-height: 1.43; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 1rem;
  min-height: 105px;
  padding-block: 18px;
  border-top: 1px solid #faf6e971;
}
.hero-meta strong, .hero-meta div span { display: block; }
.hero-meta strong { font-size: clamp(.95rem, 1.8vw, 1.25rem); font-weight: 570; line-height: 1.22; }
.hero-meta div span { font-size: .875rem; color: #d3e1df; margin-top: .34rem; }
@media (min-width: 741px) {
  .hero-meta > div { min-height: 3.25rem; }
}
.scroll-link {
  border: 1px solid #faf6e982;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 50%;
  transition: background-color .25s, color .25s;
}
.scroll-link span { display: block; width: 15px; height: 20px; position: relative; }
.scroll-link span::before { content: ""; width: 1px; height: 15px; background: currentColor; position: absolute; top: 0; left: 7px; }
.scroll-link span::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1px 1px 0; position: absolute; inset: auto auto 5px 3.5px; transform: rotate(45deg); }
.motion-enabled .hero-content { animation: board-in .9s var(--ease) both; }
.motion-enabled .hero-image picture { animation: water-in 1.3s var(--ease) both; }
.sc-ready .hero-content > h1 { translate: 0 calc((var(--sc-p, .5) - .5) * 66px); }
.sc-ready .hero-light { opacity: calc(.95 + .1 * var(--sc-p, .5)); }
@keyframes board-in { from { opacity: .1; transform: translateY(23px); } to { opacity: 1; transform: translateY(0); } }
@keyframes water-in { from { transform: scale(1.025); } to { transform: scale(1); } }

.light-section { background: var(--paper); }
.club, .boat, .travel, .faq, .route { padding-block: clamp(76px, 10.5vw, 154px); }
.club-grid, .boat-grid, .travel-grid, .faq-grid { display: grid; align-items: center; gap: clamp(26px, 5vw, 86px); }
.club-grid { grid-template-columns: .9fr 1fr; align-items: start; }
.club-story { padding-top: clamp(0px, 3vw, 44px); }
.club-story .poster-title { font-size: clamp(2.85rem, 6vw, 6rem); }
.club-story p, .boat-copy > p, .travel-copy > p, .faq-grid > div:first-child > p { max-width: 48ch; margin-top: 1.25rem; }
.lead { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45; font-weight: 520; }
.club-story .text-link { margin-top: 1.05rem; }
.photo { position: relative; overflow: hidden; background: #365f63; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.crew-image { margin-top: clamp(32px, 4.5vw, 68px); width: 77%; aspect-ratio: 1.63; }
.island-image { aspect-ratio: .82; }
.island-image img { object-position: 50% 45%; }

.route { color: var(--salt); background: var(--deep); }
.route .poster-title { font-size: clamp(2.95rem, 6.3vw, 6.5rem); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; }
.section-head > div > p { max-width: 39ch; color: var(--slate); }
.route h2 em, .join h2 em { color: #dbede4; }
.route-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  border: 1px solid var(--sea-line);
  margin-top: clamp(28px, 4vw, 67px);
}
.chart {
  background-color: var(--sea);
  position: relative;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
}
.chart-svg { width: 100%; height: 100%; min-height: 435px; display: block; }
.chart-label {
  position: absolute;
  left: 6%;
  bottom: 7%;
  z-index: 1;
  font-size: clamp(1.25rem, 2.4vw, 2.5rem);
  font-weight: 600;
  color: #c9e5df;
  line-height: 1;
  pointer-events: none;
}
.chart-land { fill: #396c69; stroke: #81a89c; stroke-width: 1.3; }
.chart-lines { fill: none; stroke: #c1dcce; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chart-lines path { transition: stroke .4s, stroke-opacity .4s, stroke-width .4s; }
.chart.has-selection .chart-lines path:not(.active) { stroke-opacity: .31; }
.chart-lines path.active { stroke: var(--accent); stroke-width: 3.25; }
.chart-points { fill: #e2eee5; }
.chart-points circle { stroke: var(--sea); stroke-width: 1.5; transition: fill .35s, r .35s; }
.chart-points text, .chart-compass { font: 500 15px system-ui, sans-serif; }
.chart-points text { paint-order: stroke; stroke: var(--sea); stroke-width: 3px; stroke-linejoin: round; }
.chart.has-selection .chart-points g.active circle { fill: var(--accent); r: 7; }
.chart.has-selection .chart-points g.active text { fill: #fff4e4; }
.chart-compass { color: #b1d0cc; fill: currentColor; }
.logbook {
  border-left: 1px solid var(--sea-line);
  min-width: 0;
  padding: clamp(23px, 3.2vw, 50px);
  display: flex;
  flex-direction: column;
}
.day-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.day-controls button {
  border: 1px solid #65878c;
  border-radius: 0;
  background: transparent;
  color: var(--salt);
  min-height: 44px;
  padding: .4rem;
  font: inherit;
  font-size: .9375rem;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.day-controls button:first-child { grid-column: 1 / -1; text-align: left; padding-inline: .9rem; }
.day-controls button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--ink); font-weight: 690; }
.day-card { padding-block: 1.35rem .85rem; }
.day-date { color: var(--accent); font-size: .875rem; font-weight: 630; }
.day-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); margin-block: .55rem .7rem; }
.day-card > p:not(.day-date) { color: #deebe5; line-height: 1.48; }
.day-points { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: .75rem 0 0; padding: 0; list-style: none; color: var(--slate); font-size: .875rem; }
.day-points li:not(:first-child)::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 100%; vertical-align: middle; background: var(--accent); margin: 0 .55rem .12rem 0; }
.route-foot { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; color: var(--slate); font-size: .9375rem; }
.calendar-link { color: var(--salt); }
.route-details.faq-list { margin-top: 1rem; border-color: var(--sea-line); border-bottom: 1px solid var(--sea-line); }
.route-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0; padding: 0 0 1.5rem; list-style: none; }
.route-days h3 { margin-block: .4rem .5rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.route-days li > p:last-child { color: var(--slate); }

.boat-grid { grid-template-columns: 1.13fr .87fr; }
.boat .poster-title { font-size: clamp(2.85rem, 5.55vw, 6.3rem); }
.boat-image { display: block; aspect-ratio: 1.2; }
.boat-image:focus-visible { outline-offset: -4px; }
.boat-gallery-link { margin-top: .32rem; }
.boat-image img { object-position: 50% 52%; }
.travel { background: var(--pale); }
.travel-grid { grid-template-columns: .85fr 1.15fr; }
.travel-head { align-items: start; margin-bottom: clamp(25px, 3.5vw, 62px); }
.travel-copy > .lead { margin-top: 0; }
.travel-guide { margin-top: 1.25rem; }
.travel-guide > p { max-width: 48ch; padding-bottom: 1rem; color: var(--muted); }
.faq-grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
.faq .poster-title { font-size: clamp(2.75rem, 5.9vw, 5.8rem); }
.faq-grid > div:first-child > p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 67px;
  padding: .95rem 2.4rem .95rem 0;
  font-size: clamp(1.04rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.34;
}
.faq-list summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  right: .15em;
  top: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.faq-list summary::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq-list[open] summary::after, .faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { max-width: 55ch; padding-bottom: 1.2rem; color: var(--muted); }
.faq-list details[open] p { animation: board-in .35s var(--ease); }
.packing-list { display: grid; gap: .7rem; max-width: 55ch; margin: 0; padding: 0 0 1.2rem; list-style: none; color: var(--muted); }

.join { min-height: max(590px, 82svh); display: grid; align-items: center; padding-block: 4.5rem; }
.join::after { background: linear-gradient(90deg,#061d29eb 0%,#0a22278c 53%,#0a222725 100%); }
.join-image img { object-position: 58% 47%; }
.join-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); align-items: center; gap: clamp(24px, 4vw, 64px); }
.join .poster-title { font-size: clamp(3.7rem, 8.1vw, 9.75rem); }
.join-copy p { margin-top: 1.15rem; max-width: 38ch; }
.join-copy h2 + p { margin-top: 1.65rem; color: #ffe6d4; font-weight: 640; }
.application-panel { min-width: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--sea-line); background: var(--deep); }
.application-panel h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.application-fields { display: grid; gap: 1rem; min-width: 0; margin: 1.15rem 0 0; padding: 0; border: 0; }
.application-field { display: grid; gap: .35rem; }
.application-field label { font-weight: 600; line-height: 1.3; }
.application-field p { color: var(--slate); font-size: .875rem; }
.application-field input { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--sea-line); border-radius: 1px; background: var(--salt); color: var(--ink); font: inherit; }
.application-fields .button { justify-self: start; font-family: inherit; cursor: pointer; }
.application-fields:disabled .button { cursor: wait; }
.application-status:not(:empty) { margin-top: .75rem; color: var(--accent-hot); }
.application-confirmation { margin-top: 1.15rem; }
.application-confirmation h4 { margin: 0 0 .45rem; font-size: 1.15rem; }
.application-result p { margin-top: .9rem; }
.footer { color: var(--salt); background: #0b252e; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem 2rem; padding-block: 27px; font-size: .875rem; }
.footer-content p { color: var(--slate); }
.footer-content .brand img { width: 150px; }

@media (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .button:hover:active { transform: translateY(1px) scale(.98); }
  .button-accent:hover { background: var(--accent-hot); }
  .button-outline:hover { background: var(--salt); color: var(--ink); }
  .text-link:hover { text-underline-offset: .44em; }
  .main-nav a:hover { text-decoration: underline; }
  .photo:hover img { transform: scale(1.025); }
  .scroll-link:hover { background: var(--salt); color: var(--ink); }
  .day-controls button:hover:not([aria-pressed="true"]) { background: #244f5d; }
}
@media (max-width: 1280px) {
  .masthead { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 74px; gap: 1rem; }
  .masthead .brand img { width: 143px; }
  .main-nav { justify-self: center; gap: .95rem; font-size: .875rem; }
  .header-cta { padding-inline: .9rem; font-size: .875rem; }
}
@media (max-width: 980px) {
  .route-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chart-svg { min-height: 365px; }
  .masthead { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 67px; }
  .main-nav { display: none; }
  .masthead .brand img { width: min(100%, 143px); }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary span { width: 21px; border-top: 1px solid currentColor; transition: transform .24s; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu nav {
    display: grid;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(330px, 100%);
    padding: .5rem 1rem;
    background: var(--deep);
    border: 1px solid var(--sea-line);
  }
  .mobile-menu nav a { padding: .6rem .35rem; text-decoration: none; }
  .mobile-menu nav a + a { border-top: 1px solid var(--sea-line); }
}
@media (max-width: 860px) {
  .join-content { grid-template-columns: minmax(0, 1fr); }
  .application-panel { width: min(100%, 540px); }
}
@media (max-width: 740px) {
  .hero { min-height: max(710px, 100svh); padding-top: 5.8rem; }
  .hero-meta { min-height: 84px; }
  .hero-meta div span { display: none; }
  .hero-meta strong { font-size: .875rem; }
  .hero-intro { align-items: start; flex-direction: column; }
  .scroll-link { width: 44px; height: 44px; }
  .club-grid, .boat-grid, .travel-grid, .faq-grid, .section-head, .route-board { grid-template-columns: minmax(0, 1fr); }
  .club-grid, .boat-grid, .travel-grid, .faq-grid { gap: 2rem; }
  .club-story { display: contents; }
  .club-grid { align-items: start; column-gap: 0; row-gap: 0; }
  .club-story p { margin-top: 1rem; }
  .crew-image { width: 82%; margin-top: 1.5rem; grid-row: 6; }
  .island-image { margin: 1.5rem 0 0 auto; width: 88%; aspect-ratio: .97; grid-row: 5; }
  .section-head { gap: 1.15rem; }
  .chart-svg { min-height: 0; height: auto; }
  .logbook { border-left: 0; border-top: 1px solid var(--sea-line); }
  .day-card { padding-bottom: .5rem; }
  .route-days { grid-template-columns: minmax(0, 1fr); }
  .chart-label { font-size: clamp(1.2rem, 4.4vw, 2.1rem); }
  .route-foot { margin-top: 1.15rem; }
  .boat-media { grid-row: 2; }
  .boat-grid, .travel-grid { gap: 1.5rem; }
  .boat-image { aspect-ratio: 1.26; }
  .faq-list summary { min-height: 59px; }
  .join { min-height: 570px; }
  .footer-content { flex-wrap: wrap; }
  .footer-content p { flex: 1 0 100%; order: 1; }
}
@media (max-width: 600px) {
  .header-cta { max-width: 9rem; padding-inline: .55rem; text-align: center; text-wrap: balance; }
  .hero-image img { object-position: 56% 50%; }
  .hero-light {
    background: linear-gradient(180deg, #071f2a9e 0%, #071f2a12 30%, #071f2a15 42%, #071f2a98 67%, #071f2ae8 100%),
      linear-gradient(90deg, #081e2980, #081e2920 80%);
  }
  .hero-content { padding-bottom: 28px; }
  .hero-meta { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) auto; gap: .6rem; }
  .hero-meta > div:nth-child(3) { display: none; }
}
@media (max-width: 410px) {
  .hero h1 { font-size: clamp(3.75rem, 20.7vw, 5.25rem); }
  .club-story .poster-title { font-size: clamp(2.62rem, 12vw, 2.85rem); }
  .route .poster-title { font-size: clamp(2.25rem, 11.6vw, 2.95rem); }
}
@media (max-width: 370px) {
  .masthead { gap: .28rem; }
  .masthead .brand img { width: 118px; }
  .header-cta { max-width: 8.25rem; font-size: .8125rem; }
  .hero-meta strong { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .sc-ready .hero-content > h1 { translate: none; }
  .sc-ready .hero-light { opacity: 1; }
}

.fethiye {
  padding-block: clamp(76px, 10.5vw, 154px);
  color: var(--salt);
  background: var(--deep);
}
.fethiye :focus-visible, .photo-viewer :focus-visible { outline-color: var(--accent); }
.fethiye-head { margin-bottom: clamp(25px, 3.5vw, 62px); }
.fethiye-head h2 em { color: #dbede4; }
.fethiye-head > div > .fethiye-date { color: var(--accent-hot); font-weight: 650; margin-bottom: .6rem; }
.photo-grid { display: grid; }
.photo-featured {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(150px, 18vw, 307px));
}
.photo-featured .photo-tile:first-child { grid-row: span 2; }
.photo-tile { display: block; position: relative; overflow: hidden; background: var(--sea); }
.photo-tile:focus-visible { z-index: 1; outline-offset: -4px; }
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--crop-y, 50%);
  transition: transform .65s var(--ease);
}
.photo-more summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding-block: .8rem;
  border-bottom: 1px solid var(--sea-line);
  font-weight: 630;
  list-style: none;
  cursor: pointer;
}
.photo-more summary::-webkit-details-marker { display: none; }
.travel .photo-more summary { border-color: var(--line); }
.photo-more-icon { position: relative; height: 24px; width: 24px; margin-left: auto; }
.photo-more-icon::before, .photo-more-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 5px;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.photo-more-icon::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.photo-more[open] .photo-more-icon::after { transform: none; }
.photo-all { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bangkok-gallery .photo-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-all .photo-tile { aspect-ratio: 1.22; }
.photo-viewer {
  position: fixed;
  inset: 0;
  width: min(100%, 1590px);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: auto;
  border: 0;
  padding: clamp(.75rem, 1.8vw, 1.5rem) var(--edge);
  color: var(--salt);
  background: #081e27;
  overflow: hidden;
}
.photo-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .75rem;
}
.photo-viewer::backdrop { background: #081e27; }
body:has(.photo-viewer[open]) { overflow: hidden; }
.viewer-toolbar, .viewer-controls { display: flex; align-items: center; }
.viewer-toolbar { justify-content: space-between; }
.viewer-controls { justify-content: center; gap: .75rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.viewer-position { font-variant-numeric: tabular-nums; }
.viewer-stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; min-height: 0; user-select: none; }
.viewer-control {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--sea-line);
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color .2s, background-color .2s, transform .3s var(--ease);
}
.viewer-control svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.viewer-control:active { transform: scale(.96); }
@media (hover: hover) {
  .photo-tile:hover img { transform: scale(1.025); }
  .photo-more summary:hover { color: var(--accent-hot); }
  .travel .photo-more summary:hover { color: #b64327; }
  .viewer-control:hover { background: var(--salt); color: var(--ink); }
}
@media (max-width: 740px) {
  .photo-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .photo-featured {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: minmax(0, calc((100vw - 2 * var(--edge)) * .34));
  }
  .photo-featured .photo-tile:first-child { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1; }
  .photo-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-viewer { padding-inline: max(12px, env(safe-area-inset-left, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-tile:hover img, .viewer-control:active { transform: none; }
}
