/* Meet Us in Jeju
 *
 * Measurements come straight from the design export (Exports/Meet Us in Jeju.pdf).
 * Desktop pages are drawn on a 1920px artboard with a 1700px sheet of paper;
 * mobile pages on a 1080px artboard with a 1034px sheet. Inside the paper,
 * `--u` is one artboard pixel, so `calc(775 * var(--u))` reads as "775px in the
 * mockup" and the whole sheet scales with the window. Text sizes take a max()
 * with a readable floor so small screens never shrink type below legibility.
 */

:root {
  --ink: #707070;
  --ink-strong: #33312f;
  --sage: #789b70;
  --page: #ffffff;
  --gallery-bg: #fff5eb;
  --intro-bg: #fafafa;
  --intro-table: #d1c4a7;

  --serif: "cormorant-garamond", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "montserrat", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --display: "hoefler-text", "Hoefler Text", "cormorant-garamond", Garamond, serif;

  /* The mockup sets body copy in Cormorant SemiBold, but the Typekit kit only has
   * 400 and 700; a hairline stroke on 400 lands close to SemiBold. */
  --serif-body-weight: 400;
  --serif-semibold-stroke: 0.018em;

  /* One artboard pixel, for things that live outside the paper (header, gallery). */
  --vu: calc(100vw / 1920);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Cormorant Garamond for the display and letter copy. */
.serif,
.site-header,
.letter,
.paper__note,
.lede,
.faq__question,
.faq__contact-heading,
.gallery__caption,
.back-link,
.envelope__hint {
  font-family: var(--serif);
}

/* The mockup joins "Th" with Cormorant's discretionary ligature; turning dlig on
 * everywhere would also join st and ct, so it's applied to just those letters. */
.lig-th {
  font-variant-ligatures: discretionary-ligatures;
}

.letter,
.paper__note,
.lede,
.faq__contact-heading {
  -webkit-text-stroke: var(--serif-semibold-stroke) currentColor;
}

/* ---------- Header ---------- */

/* The header stays pinned so the nav is always in reach on the long home scroll.
 * It's see-through: the page shows behind it as it scrolls up and fades out.
 * A light veil keeps the nav readable. Its color follows the sheet underneath
 * (white paper pages, cream gallery), and it runs a little past the bar, fading
 * to nothing, so there's no hard edge. Lower its opacity for a clearer header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + 14 * var(--vu)) calc(22 * var(--vu)) calc(10 * var(--vu)) calc(28 * var(--vu));
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -1em;
  z-index: -1;
  background-color: var(--page);
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(#000 50%, transparent);
  mask-image: linear-gradient(#000 50%, transparent);
  pointer-events: none;
  transition: background-color 0.6s ease;
}

body[data-sheet="gallery"] .site-header::before {
  background-color: var(--gallery-bg);
}

.site-header__logo {
  color: var(--sage);
  font-size: clamp(22px, calc(32 * var(--vu)), 32px);
  line-height: 1.2;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: clamp(24px, calc(110 * var(--vu)), 110px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink-strong);
  font-size: clamp(17px, calc(25 * var(--vu)), 25px);
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  text-decoration-line: underline;
}

/* ---------- Sheets ----------
 * Home, Travel, Questions and Gallery are sheets in one scroll. js/main.js sets
 * each sheet's opacity from its scroll position so that, at every break, the
 * sheet leaving the top fades out as the next one fades in. */

.sheet {
  scroll-margin-top: var(--header-h, 64px);
}

.sheet + .sheet {
  margin-top: calc(140 * var(--vu));
}

.has-sheet-fades .sheet,
.has-sheet-fades .letter {
  will-change: opacity;
}

/* ---------- Reveals ----------
 * Each `.reveal` block of text or art fades in with a short rise the first time
 * it scrolls into view. js/main.js adds `.is-revealed` and staggers blocks that
 * arrive together with --reveal-delay. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    --reveal-ease: cubic-bezier(0.4, 0, 0.4, 1);
    opacity: 0;
    translate: 0 14px;
    transition: opacity 1s var(--reveal-ease), translate 1s var(--reveal-ease);
    transition-delay: var(--reveal-delay, 0s);
    /* If main.js never runs, show the page after a beat instead of leaving it blank. */
    animation: reveal-failsafe 1s var(--reveal-ease) 4s forwards;
  }

  .has-reveals .reveal {
    animation: none;
  }

  .js .reveal.is-revealed {
    opacity: 1;
    translate: none;
  }
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    translate: none;
  }
}

