/* ==========================================================================
   toya.az site styles.
   The visitor's own invitation is the hero: one bold moment (the envelope opening,
   with their names on the card); everything else stays quiet.
   Kəlağayı silk folds (diagonal hem in saffron) mark the coloured bands.
   Invitation designs themselves live in templates.css.
   ========================================================================== */
:root {
  --night: #1c1a3a;
  --night-2: #2a2752;
  --pearl: #f5f0f3;
  --pearl-2: #ece4ea;
  --paper: #fbf6f8;
  --nar: #a8213c;
  --nar-deep: #8a1a32;
  --nar-dark: #6f1428;
  --saffron: #d8992a;
  --saffron-hi: #e8b04a;
  --lilac: #857d9a;
  --ink: #1c1a3a;
  --ink-2: #4b4664;
  --line: #ddd3db;

  --f-display: "Noto Serif Display", Georgia, serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-y: clamp(80px, 10vw, 136px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
html.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.icon { width: 24px; height: 24px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.v-skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--saffron); color: var(--night); font-weight: 600; }
.v-skip:focus { top: 12px; }
.v-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---- type ---- */
.v-display { font: 300 clamp(48px, 6.1vw, 92px)/.98 var(--f-display); letter-spacing: -.035em; }
.v-h2 { font: 300 clamp(40px, 5.2vw, 72px)/1.02 var(--f-display); letter-spacing: -.025em; }
.v-lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 56ch; }

/* ---- buttons ---- */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .4s var(--ease);
}
.v-btn:active { transform: scale(.98); }
.v-btn .icon { width: 20px; height: 20px; }
.v-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.v-btn--block { width: 100%; }
.v-btn--saffron { background: var(--saffron); color: var(--night); }
.v-btn--saffron:hover { background: var(--saffron-hi); }
.v-btn--ink { background: var(--night); color: var(--pearl); }
.v-btn--ink:hover { background: var(--night-2); }
.v-btn--ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.v-btn--ghost:hover { border-color: var(--ink); }

