/* ------------------------------------------------------------------
   Construction Brand — High-End Architectural Invitation
   ------------------------------------------------------------------
   Aesthetic Architecture:
     · Honed obsidian slate & basalt materiality with micro-grain texture
     · Architectural drafting coordinates, crosshairs & precision frames
     · Obsidian frosted glassmorphic plinths with multi-stop ambient lighting
     · Haute-luxe typography & liquid cyan-teal illumination

   Two non-negotiable script integrity rules:
     1. Kurdish is never letter-spaced.
     2. Kurdish text containers never use fixed heights with overflow hidden.
   ------------------------------------------------------------------ */

:root {
  color-scheme: dark;

  /* Surfaces & Materiality */
  --void:        #050B10;
  --void-deep:   #03070A;
  --deep:        #081622;
  --raise:       #0D2230;
  --raise-lit:   #132F42;
  --well:        rgba(4, 12, 18, 0.72);

  /* High-Contrast Luminous Inks */
  --ink:         #F0F7F9;
  --ink-mid:     rgba(240, 247, 249, 0.72);
  --ink-dim:     rgba(240, 247, 249, 0.42);
  --ink-faint:   rgba(240, 247, 249, 0.22);

  /* Architectural Hairlines */
  --line:        rgba(140, 195, 215, 0.16);
  --line-lit:    rgba(127, 227, 245, 0.38);
  --line-soft:   rgba(140, 195, 215, 0.08);

  /* Brand Cyan-Teal & Jewel Luminescence */
  --teal:        #45B4C7;
  --teal-lit:    #7FE3F5;
  --teal-deep:   #237B8C;
  --glow:        rgba(69, 180, 199, 0.35);
  --glow-wide:   rgba(69, 180, 199, 0.14);
  --glow-lit:    rgba(127, 227, 245, 0.45);
  --on-teal:     #03141A;

  /* Alerts & Accents */
  --alert:       #FF7B6B;
  --alert-glow:  rgba(255, 123, 107, 0.25);

  /* Geometry */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --radius-pill: 9999px;

  /* Physics & Transitions */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --kurdish:     Vazirmatn, "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --kufi:        "Noto Kufi Arabic", Vazirmatn, "Noto Sans Arabic", sans-serif;
  --latin:       Archivo, "Segoe UI", system-ui, sans-serif;
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--void);
}

body {
  margin: 0;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  background: var(--void);
  color: var(--ink);
  font-family: var(--kurdish);
  font-size: 16px;
  line-height: 1.65;
  text-align: start;
  overflow-wrap: break-word;
  position: relative;
}

:lang(ckb), [dir="rtl"] {
  letter-spacing: 0 !important;
  word-spacing: normal;
}

img {
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal-lit);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =====================================================================
   BACKGROUND MATERIALITY & ATMOSPHERE
   ===================================================================== */

/* 1. Volumetric Lightfall: Cinematic architectural dusk illumination */
.lightfall {
  position: fixed;
  inset: -25% -15% auto;
  block-size: 140vh;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 12%, rgba(69, 180, 199, 0.26), transparent 70%),
    radial-gradient(42% 35% at 82% 6%, rgba(127, 227, 245, 0.16), transparent 72%),
    radial-gradient(50% 40% at 18% 28%, rgba(35, 123, 140, 0.18), transparent 65%),
    linear-gradient(180deg, var(--deep) 0%, var(--void) 65%);
  animation: lightfall-drift 24s var(--ease-soft) infinite alternate;
  will-change: transform, opacity;
}

@keyframes lightfall-drift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1);     opacity: 0.92; }
  100% { transform: translate3d(2.5%, 2%, 0) scale(1.05); opacity: 1; }
}

