/* ============================================================
   FASHION MAGAZINE — 25
   Konsep: sampul majalah, surat editor, feature spreads,
   runway, agenda, dan letters to the editor.
   Hitam-ivory, Bodoni Moda, ruang kosong yang percaya diri.
   ============================================================ */
:root {
  --fm-ivory: #f7f3ea;
  --fm-paper: #efe9dd;
  --fm-black: #0b0b0b;
  --fm-ink: #141414;
  --fm-muted: #6f6a62;
  --fm-faint: #948e84;
  --fm-line: rgba(20, 20, 20, 0.18);
  --fm-line-soft: rgba(20, 20, 20, 0.09);
  --fm-oxblood: #6f1d27;
  --fm-gold: #a3855c;
  --fm-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --fm-sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --fm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { min-width: 0; }

html { background: var(--fm-ivory); }

body {
  margin: 0;
  background: var(--fm-ivory);
  color: var(--fm-ink);
  font-family: var(--fm-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.fm-locked { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---------- GATE / COVER ---------- */
.fm-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 18px calc(22px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 30%, #1a1a1a 0%, #0b0b0b 55%, #050505 100%);
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.fm-gate.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.fm-gate__back {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  left: 18px;
  z-index: 4;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247, 243, 234, 0.55);
  border-bottom: 1px solid rgba(247, 243, 234, 0.18);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.fm-gate__back:hover { color: var(--fm-ivory); border-color: var(--fm-ivory); }
.fm-cover-wrap {
  width: min(88vw, 430px);
  perspective: 2000px;
}
.fm-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 0.71;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  transform-origin: left center;
  backface-visibility: hidden;
  transition: transform 1.1s cubic-bezier(0.62, 0.04, 0.24, 1), opacity 0.8s ease 0.15s;
}
.fm-gate.is-open .fm-cover {
  transform: rotateY(-98deg) translateX(-4%);
  opacity: 0;
}
.fm-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(0.15) contrast(1.04) saturate(0.85);
}
.fm-cover__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.45) 34%, rgba(6, 6, 6, 0.18) 58%, rgba(6, 6, 6, 0.55) 100%),
    linear-gradient(to right, rgba(6, 6, 6, 0.35), transparent 55%);
}
.fm-cover__top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.35);
  color: rgba(247, 243, 234, 0.85);
  font-size: 0.44rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fm-cover__kicker {
  position: absolute;
  top: 44px;
  left: 16px;
  z-index: 2;
  font-size: 0.46rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8c9a0;
}
.fm-cover__masthead {
  position: absolute;
  top: 78px;
  left: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(3rem, 14vw, 4.8rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: var(--fm-ivory);
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.fm-cover__masthead em {
  display: block;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.86em;
  color: #e8c9a0;
}
.fm-cover__lines {
  position: absolute;
  left: 16px;
  bottom: 118px;
  z-index: 2;
  display: grid;
  gap: 2px;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.86);
}
.fm-cover__lines span:first-child {
  font-family: var(--fm-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--fm-ivory);
}
.fm-cover__guest {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 76px;
  z-index: 2;
  display: grid;
  gap: 1px;
  padding-top: 8px;
  border-top: 1px solid rgba(247, 243, 234, 0.3);
}
.fm-cover__guest span {
  font-size: 0.4rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.6);
}
.fm-cover__guest strong {
  font-family: var(--fm-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fm-ivory);
  line-height: 1.2;
}
.fm-cover__open {
  position: absolute;
  left: 16px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: var(--fm-ivory);
  color: var(--fm-black);
  border: 1px solid var(--fm-ivory);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--fm-ease);
}
.fm-cover__open:hover { background: transparent; color: var(--fm-ivory); transform: translateY(-2px); }
.fm-cover__barcode {
  position: absolute;
  right: 16px;
  bottom: 24px;
  z-index: 2;
  width: 52px;
  height: 24px;
  background: repeating-linear-gradient(90deg, var(--fm-ivory) 0 1px, transparent 1px 3px, var(--fm-ivory) 3px 4px, transparent 4px 6px);
  opacity: 0.7;
}
.fm-cover__price {
  position: absolute;
  right: 16px;
  bottom: 52px;
  z-index: 2;
  font-size: 0.38rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.6);
}
.fm-gate__hint {
  font-size: 0.46rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.35);
}