/* ======================= HEADER ======================= */
.v-top { position: sticky; top: 0; z-index: 50; background: rgba(28,26,58,.9); color: var(--pearl); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v-top-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.v-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 300 32px/1 var(--f-display); letter-spacing: -.03em; }
.v-logo .logo-mark { width: 26px; height: 26px; color: #d0435d; }
.v-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.v-nav a { text-decoration: none; color: rgba(245,240,243,.78); padding: 6px 0; transition: color .25s var(--ease); }
.v-nav a:hover, .v-nav a[aria-current] { color: var(--pearl); }
.v-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 8px; text-decoration-thickness: 1.5px; }
.v-menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(245,240,243,.08); cursor: pointer; }
.v-menu-btn span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--pearl); transition: transform .45s var(--ease); }
.v-menu-btn span:first-child { top: 18px; }
.v-menu-btn span:last-child { top: 25px; }
.v-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.v-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 919px) {
  .v-top-in { gap: 12px; height: 64px; }
  .v-logo { margin-right: auto; }
  .v-menu-btn { display: block; }
  .v-nav {
    position: fixed; inset: 64px 0 0; margin: 0; display: grid; align-content: start; gap: 0;
    padding: 16px var(--gutter) 48px; background: rgba(28,26,58,.97);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .v-nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  .v-nav a { font: 300 34px/1.2 var(--f-display); padding: 14px 0; border-bottom: 1px solid rgba(245,240,243,.1); color: var(--pearl); }
}

/* ======================= HERO ======================= */
.v-hero { position: relative; overflow: hidden; background: var(--night); color: var(--pearl); padding: clamp(40px, 6vw, 72px) 0 calc(clamp(64px, 8vw, 112px) + 80px); }
/* The kəlağayı: a silk square folded on the diagonal, behind the envelope */
.v-silk {
  position: absolute; width: min(820px, 130vw); aspect-ratio: 1; right: -14%; top: 46%;
  translate: 0 -50%; rotate: 45deg; overflow: hidden; border-radius: 6px; isolation: isolate;
  --bg: #24224a; --acc: #34306a; background: var(--bg);
  box-shadow: 0 0 0 14px rgba(216,153,42,.08), 0 0 0 15px rgba(216,153,42,.32);
}
.v-silk .cv-bg { width: 100%; height: 100%; rotate: -45deg; scale: 1.5; opacity: .6; }
.v-silk .o-acc { fill: var(--acc); }
.v-silk .o-acc2 { fill: #4e2245; }
.v-silk .o-bg { fill: var(--bg); }

.v-hero-in {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(400px, .7fr);
  grid-template-areas: "title stage" "body stage";
  column-gap: clamp(32px, 6vw, 96px);
}
.v-display { grid-area: title; align-self: end; }
/* the headline is long: balance its lines and size it so it takes three at most */
.v-hero-title { font-size: clamp(42px, 5.2vw, 78px); text-wrap: balance; }
.v-hero-body { grid-area: body; align-self: start; margin-top: 28px; }
.v-stage-col { grid-area: stage; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.v-hero-lead { font-size: clamp(17px, 1.35vw, 19px); color: rgba(245,240,243,.8); max-width: 50ch; }

/* "Try it with your names": typed straight onto a writing line, like filling in a card */
.v-try { display: grid; gap: 18px; margin-top: 32px; max-width: 560px; }
.v-try-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; }
.v-field { display: grid; gap: 6px; }
.v-field > span { font-size: 13px; color: rgba(245,240,243,.6); }
.v-field input {
  width: 100%; min-width: 0; padding: 4px 0 8px; border: 0; border-bottom: 1.5px solid rgba(245,240,243,.3);
  background: transparent; color: var(--pearl); font: 300 34px/1.15 var(--f-display); letter-spacing: -.01em;
  border-radius: 0; transition: border-color .25s var(--ease);
}
.v-field input::placeholder { color: rgba(245,240,243,.38); }
.v-field input:hover { border-bottom-color: rgba(245,240,243,.55); }
.v-field input:focus { outline: none; border-bottom-color: var(--saffron); }
.v-field input:focus-visible { outline: none; }
.v-try-amp { font: italic 300 40px/1 var(--f-display); color: var(--saffron); padding-bottom: 10px; }
.v-field--date { max-width: 260px; }
.v-field--date input { font: 400 18px/1.4 var(--f-body); color-scheme: dark; padding-top: 8px; }
.v-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.v-hero-cta p { font-size: 14px; color: rgba(245,240,243,.62); max-width: 30ch; }

/* ---- the envelope ----
   --vis: how much of the card stands above the pocket once it is out.
   The slot clips at the pocket's bottom edge, so the tall card can hide inside a short envelope. */
.v-env {
  --w: min(392px, 86vw);
  --cw: calc(var(--w) * .68);
  --ch: calc(var(--cw) * 18.5 / 9);
  --p: calc(var(--w) * .62);
  --vis: calc(var(--ch) * .72);
  position: relative; width: var(--w); height: calc(var(--vis) + var(--p)); perspective: 1600px;
}
.v-env-back { position: absolute; inset: auto 0 0; height: var(--p); background: var(--nar-dark); border-radius: 8px; z-index: 1; }
.v-env-flap {
  position: absolute; left: 0; top: var(--vis); width: 100%; height: calc(var(--p) * .56); z-index: 5;
  transform-origin: 50% 0; transform: rotateX(0deg);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
  transition: transform .8s var(--ease) .2s, z-index 0s linear .6s;
}
.v-env-flap polygon { fill: var(--nar-deep); }
.v-env-flap polyline { fill: none; stroke: var(--saffron); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; }
.v-env-slot { position: absolute; inset: 0; z-index: 3; overflow: hidden; }
.v-env-card {
  position: absolute; left: 50%; top: 6px; width: var(--cw);
  transform: translate(-50%, calc(var(--vis) + 24px));
  opacity: 0; transition: transform 1.1s var(--ease) .75s, opacity .45s var(--ease);
}
.v-env-card.is-on { opacity: 1; }
.v-env-card .cv { border-radius: 10px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
.v-env-front { position: absolute; inset: auto 0 0; width: 100%; height: var(--p); z-index: 4; filter: drop-shadow(0 -2px 6px rgba(0,0,0,.18)); }
.v-env-front polygon { fill: var(--nar); }
.v-env-front polyline { fill: none; stroke: var(--saffron); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; }
.v-env-front .fold { stroke: rgba(0,0,0,.18); stroke-width: 1; opacity: 1; }
.v-env-seal {
  position: absolute; left: 50%; top: calc(var(--vis) + var(--p) * .5); z-index: 6;
  width: 76px; height: 76px; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 30%, #f3c66a, #d0901f 55%, #a46d14);
  box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 0 0 5px rgba(120,74,10,.25);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.v-env-seal span { font: 400 22px/1 var(--f-display); letter-spacing: .06em; color: #6a430c; }

/* Open: seal lifts away, flap swings up behind the card, card rises out of the pocket */
.v-env.is-open .v-env-seal, html:not(.js) .v-env-seal { transform: scale(1.25); opacity: 0; }
.v-env.is-open .v-env-flap, html:not(.js) .v-env-flap { transform: rotateX(180deg); z-index: 2; }
.v-env.is-open .v-env-card, html:not(.js) .v-env-card { transform: translate(-50%, 0) rotate(-1.5deg); }
.v-env.is-ready .v-env-card { transition-delay: 0s, 0s; }

.v-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 440px; }
.v-pick-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid rgba(245,240,243,.22); background: rgba(28,26,58,.55);
  color: var(--pearl); font-size: 14px; cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.v-pick-btn:hover { border-color: rgba(245,240,243,.6); }
.v-pick-btn[aria-pressed="true"] { background: var(--pearl); color: var(--night); border-color: var(--pearl); }
.v-pick-btn span { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.25); }
.v-stage-link { font-size: 15px; color: var(--saffron-hi); text-underline-offset: 5px; }

@media (max-width: 919px) {
  .v-hero-in { grid-template-columns: 1fr; grid-template-areas: "title" "stage" "body"; }
  .v-display { margin-bottom: 32px; }
  .v-silk { width: 150vw; right: auto; left: 50%; top: 52%; translate: -50% -50%; }
  .v-hero-body { margin-top: 48px; }
}
@media (max-width: 479px) {
  .v-field input { font-size: 28px; }
  .v-try-amp { font-size: 32px; }
  .v-try-row { gap: 10px; }
}

/* ---- kəlağayı folds: the diagonal hem between a coloured band and the page ---- */
.v-fold { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 80px); pointer-events: none; z-index: 1; }
.v-fold--bottom { bottom: -1px; }
.v-fold--top { top: -1px; }
.v-fold-fill { fill: var(--pearl); }
.v-fold-hem { stroke: var(--saffron); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ======================= SECTIONS ======================= */
.v-sec { padding: var(--sec-y) 0; }
.v-sec--tint { background: var(--pearl-2); }
.v-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.v-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.v-head--split .v-lead { margin-top: 20px; }
@media (max-width: 859px) { .v-head--split { grid-template-columns: 1fr; } }

.v-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.v-chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.v-chip:hover { border-color: var(--ink); }
.v-chip[aria-pressed="true"] { background: var(--night); color: var(--pearl); border-color: var(--night); }

/* ---- templates spread out like cards on a table ---- */
.v-spread { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px clamp(20px, 2.6vw, 36px); align-items: start; }
.v-card { --r: 0deg; --y: 0px; transform: translateY(var(--y)) rotate(var(--r)); transition: transform .6s var(--ease); }
.v-card[data-pos="0"] { --r: -2deg; }
.v-card[data-pos="1"] { --r: 1.5deg; --y: 56px; }
.v-card[data-pos="2"] { --r: -1deg; }
.v-card[data-pos="3"] { --r: 2deg; --y: 56px; }
.v-card:hover, .v-card:focus-within { --r: 0deg; transform: translateY(calc(var(--y) - 8px)) rotate(0deg); }
.v-spread { padding-bottom: 56px; }
@media (max-width: 1059px) {
  .v-spread { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-card[data-pos] { --y: 0px; }
  .v-card[data-pos3="1"] { --y: 48px; }
}
@media (max-width: 759px) {
  .v-spread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .v-card[data-pos3] { --y: 0px; }
  .v-card[data-pos2="0"] { --r: -1.5deg; }
  .v-card[data-pos2="1"] { --r: 1.5deg; --y: 40px; }
}
.v-card-cover { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 6px rgba(28,26,58,.08), 0 26px 50px -26px rgba(28,26,58,.5); }
.v-badge { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 3px 11px; border-radius: 999px; background: var(--nar); color: #fff; font-size: 13px; font-weight: 600; }
.v-card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 18px; }
.v-card-name { font: 400 26px/1.1 var(--f-display); letter-spacing: -.01em; }
.v-card-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.sws { display: flex; gap: 8px; padding-top: 4px; flex-wrap: wrap; justify-content: flex-end; }
.sw { position: relative; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(28,26,58,.18); cursor: pointer; }
.sw::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .25s var(--ease); }
.sw[aria-pressed="true"]::after { border-color: var(--ink); }
.v-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.v-link { font-size: 15px; font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.v-empty { color: var(--ink-2); }
@media (max-width: 519px) {
  .v-card-meta { flex-direction: column; gap: 8px; }
  .sws { justify-content: flex-start; }
  .v-card-name { font-size: 22px; }
  .v-card-actions .v-btn { width: 100%; }
}

/* ---- the whole invitation inside each card ----
   The cover sits on top of the rest of the invitation (.v-reel). While a card plays
   (mouse over it, keyboard focus, or on phones the card in the middle of the screen),
   the reel slides up to the end, like a guest scrolling; the bar on the right tracks it. */
.v-card-cover { container-type: inline-size; aspect-ratio: 9 / 18.5; text-decoration: none; }
.v-reel { display: block; transition: transform .7s var(--ease); }
.v-reel-bar {
  position: absolute; z-index: 2; top: 14%; bottom: 14%; right: 6px; width: 4px; border-radius: 4px;
  background: rgba(28,26,58,.16); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.v-reel-bar span { display: block; height: 24%; border-radius: inherit; background: #fff; box-shadow: 0 0 0 1px rgba(28,26,58,.4); transition: transform .7s var(--ease); }
.v-card.is-playing { --r: 0deg; transform: translateY(calc(var(--y) - 8px)) rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
  .v-card.is-playing .v-reel { transform: translateY(calc(-100% + 100cqi * 18.5 / 9)); transition: transform 14s cubic-bezier(.42, 0, .58, 1) .3s; }
  .v-card.is-playing .v-reel-bar { opacity: 1; }
  /* thumb is 24% of the track: (100 / 24 - 1) × 100% takes it to the bottom */
  .v-card.is-playing .v-reel-bar span { transform: translateY(316.67%); transition: transform 14s cubic-bezier(.42, 0, .58, 1) .3s; }
}

/* ---- home page: the templates in one row that slides sideways ---- */
.v-strip {
  --edge: max(var(--gutter), (100% - var(--wrap)) / 2);
  display: flex; gap: clamp(20px, 2.6vw, 36px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 24px var(--edge) 36px; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.v-strip::-webkit-scrollbar { display: none; }
.v-strip:focus-visible { outline-offset: -4px; border-radius: 0; }
.v-strip .v-card { flex: 0 0 clamp(236px, 21vw, 284px); scroll-snap-align: start; }
.v-strip .v-card[hidden] { display: none; }
.v-strip .v-card[data-pos2] { --y: 0px; --r: -1.2deg; }
.v-strip .v-card[data-pos2="1"] { --r: 1.2deg; }
.v-strip + .v-wrap .v-empty { margin-bottom: 24px; }
.v-strip-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.v-strip-nav { display: flex; gap: 10px; }
.v-arrow {
  display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
  transition: border-color .25s var(--ease), opacity .25s var(--ease);
}
.v-arrow .icon { width: 20px; height: 20px; }
.v-arrow--prev .icon { transform: scaleX(-1); }
.v-arrow:hover:not(:disabled) { border-color: var(--ink); }
.v-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 759px) {
  .v-strip .v-card { flex-basis: min(64vw, 270px); scroll-snap-align: center; }
}
@media (max-width: 519px) {
  .v-strip-nav { display: none; } /* phones swipe; the next card peeking in shows there is more */
  .v-strip-foot .v-btn { flex: 1; }
}

/* ---- steps ---- */
.v-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); }
.v-step-n { display: block; font: 300 clamp(88px, 9vw, 132px)/.8 var(--f-display); color: var(--nar); letter-spacing: -.04em; margin-bottom: 24px; }
.v-steps h3 { font: 400 30px/1.15 var(--f-display); margin-bottom: 10px; }
.v-steps p { color: var(--ink-2); max-width: 34ch; }
@media (max-width: 759px) { .v-steps { grid-template-columns: 1fr; } }

/* ---- what guests see ---- */
.v-feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.v-feat-head { position: sticky; top: 112px; display: grid; gap: 20px; justify-items: start; }
.v-feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 44px; }
.v-feat-list li { display: flex; gap: 16px; }
.v-feat-list .icon { width: 28px; height: 28px; color: var(--nar); }
.v-feat-list h3 { font: 400 22px/1.2 var(--f-display); margin-bottom: 6px; }
.v-feat-list p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 919px) { .v-feat { grid-template-columns: 1fr; } .v-feat-head { position: static; } }
@media (max-width: 559px) { .v-feat-list { grid-template-columns: 1fr; gap: 28px; } }

/* ======================= GUEST ALBUM: the pomegranate band ======================= */
.v-album { position: relative; background: var(--nar); color: #fff; padding: calc(var(--sec-y) + 40px) 0; overflow: hidden; }
.v-album .v-lead { color: rgba(255,255,255,.84); margin-top: 24px; }
.v-album-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.v-album-flow { display: grid; gap: 16px; margin-top: 36px; }
.v-album-flow li { display: flex; gap: 14px; align-items: flex-start; }
.v-album-flow .icon { color: var(--saffron-hi); }
.v-album-limits { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.22); }
.v-album-limits div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); font-size: 15px; }
.v-album-limits dt { color: rgba(255,255,255,.7); }
@media (max-width: 559px) { .v-album-limits div { grid-template-columns: 1fr; gap: 2px; } }

.v-album-art { position: relative; min-height: 470px; }
.v-tent {
  position: absolute; left: 0; top: 0; width: min(280px, 62%); padding: 30px 24px 24px;
  background: var(--paper); color: var(--night); border-radius: 6px; text-align: center; rotate: -4deg;
  box-shadow: 0 30px 60px -20px rgba(40,0,10,.6);
}
.v-tent::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(168,33,60,.35); pointer-events: none; }
.v-tent-names { font: 400 32px/1.1 "Great Vibes", cursive; color: var(--nar); overflow-wrap: anywhere; }
.fake-qr { width: 62%; margin: 18px auto 14px; }
.fake-qr .q-ink { fill: var(--night); }
.fake-qr .q-bg { fill: var(--paper); }
.v-tent-cta { font-size: 14px; line-height: 1.4; }
.v-tent-url { font-size: 12px; color: var(--lilac); margin-top: 8px; overflow-wrap: anywhere; }
.v-upload {
  position: absolute; right: 0; bottom: 0; width: min(300px, 64%); padding: 16px;
  background: #fff; color: var(--ink); border-radius: 24px; rotate: 3deg;
  box-shadow: 0 30px 60px -20px rgba(40,0,10,.65);
}
.v-upload-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.v-upload-head .icon { width: 20px; height: 20px; color: var(--nar); }
.v-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.v-upload-grid span { position: relative; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, hsl(var(--h) 42% 74%), hsl(calc(var(--h) + 30) 36% 50%)); }
.v-upload-grid .is-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; translate: 2px 0; }
.v-upload-bar { height: 6px; margin-top: 14px; border-radius: 99px; background: var(--pearl-2); overflow: hidden; }
.v-upload-bar span { display: block; width: var(--p); height: 100%; background: var(--saffron); }
.v-upload-note { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 919px) {
  .v-album-in { grid-template-columns: 1fr; }
  .v-album-art { min-height: 450px; max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ======================= PRICING ======================= */
.v-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.v-plan { position: relative; display: flex; flex-direction: column; padding: 40px 32px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; }
.v-plan--rec { background: var(--night); color: var(--pearl); border-color: var(--night); }
.v-plan-flag { position: absolute; top: -14px; left: 32px; padding: 4px 14px; border-radius: 999px; background: var(--saffron); color: var(--night); font-size: 13px; font-weight: 600; }
.v-plan-name { font: 400 30px/1.1 var(--f-display); }
.v-plan-price { margin-top: 18px; font-size: 22px; }
.v-plan-price span { font: 300 80px/1 var(--f-display); letter-spacing: -.04em; }
.v-plan-for { margin-top: 12px; color: var(--ink-2); font-size: 16px; min-height: 3.2em; }
.v-plan--rec .v-plan-for { color: rgba(245,240,243,.75); }
.v-plan-list { display: grid; gap: 12px; flex: 1; align-content: start; margin: 26px 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15.5px; }
.v-plan--rec .v-plan-list { border-top-color: rgba(245,240,243,.18); }
.v-plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.v-plan-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--nar); }
.v-plan--rec .v-plan-list .icon { color: var(--saffron); }
.v-plan-list .is-base { font-weight: 600; }
.v-plan-limit { margin-bottom: 20px; padding: 12px 14px; border-radius: 12px; background: var(--pearl); color: var(--ink-2); font-size: 14px; }
.v-plan--rec .v-plan-limit { background: rgba(245,240,243,.08); color: rgba(245,240,243,.8); }
@media (max-width: 959px) { .v-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 32px; } .v-plan-for { min-height: 0; } }

