/* Memory Zone — site styles */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0c0812;
  --bg-2: #140d1c;
  --ink: #f7efe8;
  --muted: #b3a6b8;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .045);
  --rose: #ff5e7e;
  --peach: #ff9a62;
  --gold: #ffd166;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, var(--rose), var(--peach) 45%, var(--gold));
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); margin: .4rem 0 0; }
.small { font-size: 13px; }

/* camera flash on first load + film grain */
.flash { position: fixed; inset: 0; z-index: 100; background: #fff; pointer-events: none; animation: flash 1.1s ease-out .15s both; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: .95; } 100% { opacity: 0; } }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--sans); color: #1a0d12; text-decoration: none;
  background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 10px 30px -8px rgba(255, 94, 126, .6);
  transition: transform .25s, box-shadow .25s, background-position .5s;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(255, 94, 126, .8); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-light { background: #fff; color: #1a0d12; box-shadow: none; }
.btn-ghost-light { background: transparent; color: #1a0d12; box-shadow: inset 0 0 0 1.5px rgba(26,13,18,.35); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(12, 8, 18, .72); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 21px var(--serif); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); position: relative; box-shadow: 0 6px 18px -6px var(--rose); }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border: 2.5px solid #1a0d12; border-radius: 50%; }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:not(.btn):hover { color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .3s; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,94,126,.55), transparent 65%); top: -120px; right: -80px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(139,92,246,.45), transparent 65%); bottom: -160px; left: -140px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 var(--rose); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,94,126,0); } 100% { box-shadow: 0 0 0 0 rgba(255,94,126,0); } }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 400; }
.shine { background: linear-gradient(110deg, var(--rose) 0%, var(--peach) 30%, #fff3d6 45%, var(--gold) 60%, var(--rose) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -250% 0; } }
.lead { max-width: 540px; margin: 26px 0 34px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 34px; margin: 44px 0 0; padding: 0; }
.trust li { display: flex; flex-direction: column; }
.trust b { font: 500 30px var(--serif); }
.trust span { font-size: 13px; color: var(--muted); }

/* polaroid stack */
.stack { position: relative; height: 560px; perspective: 1200px; }
.polaroid, .strip { position: absolute; margin: 0; background: #fbf7f2; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.05); color: #2a1b22; }
.polaroid figcaption, .strip figcaption { font: italic 500 17px var(--serif); text-align: center; padding: 12px 0 14px; }
.p1 { width: 270px; top: 30px; left: 0; transform: rotate(-9deg); animation: float1 7s ease-in-out infinite; }
.p2 { width: 250px; bottom: 30px; left: 70px; transform: rotate(6deg); animation: float2 8s ease-in-out infinite; z-index: 2; }
.strip { width: 150px; top: 60px; right: 10px; transform: rotate(8deg); padding-bottom: 0; animation: float3 6.5s ease-in-out infinite; z-index: 3; }
.strip .shot { aspect-ratio: 4/3; margin-bottom: 8px; }
.strip figcaption { font-size: 13px; padding: 4px 0 10px; letter-spacing: .04em; }
@keyframes float1 { 50% { transform: rotate(-7deg) translateY(-14px); } }
@keyframes float2 { 50% { transform: rotate(4deg) translateY(12px); } }
@keyframes float3 { 50% { transform: rotate(10deg) translateY(-10px); } }
.shot { position: relative; aspect-ratio: 1; border-radius: 2px; overflow: hidden; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 40%); mix-blend-mode: soft-light; }
.shot i { position: absolute; bottom: -12%; width: 38%; aspect-ratio: .78; border-radius: 50% 50% 42% 42%; background: rgba(20, 8, 16, .55); }
.shot i::before { content: ""; position: absolute; left: 50%; top: -42%; width: 62%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: inherit; }
.s1 { background: radial-gradient(circle at 30% 25%, #ffd166, transparent 45%), linear-gradient(135deg, #ff5e7e, #8b5cf6); }
.s1 i:nth-child(1) { left: 14%; } .s1 i:nth-child(2) { left: 48%; transform: scale(1.08); }
.s2 { background: radial-gradient(circle at 75% 20%, #fff3d6, transparent 40%), linear-gradient(160deg, #ff9a62, #ff5e7e 60%, #6d28d9); }
.s2 i:nth-child(1) { left: 4%; transform: scale(.9); } .s2 i:nth-child(2) { left: 32%; transform: scale(1.1); } .s2 i:nth-child(3) { left: 62%; transform: scale(.95); }
.s3 { background: linear-gradient(135deg, #22d3ee, #8b5cf6); } .s3 i { left: 31%; }
.s4 { background: linear-gradient(135deg, #ffd166, #ff5e7e); } .s4 i:nth-child(1) { left: 10%; } .s4 i:nth-child(2) { left: 52%; }
.s5 { background: linear-gradient(135deg, #ff5e7e, #0c0812); } .s5 i { left: 31%; transform: scale(1.1); }
.sparkle { position: absolute; color: var(--gold); font-size: 26px; animation: twinkle 3s ease-in-out infinite; text-shadow: 0 0 20px rgba(255,209,102,.8); }
.k1 { top: 0; right: 40%; } .k2 { bottom: 10%; right: 6%; font-size: 18px; animation-delay: -1s; } .k3 { top: 46%; left: -4%; font-size: 20px; animation-delay: -2s; color: var(--rose); }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.6) rotate(45deg); } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; transform: rotate(-1.5deg); margin: 10px -10px; }
.track { display: flex; gap: 34px; width: max-content; align-items: center; animation: scroll 32s linear infinite; }
.track span { font: italic 400 clamp(22px, 3vw, 34px) var(--serif); white-space: nowrap; }
.track b { color: var(--rose); font-size: 18px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.head { max-width: 640px; margin-bottom: 56px; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.section h2 { font-size: clamp(36px, 5.2vw, 64px); }
.sub { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 560px; }

/* package cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)) border-box;
  border: 1px solid transparent; transition: transform .35s, background .35s; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,94,126,.16), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: baseline; gap: 12px; }
.num { font: 600 13px var(--sans); color: var(--rose); letter-spacing: .1em; }
.card h3 { font-size: 24px; }
.price { margin: 26px 0 14px; font: 500 46px/1 var(--serif); letter-spacing: -.02em; }
.price small { display: block; margin-top: 8px; font: 600 13px var(--sans); color: var(--muted); letter-spacing: .02em; }
.desc { color: var(--muted); margin: 0 0 24px; font-size: 15px; flex: 1; }
.card-link { font-weight: 700; color: var(--peach); text-decoration: none; }
.card-link:hover { color: var(--gold); }

/* steps */
.how { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); counter-increment: s; }
.steps li::after { content: "0" counter(s); position: absolute; top: 18px; right: 22px; font: italic 500 44px var(--serif); color: rgba(255,255,255,.06); }
.ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 26px; background: rgba(255,94,126,.12); margin-bottom: 20px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.prose { font-size: 18px; color: #e0d4dc; }
.prose p { margin: 0 0 1.2em; }
.sign { font: italic 500 20px var(--serif); color: var(--peach); }

/* banner */
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(36px, 5vw, 60px); border-radius: 30px; background: var(--grad); color: #1a0d12; position: relative; overflow: hidden; }
.banner::after { content: "✦"; position: absolute; right: -10px; top: -60px; font-size: 260px; color: rgba(255,255,255,.18); line-height: 1; pointer-events: none; }
.banner h2 { font-size: clamp(32px, 4.4vw, 52px); }
.banner p { margin: 10px 0 0; max-width: 480px; font-weight: 500; }
.banner .cta { position: relative; z-index: 1; }

/* contact + legal pages */
.page-head { padding-top: 150px; }
.page-head h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 400; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 56px; }
.c-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, border-color .3s; }
a.c-card:hover { transform: translateY(-4px); border-color: rgba(255,94,126,.5); }
.c-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-top: 10px; }
.c-card b { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.c-card .ico { margin-bottom: 4px; }
.legal { background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.legal h2 { font-size: 26px; margin: 34px 0 12px; }
.legal h2:first-child { font-size: clamp(36px, 5vw, 52px); margin-top: 0; margin-bottom: 20px; }
.legal p, .legal li { color: #d9ccd4; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 30px; background: #08050c; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.foot-in > div:not(:first-child) a { display: block; text-decoration: none; margin-bottom: 9px; color: #e0d4dc; font-size: 15px; overflow-wrap: anywhere; }
.foot-in a:hover { color: var(--peach); }
.copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .stack { height: 440px; max-width: 460px; width: 100%; margin: 10px auto 0; }
  .p1 { width: 210px; } .p2 { width: 200px; left: 40px; } .strip { width: 120px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .links { position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 22px; background: rgba(12,8,18,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .links .btn { margin-top: 16px; }
  .nav.open { background: rgba(12,8,18,.97); }
  .steps { grid-template-columns: 1fr; }
  .stack { height: 380px; }
  .p1 { width: 180px; } .p2 { width: 175px; left: 20px; } .strip { width: 105px; right: 0; }
  .trust { gap: 24px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .flash { display: none; }
}
