@font-face { font-family: "Rozha One"; src: url("../fonts/lookbook/rozha-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/lookbook/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/lookbook/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/lookbook/newsreader-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/lookbook/newsreader-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* LOOKBOOK (theme key "lookbook"): the invitation as a fashion lookbook, "The Wedding Collection". Intro: a matte booklet
   cover with the monogram; tap and it turns from its spine like a real page. The first page is the couple's photo full
   screen, the names set huge, then a contents list that links to every look. Every section is a numbered look
   (01, 02…), headings set left like an editorial (Folio is the magazine; this one is a photo booklet). A photo the couple puts on a section opens it as a
   full-screen spread with the heading over the photo; a love-story moment with a photo becomes a full-bleed photo card.
   Type: Rozha One (display) · Archivo (labels, reading) · Newsreader italic (accents). */
:root {
  --bg: #f4f0e8; --paper: #fbf9f4; --tone: #ebe5da; --ink: #151311; --muted: #6b645b; --line: rgba(21, 19, 17, .14);
  --accent: #9b7b56; --accent-deep: #7d6142; --accent-ink: #ffffff; --on-photo: #ffffff;   /* accent-deep: small accent text and buttons */
  --display: "Rozha One", "Bodoni Moda", Didot, Georgia, serif; --text: "Archivo", "Helvetica Neue", Arial, sans-serif; --serif: "Newsreader", Georgia, serif;
  --radius: 4px; --maxw: 560px; --gutter: 22px;
}
body { font-family: var(--text); font-size: 1rem; line-height: 1.65; background: var(--bg); color: var(--ink); }
.t-lookbook .inv { counter-reset: ch; }

/* ---------- intro: the cover turns from its spine ---------- */
.lk-intro { --intro-ms: 1500; background: transparent; perspective: 2200px; transition: visibility 0s linear 1.5s; }
.is-opening .lk-intro { opacity: 1; }
.lk-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(26px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));
  border: 0; color: #f2ede4; text-align: center; cursor: pointer; transform-origin: 0 50%; backface-visibility: hidden;
  background: radial-gradient(120% 80% at 30% 20%, color-mix(in srgb, var(--ink) 80%, #fff), var(--ink) 70%);
  box-shadow: inset 14px 0 18px -10px rgba(0, 0, 0, .55), inset 15px 0 0 -14px rgba(255, 255, 255, .18);
  transition: transform 1.2s cubic-bezier(.55, .05, .25, 1), box-shadow 1.2s; }
.lk-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; mix-blend-mode: overlay;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 4px); }
.lk-c-top { display: flex; justify-content: space-between; font: 600 .7rem var(--text); letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.lk-c-mid { display: grid; justify-items: center; gap: 10px; }
.lk-c-for { font: italic 400 1.05rem var(--serif); opacity: .85; } .lk-c-for b { font-weight: 400; font-style: normal; }
.lk-c-mono { font: 400 clamp(5.5rem, 34vw, 9rem)/1 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(242, 237, 228, .55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 -1px 0 rgba(0, 0, 0, .5); }
.lk-c-mono i { font: italic 400 .42em var(--serif); -webkit-text-stroke: 0; color: var(--accent); margin: 0 .06em; vertical-align: .35em; }
.lk-c-date { font: 600 .74rem var(--text); letter-spacing: .32em; }
.lk-c-sub { font: italic 400 1.15rem var(--serif); opacity: .85; }
.lk-c-tap { font: italic 400 1rem var(--serif); opacity: .8; animation: lk-pulse 2.6s ease-in-out infinite; }
@keyframes lk-pulse { 50% { opacity: .35; } }
.lk-c-ear { position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; background: linear-gradient(135deg, transparent 50%, #e9e2d5 50%, #fff 80%); box-shadow: -3px -3px 8px rgba(0, 0, 0, .3); border-top-left-radius: 4px;
  animation: lk-ear 2.6s ease-in-out infinite; transform-origin: 100% 100%; }
@keyframes lk-ear { 50% { transform: scale(1.18); } }
.is-opening .lk-cover { transform: rotateY(-108deg); box-shadow: inset 60px 0 80px -20px rgba(0, 0, 0, .8); }
.is-opening .lk-c-tap, .is-opening .lk-c-ear { opacity: 0; animation: none; }
@media (prefers-reduced-motion: reduce) { .lk-cover { transition: opacity .6s; } .is-opening .lk-cover { transform: none; opacity: 0; } .lk-c-tap, .lk-c-ear { animation: none; } }

/* ---------- cover ---------- */
.t-lookbook .lk-hero { display: block; place-items: normal; min-height: 0; padding: 0; text-align: left; background: var(--bg); }
.t-lookbook .lk-hero > * { max-width: none; }
.lk-spread { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--on-photo); background: var(--ink); isolation: isolate; }
.lk-ph { position: absolute; inset: 0; z-index: -2; }
.lk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lk-ph .ph-slot { border-radius: 0; }
.lk-spread::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .7) 100%); }
.lk-ghost { position: absolute; right: -.08em; top: 18%; z-index: -1; font: 400 clamp(12rem, 70vw, 22rem)/.8 var(--display); color: rgba(255, 255, 255, .06); letter-spacing: -.04em; }
.lk-ghost i { font: italic 400 .4em var(--serif); }
.lk-mast { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: calc(18px + env(safe-area-inset-top)) 70px 0 var(--gutter); font: 600 .68rem var(--text); letter-spacing: .28em; text-transform: uppercase; }
.lk-mast span:first-child { font: 400 clamp(1.3rem, 6.2vw, 1.75rem)/1 var(--display); letter-spacing: .02em; text-transform: none; }
.lk-copy { padding: 0 var(--gutter) calc(34px + env(safe-area-inset-bottom)); max-width: 640px; }
.lk-hero .hero-guest { margin: 0 0 6px; font: italic 400 1.05rem var(--serif); } .lk-hero .hero-guest b { font-weight: 400; font-style: normal; }
.lk-hero .hero-k { margin: 0 0 8px; font: 600 .7rem var(--text); letter-spacing: .26em; text-transform: uppercase; }
.t-lookbook .hero-t { margin: 0; font: 400 clamp(3.6rem, 19vw, 6.6rem)/.86 var(--display); letter-spacing: -.02em; }
.t-lookbook .hero-t span { display: block; font-size: calc(1em * var(--fit, 1)); }
.t-lookbook .hero-t i { display: block; margin: .06em 0 .02em; font: italic 400 .42em/1 var(--serif); letter-spacing: 0; color: color-mix(in srgb, var(--accent) 55%, #fff); }
.lk-hero .hero-line { margin: 14px 0 0; max-width: 22em; font: italic 400 1.12rem/1.45 var(--serif); }
.lk-when { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; font: 600 .74rem var(--text); letter-spacing: .16em; text-transform: uppercase; }
.lk-when span + span::before { content: "— "; opacity: .7; }
.t-lookbook .hero-cta, .t-lookbook .rs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 22px; padding: 12px 34px; border-radius: 0; border: 1px solid currentColor;
  background: var(--paper); color: var(--ink); font: 600 .74rem var(--text); letter-spacing: .26em; text-transform: uppercase; }
.t-lookbook .rs-btn { width: 100%; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lk-hero .hero-media-tag { top: calc(118px + env(safe-area-inset-top)); bottom: auto; }
/* "In this issue" */
.lk-toc { padding: 40px var(--gutter) 46px; max-width: 640px; margin: 0 auto; }
.lk-toc-k { margin: 0 0 14px; font: 400 2.2rem/1 var(--display); }
.lk-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; border-top: 1px solid var(--ink); }
.lk-toc a { display: flex; align-items: baseline; gap: 10px; min-height: 46px; padding: 11px 0 9px; border-bottom: 1px solid var(--line); text-decoration: none; }
.lk-toc b { font: 400 1.25rem/1 var(--display); color: var(--accent-deep); min-width: 1.6em; }
.lk-toc span { font: 600 .74rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- chapters ---------- */
.t-lookbook .s:not(.s-hero):not(.s-photo):not(.s-closing) { counter-increment: ch; }
.t-lookbook .s:not(.s-hero) { position: relative; padding: 84px var(--gutter); }
.t-lookbook .inv > .s:nth-child(even):not(.s-hero):not(.has-sp):not(.s-closing) { background: var(--tone); }
.t-lookbook .sh { text-align: left; margin-bottom: 30px; padding-top: 18px; border-top: 1px solid var(--ink); }
.t-lookbook .s:not(.s-closing) .sh::before { content: counter(ch, decimal-leading-zero); float: right; margin: -4px 0 0 12px; font: 400 3.4rem/1 var(--display); color: var(--accent); }
.t-lookbook .sh-k { margin: 0 0 12px; font: 600 .7rem var(--text); letter-spacing: .26em; color: var(--muted); }
.t-lookbook .sh-t { font: 400 clamp(2.5rem, 12vw, 3.6rem)/.95 var(--display); letter-spacing: -.015em; }
.t-lookbook .story-body p:first-child::first-letter { float: left; margin: .06em .08em 0 0; font: 400 4.4em/.72 var(--display); color: var(--accent); }
.t-lookbook .story-body { font: 400 1.15rem/1.65 var(--serif); }
/* a photo on a chapter: it opens as a full-screen spread with the heading over the photo */
.t-lookbook .s.has-sp { padding-top: 0; }
.t-lookbook .has-sp > .sp { position: absolute; left: 0; right: 0; top: 0; height: min(86svh, 760px); max-width: none; margin: 0; overflow: hidden; background: var(--ink); }
.t-lookbook .sp-img { width: 100%; height: 100%; object-fit: cover; }
.t-lookbook .has-sp > .sp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .66)); }
.t-lookbook .has-sp > .sh { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86svh, 760px); margin: 0 calc(-1 * var(--gutter)) 40px; max-width: none;
  padding: 0 var(--gutter) 30px; border-top: 0; color: var(--on-photo); }