/* ---------- Paper ---------- */

.paper {
  --pw: min(88.54vw, 1700px);
  --u: calc(var(--pw) / 1700);
  position: relative;
  isolation: isolate;
  width: var(--pw);
  margin: calc(38 * var(--vu)) auto calc(60 * var(--vu));
}

/* The torn sheet is 9-sliced so its edges stay crisp however tall the content runs. */
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-style: solid;
  border-width: calc(var(--pw) * 0.06) calc(var(--pw) * 0.03) calc(var(--pw) * 0.05);
  border-image-slice: 108 54 90 fill;
  border-image-repeat: stretch;
}

.paper--letter::before {
  border-image-source: url("../assets/img/paper-short.webp");
}

.paper--travel::before {
  border-image-source: url("../assets/img/paper-long.webp");
}

.paper--howto::before {
  border-image-source: url("../assets/img/paper-med.webp");
}

.paper__note {
  margin: calc(181 * var(--u)) calc(52 * var(--u)) 0 0;
  font-size: max(15px, calc(20 * var(--u)));
  font-weight: var(--serif-body-weight);
  line-height: 1.3;
  text-align: right;
}

.divider {
  width: calc(1242 * var(--u));
  max-width: none;
  margin-inline: auto;
}

/* ---------- Home ---------- */

.home {
  padding: calc(280 * var(--u)) 0 calc(75 * var(--u));
}

.letter {
  position: relative;
  font-size: max(16px, calc(20 * var(--u)));
  font-weight: var(--serif-body-weight);
  line-height: 1.5;
}

.letter__bouquet {
  position: absolute;
  top: 0;
  left: calc(285 * var(--u));
  width: calc(430 * var(--u));
}

.letter__verse {
  margin-left: calc(775 * var(--u));
}

.letter__verse:first-of-type {
  padding-top: calc(138 * var(--u));
}

.letter__verse + .letter__verse {
  margin-top: 3em;
}

.letter__verse--second,
.letter__signature {
  margin-left: calc(1039 * var(--u));
}

.letter__verse.letter__verse--second {
  margin-top: 0.35em;
}

.letter__verse--second + .letter__verse--second {
  margin-top: 1.5em;
}

.letter__signature {
  margin-top: 5.4em;
  color: var(--sage);
  font-style: italic;
}

.home .divider--ornament {
  margin-top: calc(203 * var(--u));
}

.details {
  position: relative;
  margin-top: calc(76 * var(--u));
  padding-left: calc(362 * var(--u));
  min-height: calc(272 * var(--u));
}

.details__list {
  display: grid;
  grid-template-columns: minmax(calc(160 * var(--u)), max-content) 1fr;
  align-items: baseline;
  row-gap: calc(40 * var(--u));
}

.details__list dt {
  padding-right: 0.75em;
  font-family: var(--serif);
  font-size: max(19px, calc(27 * var(--u)));
  font-weight: 700;
  line-height: 1.2;
}

.details__list dd {
  font-size: max(14px, calc(20 * var(--u)));
  line-height: 1.6;
}

.details__address {
  margin: 2.2em 0 0 -0.35em;
  font-style: italic;
  line-height: 1.5;
}

.details__illustration {
  position: absolute;
  top: calc(-10 * var(--u));
  left: calc(908 * var(--u));
  width: calc(453 * var(--u));
}

.home .divider--plain {
  margin-top: calc(94 * var(--u));
}

/* ---------- Travel & How to ---------- */