/* 2. Architectural Drafting Grid: Precision blueprints */
.grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg,  transparent 0 63px, var(--line-soft) 63px 64px),
    repeating-linear-gradient(90deg, transparent 0 63px, var(--line-soft) 63px 64px);
  -webkit-mask-image: radial-gradient(115% 80% at 50% 24%, #000 0%, rgba(0, 0, 0, 0.55) 48%, transparent 84%);
  mask-image: radial-gradient(115% 80% at 50% 24%, #000 0%, rgba(0, 0, 0, 0.55) 48%, transparent 84%);
}

/* 3. Tactile Woven Canvas / Linen Plaster Material Texture */
.texture-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('/assets/bg-texture.jpg');
  background-repeat: repeat;
  background-size: 240px 240px;
  mix-blend-mode: screen;
  opacity: 0.18;
  filter: contrast(135%);
}

.texture-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/bg-texture.jpg');
  background-repeat: repeat;
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.36;
}

/* =====================================================================
   THE INVITATION CONTAINER & ARCHITECTURAL FRAME
   ===================================================================== */

.invite {
  position: relative;
  z-index: 1;
  inline-size: min(100%, 32rem);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-right), env(safe-area-inset-left));
  padding-block:
    calc(clamp(48px, 11vw, 84px) + env(safe-area-inset-top))
    calc(72px + env(safe-area-inset-bottom));
  text-align: start;
}

/* Architectural L-Brackets at sheet bounds */
.corner-tick {
  position: absolute;
  inline-size: 14px;
  block-size: 14px;
  pointer-events: none;
  opacity: 0.45;
}

.corner-tick.top-start {
  inset-block-start: 18px;
  inset-inline-start: 18px;
  border-block-start: 1.5px solid var(--teal);
  border-inline-start: 1.5px solid var(--teal);
}

.corner-tick.top-end {
  inset-block-start: 18px;
  inset-inline-end: 18px;
  border-block-start: 1.5px solid var(--teal);
  border-inline-end: 1.5px solid var(--teal);
}

.corner-tick.bottom-start {
  inset-block-end: 18px;
  inset-inline-start: 18px;
  border-block-end: 1.5px solid var(--teal);
  border-inline-start: 1.5px solid var(--teal);
}

.corner-tick.bottom-end {
  inset-block-end: 18px;
  inset-inline-end: 18px;
  border-block-end: 1.5px solid var(--teal);
  border-inline-end: 1.5px solid var(--teal);
}

/* =====================================================================
   MASTHEAD: CREST, EMBLEM & HEADINGS
   ===================================================================== */

.crest,
.eyebrow,
.occasion,
.act {
  text-align: center;
}

.crest {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block-end: 28px;
}

/* Luminous Ambient Halo */
.crest-halo {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: clamp(260px, 70vw, 360px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, rgba(69, 180, 199, 0.08) 42%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

/* Concentric Precision Drafting Orbit */
.crest-orbit {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: clamp(170px, 45vw, 210px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px dashed rgba(127, 227, 245, 0.18);
  pointer-events: none;
  z-index: -1;
  animation: orbit-rotate 48s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.mark {
  display: block;
  inline-size: clamp(124px, 94px + 7vw, 156px);
  block-size: auto;
  aspect-ratio: 296 / 308;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.75))
          drop-shadow(0 0 24px rgba(69, 180, 199, 0.22));
  transition: transform 400ms var(--ease);
}

.mark:hover {
  transform: scale(1.02);
}

/* Luxury Pill Badge for Eyebrow */
.eyebrow {
  margin: 0;
  display: flex;
  justify-content: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(69, 180, 199, 0.12), rgba(10, 24, 34, 0.65));
  border: 1px solid rgba(127, 227, 245, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 16px -2px rgba(0, 0, 0, 0.4),
    0 0 16px -4px var(--glow);
  backdrop-filter: blur(12px);
}

.eyebrow-beacon {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background-color: var(--teal-lit);
  box-shadow: 0 0 10px 2px var(--teal-lit);
  animation: beacon-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes beacon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); box-shadow: 0 0 4px var(--teal-lit); }
}

.eyebrow-text {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(12px, 11.5px + 0.16vw, 13.5px);
  line-height: 1.6;
  color: var(--teal-lit);
  text-shadow: 0 0 12px rgba(127, 227, 245, 0.35);
}

