/* =====================================================================
   JaMyRii palette: CHANGE THE SITE'S COLORS HERE, IN THIS ONE BLOCK.
   "Midnight Orchid": deep plum-black, royal violet, rose gold and
   champagne, with a teal spark.
   ===================================================================== */
:root {
  --bg: #0b0812;          /* midnight base */
  --bg-2: #120d1d;        /* alternate sections */
  --ink: #f7f1ea;         /* main text */
  --muted: #c3b8cf;       /* soft text (passes contrast on the dark base) */
  --violet: #8b6cff;      /* royal violet */
  --rose: #f0b49e;        /* rose gold */
  --gold: #f3d9a4;        /* champagne */
  --teal: #45e0cf;        /* spark */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.14);
  --grad: linear-gradient(120deg, var(--gold) 0%, var(--rose) 40%, var(--violet) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
h2 { font-size: clamp(32px, 6vw, 54px); max-width: 18ch; }
h3 { font-size: 26px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- the animated wordmark ---------- */
.wordmark { display: inline-flex; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
.wordmark span { display: inline-block; background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite, rise 0.9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 0s, calc(var(--i) * 70ms); }
.wordmark.big { font-size: clamp(76px, 22vw, 190px); margin: 4px 0 10px; filter: drop-shadow(0 8px 40px rgba(139, 108, 255, .35)); }
.wordmark.small { font-size: 30px; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.4em) rotate(4deg); } to { opacity: 1; transform: none; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 20px 14px; transition: padding .3s, background .3s, backdrop-filter .3s, box-shadow .3s; }
.nav.shrink { padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; background: rgba(11, 8, 18, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--glass-line); }
.nav.shrink .wordmark.small { font-size: 25px; }
.nav-brand { text-decoration: none; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .88; }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass); padding: 12px 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: rgba(11, 8, 18, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: -1; }
  .nav-links a { font-size: 24px; font-family: "Cormorant Garamond", serif; font-weight: 700; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  /* A blurred bar would trap the full-screen menu inside it, so the blur is off while the menu is open. */
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 16px/1 "Jost", sans-serif; letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .3s, background .3s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--grad); background-size: 200% 100%; color: #1a1020; box-shadow: 0 10px 40px -10px rgba(240, 180, 158, .6); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 50px -8px rgba(139, 108, 255, .7); }
.btn-glass { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--gold); box-shadow: 0 0 30px -6px rgba(243, 217, 164, .5); }
.btn.wide { width: 100%; }

/* ---------- sections and parallax layers ---------- */
.section { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; }
.section.alt { background: var(--bg-2); }
.container { position: relative; width: min(1140px, 100% - 40px); margin: 0 auto; }
.container.narrow { width: min(760px, 100% - 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
.layer { position: absolute; pointer-events: none; z-index: -1; will-change: transform; }
.orb { width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb.soft { opacity: .3; }
.orb-a { background: radial-gradient(circle, var(--violet), transparent 65%); top: -140px; left: -160px; }
.orb-b { background: radial-gradient(circle, var(--rose), transparent 65%); bottom: -180px; right: -160px; }
.orb-c { background: radial-gradient(circle, var(--teal), transparent 65%); top: 30%; right: 20%; width: 300px; height: 300px; opacity: .25; }
.orb-d { background: radial-gradient(circle, var(--violet), transparent 65%); top: 10%; right: -220px; opacity: .35; }
.orb-e { background: radial-gradient(circle, var(--rose), transparent 65%); top: -120px; left: -200px; opacity: .3; }
.orb-f { background: radial-gradient(circle, var(--teal), transparent 65%); bottom: -200px; left: 20%; opacity: .22; }
.grid-lines { inset: -20% 0; background-image: linear-gradient(var(--glass-line) 1px, transparent 1px), linear-gradient(90deg, var(--glass-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); opacity: .35; }
.grid-lines.faint { opacity: .15; }
.ring { width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--glass-line); top: 12%; left: -140px; box-shadow: 0 0 80px -20px var(--violet) inset; }
.ring.big { width: 700px; height: 700px; left: auto; right: -300px; top: -100px; }
.sparkles { inset: 0; }
.sparkles i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 2px var(--gold); animation: twinkle 3.5s ease-in-out infinite; }
.sparkles i:nth-child(1) { top: 18%; left: 12%; } .sparkles i:nth-child(2) { top: 30%; left: 84%; animation-delay: .6s; }
.sparkles i:nth-child(3) { top: 70%; left: 20%; animation-delay: 1.2s; } .sparkles i:nth-child(4) { top: 62%; left: 72%; animation-delay: 1.8s; background: var(--teal); box-shadow: 0 0 12px 2px var(--teal); }
.sparkles i:nth-child(5) { top: 12%; left: 56%; animation-delay: 2.2s; } .sparkles i:nth-child(6) { top: 84%; left: 46%; animation-delay: .3s; }
.sparkles i:nth-child(7) { top: 44%; left: 6%; animation-delay: 1.5s; background: var(--rose); } .sparkles i:nth-child(8) { top: 48%; left: 94%; animation-delay: 2.6s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 90px; overflow: hidden; isolation: isolate; }
.hero-inner { max-width: 860px; }
.hero-title { font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 6.4vw, 56px); font-weight: 700; line-height: 1.12; margin: 0 auto 14px; max-width: 20ch; }
.hero-sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--glass-line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- glassy cards ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 34px; }
.card { position: relative; padding: 26px 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(139, 108, 255, .6); }
.card:hover::before { opacity: 1; }
.card .icon { font-size: 34px; display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 16px; background: linear-gradient(140deg, rgba(139, 108, 255, .25), rgba(240, 180, 158, .18)); margin-bottom: 14px; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal, .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in, .stagger.in > * { opacity: 1; transform: none; }

/* ---------- our work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); font: 500 15px "Jost", sans-serif; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip[aria-checked="true"] { background: var(--grad); color: #1a1020; border-color: transparent; font-weight: 600; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.work { position: relative; text-align: left; padding: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); cursor: pointer; font: inherit; transition: transform .35s, box-shadow .35s; }
.work:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(240, 180, 158, .55); }
.work-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #2b1d4d, #3d1f3a 50%, #0f3b44); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover .work-img img { transform: scale(1.06); }
.work-img .ph { font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 700; padding: 0 18px; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-body { padding: 16px 18px 18px; }
.work-body h3 { font-size: 22px; margin-bottom: 4px; }
.work-body p { margin: 0; color: var(--muted); font-size: 14px; }
.star { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 8, 18, .7); color: var(--gold); font-size: 13px; font-weight: 600; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 10, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[hidden], .thanks[hidden] { display: none; }
.lb-card { position: relative; width: min(820px, 100%); max-height: 92vh; overflow: auto; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.lb-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(11, 8, 18, .7); color: var(--ink); font-size: 18px; cursor: pointer; }
.lb-media { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px 22px 0 0; }
.lb-media img { flex: 0 0 100%; scroll-snap-align: start; max-height: 56vh; object-fit: contain; background: #000; }
.lb-media .work-img { flex: 0 0 100%; }
.lb-body { padding: 20px 22px 24px; }
.lb-body h4 { margin: 14px 0 4px; color: var(--gold); font: 600 13px "Jost", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- before and after ---------- */
.ba { position: relative; margin-top: 26px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-pane { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 20px var(--gold); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--grad); color: #1a1020; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(11, 8, 18, .75); font-size: 13px; font-weight: 600; }
.ba-tag.left { left: 12px; } .ba-tag.right { right: 12px; }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock-old { background: #c9c9c9; color: #000; font-family: "Times New Roman", serif; }
.mock-old-head { background: #0000aa; color: #ff0; padding: 12px; font-weight: 700; font-size: clamp(11px, 2.6vw, 18px); text-align: center; }
.mock-old-body { padding: 16px; font-size: clamp(12px, 2.6vw, 18px); }
.mock-old-body u { color: #00e; } .mock-old-body .tiny { font-size: 11px; color: #555; }
.mock-old-counter { display: inline-block; margin-top: 10px; background: #000; color: #0f0; font-family: monospace; padding: 4px 8px; }
.mock-new { background: radial-gradient(circle at 80% 0%, rgba(69, 224, 207, .35), transparent 50%), linear-gradient(160deg, #1e1636, #0b0812); color: var(--ink); padding: 14px 16px; gap: 12px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; font-size: clamp(13px, 2.4vw, 17px); }
.mock-pill { padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #1a1020; font-weight: 600; font-size: 12px; }
.mock-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 10px; }
.mock-hero strong { font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 6.4vw, 46px); line-height: 1.05; }
.mock-btn { align-self: flex-end; padding: 8px 14px; border-radius: 999px; background: var(--grad); color: #1a1020; font-weight: 600; font-size: 13px; }
.mock-btn.ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-line); }
.mock-cards { display: flex; gap: 8px; } .mock-cards i { flex: 1; font-style: normal; text-align: center; padding: 8px 4px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 12px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: var(--grad); opacity: .5; }
.step { position: relative; padding: 0 6px; }
.step .dot { position: relative; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); color: var(--gold); font: 700 22px "Cormorant Garamond", serif; margin-bottom: 14px; box-shadow: 0 0 30px -6px var(--rose); }
.step p { color: var(--muted); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
  .step { padding: 0 0 18px 74px; } .step .dot { position: absolute; left: 0; top: 0; }
}

/* ---------- packages ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 34px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px 22px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); }
.pkg.hot { background: linear-gradient(170deg, rgba(139, 108, 255, .28), rgba(240, 180, 158, .12)); border-color: transparent; box-shadow: 0 0 0 1px var(--rose), 0 30px 80px -30px var(--violet); transform: translateY(-6px); }
.pkg .badge { position: absolute; top: -13px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #1a1020; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pkg h3 { font-size: 28px; margin-bottom: 6px; }
.pkg .price { font: 700 40px "Cormorant Garamond", serif; margin-bottom: 14px; }
.pkg .price small { font: 500 15px "Jost", sans-serif; color: var(--muted); }
.pkg ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.pkg li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); border-top: 1px solid var(--glass-line); }
.pkg li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.addon { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 20px 22px; border-radius: 22px; border: 1px dashed var(--rose); background: rgba(240, 180, 158, .06); }
.addon h3 { margin: 0; font-size: 24px; } .addon p { margin: 4px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- stats ---------- */
.stats-band { padding: 80px 0; background: linear-gradient(120deg, rgba(139, 108, 255, .14), rgba(240, 180, 158, .08)); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; text-align: center; }
.stat b { display: block; font: 700 clamp(44px, 9vw, 68px)/1 "Cormorant Garamond", serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); }

/* ---------- testimonials ---------- */
.carousel { margin-top: 26px; overflow: hidden; touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.quote { flex: 0 0 100%; margin: 0; padding: 34px 26px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); }
.quote p { font: 600 clamp(24px, 4.6vw, 34px)/1.25 "Cormorant Garamond", serif; margin-bottom: 16px; }
.quote p::before { content: "“"; color: var(--rose); }
.quote p::after { content: "”"; color: var(--rose); }
.quote cite { font-style: normal; color: var(--muted); }
.quote cite b { color: var(--ink); }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.carousel-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.carousel-dots button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--glass-line); transition: background .3s, width .3s; }
.carousel-dots button[aria-selected="true"]::after { background: var(--gold); width: 26px; margin-left: -13px; border-radius: 6px; }

/* ---------- forms ---------- */
.form { padding: 24px 20px; margin-top: 24px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, .35); color: var(--ink); font: 17px "Jost", sans-serif; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(243, 217, 164, .2); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { margin: 0; min-height: 1.4em; color: var(--rose); }
.form-msg a { color: var(--gold); }
.socials { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .3s, box-shadow .3s; }
.socials a:hover { border-color: var(--gold); box-shadow: 0 0 24px -6px var(--rose); }

/* ---------- thank-you ---------- */
.thanks { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 10, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.thanks-card { width: min(420px, 100%); padding: 34px 24px; text-align: center; animation: pop .4s cubic-bezier(.2, .8, .2, 1); }
.check { width: 90px; height: 90px; margin: 0 auto 10px; }
.check circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s ease-out forwards; }
.check path { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; top: -10px; width: 8px; height: 14px; z-index: 95; pointer-events: none; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .2; } }

/* ---------- footer ---------- */
.footer { padding: 60px 20px calc(40px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--glass-line); background: var(--bg); }
.footer p { color: var(--muted); margin: 12px 0; }

/* Smoothness on iPhone, and no motion for people who asked for less. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .layer, [data-speed] { transform: none !important; }
}
@media (max-width: 560px) { .mock-cards { display: none; } }