.guide {
  padding: calc(135 * var(--u)) calc(92 * var(--u)) calc(70 * var(--u)) calc(121 * var(--u));
  font-size: max(14px, calc(20 * var(--u)));
  line-height: 1.75;
}

.guide__title {
  font-family: var(--display);
  font-size: max(44px, calc(73 * var(--u)));
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.lede {
  margin-top: calc(8 * var(--u));
  margin-right: calc(-40 * var(--u));
  font-size: max(18px, calc(26 * var(--u)));
  font-weight: var(--serif-body-weight);
  line-height: 1.38;
}

.lede a {
  display: inline-block;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.guide__row {
  display: grid;
  grid-template-columns: calc(632 * var(--u)) 1fr;
  margin-top: calc(88 * var(--u));
}

.guide__row + .guide__row {
  margin-top: calc(120 * var(--u));
}

.guide__label {
  padding-right: 1em;
  font-weight: 700;
}

.guide__label a,
.link-list a,
.guide__body a {
  color: var(--sage);
  font-weight: 700;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.guide__recommended {
  display: block;
  color: var(--sage);
}

.guide__body > * + * {
  margin-top: 1.5em;
}

.guide__body ol {
  margin-bottom: 0;
  padding: 0;
  list-style-position: inside;
}

.guide__body > ol {
  margin-top: 0;
}

.guide__body a.tint-link {
  font-weight: 400;
  text-decoration: none;
}

.guide__body a.tint-link:hover {
  text-decoration: underline;
}

.flow {
  display: grid;
  grid-template-columns: calc(317 * var(--u)) calc(303 * var(--u)) 1fr;
  margin-top: calc(72 * var(--u));
  color: var(--sage);
  font-weight: 700;
}

.link-list {
  display: grid;
  grid-template-columns: calc(341 * var(--u)) calc(287 * var(--u)) 1fr;
  gap: calc(12 * var(--u)) 0;
  margin: calc(70 * var(--u)) calc(-60 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
}

.guide__divider {
  width: calc(1622 * var(--u));
  max-width: none;
  margin: calc(68 * var(--u)) 0 calc(74 * var(--u)) calc(-80 * var(--u));
}

.guide .paper__note {
  margin: calc(280 * var(--u)) calc(-40 * var(--u)) 0 0;
}

.facts {
  display: grid;
  grid-template-columns: calc(317 * var(--u)) 1fr;
  margin-top: calc(72 * var(--u));
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin-top: 1.75em;
  padding-right: 1em;
}

.guide__body a.ticket-link {
  display: inline-block;
  color: var(--ink);
  margin-top: 1.5em;
  font-weight: 700;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.back-link {
  display: inline-block;
  margin: 0 0 calc(40 * var(--vu)) calc(28 * var(--vu));
  color: var(--sage);
  font-size: clamp(22px, calc(32 * var(--vu)), 32px);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

/* ---------- Questions ---------- */

.faq {
  padding: calc(262 * var(--u)) calc(60 * var(--u)) calc(287 * var(--u)) calc(187 * var(--u));
  font-size: max(14px, calc(20 * var(--u)));
  line-height: 1.75;
}

.faq__row {
  display: grid;
  align-items: start;
  column-gap: 1.5em;
}

.faq__row--top {
  grid-template-columns: calc(416 * var(--u) - 1.5em) calc(645 * var(--u) - 1.5em) 1fr;
}

.faq__row--middle {
  grid-template-columns: calc(733 * var(--u) - 1.5em) 1fr;
  margin-top: calc(170 * var(--u));
}

.faq__item--plus-one {
  margin-top: calc(88 * var(--u));
}

.faq__item--wear {
  margin-top: calc(280 * var(--u));
}

.faq__question {
  font-size: max(19px, calc(26 * var(--u)));
  font-weight: 700;
  line-height: 1.17;
}

.faq__answer {
  margin-top: calc(46 * var(--u));
}


.faq__closing {
  display: grid;
  grid-template-columns: calc(509 * var(--u)) 1fr;
  column-gap: calc(41 * var(--u));
  align-items: start;
  margin: calc(292 * var(--u)) 0 0 calc(45 * var(--u));
}

.faq__pets {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}

.faq__contact {
  margin-top: calc(240 * var(--u));
}

.faq__contact-heading {
  font-size: max(20px, calc(30 * var(--u)));
  font-weight: var(--serif-body-weight);
  line-height: 1.25;
}

.faq__phones {
  margin: calc(56 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
}

.faq__phones a {
  text-decoration: none;
}

.faq__phones a:hover {
  text-decoration: underline;
}

/* ---------- Gallery ---------- */

/* Cream ground for the gallery, eased in from the white page above it. */
.gallery-sheet {
  background: linear-gradient(var(--page), var(--gallery-bg) calc(160 * var(--vu)));
}

/* Photos are placed exactly where the mockup scatters them, as percentages of
 * the artboard, so the composition scales with the window. Each item carries
 * its desktop (--dx/--dy/--dw) and mobile (--mx/--my/--mw) artboard coordinates. */
.gallery {
  --gw: 1920;
  --gh: 11880;
  position: relative;
  aspect-ratio: var(--gw) / var(--gh);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__item {
  --x: var(--dx);
  --y: var(--dy);
  --w: var(--dw);
  position: absolute;
  left: calc(var(--x) / var(--gw) * 100%);
  top: calc(var(--y) / var(--gh) * 100%);
  width: calc(var(--w) / var(--gw) * 100%);
}

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

.gallery__button img {
  width: 100%;
}

.gallery__caption {
  margin-top: 0.15em;
  font-size: clamp(11px, calc(19 * var(--vu)), 19px);
  font-weight: 400;
  line-height: 1.2;
}

/* The last photo sits in a frame of rules with a carved symbol at each corner. */
.gallery__frame {
  aspect-ratio: 477 / 455;
}

.gallery__frame > * {
  position: absolute;
}

.gallery__frame .gallery__button {
  left: 11.32%;
  top: 11.21%;
  width: 77.57%;
}

.gallery__frame .gallery__button img {
  aspect-ratio: 370 / 353;
  object-fit: cover;
}

.frame__corner {
  width: 8.8%;
}

.frame__corner--tl { left: 0; top: 0; }
.frame__corner--tr { left: 91.2%; top: 0; }
.frame__corner--bl { left: 0; top: 91%; }
.frame__corner--br { left: 91.2%; top: 91.2%; }

.frame__rule {
  left: 10.27%;
  width: 79.45%;
  height: 7.47%;
}

.frame__rule--top { top: 0.66%; }
.frame__rule--bottom { top: 91.87%; }

.frame__rule--left,
.frame__rule--right {
  top: 10.33%;
  width: 7.13%;
  height: 80.66%;
}

.frame__rule--left { left: 0.84%; }
.frame__rule--right { left: 92.03%; }

.frame__rule,
.frame__rule--left,
.frame__rule--right {
  object-fit: fill;
}

/* js/main.js sets each photo's opacity and drift from its scroll position; the
 * short transition smooths the steps a mouse wheel scrolls in. */
.has-sheet-fades .gallery__item {
  transition: opacity 0.2s linear, transform 0.2s linear;
  will-change: opacity, transform;
}

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 245, 235, 0.97);
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(255, 245, 235, 0.6);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: min(92vw, 1600px);
  max-height: 86vh;
  max-height: 86dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__button {
  position: absolute;
  padding: 0.5rem 0.9rem;
  border: 0;
  background: none;
  color: var(--ink-strong);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__button:hover {
  color: var(--sage);
}

.lightbox__close {
  top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  right: 0.75rem;
  font-size: 22px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
}

.lightbox__prev { left: 0.5rem; }
.lightbox__next { right: 0.5rem; }

/* ---------- Intro envelope ---------- */

.page-intro {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--intro-bg);
}

/* The clip and the hint stack in a column: the 16:9 stage is as large as fits
 * above a band reserved for the hint, so the hint never lands on the opened
 * envelope's lower flap. */
.envelope {
  --hint-band: clamp(56px, 9vh, 100px);
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease;
}

.envelope.is-leaving {
  opacity: 0;
}

.envelope__stage {
  position: relative;
  flex-shrink: 0;
  width: min(100vw, calc((100vh - var(--hint-band)) * 16 / 9));
  width: min(100vw, calc((100dvh - var(--hint-band)) * 16 / 9));
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  /* Feather the clip's edges into the page so the frame doesn't read as a box. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

/* The feathered mask would hide an outline, so keyboard focus shows on the hint. */
.envelope__stage:focus-visible {
  outline: none;
}

.envelope__stage:focus-visible ~ .envelope__hint {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  animation: none;
}

.envelope__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

.envelope__open-image {
  opacity: 0;
}

.envelope.is-open-still .envelope__open-image {
  opacity: 1;
}

.envelope__hint {
  display: flex;
  align-items: center;
  height: var(--hint-band);
  color: var(--ink);
  font-size: clamp(18px, calc(26 * var(--vu)), 26px);
  font-style: italic;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.6s ease;
  animation: hint-breathe 3.2s ease-in-out infinite;
}

.envelope.is-playing .envelope__hint {
  opacity: 0;
  animation: none;
}

.envelope__enter {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}

@keyframes hint-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .envelope__hint {
    animation: none;
  }
}

/* A 16:9 clip can't cover a tall screen without cropping the envelope, so
 * portrait screens letterbox it on the tan "table" from the mobile mockup. */
@media (max-aspect-ratio: 4/3) {
  .page-intro {
    background: var(--intro-table);
  }

  .envelope__stage {
    width: 94.8vw;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .envelope__hint {
    margin-bottom: calc(-1 * var(--hint-band));
    color: var(--ink-strong);
  }
}

/* ---------- Mobile & tablet portrait (1080px artboard) ---------- */

@media (max-width: 900px) {
  :root {
    --vu: calc(100vw / 1080);
  }

  .site-header {
    flex-wrap: nowrap;
    padding: 12px max(8px, calc(23 * var(--vu))) 10px;
  }

  .site-header__logo {
    flex-shrink: 0;
    font-size: clamp(17px, 4.6vw, 22px);
  }

  .site-nav {
    gap: clamp(10px, 4.2vw, 24px);
  }

  .site-nav a {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .paper {
    --pw: 95.74vw;
    --u: calc(var(--pw) / 1034);
    margin-top: 8px;
  }

  .paper--letter::before {
    border-image-source: url("../assets/img/paper-long.webp");
  }

  .paper--travel::before {
    border-image-source: url("../assets/img/paper-long-mobile.webp");
    border-image-slice: 66 33 55 fill;
  }

  .paper--howto::before {
    border-image-source: url("../assets/img/paper-long-mobile-howto.webp");
    border-image-slice: 66 33 55 fill;
  }

  .paper__note {
    margin: calc(60 * var(--u)) calc(43 * var(--u)) 0 calc(60 * var(--u));
    font-size: 12px;
  }

  /* Home */

  .home {
    padding: calc(210 * var(--u)) 0 calc(60 * var(--u));
  }

  .letter {
    font-size: clamp(14px, 3.9vw, 17px);
  }

  .letter__verse {
    margin-left: calc(150 * var(--u));
  }

  .letter__verse:first-of-type {
    padding-top: 0;
  }

  .letter__bouquet {
    position: relative;
    left: auto;
    width: calc(430 * var(--u));
    margin: calc(-60 * var(--u)) 0 0 calc(462 * var(--u));
  }

  .letter__verse--second,
  .letter__signature {
    margin-left: calc(300 * var(--u));
  }

  .letter__bouquet + .letter__verse--second {
    margin-top: calc(60 * var(--u));
  }

  .home .divider--ornament {
    width: calc(980 * var(--u));
    margin-top: calc(200 * var(--u));
  }

  .details {
    margin-top: calc(120 * var(--u));
    padding: 0 calc(40 * var(--u)) 0 calc(110 * var(--u));
    min-height: 0;
  }

  .details__list {
    grid-template-columns: max-content 1fr;
    row-gap: calc(70 * var(--u));
  }

  .details__list dt {
    font-size: 16px;
  }

  .details__list dd {
    font-size: 12px;
  }

  .details__illustration {
    position: static;
    width: calc(453 * var(--u));
    margin: calc(100 * var(--u)) auto 0 calc(291 * var(--u));
  }

  .home .divider--plain {
    width: calc(1012 * var(--u));
    margin-top: calc(84 * var(--u));
  }

  /* Travel & How to */

  .guide {
    padding: calc(80 * var(--u)) calc(56 * var(--u)) calc(60 * var(--u)) calc(64 * var(--u));
    font-size: 12px;
  }

  .guide__title {
    font-size: clamp(28px, 8.4vw, 38px);
  }

  .lede {
    margin-top: 6px;
    font-size: 14px;
  }

  .guide__row,
  .guide__row + .guide__row {
    display: block;
    margin-top: calc(110 * var(--u));
  }

  .guide__row:first-of-type {
    margin-top: calc(90 * var(--u));
  }

  .guide__label {
    margin-bottom: 1.1em;
    padding-right: 0;
  }

  .flow {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    margin-top: 1.6em;
  }

  .link-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1em 0.75em;
    margin-top: 1.6em;
  }

  .link-list--pair {
    grid-template-columns: repeat(2, max-content);
    column-gap: 2em;
  }

  .guide__divider {
    width: calc(998 * var(--u));
    margin: calc(110 * var(--u)) 0 calc(80 * var(--u)) calc(-40 * var(--u));
  }

  .guide .paper__note {
    margin: calc(160 * var(--u)) calc(-20 * var(--u)) 0 0;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.6em;
  }

  .facts dd {
    margin-top: 0.6em;
  }

  .back-link {
    margin: 0 0 32px max(8px, calc(23 * var(--vu)));
    font-size: 18px;
  }

  /* Questions */

  .faq {
    padding: calc(200 * var(--u)) calc(60 * var(--u)) calc(160 * var(--u)) 0;
    font-size: 12px;
  }

  .faq__row,
  .faq__row--top,
  .faq__row--middle {
    display: block;
    margin-top: 0;
  }

  .faq__item {
    margin-left: calc(110 * var(--u));
  }

  .faq__item + .faq__item,
  .faq__row + .faq__row .faq__item:first-child {
    margin-top: calc(150 * var(--u));
  }

  .faq__item--plus-one {
    margin-top: 0;
  }

  .faq__item--wear,
  .faq__item--indoors {
    margin-left: calc(210 * var(--u));
  }

  .faq__item--reception {
    margin-left: calc(160 * var(--u));
  }

  .faq__question {
    font-size: 16px;
  }

  /* Desktop answers keep the mockup's exact line breaks; mobile wraps naturally. */
  .br-desktop {
    display: none;
  }

  .faq__answer {
    margin-top: 0.7em;
    max-width: 24em;
  }

  .faq__closing {
    display: block;
    margin: calc(200 * var(--u)) 0 0;
  }

  .faq__pets {
    width: calc(509 * var(--u));
    margin-left: calc(263 * var(--u));
  }

  .faq__contact {
    margin: calc(70 * var(--u)) 0 0 calc(300 * var(--u));
  }

  .faq__contact-heading {
    font-size: 16px;
    font-weight: 700;
  }

  .faq__phones {
    margin-top: 1em;
    padding-left: calc(150 * var(--u));
  }

  /* Gallery */

  .gallery {
    --gw: 1080;
    --gh: 9520;
  }

  .gallery__item {
    --x: var(--mx);
    --y: var(--my);
    --w: var(--mw);
  }

  .gallery__caption {
    font-size: 12px;
  }
}
