:root {
  color-scheme: light;
  --paper: #f5efe4;
  --paper-soft: #fbf7ef;
  --ink: #22302e;
  --muted: #65736d;
  --line: rgba(34, 48, 46, 0.16);
  --water: #8fb0c4;
  --water-deep: #416f86;
  --sage: #78916f;
  --moss: #40583f;
  --iris: #8b80a8;
  --rose: #c79696;
  --ochre: #c4a35b;
  --clay: #a76555;
  --shadow: 0 22px 70px rgba(34, 48, 46, 0.16);
  --soft-shadow: 0 12px 38px rgba(34, 48, 46, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, var(--paper) 0%, #ece5d9 48%, #eff2ec 100%);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 4px;
}

::selection {
  background: rgba(199, 150, 150, 0.42);
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--water-deep), var(--sage), var(--rose), var(--ochre));
  transform-origin: left center;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  color: var(--ink);
  background: rgba(245, 239, 228, 0.72);
  border-bottom: 1px solid rgba(34, 48, 46, 0.09);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.brand-mark {
  width: 13px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 4px 4px;
  transform: rotate(10deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(34, 48, 46, 0.78);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  border-color: var(--line);
}

.hero,
.subpage-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.hero {
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
}

.hero-media,
.subpage-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after,
.subpage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 239, 228, 0.2);
  box-shadow: inset 0 -280px 180px rgba(245, 239, 228, 0.68);
}

.subpage-media::after {
  background: rgba(245, 239, 228, 0.26);
}

.hero-media img,
.subpage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.96) brightness(1.02);
}

.hero-media img {
  transform: scale(1.04) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: opacity 520ms ease, transform 800ms ease;
}

.hero-media img.is-switching {
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 92px;
}

.kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--water-deep);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-title,
.page-title {
  margin: 0;
  max-width: 900px;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 6.3rem;
  font-weight: 400;
  line-height: 0.93;
}

.hero-copy,
.page-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(34, 48, 46, 0.84);
  font-size: 1.18rem;
  line-height: 1.9;
  text-shadow: 0 1px 24px rgba(245, 239, 228, 0.7);
}

.hero-content[data-reveal],
.subpage-content[data-reveal] {
  opacity: 1;
  transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.text-link,
.button-link,
.filter-button,
.hero-switcher button,
.lightbox-close {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}

.button-link {
  padding: 10px 16px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, background 180ms ease;
}

.button-link:hover {
  background: #17211f;
  transform: translateY(-2px);
}

.text-link {
  padding: 10px 2px;
  color: var(--ink);
  border-bottom: 1px solid rgba(34, 48, 46, 0.46);
  border-radius: 0;
}

.hero-switcher {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(245, 239, 228, 0.72);
  border: 1px solid rgba(34, 48, 46, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.hero-switcher button {
  border: 0;
  padding: 9px 12px;
  color: rgba(34, 48, 46, 0.76);
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}

.hero-switcher button[aria-pressed="true"] {
  color: var(--paper-soft);
  background: var(--water-deep);
}

.subpage-hero {
  min-height: 64svh;
  display: flex;
  align-items: flex-end;
}

.subpage-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding: 66px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 58px;
  align-items: end;
  margin-bottom: 38px;
}

.section-title {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1.05;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.mood-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 12svh;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mood-band span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  color: rgba(34, 48, 46, 0.74);
  background: var(--tone);
  border-right: 1px solid rgba(34, 48, 46, 0.09);
}

.mood-band span:last-child {
  border-right: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.48fr);
  gap: 54px;
  align-items: center;
}

.story-grid.reverse {
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.82fr);
}

.story-grid.reverse .story-copy {
  order: -1;
}

.story-copy h2,
.cities-list h2,
.about-text h2 {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.1;
}

.story-copy p,
.about-text p,
.city-tile p {
  color: var(--muted);
  line-height: 1.9;
}

.story-copy p {
  margin: 20px 0 0;
}

.image-stack {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  align-items: end;
}

.image-stack img,
.feature-image img,
.filmstrip img,
.photo-trigger img,
.city-tile img,
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-stack .small {
  aspect-ratio: 4 / 5;
  box-shadow: var(--soft-shadow);
}

.image-stack .large {
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow);
}

.feature-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image.portrait {
  aspect-ratio: 4 / 5;
}

.filmstrip-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.filmstrip {
  display: grid;
  grid-auto-columns: minmax(230px, 29vw);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 18px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 48, 46, 0.3) transparent;
}

.filmstrip.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.filmstrip figure {
  margin: 0;
}

.filmstrip img {
  aspect-ratio: 4 / 5;
  box-shadow: var(--soft-shadow);
}

