:root {
  --black: #080808;
  --warm-white: #f2eee4;
  --spring: #F0A3B6;
  --summer: #FFD447;
  --autumn: #E07A3F;
  --winter: #A8D8EE;
  --season-accent: var(--spring);
  --header-height: 100px;
  --page-margin: clamp(32px, 5vw, 80px);
}

/* Seasonal accent — see README colour tokens. Set via body.spring-page, .summer-page, etc. */
body.spring-page,
body.spring-detail {
  --season-accent: var(--spring);
}

body.summer-page,
body.summer-detail {
  --season-accent: var(--summer);
}

body.autumn-page,
body.autumn-detail {
  --season-accent: var(--autumn);
}

body.winter-page,
body.winter-detail {
  --season-accent: var(--winter);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--warm-white);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--warm-white);
  color: var(--black);
  font-size: 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 8.32vw;
  margin: 0 0.32vw;
  padding: 0 1.12vw 0 3.04vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.24vw solid var(--warm-white);
  background: var(--black);
}

.brand {
  display: block;
  width: 6.4vw;
  height: 6.4vw;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--black);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2vw;
  font-size: 1.28vw;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 1.12vw 0 0.56vw;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: currentColor;
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
}

.spring-link { color: var(--spring); }
.summer-link { color: var(--summer); }
.autumn-link { color: var(--autumn); }
.winter-link { color: var(--winter); }

.menu-button,
.mobile-menu {
  display: none;
}

.home-hero {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 8.32vw);
  margin: 0;
  padding: 6.08vw 6.24vw 5.6vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27.2vw;
  align-items: start;
  gap: 8vw;
}

.hero-copy {
  min-height: 33.6vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.archive-label,
.window-instruction {
  margin: 0 0 18px;
  color: var(--spring);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-label {
  display: none;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  max-width: 44.8vw;
  font-size: 6.24vw;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.subtitle {
  margin: 1.28vw 0 0;
  font-size: 1.6vw;
  font-weight: 600;
  line-height: 1.35;
}

.primary-button {
  min-width: 20.32vw;
  min-height: 5.44vw;
  margin-left: 5.44vw;
  padding: 0 1.44vw;
  display: inline-flex;
  align-items: center;
  gap: 0.96vw;
  border: 1px solid var(--warm-white);
  background: var(--black);
  color: var(--warm-white);
  font-size: 1.28vw;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--spring);
  background: var(--spring);
  color: var(--black);
  transform: translateY(-3px);
}

.window-area {
  margin-top: 3.6vw;
  justify-self: center;
  text-align: center;
}

.season-window {
  position: relative;
  width: 27.2vw;
  aspect-ratio: 294 / 371;
  isolation: isolate;
}

.window-frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-pane {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  outline: 1px solid rgba(242, 238, 228, 0.3);
  background: #1c1c1c;
}

.window-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0);
  transition: background-color 180ms ease;
}

.window-pane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 220ms ease;
}

.pane-spring img {
  transform: scale(1.07);
}

.pane-autumn img {
  transform: scale(1.03);
}

.pane-winter img {
  transform-origin: left center;
  transform: scale(1.14);
}

.window-pane span {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 6px 5px;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(8, 8, 8, 0.82);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(8px, 0.75vw, 11px);
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
}

.window-pane span b {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.window-pane:hover img,
.window-pane:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.12) brightness(1.05);
}

.pane-spring:hover img,
.pane-spring:focus-visible img {
  transform: scale(1.12);
}

.pane-autumn:hover img,
.pane-autumn:focus-visible img {
  transform: scale(1.08);
}

.pane-winter:hover img,
.pane-winter:focus-visible img {
  transform: scale(1.18);
}

.window-pane:hover span,
.window-pane:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.window-pane:focus-visible {
  outline-width: 3px;
  outline-offset: 2px;
}

.pane-spring {
  top: 11.5%; left: 14.5%; width: 36.5%; height: 39.1%;
  color: var(--spring);
}
.pane-summer {
  top: 11.5%; left: 53.3%; width: 36.8%; height: 39.1%;
  color: var(--summer);
}
.pane-autumn {
  top: 51.7%; left: 14.5%; width: 36.5%; height: 39%;
  color: var(--autumn);
}
.pane-winter {
  top: 51.7%; left: 53.3%; width: 36.8%; height: 39%;
  color: var(--winter);
}

.window-instruction {
  display: none;
}

/* About page — dimensions are based on the 1250px desktop artboard. */
.about-main {
  width: 100%;
  min-height: calc(100svh - 8.32vw);
  padding: 5.28vw 1.92vw 5.6vw;
}