/* ---------- APP ---------- */
.fm-app {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease 0.2s, visibility 1s 0.2s;
}
body.fm-open .fm-app { opacity: 1; visibility: visible; }

.fm-scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 95;
  background: rgba(20, 20, 20, 0.06);
}
.fm-scrollbar span { display: block; height: 100%; width: 0; background: var(--fm-ink); }

.fm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top));
  background: rgba(247, 243, 234, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, padding 0.35s;
}
.fm-nav.is-solid { border-color: var(--fm-line); padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
.fm-nav__brand {
  font-family: var(--fm-display);
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.fm-nav__brand em {
  display: block;
  font-family: var(--fm-sans);
  font-style: normal;
  font-size: 0.38rem;
  letter-spacing: 0.24em;
  color: var(--fm-muted);
  margin-top: 2px;
}
.fm-nav__links { display: none; gap: 20px; margin-left: auto; }
.fm-nav__links a {
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fm-muted);
  transition: color 0.2s;
}
.fm-nav__links a:hover,
.fm-nav__links a.is-active { color: var(--fm-ink); }
.fm-nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.fm-nav__issue { display: none; font-size: 0.46rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fm-faint); }
.fm-nav__back {
  font-size: 0.46rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fm-muted);
  border: 1px solid var(--fm-line);
  padding: 5px 10px;
  transition: color 0.25s, border-color 0.25s;
}
.fm-nav__back:hover { color: var(--fm-ink); border-color: var(--fm-ink); }

/* ---------- SHARED ---------- */
.fm-label {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fm-oxblood);
  margin-bottom: 12px;
}
.fm-folio {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 8px 0;
  border-top: 1px solid var(--fm-ink);
  border-bottom: 1px solid var(--fm-line);
  font-size: 0.42rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fm-muted);
}
.fm-folio span:nth-child(2) { color: var(--fm-faint); }
.fm-folio span:last-child { color: var(--fm-ink); }
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--fm-ink);
  color: var(--fm-ivory);
  border: 1px solid var(--fm-ink);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--fm-ease);
}
.fm-btn:hover { background: transparent; color: var(--fm-ink); transform: translateY(-2px); }
.fm-btn--ghost { background: transparent; color: var(--fm-ink); border-color: var(--fm-line); }
.fm-btn--ghost:hover { border-color: var(--fm-ink); }
.fm-btn--light { background: var(--fm-ivory); color: var(--fm-black); border-color: var(--fm-ivory); }
.fm-btn--light:hover { background: transparent; color: var(--fm-ivory); }

/* ---------- EDITOR'S LETTER ---------- */
.fm-editor {
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(92px + env(safe-area-inset-top)) 18px 64px;
}
.fm-editor__head { margin: 30px 0 28px; }
.fm-editor__title {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 6.4rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}
.fm-editor__title em { font-weight: 400; color: var(--fm-oxblood); }
.fm-editor__title:focus { outline: none; }
.fm-editor__issue {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--fm-line);
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fm-muted);
}
.fm-editor__grid { display: grid; gap: 34px; }
.fm-letter { font-size: 0.9rem; line-height: 1.95; color: #3d3a34; }
.fm-letter__salutation {
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--fm-ink);
  margin-bottom: 10px;
}
.fm-letter__lead::first-letter {
  float: left;
  font-family: var(--fm-display);
  font-size: 4.3em;
  line-height: 0.76;
  padding: 0.06em 0.1em 0 0;
  color: var(--fm-ink);
}
.fm-letter__lead { margin-bottom: 12px; }
.fm-letter p + p { margin-top: 12px; }
.fm-letter em { font-family: var(--fm-display); font-style: italic; }
.fm-letter__sign {
  margin-top: 22px !important;
  padding-top: 14px;
  border-top: 1px solid var(--fm-line);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-muted);
  line-height: 1.8;
}
.fm-letter__sign strong {
  font-family: var(--fm-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fm-ink);
}

