/* The landing page, section by section, top to bottom. */

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 238, 228, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-hairline);
}

.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand__name { font: italic 400 24px/1 var(--font-serif); letter-spacing: -.01em; }
.brand__com { font-style: normal; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav__links {
  display: flex;
  gap: 26px;
  font: 400 13px/1 var(--font-mono);
  letter-spacing: .06em;
  text-transform: lowercase;
}

.site-nav__links a { text-decoration: none; }

@media (max-width: 759px) {
  .site-nav__links { display: none; }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px) var(--gutter) 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero__copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 30px);
}

.hero__title {
  margin: 0;
  font: 400 clamp(48px, 7.4vw, 108px)/.96 var(--font-serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero__title em { color: var(--ember); }

.hero__lede {
  margin: 0;
  max-width: 520px;
  font: 400 clamp(19px, 1.6vw, 23px)/1.45 var(--font-serif);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  padding-top: 4px;
}

.hero__price { font: 400 14px/1.3 var(--font-mono); color: var(--ink-muted); }

.hero__live {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  font: 400 13px/1.4 var(--font-mono);
  color: var(--ink-muted);
}

.hero__live-dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(233, 181, 58, .22);
}

/* Two polaroids, taped and tilted. */

.hero__photos {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: clamp(70px, 9vw, 120px);
}

.polaroid {
  position: relative;
  background: var(--paper-photo);
  box-shadow: 0 22px 44px -20px rgba(29, 26, 23, .5), 0 2px 6px rgba(29, 26, 23, .12);
}

.polaroid--main {
  width: 80%;
  padding: 12px 12px 48px;
  transform: rotate(-2.2deg);
}

.polaroid--side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  padding: 9px 9px 36px;
  transform: rotate(4deg);
  box-shadow: 0 22px 40px -18px rgba(29, 26, 23, .55), 0 2px 6px rgba(29, 26, 23, .12);
}

.polaroid__photo { width: 100%; object-fit: cover; }
.polaroid__photo--portrait { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.polaroid__photo--tall { aspect-ratio: 2 / 3; }

.polaroid__caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font: 400 25px/1 var(--font-hand);
  color: var(--ink-soft);
}

.polaroid--side .polaroid__caption { left: 14px; bottom: 11px; font-size: 21px; }

.polaroid__tape {
  position: absolute;
  top: -12px;
  left: 38%;
  width: 92px;
  height: 26px;
  background: var(--tape);
  transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.polaroid--side .polaroid__tape {
  top: -10px;
  left: auto;
  right: 22%;
  width: 70px;
  height: 22px;
  transform: rotate(6deg);
  box-shadow: none;
}

/* Skyline */

.skyline {
  position: relative;
  z-index: 0;
  margin: clamp(-90px, -5vw, -30px) calc(var(--gutter) * -1) 0;
}

.skyline__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12.7%;
  height: 1px;
  background: rgba(29, 26, 23, .18);
}