/* Occasion Headline */
.occasion {
  margin: 20px 0 0;
  font-family: var(--kufi);
  font-weight: 600;
  font-size: clamp(32px, 25px + 1.8vw, 44px);
  line-height: 1.45;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  color: #FFFFFF;
  text-shadow:
    0 2px 24px rgba(127, 227, 245, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.6);
}

.act {
  margin: 12px 0 0;
  font-family: var(--kufi);
  font-weight: 400;
  font-size: clamp(17px, 15px + 0.6vw, 21px);
  line-height: 1.75;
  text-wrap: balance;
  color: var(--ink-mid);
}

/* Architectural Hairline Divider with Jewel Center */
.rule {
  position: relative;
  block-size: 1px;
  margin-block: 46px 36px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--teal) 50%, var(--line) 80%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-gem {
  inline-size: 7px;
  block-size: 7px;
  background-color: var(--teal-lit);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--teal-lit);
}

/* =====================================================================
   EVENT DETAILS: LUXURY PLAQUE TILES
   ===================================================================== */

.facts {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fact {
  position: relative;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 48%, rgba(9, 23, 34, 0.6) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 8px 24px -6px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  transition: border-color 340ms var(--ease), box-shadow 340ms var(--ease), transform 340ms var(--ease);
}

.fact:hover {
  border-color: var(--line-lit);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 30px -8px rgba(0, 0, 0, 0.7),
    0 0 20px -4px var(--glow-wide);
  transform: translateY(-1.5px);
}

.fact[hidden] {
  display: none;
}

.fact-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fact-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 6px;
  background: rgba(69, 180, 199, 0.12);
  border: 1px solid rgba(127, 227, 245, 0.22);
  color: var(--teal-lit);
  flex-shrink: 0;
}

.fact-icon {
  inline-size: 15px;
  block-size: 15px;
}

.fact dt {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(12.5px, 12px + 0.16vw, 13.5px);
  line-height: 1.6;
  color: var(--teal-lit);
  text-shadow: 0 0 10px rgba(127, 227, 245, 0.2);
}

.fact dd {
  margin: 6px 0 0;
  padding-inline-start: 36px;
  font-weight: 600;
  font-size: clamp(16.5px, 15.5px + 0.35vw, 18.5px);
  line-height: 1.7;
  text-wrap: pretty;
  color: var(--ink);
}

.fact dd a {
  color: var(--teal-lit);
  text-decoration: none;
  border-block-end: 1px dashed rgba(127, 227, 245, 0.5);
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}

.fact dd a:hover {
  color: #FFFFFF;
  border-block-end-color: var(--teal-lit);
}

/* =====================================================================
   VIP RSVP STAGE: OBSIDIAN PLINTH
   ===================================================================== */

