:root {
  --night: #0b1026;
  --raised: #161d3d;
  --high: #232b55;
  --gold: #ffc857;
  --gold-deep: #e09f1f;
  --rose: #ff5a8a;
  --ink: #1a1300;
  --muted: #b9c0e0;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 16, 38, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--high);
}
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top .brand { font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; }
header.top nav { margin-left: auto; display: flex; gap: 20px; }
header.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
header.top nav a:hover { color: #fff; }

.hero { padding: 72px 0 48px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 600px;
  background: radial-gradient(closest-side, rgba(255, 200, 87, .22), transparent),
              radial-gradient(closest-side at 70% 60%, rgba(255, 90, 138, .18), transparent);
  pointer-events: none;
}
.hero .icon { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 16px 48px rgba(0, 0, 0, .5); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; margin: 24px 0 12px; letter-spacing: -.02em; }
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: clamp(19px, 2.4vw, 23px); color: var(--muted); max-width: 680px; margin: 0 auto 32px; }

.cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 19px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 200, 87, .3); }
.cta.soon { cursor: default; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--raised); border: 1px solid var(--high);
  color: var(--muted); font-size: 15px; font-weight: 600; }

section { padding: 56px 0; }
section h2 { font-size: clamp(30px, 4.5vw, 42px); margin: 0 0 8px; text-align: center; letter-spacing: -.01em; }
section p.sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 640px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { background: var(--raised); border: 1px solid var(--high); border-radius: var(--radius); padding: 16px 16px 22px; }
.feature video { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; display: block; object-fit: cover; }
.feature h3 { margin: 16px 4px 4px; font-size: 21px; }
.feature p { margin: 0 4px; color: var(--muted); font-size: 16px; }

.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
.shots img { height: 520px; width: auto; border-radius: 18px; scroll-snap-align: center; border: 1px solid var(--high); flex: none; }

.private { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.private div { background: var(--raised); border: 1px solid var(--high); border-radius: var(--radius); padding: 22px; }
.private b { display: block; font-size: 19px; margin-bottom: 4px; }
.private span { color: var(--muted); font-size: 16px; }

/* Hero with a fan of invitation covers */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; text-align: left; }
.hero-grid .lead { margin: 0 0 32px; }
.hero-grid .chips { justify-content: flex-start; }
.new { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 200, 87, .14);
  color: var(--gold); font-weight: 700; font-size: 15px; border: 1px solid rgba(255, 200, 87, .35); }
.fan { position: relative; display: block; height: 460px; text-decoration: none; }
.fan img { position: absolute; top: 20px; left: 50%; width: 280px; height: auto; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); transition: transform .4s ease; }
.fan img:nth-child(1) { transform: translateX(-95%) rotate(-10deg); }
.fan img:nth-child(2) { transform: translateX(-5%) rotate(9deg); }
.fan img:nth-child(3) { transform: translateX(-50%) translateY(-6px); }
.fan:hover img:nth-child(1) { transform: translateX(-105%) rotate(-13deg); }
.fan:hover img:nth-child(2) { transform: translateX(5%) rotate(12deg); }
.fan .try { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 10px 20px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--high); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }

/* Invitation gallery */
.invites { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.invite { display: block; text-decoration: none; color: #fff; border-radius: 16px; overflow: hidden;
  background: var(--raised); border: 1px solid var(--high); transition: transform .25s ease, border-color .25s ease; }
.invite img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.invite .tag { display: block; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.invite .tag::after { content: "\00a0›"; color: var(--gold); }
.invite:hover, .invite:focus-visible { transform: translateY(-4px); border-color: var(--gold); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 32px; }
.points div { background: var(--raised); border: 1px solid var(--high); border-radius: var(--radius); padding: 20px; }
.points b { display: block; font-size: 18px; margin-bottom: 4px; }
.points span { color: var(--muted); font-size: 16px; }

/* Outfit colour card, like the app's Home */
.outfit { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  background: var(--raised); border: 1px solid var(--high); border-radius: 28px; padding: 24px; }
/* The frame takes each photo's own shape (--ar), so tall and wide photos both fill it. */
.outfit-photo { position: relative; height: min(600px, 75vh); aspect-ratio: var(--ar, 3 / 4); max-width: min(100%, 460px);
  margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; }
.outfit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.outfit-photo .before { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); font-weight: 700; font-size: 14px; }
.outfit-copy h2 { text-align: left; margin-top: 12px; }
.outfit-copy p.sub { text-align: left; margin: 0 0 20px; }
.outfit-copy .new { font-size: 13px; padding: 3px 10px; background: var(--gold); color: var(--ink); border: 0; }
.looks { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.looks button { font: inherit; font-weight: 700; font-size: 16px; color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--high); border-radius: 999px; padding: 8px 16px; }
.looks button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.swatches { display: flex; gap: 14px; margin-bottom: 24px; }
.swatches button { width: 48px; height: 48px; border-radius: 50%; border: 3px solid transparent; background: var(--c);
  box-shadow: inset 0 0 0 3px var(--raised); cursor: pointer; padding: 0; }
.swatches button.orig { background: conic-gradient(var(--c) 0 50%, color-mix(in srgb, var(--c) 40%, #fff) 0); }
.swatches button.on { border-color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { color: #e6e9f7; padding-left: 30px; position: relative; font-size: 17px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* Batch Fix before/after: each tile wipes from the original to the fixed photo in turn */
.batch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pair { position: relative; display: block; padding: 0; border: 1px solid var(--high); border-radius: 16px; overflow: hidden;
  background: #000; cursor: pointer; aspect-ratio: 3 / 4; }
.pair.big { grid-column: span 2; grid-row: span 2; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pair .after { clip-path: inset(0 100% 0 0); animation: wipe 8s var(--d) infinite; }
.pair::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--gold);
  box-shadow: 0 0 18px 4px rgba(255, 200, 87, .7); opacity: 0; animation: scan 8s var(--d) infinite; }
.pair .lbl { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65);
  color: #fff; font-weight: 700; font-size: 14px; animation: lbl 8s var(--d) infinite; opacity: 0; }
.pair.big .lbl { font-size: 17px; left: 14px; bottom: 14px; }
.pair.show-before .after, .pair.show-before::after, .pair.show-before .lbl { animation: none; clip-path: inset(0 0 0 100%); opacity: 0; }
@keyframes wipe { 0% { clip-path: inset(0 100% 0 0); } 22%, 88% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@keyframes scan { 0% { left: 0; opacity: 1; } 22% { left: calc(100% - 3px); opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes lbl { 0%, 20% { opacity: 0; } 26%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--raised); border: 1px solid var(--high); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

footer { border-top: 1px solid var(--high); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer .grow { flex: 1; }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 8px; color: var(--gold); text-align: left; }
.doc p, .doc li { color: #e6e9f7; }
.doc em { color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid, .outfit { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .chips { justify-content: center; }
  .hero-grid .lead { margin: 0 auto 32px; }
  .fan { height: 400px; }
  .fan img { width: 230px; }
  .outfit-photo { height: min(560px, 70vh); }
  .outfit-copy h2, .outfit-copy p.sub { text-align: center; }
  .swatches, .looks { justify-content: center; }
  .ticks { text-align: left; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .invites { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .invite .tag { font-size: 13px; padding: 10px; }
  .batch { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pair .lbl { font-size: 12px; left: 6px; bottom: 6px; padding: 4px 8px; }
  .fan img { width: 165px; }
  .fan { height: 300px; }
  .outfit { margin: 0 16px; padding: 16px; border-radius: 22px; gap: 24px; }
  header.top nav a.hide-sm { display: none; }
  .shots img { height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pair .after, .pair .lbl { animation: none; clip-path: none; opacity: 1; }
  .pair::after { animation: none; }
}