.fm-profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-profile { min-width: 0; }
.fm-profile__photo { margin: 0 0 10px; }
.fm-profile__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.08) saturate(0.9);
}
.fm-profile__photo figcaption {
  margin-top: 5px;
  font-size: 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fm-faint);
}
.fm-profile__role {
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fm-oxblood);
  margin-bottom: 3px;
}
.fm-profile h2 {
  font-family: var(--fm-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.fm-profile__parents { margin-top: 6px; font-size: 0.66rem; line-height: 1.6; color: var(--fm-muted); }
.fm-profile__bio { margin-top: 6px; font-size: 0.72rem; line-height: 1.7; color: #4a463f; }
.fm-profile__ig {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fm-oxblood);
  border-bottom: 1px solid rgba(111, 29, 39, 0.3);
  padding-bottom: 1px;
}
.fm-profile__ig:hover { border-color: var(--fm-oxblood); }

.fm-editor__quote {
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid var(--fm-line);
  border-bottom: 1px solid var(--fm-line);
  text-align: center;
  font-family: var(--fm-display);
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  line-height: 1.4;
  max-width: 720px;
}

/* ---------- FEATURES / SPREADS ---------- */
.fm-features {
  background: var(--fm-black);
  color: var(--fm-ivory);
  padding: clamp(50px, 8vw, 90px) 0 clamp(38px, 6vw, 64px);
  overflow: hidden;
}
.fm-features__head,
.fm-spread-nav {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.fm-features__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.fm-features .fm-label { color: #cba98a; }
.fm-features h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.fm-features h2 em { color: #cba98a; }
.fm-features__note {
  display: none;
  font-size: 0.44rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.45);
  white-space: nowrap;
  padding-bottom: 4px;
}

.fm-spreads {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 18px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline-offset: 4px;
}
.fm-spreads::-webkit-scrollbar { display: none; }
.fm-spread {
  flex: 0 0 min(84vw, 560px);
  scroll-snap-align: start;
  background: #131313;
  border: 1px solid rgba(247, 243, 234, 0.14);
  overflow: hidden;
}
.fm-spread__img { position: relative; overflow: hidden; }
.fm-spread__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.12) saturate(0.88) contrast(1.02);
  transition: transform 0.8s var(--fm-ease);
}
.fm-spread:hover .fm-spread__img img { transform: scale(1.03); }
.fm-spread__body { padding: 20px 20px 24px; }
.fm-spread__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.18);
  font-size: 0.42rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.5);
}
.fm-spread__meta span:first-child { color: #cba98a; }
.fm-spread__title {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}
.fm-spread__quote {
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #d9c4ad;
  margin-bottom: 10px;
}
.fm-spread__text { font-size: 0.8rem; line-height: 1.8; color: rgba(247, 243, 234, 0.66); max-width: 46ch; }
.fm-spread__no {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--fm-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  color: rgba(247, 243, 234, 0.85);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.fm-spread-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.fm-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 243, 234, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--fm-ivory);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.fm-arrow:hover { background: var(--fm-ivory); color: var(--fm-black); border-color: var(--fm-ivory); }
.fm-dots { display: flex; gap: 6px; margin-left: 4px; }
.fm-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.28);
  transition: background 0.3s, transform 0.3s;
}
.fm-dots i.is-active { background: #cba98a; transform: scale(1.5); }
.fm-spread-count {
  margin-left: auto;
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(247, 243, 234, 0.7);
}

/* ---------- AGENDA ---------- */
.fm-agenda {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 18px;
}
.fm-agenda__head { margin: 28px 0 34px; max-width: 640px; }
.fm-agenda__head h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.fm-agenda__head h2 em { color: var(--fm-oxblood); }
.fm-agenda__lead { margin-top: 14px; font-size: 0.86rem; line-height: 1.8; color: var(--fm-muted); max-width: 44ch; }
.fm-agenda__list { border-top: 1px solid var(--fm-ink); }
.fm-event-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--fm-line);
}
.fm-event-row__no {
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--fm-oxblood);
  padding-top: 4px;
}
.fm-event-row__time {
  display: flex;
  align-items: baseline;
  gap: 6px;
  grid-column: 2;
}
.fm-event-row__time span {
  font-family: var(--fm-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fm-event-row__time small { font-size: 0.46rem; letter-spacing: 0.18em; color: var(--fm-muted); }
.fm-event-row__body { grid-column: 2; }
.fm-event-row__type {
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fm-oxblood);
  margin-bottom: 2px;
}
.fm-event-row__body h3 {
  font-family: var(--fm-display);
  font-size: clamp(1.5rem, 4.6vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}
.fm-event-row__venue { font-size: 0.84rem; margin-top: 3px; }
.fm-event-row__address { font-size: 0.74rem; line-height: 1.6; color: var(--fm-muted); max-width: 38ch; margin-top: 2px; }
.fm-event-row__timefull { display: none; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--fm-muted); margin-top: 6px; }
.fm-textlink {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fm-ink);
  border-bottom: 1px solid var(--fm-ink);
  padding-bottom: 1px;
}