.stage {
  position: relative;
  margin-block-start: 54px;
  padding: clamp(28px, 6vw, 42px) clamp(22px, 5.5vw, 34px) clamp(30px, 6vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 35%, transparent 70%),
    linear-gradient(135deg, rgba(13, 34, 48, 0.85) 0%, rgba(8, 22, 34, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 32px rgba(69, 180, 199, 0.04),
    0 32px 80px -25px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(140, 195, 215, 0.1);
  backdrop-filter: blur(24px) saturate(125%);
  overflow: hidden;
}

/* Architectural Corner Registration Crosshairs */
.stage-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.corner-cross {
  position: absolute;
  inline-size: 10px;
  block-size: 10px;
  opacity: 0.4;
}

.corner-cross::before,
.corner-cross::after {
  content: "";
  position: absolute;
  background-color: var(--teal-lit);
}

.corner-cross::before {
  inset-block-start: 4.5px;
  inset-inline-start: 0;
  inline-size: 10px;
  block-size: 1px;
}

.corner-cross::after {
  inset-block-start: 0;
  inset-inline-start: 4.5px;
  inline-size: 1px;
  block-size: 10px;
}

.corner-cross.top-start    { inset-block-start: 12px; inset-inline-start: 12px; }
.corner-cross.top-end      { inset-block-start: 12px; inset-inline-end: 12px; }
.corner-cross.bottom-start { inset-block-end: 12px; inset-inline-start: 12px; }
.corner-cross.bottom-end   { inset-block-end: 12px; inset-inline-end: 12px; }

/* Stage Header Kicker */
.stage-header {
  margin-block-end: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-kicker {
  font-family: var(--kufi);
  font-weight: 500;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(69, 180, 199, 0.08);
  border: 1px solid rgba(69, 180, 199, 0.18);
}

/* Light Sheen Crossing the Stage Plinth */
.stage::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -70%;
  inline-size: 60%;
  background: linear-gradient(105deg, transparent, rgba(127, 227, 245, 0.08), transparent);
  animation: plinth-passlight 10s var(--ease-soft) 2s infinite;
  pointer-events: none;
}

@keyframes plinth-passlight {
  0%        { transform: translateX(0);    opacity: 0; }
  12%       { opacity: 1; }
  45%, 100% { transform: translateX(340%); opacity: 0; }
}

[dir="rtl"] .stage::after {
  animation-name: plinth-passlight-rtl;
}

@keyframes plinth-passlight-rtl {
  0%        { transform: translateX(0);     opacity: 0; }
  12%       { opacity: 1; }
  45%, 100% { transform: translateX(-340%); opacity: 0; }
}

.stage[hidden] {
  display: none;
}

/* Form Fields */
.field + .field {
  margin-block-start: 22px;
}

.field label {
  display: block;
  margin-block-end: 8px;
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(12.5px, 12px + 0.16vw, 13.5px);
  line-height: 1.6;
  color: var(--ink-mid);
  transition: color 280ms var(--ease);
}

.field:focus-within label {
  color: var(--teal-lit);
  text-shadow: 0 0 10px rgba(127, 227, 245, 0.3);
}

/* Sculpted Inset Input Well */
.input-well {
  position: relative;
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.field:focus-within .input-well {
  border-color: var(--teal-lit);
  background: rgba(5, 16, 24, 0.85);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 3.5px rgba(69, 180, 199, 0.18),
    0 4px 18px rgba(69, 180, 199, 0.15);
}

.field input {
  inline-size: 100%;
  min-block-size: 54px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: #FFFFFF;
  font-family: var(--kurdish);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  appearance: none;
}

#guest-phone {
  font-family: var(--latin);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: start;
}

.field input::placeholder {
  color: var(--ink-dim);
  font-weight: 400;
  opacity: 1;
}

.field input:focus {
  outline: none;
}

.field input[aria-invalid="true"] {
  color: var(--alert);
}

.field:has(input[aria-invalid="true"]) .input-well {
  border-color: var(--alert);
  box-shadow: 0 0 0 3px var(--alert-glow);
}

.decoy {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.notice {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(229, 138, 123, 0.12);
  border: 1px solid rgba(229, 138, 123, 0.35);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  color: #FF9E90;
}

.notice[hidden] {
  display: none;
}

/* Flagship Submit Button */
.submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  inline-size: 100%;
  min-block-size: 60px;
  margin-block-start: 34px;
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #50C4D8 0%, #2F94A6 52%, #196675 100%);
  color: var(--on-teal);
  font-family: var(--kufi);
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 14px 34px -10px rgba(69, 180, 199, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.4);
  transition:
    box-shadow 360ms var(--ease),
    transform 220ms var(--ease),
    filter 220ms var(--ease);
  overflow: hidden;
}

.submit:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 18px 44px -8px rgba(69, 180, 199, 0.75),
    0 0 0 3px rgba(127, 227, 245, 0.25);
  transform: translateY(-2px);
}

.submit:active {
  transform: translateY(1px) scale(0.99);
  filter: brightness(0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 20px -6px rgba(69, 180, 199, 0.5);
}

.submit:disabled {
  cursor: default;
  filter: saturate(0.6) brightness(0.85);
}

/* Button Shimmer Sweep Effect */
.submit-sheen {
  position: absolute;
  inset-block: -50%;
  inset-inline-start: -60%;
  inline-size: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: submit-sheen-sweep 5.5s infinite var(--ease-soft);
  pointer-events: none;
}

@keyframes submit-sheen-sweep {
  0%, 25%   { transform: translateX(0) rotate(25deg); opacity: 0; }
  35%       { opacity: 1; }
  60%, 100% { transform: translateX(420%) rotate(25deg); opacity: 0; }
}

.submit-glyph {
  inline-size: 16px;
  block-size: 16px;
  transition: transform 260ms var(--ease-spring);
}

.submit:hover .submit-glyph {
  transform: translateX(-3px);
}

.spinner {
  display: none;
  inline-size: 16px;
  block-size: 16px;
  border: 2.5px solid rgba(3, 20, 26, 0.3);
  border-block-start-color: var(--on-teal);
  border-radius: 50%;
  animation: spin 680ms linear infinite;
}

.submit.is-busy .spinner {
  display: block;
}

.submit.is-busy .submit-glyph {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =====================================================================
   DONE CONFIRMATION STAGE
   ===================================================================== */

#stage-done {
  text-align: center;
  padding-block: clamp(36px, 8vw, 54px);
}

.done-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(69, 180, 199, 0.2), rgba(10, 24, 34, 0.8));
  border: 1px solid var(--teal-lit);
  color: var(--teal-lit);
  box-shadow:
    0 0 24px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  margin-block-end: 20px;
}