.filmstrip figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.filter-button {
  border: 1px solid rgba(34, 48, 46, 0.18);
  padding: 8px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 48, 46, 0.34);
}

.filter-button[aria-pressed="true"] {
  color: var(--paper-soft);
  background: var(--ink);
  border-color: var(--ink);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.photo-card {
  grid-column: span 4;
  margin: 0;
  opacity: 1;
  transition: opacity 260ms ease, transform 260ms ease;
}

.photo-card.wide {
  grid-column: span 8;
}

.photo-card.large {
  grid-column: span 5;
}

.photo-card.tall {
  grid-column: span 4;
}

.photo-card.is-hidden {
  display: none;
}

.photo-trigger {
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.photo-trigger img {
  aspect-ratio: 4 / 5;
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1), filter 260ms ease;
}

.photo-card.wide .photo-trigger img {
  aspect-ratio: 16 / 10;
}

.photo-card.square .photo-trigger img {
  aspect-ratio: 1 / 1;
}

.photo-trigger:hover img {
  transform: scale(1.045);
  filter: saturate(0.94) brightness(1.02);
}

.photo-caption {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.photo-caption strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.photo-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cities-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.city-tile {
  margin: 0;
  padding: 0;
}

.city-tile a,
.city-tile .city-shell {
  display: block;
}

.city-tile img {
  aspect-ratio: 4 / 5;
  box-shadow: var(--soft-shadow);
  transition: transform 700ms ease;
}

.city-tile a:hover img {
  transform: translateY(-4px);
}

.city-tile h2 {
  margin-top: 18px;
}

.city-tile.is-muted {
  opacity: 0.62;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 0.75fr);
  gap: 62px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 112px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text {
  font-size: 1.06rem;
}

.about-text h1 {
  margin: 0 0 28px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.98;
}

.quote-line {
  margin: 34px 0;
  padding-left: 22px;
  color: var(--moss);
  border-left: 3px solid var(--sage);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.5;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(34, 48, 46, 0.66);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid rgba(34, 48, 46, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(18, 28, 27, 0.68);
  backdrop-filter: blur(14px);
}

.lightbox-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  max-height: calc(100svh - 32px);
}

.lightbox-image {
  min-height: 420px;
  max-height: calc(100svh - 32px);
  object-fit: contain;
  background: #17211f;
}

.lightbox-panel {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  border: 1px solid rgba(34, 48, 46, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.44);
}

.lightbox-title {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.lightbox-caption {
  margin: 14px 0 0;
  color: var(--muted);
}

.redirect-body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.redirect-panel {
  max-width: 520px;
  text-align: center;
}

.redirect-panel h1 {
  margin: 0 0 16px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 400;
}

.redirect-panel p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-nav {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px 9px;
  }

  .hero-title,
  .page-title {
    font-size: 4.5rem;
  }

  .section-head,
  .story-grid,
  .story-grid.reverse,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .story-grid.reverse .story-copy {
    order: 0;
  }

  .photo-card,
  .photo-card.large,
  .photo-card.tall {
    grid-column: span 6;
  }

  .photo-card.wide {
    grid-column: span 12;
  }

  .cities-list {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    position: relative;
    top: auto;
  }

  .lightbox-inner {
    grid-template-columns: 1fr;
  }

  .lightbox-image {
    min-height: 300px;
    max-height: 62svh;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    background: rgba(245, 239, 228, 0.84);
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content,
  .subpage-content,
  .section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    padding: 190px 0 118px;
  }

  .subpage-content {
    padding: 188px 0 58px;
  }

  .hero-title,
  .page-title {
    font-size: 3rem;
    overflow-wrap: break-word;
  }

  .page-title {
    font-size: 2.7rem;
  }

  .hero-copy,
  .page-copy {
    font-size: 1.02rem;
  }

  .section {
    padding: 66px 0;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .story-copy h2,
  .cities-list h2,
  .about-text h2 {
    font-size: 2rem;
  }

  .about-text h1 {
    font-size: 3rem;
  }

  .hero-switcher {
    right: 16px;
    left: 16px;
    bottom: 18px;
    justify-content: space-between;
  }

  .hero-switcher button {
    flex: 1;
    padding: 8px 4px;
  }

  .mood-band {
    grid-template-columns: 1fr 1fr;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

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

  .photo-card,
  .photo-card.large,
  .photo-card.tall,
  .photo-card.wide {
    grid-column: auto;
  }

  .photo-card.wide .photo-trigger img {
    aspect-ratio: 4 / 3;
  }

  .filmstrip {
    grid-auto-columns: minmax(220px, 72vw);
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