/* ---------- COUNTDOWN ---------- */
.fm-countdown {
  position: relative;
  background: var(--fm-black);
  color: var(--fm-ivory);
  padding: clamp(54px, 9vw, 96px) 18px;
  overflow: hidden;
}
.fm-countdown::before {
  content: "12";
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 42vw;
  line-height: 0.7;
  color: rgba(247, 243, 234, 0.035);
  pointer-events: none;
}
.fm-countdown__inner { position: relative; max-width: 1000px; margin: 0 auto; }
.fm-countdown__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.22);
  font-size: 0.44rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.5);
}
.fm-live { display: flex; align-items: center; gap: 6px; color: #cba98a; }
.fm-live i { width: 5px; height: 5px; border-radius: 50%; background: #cba98a; box-shadow: 0 0 8px #cba98a; animation: fmBlink 2s infinite; }
@keyframes fmBlink { 50% { opacity: 0.3; } }
.fm-countdown__kicker {
  margin-top: 22px;
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 0.95rem;
  color: #cba98a;
}
.fm-countdown h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 10vw, 5.6rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  margin: 6px 0 30px;
}
.fm-countdown h2 em { color: #cba98a; }
.fm-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247, 243, 234, 0.22);
  border-bottom: 1px solid rgba(247, 243, 234, 0.22);
}
.fm-clock > div {
  padding: 16px 4px;
  text-align: center;
  border-left: 1px solid rgba(247, 243, 234, 0.14);
}
.fm-clock > div:first-child { border-left: 0; }
.fm-clock strong {
  display: block;
  font-family: var(--fm-display);
  font-size: clamp(2rem, 8vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.fm-clock span {
  display: block;
  margin-top: 6px;
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.45);
}
.fm-countdown__foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  font-size: 0.44rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.45);
}

/* ---------- RUNWAY ---------- */
.fm-runway {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 18px 30px;
}
.fm-runway__head { margin: 28px 0 24px; max-width: 620px; }
.fm-runway__head h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.fm-runway__head h2 em { color: var(--fm-oxblood); }
.fm-runway__lead { margin-top: 14px; font-size: 0.84rem; color: var(--fm-muted); max-width: 42ch; }
.fm-marquee {
  overflow: hidden;
  margin: 8px -18px 22px;
  padding: 9px 0;
  background: var(--fm-ink);
  color: var(--fm-ivory);
}
.fm-marquee__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: fmMarquee 30s linear infinite;
}
.fm-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: 0.46rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fm-marquee__track span::after { content: "✦"; color: #cba98a; font-size: 0.5rem; }
@keyframes fmMarquee { to { transform: translateX(-50%); } }

.fm-runway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}
.fm-look { display: block; text-decoration: none; color: inherit; }
.fm-look__img { overflow: hidden; background: #e6dfd2; }
.fm-look img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.01);
  transition: transform 0.8s var(--fm-ease), filter 0.4s;
}
.fm-look--wide { grid-column: span 2; }
.fm-look--wide img { aspect-ratio: 16 / 10; }
.fm-look--tall img { aspect-ratio: 3 / 4.5; }
.fm-look:hover img, .fm-look:focus-visible img { transform: scale(1.035); filter: saturate(1) contrast(1.02); }
.fm-look__cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  margin-top: 6px;
  border-top: 1px solid var(--fm-line);
  font-size: 0.42rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fm-muted);
}
.fm-look__cap b { font-weight: 400; color: var(--fm-oxblood); }