.done-emblem svg {
  inline-size: 32px;
  block-size: 32px;
}

.done-name {
  margin: 0;
  font-family: var(--kufi);
  font-weight: 600;
  font-size: clamp(23px, 20px + 0.8vw, 28px);
  line-height: 1.5;
  color: #FFFFFF;
}

.done-name:empty {
  display: none;
}

.done-head {
  margin: 8px 0 0;
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(16.5px, 15.5px + 0.3vw, 18.5px);
  line-height: 1.7;
  color: var(--teal-lit);
}

.done-body {
  margin: 18px 0 0;
  font-size: clamp(15px, 14px + 0.3vw, 16.5px);
  line-height: 1.95;
  text-wrap: pretty;
  color: var(--ink-mid);
}

/* =====================================================================
   THE HOIST: ARCHITECTURAL CRANE
   ===================================================================== */

.hoist {
  display: flex;
  justify-content: center;
  margin-block: 58px 12px;
  color: var(--teal);
  opacity: 0.65;
  filter: drop-shadow(0 4px 16px var(--glow-wide));
}

.hoist svg {
  inline-size: 72px;
  block-size: auto;
}

.hoist-beam {
  stroke: var(--teal-lit);
}

.hoist-swing {
  transform-origin: 40px 6px;
  animation: crane-sway 7.5s var(--ease-soft) infinite alternate;
}

@keyframes crane-sway {
  from { transform: rotate(-2.6deg); }
  to   { transform: rotate(2.6deg); }
}

/* =====================================================================
   THE PROMISE & ASSURANCE
   ===================================================================== */