/* ======================= FAQ ======================= */
.v-faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.v-faq-list { border-top: 1px solid var(--line); }
.v-faq-list details { border-bottom: 1px solid var(--line); }
.v-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; }
.v-faq-list summary::-webkit-details-marker { display: none; }
.v-faq-list summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--ease); }
.v-faq-list details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.v-faq-list details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 859px) { .v-faq { grid-template-columns: 1fr; } }

/* ======================= ORDER ======================= */
.v-order-band { background: var(--night); color: var(--pearl); padding: var(--sec-y) 0; }
.v-order { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.v-order .v-lead { color: rgba(245,240,243,.78); margin-top: 20px; }
.v-order-notes { display: grid; gap: 12px; margin-top: 28px; color: rgba(245,240,243,.86); }
.v-order-notes li { display: flex; gap: 10px; align-items: center; }
.v-order-notes .icon { color: var(--saffron); }
.v-form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 40px); background: var(--paper); color: var(--ink); border-radius: 28px; }
.v-form-field { display: grid; gap: 7px; }
.v-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v-form-field label { font-size: 15px; font-weight: 500; }
.v-opt { font-weight: 400; color: var(--lilac); }
.v-form-field input, .v-form-field select, .v-form-field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; font-size: 16px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
#f-couple { font: 400 22px/1.2 var(--f-display); }
.v-form-field textarea { min-height: 96px; resize: vertical; }
.v-form-field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a3a' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.v-form-field input:hover, .v-form-field select:hover, .v-form-field textarea:hover { border-color: #bfb3bf; }
.v-form-field input:focus, .v-form-field select:focus, .v-form-field textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(216,153,42,.35); }
.v-form-field [aria-invalid="true"] { border-color: var(--nar); }
.v-err { font-size: 14px; color: var(--nar); }
.v-form-status { min-height: 1.4em; font-size: 15px; }
.v-form-status.is-error { color: var(--nar); }
.v-form button[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 919px) { .v-order { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .v-form-row { grid-template-columns: 1fr; } }

/* ======================= PAGE HEADERS (templates page, 404) ======================= */
.v-page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--pearl); padding: clamp(56px, 8vw, 104px) 0 calc(clamp(48px, 6vw, 80px) + 64px); }
.v-page-hero .v-lead { color: rgba(245,240,243,.78); margin-top: 24px; }
.v-page-hero-cta { margin-top: 36px; }
.v-page-hero--full { min-height: 70vh; display: grid; align-items: center; }

/* ======================= FOOTER ======================= */
.v-foot { background: var(--night); color: var(--pearl); padding: 0 0 28px; }
.v-foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-top: 56px; border-top: 1px solid rgba(245,240,243,.12); }
.v-foot-in p { margin-top: 16px; color: rgba(245,240,243,.62); max-width: 34ch; font-size: 15px; }
.v-foot-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.v-foot-col a { text-decoration: none; opacity: .8; }
.v-foot-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.v-foot-legal { margin-top: 48px; font-size: 14px; color: rgba(245,240,243,.45); }
@media (max-width: 759px) { .v-foot-in { grid-template-columns: 1fr 1fr; } .v-foot-in > div:first-child { grid-column: 1 / -1; } }

/* Reduced motion: the envelope is shown already open, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}