/* ---------- VENUE ---------- */
.fm-venue { padding-top: clamp(30px, 6vw, 50px); }
.fm-venue__hero {
  position: relative;
  height: clamp(340px, 62vw, 560px);
  overflow: hidden;
  background: #111;
}
.fm-venue__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.82);
}
.fm-venue__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 5vw, 52px);
  background: linear-gradient(to top, rgba(6, 6, 6, 0.9), rgba(6, 6, 6, 0.2) 55%, rgba(6, 6, 6, 0.35));
  color: var(--fm-ivory);
}
.fm-venue__overlay .fm-label { color: #e8c9a0; }
.fm-venue__overlay h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 5.2rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
}
.fm-venue__overlay h2 em { color: #e8c9a0; }
.fm-venue__overlay > p:last-child {
  margin-top: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.7);
}
.fm-venue__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) 18px;
  display: grid;
  gap: 28px;
}
.fm-venue__address {
  font-family: var(--fm-display);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.35;
  max-width: 26ch;
}
.fm-venue__note { margin-top: 14px; font-size: 0.8rem; line-height: 1.8; color: var(--fm-muted); max-width: 44ch; }
.fm-venue__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.fm-venue__map { min-height: 280px; border: 1px solid var(--fm-line); }
.fm-venue__map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; filter: grayscale(0.5) sepia(0.1) contrast(1.02); }

/* ---------- LETTERS / RSVP ---------- */
.fm-letters {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 18px;
}
.fm-letters__head { max-width: 560px; margin-bottom: 28px; }
.fm-letters__head h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.fm-letters__head h2 em { color: var(--fm-oxblood); }
.fm-letters__lead { margin-top: 14px; font-size: 0.84rem; line-height: 1.8; color: var(--fm-muted); max-width: 44ch; }
.fm-letters__lead span { color: var(--fm-ink); border-bottom: 1px solid var(--fm-line); }

.fm-letterform {
  position: relative;
  padding: clamp(22px, 5vw, 46px);
  background:
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(20, 20, 20, 0.045) 33px 34px),
    var(--fm-paper);
  border: 1px solid var(--fm-line);
  box-shadow: 0 30px 60px -48px rgba(20, 20, 20, 0.7);
}
.fm-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 58px;
  height: 68px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed rgba(20, 20, 20, 0.45);
  font-family: var(--fm-display);
  font-size: 1.1rem;
  line-height: 1.05;
  color: var(--fm-oxblood);
  transform: rotate(3deg);
  background: rgba(247, 243, 234, 0.5);
}
.fm-stamp b { display: block; font-family: var(--fm-sans); font-size: 0.4rem; letter-spacing: 0.16em; font-weight: 400; }
.fm-form { display: grid; gap: 18px; max-width: 620px; }
.fm-form__dear {
  font-family: var(--fm-display);
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fm-line);
}
.fm-form__field { display: grid; gap: 4px; }
.fm-form__field label {
  font-size: 0.44rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fm-muted);
}
.fm-form input,
.fm-form select,
.fm-form textarea {
  width: 100%;
  padding: 7px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.3);
  border-radius: 0;
  font-family: var(--fm-display);
  font-size: 1.05rem;
  color: var(--fm-ink);
  transition: border-color 0.25s, background 0.25s;
}
.fm-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fm-muted) 50%), linear-gradient(135deg, var(--fm-muted) 50%, transparent 50%); background-position: calc(100% - 12px) 19px, calc(100% - 7px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.fm-form textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.fm-form input:focus, .fm-form select:focus, .fm-form textarea:focus {
  outline: 0;
  border-color: var(--fm-oxblood);
  background: rgba(247, 243, 234, 0.55);
}
.fm-form__row { display: grid; gap: 18px; }
.fm-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.fm-form__note { font-size: 0.66rem; line-height: 1.5; color: var(--fm-muted); max-width: 30ch; }
.fm-form__done { font-size: 0.7rem; line-height: 1.6; color: var(--fm-oxblood); }
.fm-letterform__sign {
  margin-top: 24px;
  font-family: var(--fm-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--fm-muted);
}

/* ---------- CLOSING ---------- */
.fm-closing {
  background: var(--fm-black);
  color: var(--fm-ivory);
  padding: clamp(60px, 10vw, 110px) 18px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}
.fm-closing__inner { max-width: 720px; margin: 0 auto; }
.fm-closing .fm-label { color: #cba98a; }
.fm-closing h2 {
  font-family: var(--fm-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.fm-closing h2 em { color: #cba98a; }
.fm-closing__quote {
  font-family: var(--fm-display);
  font-style: italic;
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.85);
  max-width: 38ch;
  margin: 0 auto 22px;
}
.fm-closing__message { font-size: 0.76rem; line-height: 1.8; color: rgba(247, 243, 234, 0.55); max-width: 48ch; margin: 0 auto 12px; }
.fm-closing__thanks { font-family: var(--fm-display); font-style: italic; font-size: 0.95rem; color: rgba(247, 243, 234, 0.7); }
.fm-closing__hash {
  margin: 30px 0 24px;
  font-family: var(--fm-display);
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--fm-ivory);
}
.fm-closing__colophon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 243, 234, 0.18);
  font-size: 0.42rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.4);
}
.fm-footer {
  padding: 18px;
  text-align: center;
  background: #050505;
  border-top: 1px solid rgba(247, 243, 234, 0.1);
  font-size: 0.42rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.32);
}
.fm-footer a { color: rgba(247, 243, 234, 0.55); }