.about-main h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.12vw;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.about-layout {
  margin-top: 4.88vw;
  display: grid;
  grid-template-columns: 27.2vw minmax(0, 40.24vw) 24.8vw;
  gap: 1.92vw;
  align-items: start;
}

.about-cruise-photo,
.about-garden-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.about-cruise-photo {
  aspect-ratio: 388 / 290;
}

.about-copy {
  font-size: 0.96vw;
  font-weight: 500;
  line-height: 1.28;
}

.about-copy p {
  margin: 0 0 2.4vw;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy em {
  font-style: normal;
}

.about-side {
  margin-top: -7.6vw;
}

.about-garden-photo {
  aspect-ratio: 353 / 473;
}

.about-contact-button {
  width: 16.32vw;
  min-height: 6.64vw;
  margin: 6.4vw 0 0 4.16vw;
  padding: 0 1.28vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8vw;
  border: 0.08vw solid var(--warm-white);
  background: var(--black);
  color: var(--warm-white);
  font-size: 1.28vw;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.about-contact-button:hover,
.about-contact-button:focus-visible {
  border-color: var(--winter);
  background: var(--winter);
  color: var(--black);
  transform: translateY(-0.24vw);
}

/* Contact page */
.contact-main {
  width: 100%;
  min-height: calc(100svh - 8.32vw);
  padding: 5.28vw 6.24vw 5.6vw;
}

.contact-main h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.12vw;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.contact-layout {
  margin-top: 4.8vw;
  display: grid;
  grid-template-columns: minmax(0, 49.6vw) 27.2vw;
  gap: 10.72vw;
  align-items: start;
}

.contact-introduction {
  max-width: 42vw;
  font-size: 1.2vw;
  line-height: 1.45;
}

.contact-introduction p {
  margin: 0;
}

.contact-kicker {
  margin-bottom: 1.12vw !important;
  color: var(--spring);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.96vw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  margin-top: 3.2vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.08vw 1.92vw;
}

.form-field {
  display: grid;
  gap: 0.72vw;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--warm-white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 0.08vw solid rgba(242, 238, 228, 0.72);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--warm-white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2vw;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-field input {
  min-height: 3.68vw;
  padding: 0.56vw 0.32vw;
}

.form-field textarea {
  min-height: 10.4vw;
  padding: 0.8vw 0.32vw;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--spring);
  background: rgba(240, 163, 182, 0.04);
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 1.6vw;
}

.contact-submit {
  min-width: 20.32vw;
  min-height: 5.44vw;
  padding: 0 1.44vw;
  border: 0.08vw solid var(--warm-white);
  background: var(--black);
  color: var(--warm-white);
  font-size: 1.28vw;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  border-color: var(--spring);
  background: var(--spring);
  color: var(--black);
  transform: translateY(-0.24vw);
}

.form-status {
  margin: 0;
  color: var(--summer);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  line-height: 1.35;
}

.contact-visual {
  padding-top: 0.8vw;
}

.contact-note {
  margin: 1.44vw 0 0;
  color: var(--winter);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1120px) and (min-width: 761px) {
  .home-hero {
    padding-right: 6.24vw;
    padding-left: 6.24vw;
    grid-template-columns: minmax(0, 1fr) 27.2vw;
    gap: 8vw;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 128px;
  }

  .site-header {
    height: var(--header-height);
    margin: 0;
    padding: 0 18px;
  }

  .brand {
    width: 100px;
    height: 100px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    width: 92px;
    padding: 0;
    display: grid;
    justify-items: end;
    gap: 6px;
    border: 0;
    background: transparent;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-label {
    font-size: 23px;
    line-height: 1;
  }

  .menu-icon {
    width: 64px;
    display: grid;
    gap: 7px;
  }

  .menu-icon i {
    width: 100%;
    height: 7px;
    display: block;
    background: var(--warm-white);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-icon i:first-child {
    transform: translateY(14px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] .menu-icon i:last-child {
    transform: translateY(-14px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 24px 26px;
    display: grid;
    border-bottom: 2px solid var(--warm-white);
    background: rgba(8, 8, 8, 0.98);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(242, 238, 228, 0.22);
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
    text-transform: uppercase;
  }

  .home-hero {
    min-height: auto;
    width: auto;
    padding: 60px 34px 52px;
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .hero-copy {
    min-height: 0;
    display: contents;
  }

  .archive-label {
    display: none;
  }

  .hero-copy > div {
    width: 100%;
    order: 1;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 10.8vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .subtitle {
    margin-top: 22px;
    font-size: 17px;
  }

  .window-area {
    width: 100%;
    margin-top: 0;
    order: 2;
  }

  .season-window {
    width: min(100%, 278px);
    margin: 0 auto;
  }

  .window-instruction {
    display: none;
  }

  .window-pane span {
    display: none;
  }

  .primary-button {
    width: 100%;
    min-height: 88px;
    min-width: 0;
    margin-left: 0;
    padding: 0 24px;
    order: 3;
    justify-content: center;
    font-size: clamp(16px, 4.8vw, 22px);
  }

  .about-main {
    min-height: auto;
    padding: 38px 18px 54px;
  }

  .about-main h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.05;
  }

  .about-layout {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-cruise-photo {
    width: min(82%, 320px);
    margin: 0 auto;
    order: 1;
  }

  .about-copy {
    margin-top: 24px;
    order: 2;
    font-size: 14px;
    line-height: 1.32;
  }

  .about-copy p {
    margin-bottom: 24px;
  }

  .about-side {
    margin-top: 0;
    display: contents;
  }

  .about-contact-button {
    width: min(74%, 280px);
    min-height: 62px;
    margin: 4px auto 28px;
    padding: 0 18px;
    order: 3;
    gap: 10px;
    border-width: 1px;
    font-size: 16px;
  }

  .about-garden-photo {
    width: min(82%, 320px);
    margin: 0 auto;
    order: 4;
  }

  .contact-main {
    min-height: auto;
    padding: 38px 24px 56px;
  }

  .contact-main h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .contact-layout {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 44px;
  }

  .contact-introduction {
    max-width: none;
    font-size: 15px;
  }

  .contact-kicker {
    margin-bottom: 12px !important;
    font-size: 12px;
  }

  .contact-form {
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-field {
    gap: 8px;
  }

  .form-field label {
    font-size: 12px;
  }

  .form-field input,
  .form-field textarea {
    border-bottom-width: 1px;
    font-size: 16px;
  }

  .form-field input {
    min-height: 48px;
    padding: 8px 4px;
  }

  .form-field textarea {
    min-height: 150px;
    padding: 10px 4px;
  }

  .contact-form-footer {
    display: grid;
    gap: 14px;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 0 20px;
    border-width: 1px;
    font-size: 16px;
  }

  .form-status {
    font-size: 12px;
  }

  .contact-visual {
    width: 100%;
    padding-top: 0;
  }

  .contact-visual .season-window {
    width: min(100%, 278px);
    margin: 0 auto;
  }

  .contact-note {
    margin-top: 18px;
    font-size: 12px;
  }
}

/* Vancouver Forest Trip — consistent photographic archive */
.forest-memory {
  width: 100%;
  padding: 4.64vw 6.24vw 6.4vw;
}

.forest-memory .memory-detail-header {
  max-width: 82vw;
  margin-inline: auto;
}

.forest-memory .memory-detail-header h1 {
  max-width: 70vw;
  margin-inline: auto;
}

.forest-chapter {
  max-width: 82vw;
  margin: 8vw auto 0;
}

.forest-copy {
  display: grid;
  grid-template-columns: 21vw minmax(0, 1fr);
  grid-template-areas:
    "number heading"
    ". body";
  column-gap: 4vw;
  max-width: 65vw;
  margin: 0 auto 3.2vw;
}

.forest-copy .story-number {
  grid-area: number;
  align-self: end;
  margin: 0 0 0.52vw;
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.forest-copy h2 {
  grid-area: heading;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2vw;
  font-weight: 600;
  line-height: 1.05;
}

.forest-copy > p:last-child {
  grid-area: body;
  max-width: 39vw;
  margin: 1.2vw 0 0;
  font-size: 1.08vw;
  line-height: 1.55;
}

.uniform-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4vw;
}

.uniform-photo-grid:has(figure:nth-child(2):last-child) {
  display: flex;
  justify-content: center;
  gap: 2.4vw;
}

.uniform-photo-grid:has(figure:nth-child(2):last-child) figure {
  flex: 0 1 calc((100% - 2.4vw) / 3);
  max-width: calc((100% - 2.4vw) / 3);
}

.uniform-photo-grid:has(figure:nth-child(4):last-child) {
  --photo-cell: calc((100% - 2.4vw) / 3);
  width: calc(var(--photo-cell) * 2 + 2.4vw);
  margin-inline: auto;
  grid-template-columns: repeat(2, 1fr);
}

.uniform-photo-grid figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #101010;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease;
}

.uniform-photo-grid figure:hover {
  transform: translateY(-0.32vw);
  box-shadow: 0 1vw 2.8vw rgba(0, 0, 0, 0.38);
}

.uniform-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.uniform-photo-grid figure:hover img {
  transform: scale(1.025);
}

.uniform-photo-grid figure:has(img[src*="bridge-long"]) img,
.uniform-photo-grid figure:has(img[src*="river-vertical"]) img,
.uniform-photo-grid figure:has(img[src*="treetop-walk"]) img {
  object-position: center 52%;
}

@media (max-width: 760px) {
  .forest-memory {
    padding: 38px 24px 64px;
  }

  .forest-memory .memory-detail-header,
  .forest-memory .memory-detail-header h1,
  .forest-chapter {
    max-width: none;
  }

  .forest-chapter {
    margin-top: 76px;
  }

  .forest-copy {
    display: block;
    max-width: none;
    margin-bottom: 28px;
  }

  .forest-copy .story-number {
    margin: 0 0 8px;
    font-size: 11px;
  }

  .forest-copy h2 {
    font-size: 40px;
  }

  .forest-copy > p:last-child {
    max-width: none;
    margin-top: 18px;
    font-size: 15px;
  }

  .uniform-photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .uniform-photo-grid:has(figure:nth-child(2):last-child) {
    display: grid;
    grid-template-columns: 1fr;
  }

  .uniform-photo-grid:has(figure:nth-child(2):last-child) figure {
    flex: none;
    max-width: none;
  }

  .uniform-photo-grid:has(figure:nth-child(4):last-child) {
    --photo-cell: auto;
    width: auto;
    grid-template-columns: 1fr;
  }

  .uniform-photo-grid figure {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 390px) {
  :root {
    --header-height: 108px;
  }

  .brand {
    width: 82px;
    height: 82px;
  }

  .menu-label {
    font-size: 19px;
  }

  .menu-icon {
    width: 48px;
    gap: 5px;
  }

  .menu-icon i {
    height: 5px;
  }

  .menu-button[aria-expanded="true"] .menu-icon i:first-child {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon i:last-child {
    transform: translateY(-10px) rotate(-45deg);
  }

  .home-hero {
    padding-right: 25px;
    padding-left: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Year 01 / Spring gallery */
.season-main {
  width: 100%;
  min-height: calc(100svh - 8.32vw);
  padding: 3.36vw 0 5.6vw;
}

.season-intro {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5.2vw;
}

.season-intro h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 4.48vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.season-summary {
  padding-top: 0.16vw;
  text-transform: uppercase;
}

.season-summary p,
.season-summary h2 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 2.08vw;
  font-weight: 600;
  line-height: 1.22;
}

.season-summary p {
  color: var(--season-accent);
}

.memory-grid {
  width: 79.6vw;
  margin: 5.2vw auto 0;
  display: grid;
  grid-template-columns: repeat(3, 22vw);
  column-gap: 6.8vw;
  row-gap: 3.04vw;
}

.memory-card {
  display: block;
  min-width: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.memory-card:hover,
.memory-card:focus-within {
  transform: translateY(-0.48vw);
}

.memory-image {
  position: relative;
  width: 22vw;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  transition: box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.memory-card:hover .memory-image,
.memory-card:focus-within .memory-image {
  box-shadow: 0 1.2vw 3.2vw rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--season-accent) 55%, transparent);
}

.memory-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.memory-card:hover .memory-image img,
.memory-card:focus-within .memory-image img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.memory-card h3 {
  margin: 0.88vw 0 0.16vw;
  font-size: 1.04vw;
  font-weight: 400;
  line-height: 1.25;
}

.memory-card p {
  margin: 0;
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72vw;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .season-main {
    min-height: calc(100svh - var(--header-height));
    padding: 42px 24px 64px;
  }

  .season-intro {
    display: block;
  }

  .season-intro h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .season-summary {
    margin-top: 20px;
    padding-top: 0;
  }

  .season-summary p,
  .season-summary h2 {
    font-size: 21px;
  }

  .memory-grid {
    width: 100%;
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .memory-image {
    width: 100%;
  }

  .memory-card h3 {
    margin: 12px 0 4px;
    font-size: 16px;
  }

  .memory-card p {
    font-size: 11px;
  }
}

/* First Cruise Trip memory */
.cruise-memory {
  width: 100%;
  padding: 4.64vw 6.24vw 6.4vw;
}

.memory-detail-header {
  position: relative;
  text-align: center;
}

.back-link {
  position: absolute;
  top: 0.56vw;
  left: 0;
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  text-transform: uppercase;
}

.memory-detail-header h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.12vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.memory-detail-header > p {
  margin: 1.04vw 0 0;
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.12vw;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cruise-memory figure {
  margin: 0;
  overflow: hidden;
}

.cruise-memory figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cruise-lead {
  width: 76vw;
  height: 38vw;
  margin: 4.56vw auto 0 !important;
}

.memory-story {
  margin-top: 9.6vw;
}

.story-copy {
  font-size: 1.12vw;
  line-height: 1.55;
}

.story-copy p {
  margin: 1.28vw 0 0;
}

.story-copy h2 {
  margin: 0.56vw 0 1.52vw;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2vw;
  font-weight: 600;
  line-height: 1.06;
}

.story-copy .story-number {
  margin: 0;
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.memory-story-one {
  display: grid;
  grid-template-columns: 32vw 23.2vw 20vw;
  gap: 3.52vw;
  align-items: end;
}

.memory-story-one figure:nth-of-type(1) {
  height: 27.2vw;
}

.memory-story-one figure:nth-of-type(2) {
  height: 20vw;
}

.memory-story-two {
  display: grid;
  grid-template-columns: 35.2vw 31.2vw;
  grid-template-rows: auto auto;
  gap: 3.52vw 7.2vw;
  align-items: start;
}

.restaurant-photo {
  height: 32vw;
}

.food-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 31.2vw 35.2vw;
  gap: 7.2vw;
  align-items: end;
}

.food-pair figure:first-child {
  height: 25.6vw;
}

.food-pair figure:last-child {
  height: 31.2vw;
}

.memory-story-three {
  display: grid;
  grid-template-columns: 28vw 19.2vw 32vw;
  gap: 3.6vw;
  align-items: end;
}

.iceberg-photo {
  height: 18.4vw;
}

.arrival-photo {
  height: 31.2vw;
}

.memory-detail-footer {
  margin-top: 8vw;
  padding-top: 2.4vw;
  border-top: 0.08vw solid rgba(242, 238, 228, 0.7);
  text-align: right;
}

.memory-detail-footer a {
  color: var(--season-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.04vw;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .cruise-memory {
    padding: 38px 24px 64px;
  }

  .memory-detail-header {
    text-align: left;
  }

  .back-link {
    position: static;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 11px;
  }

  .memory-detail-header h1 {
    font-size: clamp(46px, 14vw, 64px);
    line-height: 0.98;
  }

  .memory-detail-header > p {
    margin-top: 14px;
    font-size: 12px;
  }

  .cruise-lead {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 42px !important;
  }

  .memory-story,
  .memory-story-one,
  .memory-story-two,
  .memory-story-three {
    margin-top: 76px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }

  .story-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .story-copy p {
    margin-top: 18px;
  }

  .story-copy h2 {
    margin: 8px 0 20px;
    font-size: 40px;
  }

  .story-copy .story-number {
    margin: 0;
    font-size: 11px;
  }

  .memory-story-one figure:nth-of-type(1),
  .memory-story-one figure:nth-of-type(2),
  .restaurant-photo,
  .iceberg-photo,
  .arrival-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .memory-story-one .story-copy,
  .memory-story-two .story-copy,
  .memory-story-three .story-copy {
    order: -1;
  }

  .food-pair {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .food-pair figure:first-child,
  .food-pair figure:last-child {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .memory-detail-footer {
    margin-top: 72px;
    padding-top: 22px;
    border-top-width: 1px;
  }

  .memory-detail-footer a {
    font-size: 11px;
  }
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.6vw);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pane-enter {
  from {
    opacity: 0;
    transform: scale(0.9);
    filter: saturate(0.7) brightness(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
  }
}

body.motion-ready .site-header {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(2vw);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

body.motion-ready.home-page .pane-spring {
  animation: pane-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

body.motion-ready.home-page .pane-summer {
  animation: pane-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

body.motion-ready.home-page .pane-autumn {
  animation: pane-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.41s both;
}

body.motion-ready.home-page .pane-winter {
  animation: pane-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both;
}

/* Photo lightbox */
.zoomable-photo {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.photo-lightbox.is-active {
  opacity: 1;
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 8, 8, 0.94);
  cursor: zoom-out;
}

.photo-lightbox-image {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.photo-lightbox.is-active .photo-lightbox-image {
  transform: scale(1);
  opacity: 1;
}

.photo-lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(242, 238, 228, 0.72);
  background: rgba(8, 8, 8, 0.82);
  color: var(--warm-white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible {
  border-color: var(--season-accent);
  background: rgba(8, 8, 8, 0.96);
  outline: 0;
}
