@font-face { font-family: "Quattrocento"; src: url("../fonts/quiet/quattro-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url("../fonts/quiet/quattrosans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* QUIET LUXURY (theme key "quiet", round 37): "old money" restraint; our own design. Intro: the brand envelope, deckled,
   tissue-lined, your monogram pressed into the flap; tap and the flap opens and the cream card slides out with its silk
   ribbon. Cover: the card itself (deckled edge, a silk ribbon tied across with a bow, a small monogram, a small photo
   with a fine line, the date written out, "Kindly reply"). Sections: calm, spacious, hairlines, a blind-embossed seal on
   the reply card (core/dress.php). Palette: --ribbon/--ribbon2 the silk, --liner the tissue. Cream & Navy (original),
   Cream & Forest, Stone & Black. Type: Quattrocento (names, headings, text), Quattrocento Sans (small capitals). */
:root {
  --bg: #f3efe6; --paper: #fcfaf5; --ink: #1f2a3d; --muted: #6b6a64; --line: rgba(31, 42, 61, .14);
  --accent: #1f2a3d; --accent-ink: #fcfaf5; --ribbon: #d8cdb8; --ribbon2: #f1ebdf; --liner: #e2dccf;
  --display: "Quattrocento", "Iowan Old Style", Georgia, serif; --text: "Quattrocento", Georgia, serif; --caps: "Quattrocento Sans", system-ui, sans-serif; --script: var(--display);
  --radius: 0px; --maxw: 520px;
  --deckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' preserveAspectRatio='none'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='6'/%3E%3C/filter%3E%3Crect x='4' y='4' width='392' height='592' filter='url(%23d)'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  --tissue: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ink) 9%, transparent) 0 1px, transparent 1px 7px), repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ink) 6%, transparent) 0 1px, transparent 1px 7px), var(--liner);
}
body { font-family: var(--text); font-size: 1.05rem; line-height: 1.75; color: var(--ink); background: var(--bg); }

/* the ribbon */
.qt-band { position: absolute; left: -6px; right: -6px; height: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--ribbon) 80%, #000) 0, var(--ribbon) 18%, var(--ribbon2) 46%, var(--ribbon) 70%, color-mix(in srgb, var(--ribbon) 82%, #000) 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1); }
.qt-bow { position: absolute; display: block; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .15)); }
.qt-bow .qt-silk { fill: var(--ribbon); stroke: color-mix(in srgb, var(--ribbon) 70%, #000); stroke-width: .6; }
.qt-bow .qt-shine { fill: none; stroke: var(--ribbon2); stroke-width: 2; stroke-linecap: round; opacity: .8; }
.qt-bow .qt-knot { fill: color-mix(in srgb, var(--ribbon) 85%, #000); }

/* ---------- intro: the envelope ---------- */
.qt-intro { --intro-ms: 2400; background: var(--bg); transition: opacity .6s ease 1.8s, visibility 0s linear 2.4s; }
.qt-start { display: grid; justify-items: center; align-content: center; gap: 30px; width: 100%; height: 100%; padding: 24px; border: 0; background: none; color: var(--ink); cursor: pointer; overflow: hidden; }
.qt-env { --w: min(84vw, 340px); position: relative; display: block; width: var(--w); height: calc(var(--w) * .68); margin-top: 18vh; perspective: 900px; transition: transform 1s ease 1s; }
.qt-back, .qt-pocket, .qt-flap, .qt-flap-in, .qt-flap-out, .qt-card { position: absolute; display: block; }
.qt-back { inset: 0; background: var(--tissue); box-shadow: inset 0 0 0 1px var(--line); }
.qt-card { left: 6%; right: 6%; top: 5%; height: 92%; background: var(--paper); -webkit-mask: var(--deckle); mask: var(--deckle); z-index: 1; transition: transform 1.1s cubic-bezier(.3, .7, .2, 1) .7s; }
.qt-card .qt-band { top: 22%; }
.qt-card .qt-bow { left: 50%; top: 22%; width: 74px; margin: -26px 0 0 -37px; }
.qt-cmono { position: absolute; left: 0; right: 0; top: 42%; text-align: center; font: 400 1.6rem var(--display); letter-spacing: .1em; color: var(--ink); }
.qt-cmono i { margin: 0 .14em; font-size: .7em; font-style: normal; }
.qt-pocket { inset: 0; z-index: 2; background: color-mix(in srgb, var(--paper) 92%, var(--ink)); clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--line);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .14)); }
.qt-flap { left: 0; right: 0; top: 0; height: 60%; z-index: 3; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.5, 0, .3, 1), z-index 0s linear .45s; }
.qt-flap-in, .qt-flap-out { inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.qt-flap-out { background: var(--paper); display: grid; place-items: start center; padding-top: 30%; }
.qt-flap-out b { font: 400 1.05rem var(--display); letter-spacing: .12em; color: color-mix(in srgb, var(--paper) 78%, var(--ink)); text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(0, 0, 0, .1); }
.qt-flap-out b i { margin: 0 .1em; font-size: .7em; font-style: normal; }
.qt-flap-in { background: var(--tissue); transform: rotateX(180deg); }
.qt-for { font: 400 1.25rem/1.3 var(--display); } .qt-for b { font-weight: 400; }
.qt-tap { font: 400 .68rem var(--caps); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); animation: qt-pulse 3s ease-in-out infinite; }
@keyframes qt-pulse { 50% { opacity: .4; } }
.is-opening .qt-flap { transform: rotateX(178deg); z-index: 0; }
.is-opening .qt-card { transform: translateY(-74%); }
.is-opening .qt-tap, .is-opening .qt-for { opacity: 0; animation: none; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) { .qt-tap { animation: none; } .qt-flap, .qt-card { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* ---------- cover: the card ---------- */
.t-quiet .qt-hero { display: block; justify-items: normal; align-items: normal; min-height: 100svh; padding: 26px 14px 40px; text-align: center; }
.qt-sheet { position: relative; max-width: 520px; margin: 0 auto; padding: 90px 26px 56px; background: var(--paper); -webkit-mask: var(--deckle); mask: var(--deckle); }
.t-quiet .qt-hero > .qt-sheet { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .12)); }
.qt-sheet .qt-band { top: 34px; }
.qt-bow.is-hero { left: 22px; top: 34px; width: 92px; margin-top: -30px; }
.qt-mono { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; white-space: nowrap; margin: 0 auto 26px; border: 1px solid var(--ink); border-radius: 50%; font: 400 1rem var(--display); letter-spacing: .06em; }
.qt-mono i { margin: 0 .06em; font-size: .7em; font-style: normal; }
.qt-hero .hero-guest { margin: 0 0 10px; font: 400 1.15rem/1.3 var(--display); } .qt-hero .hero-guest b { font-weight: 400; }
.qt-hero .hero-k, .t-quiet .sh-k { margin: 0; font: 400 .66rem/1.7 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); text-wrap: balance; }
.t-quiet .hero-t { margin: 22px 0 0; font: 400 clamp(2rem, min(10vw, calc(90vw / var(--nl, 7))), 3.2rem)/1.15 var(--display); color: var(--ink); letter-spacing: .01em; }
.t-quiet .hero-t span { display: block; }
.t-quiet .hero-t i { display: block; margin: 6px 0; font: 400 .7rem/1 var(--caps); letter-spacing: .34em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.qt-hero .hero-line { margin: 18px auto 0; max-width: 20em; color: var(--muted); font-size: 1rem; text-wrap: balance; }
.qt-ph { width: min(52vw, 210px); aspect-ratio: 3 / 4; margin: 32px auto 0; background: var(--liner); outline: 1px solid var(--line); outline-offset: 6px; }
.qt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qt-ph .hero-media-tag { bottom: 8px; font-size: .46rem; }
.qt-date { margin: 34px auto 0; font: 400 1.08rem/1.6 var(--display); }
.qt-where { margin: 6px auto 0; font: 400 .66rem var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.t-quiet .hero-cta { display: inline-flex; align-items: center; min-height: 46px; margin-top: 26px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none;
  color: var(--ink); font: 400 .72rem var(--caps); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }

/* ---------- sections: calm ---------- */
.t-quiet .s:not(.s-hero) { padding-top: 92px; padding-bottom: 92px; }
.t-quiet .sh { margin-bottom: 38px; }
.t-quiet .sh::after { content: ""; display: block; width: 24px; margin: 18px auto 0; border-top: 1px solid var(--ink); }
.t-quiet .sh-t { font: 400 clamp(1.8rem, 8vw, 2.3rem)/1.2 var(--display); color: var(--ink); }
.t-quiet .sh-n { font: 400 .66rem var(--caps); letter-spacing: .3em; color: var(--muted); }
.t-quiet .cd-u b { font: 400 clamp(2rem, 9vw, 2.5rem)/1 var(--display); color: var(--ink); }
.t-quiet .cd-u span { font: 400 .56rem var(--caps); letter-spacing: .26em; text-transform: uppercase; }
.t-quiet .vn-c, .t-quiet .dr-roles > div, .t-quiet .rs, .t-quiet .rs-done, .t-quiet .gl-c, .t-quiet .gl-it { border: 1px solid var(--line); border-radius: 0; background: var(--paper); box-shadow: none; }
.t-quiet .vn-l, .t-quiet .dr-roles dt, .t-quiet .bio-r, .t-quiet .tml-d { font: 400 .6rem var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.t-quiet .vn-n, .t-quiet .pp-h, .t-quiet .tml-t { font: 400 1.25rem/1.3 var(--display); color: var(--ink); }
.t-quiet .tl-time { color: var(--muted); font: 400 .78rem var(--caps); letter-spacing: .12em; }
.t-quiet .tl-title { font: 400 1.06rem var(--display); }
.t-quiet .f-in, .t-quiet .ch span { border-radius: 0; background: var(--bg); border-color: var(--line); }
.t-quiet .rs-btn, .t-quiet .gl-btn { border-radius: 0; background: var(--accent); color: var(--accent-ink); font: 400 .72rem var(--caps); letter-spacing: .28em; text-transform: uppercase; }
.t-quiet .btn-line { min-height: 46px; border-radius: 0; border-color: var(--line); color: var(--ink); font: 400 .66rem var(--caps); letter-spacing: .26em; text-transform: uppercase; }
.t-quiet .btn-line:hover { border-color: var(--ink); }
.t-quiet .faq summary { font: 400 1.06rem var(--display); }
.t-quiet .gal-i img, .t-quiet .gal-ph { border-radius: 0; }
.t-quiet .tml::before { background: var(--line); width: 1px; }
.t-quiet .tml-dot { background: var(--paper); border: 1px solid var(--ink); }

/* ---------- closing ---------- */
.t-quiet .qt-end { padding: 92px var(--gutter) 110px; text-align: center; }
.t-quiet .qt-end > * { margin-left: auto; margin-right: auto; }
.t-quiet .qt-end .cl-line { font: 400 1.15rem/1.6 var(--display); max-width: 19em; }
.t-quiet .qt-end .cl-sign { margin-top: 10px; font: 400 1.7rem/1.2 var(--display); color: var(--ink); }
.t-quiet .qt-end .cl-tag { font: 400 .62rem var(--caps); letter-spacing: .26em; color: var(--muted); }
.t-quiet body.is-demo .qt-end { padding-bottom: 140px; }