/* ---------- LIGHTBOX ---------- */
.zx-lightbox figcaption { font-family: var(--fm-sans); letter-spacing: 0.2em; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 560px) {
  .fm-features__note { display: block; }
  .fm-form__row { grid-template-columns: 1fr 1fr; }
  .fm-venue__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .fm-closing__colophon { grid-template-columns: repeat(3, 1fr); }
  .fm-event-row { grid-template-columns: 40px 110px 1fr; gap: 16px; }
  .fm-event-row__time { grid-column: 2; grid-row: 1; }
  .fm-event-row__body { grid-column: 3; }
  .fm-event-row__no { grid-row: 1; }
  .fm-event-row__timefull { display: block; }
}

@media (min-width: 760px) {
  .fm-nav { padding-left: 28px; padding-right: 28px; }
  .fm-nav__links { display: flex; }
  .fm-nav__right { margin-left: 0; }
  .fm-nav__issue { display: inline; }
  .fm-editor { padding-left: 28px; padding-right: 28px; padding-top: calc(104px + env(safe-area-inset-top)); }
  .fm-editor__grid { grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
  .fm-letter { font-size: 0.94rem; }
  .fm-features__head, .fm-spread-nav { padding-left: 28px; padding-right: 28px; }
  .fm-spreads { padding-left: 28px; padding-right: 28px; scroll-padding-left: 28px; gap: 18px; }
  .fm-spread { flex-basis: min(72vw, 680px); display: grid; grid-template-columns: 1fr 1fr; }
  .fm-spread__img img { aspect-ratio: 4 / 5; height: 100%; }
  .fm-spread__body { padding: 26px 24px; align-self: center; }
  .fm-agenda { padding-left: 28px; padding-right: 28px; }
  .fm-agenda__list { margin-top: 10px; }
  .fm-event-row { padding: 30px 0; }
  .fm-runway { padding-left: 28px; padding-right: 28px; }
  .fm-marquee { margin-left: -28px; margin-right: -28px; }
  .fm-runway-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
  .fm-venue__grid { padding-left: 28px; padding-right: 28px; gap: 40px; }
  .fm-venue__map, .fm-venue__map iframe { min-height: 340px; }
  .fm-letters { padding-left: 28px; padding-right: 28px; }
  .fm-editor__quote { margin-top: 56px; }
}

@media (min-width: 1080px) {
  .fm-editor { padding-top: calc(118px + env(safe-area-inset-top)); }
  .fm-profile h2 { font-size: 1.8rem; }
  .fm-spread { flex-basis: 680px; }
  .fm-cover__masthead { font-size: 4.4rem; }
}

@media (max-width: 379px) {
  .fm-cover__masthead { font-size: 2.7rem; }
  .fm-cover__lines { bottom: 104px; }
  .fm-cover__guest { bottom: 68px; }
  .fm-profiles { gap: 10px; }
  .fm-profile h2 { font-size: 1.15rem; }
  .fm-profile__bio { font-size: 0.66rem; }
  .fm-clock strong { font-size: 1.6rem; }
  .fm-clock span { font-size: 0.34rem; letter-spacing: 0.1em; }
  .fm-event-row { grid-template-columns: 24px 1fr; }
  .fm-event-row__time { grid-column: 2; }
  .fm-event-row__body { grid-column: 2; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .fm-marquee__track { animation: none; }
  .fm-live i { animation: none; }
  .fm-cover { transition: opacity 0.4s ease; }
  .fm-gate.is-open .fm-cover { transform: none; }
  .fm-look:hover img, .fm-look:focus-visible img, .fm-spread:hover .fm-spread__img img { transform: none; }
}

/* Long guest names stay inside the cover */
.fm-cover__guest strong { overflow-wrap: anywhere; }
