@font-face { font-family: 'Suisse Intl'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/SuisseIntl-Regular.otf') format('opentype'); }
@font-face { font-family: 'Suisse Intl'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/SuisseIntl-Medium.otf') format('opentype'); }
@font-face { font-family: 'Suisse Intl'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/SuisseIntl-Bold.otf') format('opentype'); }

:root {
  --bg: #070605;
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --glass-3: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .78);
  --muted: rgba(255, 255, 255, .5);
  --faint: rgba(255, 255, 255, .3);
  --gold: #c9a35a;
  --gold-2: #f0d39a;
  --verde: #5fbf8f;
  --error: #ff8a76;
  --error-bg: rgba(255, 110, 90, .08);
  --ring: 0 0 0 4px rgba(212, 172, 95, .18);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --serif: 'Playfair Display', Georgia, serif;
  --deco: 'Poiret One', 'Suisse Intl', sans-serif;
  --sans: 'Suisse Intl', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; color-scheme: dark; }

body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #0a0a0a; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

[hidden] { display: none !important; }

.muted { color: var(--muted); }

/* ---------- background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #070605;
  --hw: max(100vw, 100vh * 16 / 9);
  --hh: max(100vh, 100vw * 9 / 16);
}

.hall {
  position: absolute;
  left: calc((100vw - var(--hw)) * .6);
  top: calc((100vh - var(--hh)) * .5);
  width: var(--hw);
  height: var(--hh);
  background: url('/img/hall.jpg') center / 100% 100% no-repeat;
  transform-origin: 70% 60%;
  animation: hall-drift 40s ease-in-out infinite alternate;
}

.hall::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, .94) 0%, rgba(7, 6, 5, .78) 38%, rgba(7, 6, 5, .3) 66%, rgba(7, 6, 5, .2) 100%),
    linear-gradient(180deg, rgba(7, 6, 5, .55) 0%, transparent 25%, transparent 75%, rgba(7, 6, 5, .7) 100%);
}

@keyframes hall-drift {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* seat: координаты в процентах кадра hall.jpg */
.seat {
  --x: 81.6%;
  --y: 63.4%;
  --size: 5.6%;
  --card-x: 81.8%;
  --card-y: 79.6%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.seat__guest {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  translate: -50% -50%;
  opacity: 0;
  transform: translateY(-30%) scale(.85);
  transition: opacity .7s var(--ease), transform .9s cubic-bezier(.2, 1.3, .3, 1);
}

.seat__body {
  position: absolute;
  left: 50%;
  top: 80%;
  width: 220%;
  height: 78%;
  translate: -50% 0;
  border-radius: 50% 50% 18% 18% / 70% 70% 12% 12%;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(240, 211, 154, .22), transparent 70%),
    linear-gradient(180deg, #1c2a22, #0d130f);
  box-shadow: inset 0 1.5px 0 rgba(240, 211, 154, .45), inset 0 -8px 12px -6px rgba(0, 0, 0, .8);
  -webkit-mask: linear-gradient(180deg, #000 80%, transparent 100%);
  mask: linear-gradient(180deg, #000 80%, transparent 100%);
}

.seat__avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3a4a40, #18211c) center / cover no-repeat;
  box-shadow:
    0 0 0 calc(var(--hw) * .0022) #070605,
    0 0 0 calc(var(--hw) * .0042) var(--gold),
    0 0 calc(var(--hw) * .03) rgba(240, 211, 154, .35);
  font: 500 calc(var(--hw) * .02)/1 var(--serif);
  color: var(--gold-2);
}

.seat__card {
  position: absolute;
  left: var(--card-x);
  top: var(--card-y);
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  gap: calc(var(--hw) * .003);
  min-width: calc(var(--hw) * .1);
  padding: calc(var(--hw) * .006) calc(var(--hw) * .012);
  border-radius: calc(var(--hw) * .002);
  background: linear-gradient(180deg, #f6eedb, #e3d5b4);
  box-shadow: 0 calc(var(--hw) * .004) calc(var(--hw) * .012) rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(201, 163, 90, .55);
  transform: perspective(400px) rotateX(18deg);
  color: #2a2116;
  white-space: nowrap;
  animation: card-glow 3s ease-in-out infinite alternate;
}

.seat__label { font: 400 max(8px, calc(var(--hw) * .0058))/1 var(--deco); letter-spacing: .3em; text-transform: uppercase; color: #8a6a2e; }
.seat__name { font: italic 500 max(13px, calc(var(--hw) * .0115))/1.1 var(--serif); }
.seat__name:empty { display: none; }

@keyframes card-glow {
  from { box-shadow: 0 calc(var(--hw) * .004) calc(var(--hw) * .012) rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(201, 163, 90, .55), 0 0 0 rgba(240, 211, 154, 0); }
  to   { box-shadow: 0 calc(var(--hw) * .004) calc(var(--hw) * .012) rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(201, 163, 90, .55), 0 0 calc(var(--hw) * .02) rgba(240, 211, 154, .45); }
}

.seat.is-taken .seat__guest { opacity: 1; transform: none; }
.seat.is-taken .seat__card { animation: none; }
.seat.has-photo .seat__avatar span { display: none; }

@media (max-width: 1079px) {
  .bg { --hh: max(135vh, 100vw * 16 / 9); --hw: calc(var(--hh) * 9 / 16); }
  .hall {
    left: clamp(calc(100vw - var(--hw)), calc(72vw - var(--hw) * .73), 0px);
    top: clamp(calc(100vh - var(--hh)), calc(80vh - var(--hh) * .615), 0px);
    background-image: url('/img/hall-m.jpg');
  }
  .stage { padding-bottom: 26vh; }
  .hall::after {
    background:
      linear-gradient(180deg, rgba(7, 6, 5, .5) 0%, rgba(7, 6, 5, .78) 25%, rgba(7, 6, 5, .82) 45%, rgba(7, 6, 5, .45) 62%, rgba(7, 6, 5, .4) 75%, rgba(7, 6, 5, .7) 100%);
  }
  .seat { --x: 73%; --y: 61.5%; --size: 11%; --card-x: 74%; --card-y: 70.5%; }
  .seat__avatar { font-size: calc(var(--hw) * .04); }
  .seat__card { min-width: calc(var(--hw) * .16); padding: calc(var(--hw) * .008) calc(var(--hw) * .016); }
  .seat__label { font-size: calc(var(--hw) * .0085); }
  .seat__name { font-size: calc(var(--hw) * .018); }
}

/* ---------- progress & topbar ---------- */

.progress { position: fixed; inset: 0 0 auto; z-index: 20; height: 2px; }
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--verde), var(--gold-2));
  box-shadow: 0 0 12px rgba(240, 211, 154, .6);
  transition: width .5s var(--ease);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(8, 8, 8, .45);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

.topbar.is-scrolled { border-bottom-color: var(--line); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 172, 95, .55);
  border-radius: 50%;
  color: var(--gold-2);
  font: 700 12px/1 var(--sans);
  letter-spacing: .08em;
}

.brand__name { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }

.topbar__meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.topbar__meta span { color: var(--text); font-weight: 500; }

/* ---------- stage ---------- */

.topbar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar.is-scrolled { background: rgba(8, 8, 8, .6); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.topbar__meta { letter-spacing: .02em; }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  max-width: 1240px;
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.stage__main { width: 100%; max-width: 660px; }

@media (min-width: 1080px) {
  .stage { padding: 0 48px 64px; }
}

body.is-done .stage { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- steps ---------- */

.step { display: none; padding: 32px 0; }
.step.is-active { display: block; animation: step-in .55s var(--ease) both; }
.flow[data-dir="back"] .step.is-active { animation-name: step-back; }

@keyframes step-in { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes step-back { from { opacity: 0; transform: translateY(-28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font: 400 15px/1 var(--deco);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 34px;
  height: 7px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 50% / 100% 1px no-repeat,
    linear-gradient(45deg, transparent 40%, var(--gold) 40% 60%, transparent 60%) 100% 50% / 7px 7px no-repeat;
}

.eyebrow::after { transform: scaleX(-1); }

.cover__title {
  margin: 0 0 26px;
  font: 400 clamp(54px, min(12vw, 7vw + 18px), 104px)/.92 var(--serif);
  letter-spacing: -.02em;
}

.cover__title em {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #f6e2b3 0%, #c9a35a 22%, #8a6a2e 40%, #e9cf94 55%, #c9a35a 75%, #f6e2b3 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 10s linear infinite;
  padding: 0 .1em .06em 0;
}

@keyframes shimmer { to { background-position: 300% 0; } }

.cover__lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.cover__meta { font-size: 13px; color: var(--muted); }

.step__num {
  margin: 0 0 18px;
  font: italic 400 20px/1 var(--serif);
  letter-spacing: .04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.step__num span { color: var(--faint); }

.step__title {
  display: block;
  margin: 0;
  font: 400 clamp(34px, 5.4vw, 58px)/1.06 var(--serif);
  letter-spacing: -.01em;
  text-wrap: balance;
}

.step__hint { margin: 16px 0 0; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--muted); }

.step__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 44px; }
.step--cover .step__nav { margin-top: 40px; }

.step__kbd { font-size: 13px; color: var(--faint); }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font: 500 11px/1 var(--sans);
  color: var(--muted);
}

@media (hover: none) { .step__kbd, .option kbd { display: none; } }

.field__error { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }

/* ---------- line input ---------- */

.line-input {
  display: block;
  width: 100%;
  margin-top: 36px;
  padding: 10px 0 14px;
  border: 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  background: transparent;
  font: 400 clamp(22px, 3.2vw, 30px)/1.35 var(--sans);
  letter-spacing: -.01em;
  color: var(--text);
  caret-color: var(--gold-2);
  outline: none;
  resize: none;
  overflow: hidden;
  transition: border-color .25s;
  -webkit-appearance: none;
}

.line-input::placeholder { color: rgba(255, 255, 255, .22); }
.line-input:hover { border-bottom-color: rgba(255, 255, 255, .36); }
.line-input:focus { border-bottom-color: var(--gold-2); }
.line-input--sm { margin-top: 18px; font-size: 20px; }

.input {
  padding: 11px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  font: 400 15px/1.4 var(--sans);
  color: var(--text);
  outline: none;
}

.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--gold); box-shadow: var(--ring); }

.has-error .line-input { border-bottom-color: var(--error); }

.textarea { position: relative; }
.textarea__count {
  position: absolute;
  right: 0;
  bottom: -26px;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* ---------- upload ---------- */

.upload { display: flex; align-items: center; gap: 32px; margin-top: 36px; }

.upload__preview {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03) center / cover no-repeat;
  color: var(--gold-2);
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .2s;
}

.upload__preview::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(240, 211, 154, .45);
  border-radius: 50%;
  animation: spin 40s linear infinite;
  transition: border-color .2s;
}

.upload__preview:hover { transform: scale(1.03); background-color: rgba(255, 255, 255, .06); }
.upload__preview svg { width: 40px; height: 40px; stroke-width: 1.4; transition: transform .3s var(--ease); }
.upload__preview:hover svg { transform: rotate(90deg); }

.upload__preview.has-image { box-shadow: 0 0 0 6px var(--bg), 0 0 0 7.5px rgba(212, 172, 95, .7), 0 24px 60px -18px rgba(212, 172, 95, .5); }
.upload__preview.has-image::before, .upload__preview.has-image svg { display: none; }

.upload.is-drag .upload__preview { transform: scale(1.06); background-color: rgba(212, 172, 95, .12); }
.upload.is-drag .upload__preview::before { border-color: var(--gold-2); }
.has-error .upload__preview::before { border-color: var(--error); }

.upload__title { margin: 0; font-size: 18px; font-weight: 500; }
.upload__sub { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.upload__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

@media (max-width: 520px) {
  .upload { flex-direction: column; align-items: flex-start; gap: 22px; }
  .upload__preview { width: 148px; height: 148px; }
}

/* ---------- options ---------- */

.pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--glass-3);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  transition: background .2s, color .2s;
}

.pill.is-full { background: var(--gold-2); color: #0a0a0a; }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 32px; }

.option { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.option input { position: absolute; opacity: 0; pointer-events: none; }

.option span {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-2);
  transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .15s;
  user-select: none;
}

.option span::after {
  content: '';
  flex: none;
  width: 5px;
  height: 10px;
  margin: -3px 4px 0 auto;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.4);
  transition: opacity .2s, transform .25s var(--ease);
}

.option:hover span { border-color: rgba(255, 255, 255, .32); color: var(--text); background: rgba(255, 255, 255, .06); }
.option:active span { transform: scale(.98); }

.option input:checked + span { background: #fff; border-color: #fff; color: #0a0a0a; }
.option input:checked + span::after { opacity: 1; transform: rotate(45deg) scale(1); }
.option input:checked + span kbd { border-color: #0a0a0a; background: #0a0a0a; color: #fff; }
.option input:focus-visible + span { box-shadow: var(--ring); }
.option input:disabled + span { opacity: .3; cursor: not-allowed; }
.option input:disabled + span:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); }

.has-error .option span { border-color: rgba(255, 138, 118, .35); }

/* ---------- consents ---------- */

.consents {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
}

.check { display: flex; gap: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__text { font-size: 14px; line-height: 1.55; color: var(--text-2); }

.check__box {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  border-radius: 7px;
  transition: background .2s, border-color .2s;
}

.check__box::after {
  content: '';
  position: absolute;
  left: 6.5px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .18s var(--ease);
}

.check:hover .check__box { border-color: rgba(255, 255, 255, .6); }
.check input:checked + .check__box { background: #fff; border-color: #fff; }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { box-shadow: var(--ring); }
.check.has-error .check__box { border-color: var(--error); background: var(--error-bg); }

.field__error--consent { margin: -6px 0 0 36px; }
.contact { display: grid; gap: 10px; padding-left: 36px; }

.segmented {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-self: start;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}

.segmented label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }

.segmented span {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--muted);
  transition: background .2s, color .2s;
  user-select: none;
}

.segmented label:hover span { color: var(--text); }
.segmented input:checked + span { background: #fff; color: #0a0a0a; }
.segmented input:focus-visible + span { box-shadow: var(--ring); }

.contact .input { font-variant-numeric: tabular-nums; }

@media (max-width: 420px) {
  .contact, .field__error--consent { padding-left: 0; margin-left: 0; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font: 500 14px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn--soft { padding: 11px 18px; border: 1px solid var(--line-2); background: var(--glass-2); color: var(--text); }
.btn--soft:hover { background: var(--glass-3); }
.btn--soft:has(input:focus-visible) { box-shadow: var(--ring); }

.btn--link { padding: 4px 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.btn--link:hover { color: var(--error); }

.btn--round {
  flex: none;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}

.btn--round svg { width: 20px; height: 20px; stroke-width: 1.8; }
.btn--round:hover { background: var(--glass-3); }
.btn--round:focus-visible { outline: none; box-shadow: var(--ring); }

.btn--primary {
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f1d79c, #c9a35a);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(201, 163, 90, .4), 0 18px 44px -14px rgba(201, 163, 90, .55);
}

.btn--primary svg { width: 20px; height: 20px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn--primary:hover { background: linear-gradient(180deg, #f8e5b8, #d6b26a); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary:active { transform: scale(.99); }
.btn--primary:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary:disabled { opacity: .7; cursor: progress; }

.btn--primary.is-loading svg { display: none; }
.btn--primary.is-loading .btn__label::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin .7s linear infinite;
}

.submit { margin-top: 28px; }

.form-error {
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 138, 118, .3);
  border-radius: 12px;
  background: var(--error-bg);
  font-size: 14px;
  color: var(--error);
  text-align: center;
}
.form-error:empty { display: none; }

/* ---------- preview ---------- */

.preview-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.preview-inline { margin-top: 36px; }

.gcard {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  background:
    radial-gradient(120% 50% at 50% 100%, rgba(46, 160, 104, .14), transparent 70%),
    linear-gradient(180deg, rgba(22, 26, 24, .92), rgba(10, 12, 11, .92));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: var(--text);
}

.gcard__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(70% 70% at 50% 35%, rgba(95, 191, 143, .16), transparent 70%),
    linear-gradient(160deg, #1b2620, #101512);
  color: rgba(191, 232, 207, .45);
}

.gcard__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35));
  pointer-events: none;
}

.gcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.gcard__photo svg { width: 56px; height: 56px; stroke-width: 1; }

.gcard__body { padding: 20px 14px 12px; }

.gcard__name { margin: 0; font: 500 28px/1.1 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.gcard__job { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }

.gcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }

.gcard__tags li {
  padding: 6px 12px;
  border: 1px solid rgba(95, 191, 143, .22);
  border-radius: 999px;
  background: rgba(95, 191, 143, .1);
  font-size: 12.5px;
  font-weight: 500;
  color: #bfe8cf;
}

.gcard__tags li.is-ph { border-color: var(--line); background: var(--glass); color: var(--faint); }

.gcard__block { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.gcard__label { margin: 0 0 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.gcard__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }

.gcard__ph { color: rgba(255, 255, 255, .28); }

.preview-inline { max-width: 400px; margin: 32px 0 24px; }

/* ---------- thanks ---------- */

.thanks { padding: 40px 0; animation: step-in .7s var(--ease) both; }
.thanks .cover__lead { margin: 0 auto; }
.thanks .preview-inline { max-width: 380px; margin: 44px auto 0; text-align: left; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