.t-lookbook .has-sp > .sh > * { width: 100%; max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.t-lookbook .s.has-sp:not(.s-closing) > .sh::before { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: var(--gutter); right: auto; float: none; margin: 0; font-size: 5rem; color: rgba(255, 255, 255, .85); }
.t-lookbook .has-sp > .sh .sh-k { color: rgba(255, 255, 255, .85); }
.t-lookbook .has-sp > .sh .sh-t { font-size: clamp(3rem, 15vw, 4.6rem); }
.t-lookbook .sp-tag, .t-lookbook .tml-tag { position: absolute; z-index: 2; transform: none; left: var(--gutter); top: calc(112px + env(safe-area-inset-top)); padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font: 600 .62rem var(--text); letter-spacing: .12em; text-transform: uppercase; }

/* the day, the places, the people */
.t-lookbook .cd { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.t-lookbook .cd-u { padding: 16px 0 12px; } .t-lookbook .cd-u + .cd-u { border-left: 1px solid var(--line); }
.t-lookbook .cd-u b { font: 400 clamp(2.2rem, 11vw, 3.2rem)/1 var(--display); }
.t-lookbook .cd-u span { font-weight: 600; font-size: .62rem; letter-spacing: .2em; }
.t-lookbook .cal { justify-content: flex-start; }
.t-lookbook .btn-line { border-radius: 0; min-height: 46px; font: 600 .7rem var(--text); letter-spacing: .2em; text-transform: uppercase; }
.t-lookbook .tl-i { grid-template-columns: 92px 1fr; padding: 16px 0; border-bottom-color: var(--line); }
.t-lookbook .tl-time { font: 400 1.25rem/1.1 var(--display); color: var(--ink); }
.t-lookbook .tl-title { font: italic 400 1.2rem/1.3 var(--serif); }
.t-lookbook .vn-c { text-align: left; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 18px 0 8px; }
.t-lookbook .vn-l { font-weight: 600; letter-spacing: .22em; color: var(--muted); }
.t-lookbook .vn-n { font: 400 2rem/1 var(--display); }
.t-lookbook .pp-h, .t-lookbook .pp-intro, .t-lookbook .pp-l, .t-lookbook .dr-text, .t-lookbook .dr-note, .t-lookbook .rs-by { text-align: left; }
.t-lookbook .pp-h { font: italic 400 1.35rem var(--serif); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.t-lookbook .dr-text { font: italic 400 1.3rem/1.45 var(--serif); }
.t-lookbook .sw { justify-content: flex-start; }
.t-lookbook .sw-dot { border-radius: 0; width: 54px; height: 70px; }
.t-lookbook .dr-roles > div, .t-lookbook .rs, .t-lookbook .rs-done { border-radius: 0; text-align: left; }
.t-lookbook .rs { border: 1px solid var(--ink); background: var(--paper); }
.t-lookbook .f-in, .t-lookbook .ch span { border-radius: 0; }
.t-lookbook .faq summary { font: 400 1.25rem/1.3 var(--serif); }
.t-lookbook .gal-i img, .t-lookbook .gal-ph { border-radius: 0; }
.t-lookbook .gal-i figcaption { text-align: left; font-style: italic; font-family: var(--serif); }
.t-lookbook .gal { grid-template-columns: 1fr 1fr; } .t-lookbook .gal-i:nth-child(3n + 1) { grid-column: 1 / -1; }
.t-lookbook .gal-i:nth-child(3n + 1) img, .t-lookbook .gal-i:nth-child(3n + 1) .gal-ph { aspect-ratio: 4 / 3; }
.t-lookbook .bio-ph { border-radius: 0; }

/* the love story: a moment with a photo becomes a full-bleed photo card, captioned like an editorial */
.t-lookbook .tml { padding-left: 0; max-width: none; }
.t-lookbook .tml::before, .t-lookbook .tml-dot { display: none; }
.t-lookbook .tml-i { padding: 18px 0; border-top: 1px solid var(--line); }
.t-lookbook .tml-d, .t-lookbook .bio-r, .t-lookbook .dr-roles dt { font-weight: 600; color: var(--accent-deep); }
.t-lookbook .gl-btn { background: var(--accent-deep); }
.t-lookbook .tml-t { font: 400 1.9rem/1 var(--display); }
.t-lookbook .tml-x { font: italic 400 1.08rem/1.5 var(--serif); }
.t-lookbook .tml-i:has(.tml-img) { position: relative; min-height: 118vw; max-height: 620px; margin: 0 calc(-1 * var(--gutter)); padding: 0; border: 0; color: var(--on-photo); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.t-lookbook .tml-i:has(.tml-img) + .tml-i { border-top: 0; }
.t-lookbook .tml-i:has(.tml-img) .tml-b { position: static; width: 100%; padding: 80px var(--gutter) 26px; display: flex; flex-direction: column; }
.t-lookbook .tml-i:has(.tml-img) .tml-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; margin: 0; border-radius: 0; }
.t-lookbook .tml-i:has(.tml-img)::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); pointer-events: none; }
.t-lookbook .tml-i:has(.tml-img) :is(.tml-d, .tml-t, .tml-x) { position: relative; z-index: 1; }
.t-lookbook .tml-i:has(.tml-img) .tml-d, .t-lookbook .tml-i:has(.tml-img) .tml-x { color: rgba(255, 255, 255, .88); }
.t-lookbook .tml-i:has(.tml-img) .tml-t { font-size: 2.6rem; }
.t-lookbook .tml-i .tml-tag { top: 16px; bottom: auto; }
.t-lookbook .tml-i:has(.tml-img) + .tml-i:has(.tml-img) { margin-top: 6px; }

/* ---------- back cover ---------- */
.t-lookbook .lk-back { text-align: left; background: var(--ink); color: var(--bg); padding-top: 90px; padding-bottom: 120px; }
.lk-b-k { font: 600 .68rem var(--text); letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.t-lookbook .cl-line { font: 400 clamp(2.4rem, 11vw, 3.4rem)/1 var(--display); letter-spacing: -.01em; }
.t-lookbook .cl-sign { margin-top: 18px; font: italic 400 1.3rem var(--serif); color: color-mix(in srgb, var(--accent) 60%, #fff); }
.t-lookbook .cl-tag { color: inherit; font: 600 .72rem var(--text); letter-spacing: .18em; opacity: .8; }
.t-lookbook .lk-back .btn-line { margin-top: 10px; color: var(--bg); }
.t-lookbook .lk-back .btn-line:hover { background: var(--bg); color: var(--ink); }
.lk-b-mono { margin: 46px auto 0; font: 400 5rem/1 var(--display); opacity: .14; }
.lk-b-mono i { font: italic 400 .45em var(--serif); }
.t-lookbook .lk-back.has-sp { padding-top: 0; }
body.is-demo .t-lookbook .lk-back, .t-lookbook body.is-demo .lk-back { padding-bottom: 150px; }

@media (min-width: 720px) {
  .t-lookbook .hero-t { font-size: clamp(5rem, 11vw, 8rem); }
  .lk-copy, .lk-mast { padding-left: 48px; padding-right: 48px; }
  .t-lookbook .tml-i:has(.tml-img) { min-height: 560px; margin: 0; }
}