.skyline__frame {
  position: relative;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 3;
  min-height: 120px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.skyline__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.skyline__sun { fill: var(--sun); opacity: .4; }
.skyline__hills { fill: #EEE9E0; }
.skyline__cristo { fill: #D3CBBE; }
.skyline__city { fill: #EBE5DA; }
.skyline__outline { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linejoin: round; opacity: .4; }
.skyline__bridge { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .3; }
.skyline__hangers { stroke: var(--ink); stroke-width: .5; opacity: .2; }
.skyline__water { stroke: var(--ink); stroke-width: 1; opacity: .18; stroke-linecap: round; }

.skyline__tram { opacity: .75; animation: lcf-tram 90s linear infinite; }
.skyline__pole { stroke: var(--ink); stroke-width: .8; }
.skyline__tram-body { fill: var(--sun); stroke: var(--ink); stroke-width: .8; }
.skyline__tram-windows { fill: var(--paper); }
.skyline__tram-skirt { fill: var(--ember); }

.skyline__boat { animation: lcf-boat 70s ease-in-out infinite alternate; }
.skyline__sail { fill: var(--paper); stroke: var(--ink); stroke-width: .8; }
.skyline__hull { fill: var(--ink); }

@keyframes lcf-tram { from { transform: translateX(0); } to { transform: translateX(1290px); } }
@keyframes lcf-boat { from { transform: translateX(0); } to { transform: translateX(-280px); } }

@media (prefers-reduced-motion: reduce) {
  .skyline__tram { animation: none; transform: translateX(320px); }
  .skyline__boat { animation: none; }
}

/* Sections */

.section { padding: var(--section-space) var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--ruled { border-top: 1px solid rgba(29, 26, 23, .15); }

.section__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}

.section__inner--loose { gap: clamp(40px, 5vw, 64px); }

.section-intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-intro--narrow { max-width: 720px; }

.section-intro__lede {
  margin: 0;
  max-width: 560px;
  font: 400 19px/1.5 var(--font-serif);
  color: var(--ink-soft);
}

.aside {
  margin: 0;
  max-width: 620px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font: 400 15px/1.5 var(--font-mono);
}

.aside__mark { color: var(--ember); flex: none; }

/* Why */

.split-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
}

.split-heading .heading { flex: 1 1 560px; max-width: 880px; }
.split-heading .note { flex: 0 1 300px; }

.feature-photo { margin: 0; display: flex; flex-direction: column; gap: 12px; }

.feature-photo__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 45%; }

.feature-photo__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font: 400 26px/1.4 var(--font-hand);
  color: var(--ink-soft);
}

.feature-photo__place {
  font: 400 12px/1.4 var(--font-mono);
  color: var(--ink-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--ink-rule);
  padding-top: clamp(28px, 3vw, 40px);
}

.reason { display: flex; flex-direction: column; gap: 12px; }
.reason__number { font: 400 13px/1 var(--font-mono); color: var(--ember); }
.reason__title { margin: 0; font: 500 26px/1.15 var(--font-serif); }
.reason__body { margin: 0; font: 400 18px/1.5 var(--font-serif); color: var(--ink-soft); text-wrap: pretty; }

/* Gallery */

.gallery-heading { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; }

.gallery-heading__lede {
  margin: 0;
  flex: 1 1 320px;
  max-width: 440px;
  font: 400 19px/1.45 var(--font-serif);
  color: var(--ink-soft);
}

.gallery { columns: 3 280px; column-gap: clamp(20px, 2.4vw, 32px); }

.gallery__item {
  margin: 0 0 32px;
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery__photo { width: 100%; object-fit: cover; }
.gallery__photo--tall { aspect-ratio: 2 / 3; }
.gallery__photo--wide { aspect-ratio: 3 / 2; }
.gallery__photo--portrait { aspect-ratio: 4 / 5; }

.poem {
  background: var(--paper);
  border: 1px solid var(--ink-hairline);
  padding: clamp(28px, 3vw, 40px);
  gap: 22px;
}

.poem__text { margin: 0; font: 400 17px/1.7 var(--font-mono); }

.poem__signature { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.poem__signature .handwritten { font-size: 24px; }

.poem--dark { background: var(--ink); color: var(--linen); border: 0; }
.poem__verse { margin: 0; font: italic 400 30px/1.15 var(--font-serif); }

.poem__source {
  font: 400 12px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #CFC6B8;
}

/* Testimonials */

.testimonials {
  background: var(--linen-dark);
  border-top: 1px solid rgba(29, 26, 23, .15);
  border-bottom: 1px solid rgba(29, 26, 23, .15);
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  margin-bottom: var(--section-space);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.testimonial {
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(29, 26, 23, .14);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial__mark { height: 24px; font: italic 400 64px/.5 var(--font-serif); color: var(--ember); }

.testimonial__quote { margin: 0; flex: 1; font: 400 21px/1.45 var(--font-serif); text-wrap: pretty; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px dashed rgba(29, 26, 23, .25);
  padding-top: 18px;
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #E6DFD2 0 6px, #EDE7DC 6px 12px);
  border: 1px solid rgba(29, 26, 23, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 9px/1 var(--font-mono);
  color: var(--ink-muted);
}

.testimonial__who { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.testimonial__name { font: 700 14px/1.2 var(--font-mono); }

/* Videos */

.videos { padding: 0 0 var(--section-space); }

.videos__heading {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  align-items: baseline;
  justify-content: space-between;
}

.videos__reel {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 12px;
  scrollbar-width: thin;
}

.video {
  margin: 0;
  flex: none;
  width: clamp(220px, 24vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.video__open:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.video__clip {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--placeholder);
  border: 1px solid rgba(29, 26, 23, .15);
}

.video-overlay {
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}

.video-overlay::backdrop { background: rgba(11, 10, 9, .86); }

.video-overlay__player {
  display: block;
  height: min(88vh, 900px);
  max-width: calc(100vw - 32px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--night);
}

.video-overlay__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--night-rule);
  border-radius: 50%;
  background: none;
  color: var(--night-text);
  font: 400 16px/1 var(--font-mono);
  cursor: pointer;
}

.video-overlay__close:hover { color: var(--paper); border-color: var(--night-text); }

/* Packages: two train tickets with a perforated stub. */

.tickets { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 36px); }

.ticket {
  position: relative;
  overflow: hidden;
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}

.ticket__stub {
  position: relative;
  width: 58px;
  flex: none;
  border-right: 1.5px dashed var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The punched notches top and bottom of the perforation. */
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--linen);
  border: 1.5px solid var(--ink);
}

.ticket__stub::before { top: -12px; }
.ticket__stub::after { bottom: -12px; }

.ticket__serial {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 400 11px/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ticket--featured .ticket__stub { background: var(--ember); }
.ticket--featured .ticket__serial { color: var(--paper); }

.ticket__body {
  flex: 1;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ticket__header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket__name { margin: 0; font: 400 36px/1 var(--font-hand); }

.ticket__kind {
  font: 400 12px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ticket__price { font: 400 clamp(60px, 6vw, 84px)/.9 var(--font-serif); letter-spacing: -.03em; }

.ticket__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 15px/1.45 var(--font-mono);
}

.ticket__perks li { display: flex; gap: 10px; }
.ticket__perks li > span:first-child { color: var(--ember); }

.ticket__footnote { font: 400 12px/1.4 var(--font-mono); color: var(--ink-muted); }

.ticket__cta { margin-top: auto; align-self: flex-start; padding: 14px 20px; }

.terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.terms__item { display: flex; flex-direction: column; gap: 10px; }
.terms__title { font: 400 32px/1 var(--font-hand); color: var(--ember); }
.terms__item p { margin: 0; font: 400 17px/1.5 var(--font-serif); color: var(--ink-soft); }

/* About Cath */

.about {
  background: var(--night);
  color: var(--linen);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}

.about__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.about__photo { flex: 1 1 320px; max-width: 500px; min-width: 0; margin: 0 auto; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 35%; }

.about__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

/* The heading search reads; it hugs the handwritten hello under it. */
.about__heading { margin-bottom: -16px; color: var(--night-muted); line-height: 1.4; }

.about__hello { font: 400 clamp(36px, 3.6vw, 46px)/1.3 var(--font-hand); color: var(--sun); }

.about__quote {
  margin: 0;
  font: italic 400 clamp(34px, 4.2vw, 58px)/1.04 var(--font-serif);
  letter-spacing: -.015em;
  text-wrap: balance;
}

.about__body {
  margin: 0;
  max-width: 540px;
  font: 400 19px/1.55 var(--font-serif);
  color: var(--night-text);
  text-wrap: pretty;
}

.about__links { display: flex; flex-direction: column; border-top: 1px solid var(--night-rule); }

.about__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--night-rule);
  text-decoration: none;
  color: var(--linen);
}

.about__link:hover { color: var(--sun); }

.about__handle { font: 700 15px/1 var(--font-mono); }
.about__network { font: 400 13px/1.3 var(--font-mono); color: var(--night-muted); text-align: right; }

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(29, 26, 23, .15);
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(96px, 10vw, 72px);
}

.site-footer__quote { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }

.site-footer__quote p {
  margin: 0;
  font: italic 400 clamp(36px, 5vw, 72px)/1.02 var(--font-serif);
  letter-spacing: -.02em;
}

.site-footer__quote span { font: 400 13px/1.4 var(--font-mono); color: var(--ink-muted); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--ink-rule);
  padding-top: 24px;
}

.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__signature { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font: italic 400 22px/1 var(--font-serif); }
.site-footer__credit { font: 400 12px/1.3 var(--font-mono); color: var(--ink-muted); }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; font: 400 13px/1 var(--font-mono); }

/* Mobile booking bar */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 238, 228, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(29, 26, 23, .15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar__price { flex: 1; font: 400 12px/1.3 var(--font-mono); color: var(--ink-muted); }
.sticky-bar .button { padding: 15px 18px; }

@media (min-width: 760px) {
  .sticky-bar { display: none !important; }
}