.promise {
  margin: 32px 0 0;
  font-family: var(--kufi);
  font-weight: 600;
  font-size: clamp(24px, 20px + 1vw, 30px);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.promise-body {
  margin: 16px 0 0;
  font-size: clamp(15.5px, 14px + 0.32vw, 17.5px);
  line-height: 1.95;
  text-align: center;
  text-wrap: pretty;
  color: var(--ink-mid);
}

.promise-body + .facts {
  margin-block-start: 44px;
}

.assurance .fact dd:not(.latin) {
  font-weight: 400;
  font-size: clamp(15px, 14px + 0.3vw, 16.5px);
  line-height: 1.95;
  color: var(--ink-mid);
  padding-inline-start: 0;
}

.assurance .fact dt {
  margin-block-end: 8px;
}

.assurance .fact dd.latin {
  font-family: var(--latin);
  font-weight: 500;
  padding-inline-start: 0;
  margin: 10px 0 0;
}

/* Partner Brand Badges */
.brand-capsule {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(140, 195, 215, 0.08);
  border: 1px solid rgba(140, 195, 215, 0.22);
  color: var(--ink);
  font-size: 14.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.brand-capsule:hover {
  background: rgba(69, 180, 199, 0.14);
  border-color: var(--teal-lit);
  color: #FFFFFF;
}

.brand-dot {
  margin-inline: 8px;
  color: var(--ink-dim);
}

/* Core Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 42px 0 0;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--line-soft);
  text-align: center;
}

.pillar-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  background: rgba(140, 195, 215, 0.04);
  border: 1px solid var(--line-soft);
  font-family: var(--kufi);
  font-weight: 500;
  font-size: clamp(13px, 12.5px + 0.16vw, 14px);
  line-height: 1.6;
  color: var(--ink-mid);
  transition: border-color 280ms var(--ease), color 280ms var(--ease), background 280ms var(--ease);
}

.pillar-chip:hover {
  background: rgba(69, 180, 199, 0.08);
  border-color: rgba(127, 227, 245, 0.3);
  color: var(--teal-lit);
}

/* =====================================================================
   COLOPHON & CONTACTS
   ===================================================================== */

.colophon {
  margin-block-start: 68px;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  font-family: var(--kufi);
  font-size: clamp(13px, 12.4px + 0.16vw, 14px);
  line-height: 1.7;
  color: var(--ink-dim);
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 46px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(140, 195, 215, 0.05);
  border: 1px solid var(--line);
  font-family: var(--latin);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mid);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    color 300ms var(--ease),
    border-color 300ms var(--ease),
    background 300ms var(--ease),
    box-shadow 300ms var(--ease),
    transform 300ms var(--ease);
}

.contact-pill:hover {
  color: #FFFFFF;
  border-color: var(--teal-lit);
  background: rgba(69, 180, 199, 0.12);
  box-shadow: 0 0 18px -4px var(--glow);
  transform: translateY(-1.5px);
}

.contact-icon {
  inline-size: 15px;
  block-size: 15px;
  color: var(--teal);
}

/* =====================================================================
   ARRIVAL CHOREOGRAPHY
   ===================================================================== */

@keyframes lift-in {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes bloom-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: none; }
}

@keyframes draw-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.crest        { animation: bloom-in 1000ms var(--ease) 60ms both; }
.eyebrow      { animation: lift-in 760ms var(--ease) 300ms both; }
.occasion     { animation: lift-in 820ms var(--ease) 400ms both; }
.act          { animation: lift-in 820ms var(--ease) 500ms both; }
.rule         { animation: draw-in 900ms var(--ease) 600ms both; }
.fact         { animation: lift-in 760ms var(--ease) 680ms both; }
.fact:nth-child(2) { animation-delay: 760ms; }
.fact:nth-child(3) { animation-delay: 840ms; }
.stage        { animation: lift-in 900ms var(--ease) 920ms both; }
.hoist        { animation: lift-in 800ms var(--ease) 1040ms both; }
.promise,
.promise-body { animation: lift-in 800ms var(--ease) 1120ms both; }
.assurance    { animation: lift-in 800ms var(--ease) 1200ms both; }
.pillars,
.colophon     { animation: lift-in 800ms var(--ease) 1280ms both; }

/* =====================================================================
   TABLETS & WIDE SCREENS
   ===================================================================== */

@media (min-width: 45rem) {
  .invite {
    inline-size: min(100%, 36rem);
    padding-block-start: calc(90px + env(safe-area-inset-top));
  }
  .fact {
    padding: 18px 24px;
  }
  .hoist svg {
    inline-size: 82px;
  }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lightfall,
  .crest-orbit,
  .eyebrow-beacon,
  .stage::after,
  .submit-sheen,
  .hoist-swing {
    animation: none;
  }
  .crest, .eyebrow, .occasion, .act, .rule, .fact,
  .stage, .hoist, .promise, .promise-body, .assurance,
  .pillars, .colophon {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .spinner {
    animation-duration: 1.6s;
  }
}
