/* palette: bg=#241C3B fg=#F4ECDB accent=#E7A93C */
/* fonts: display="Bodoni Moda" body="Lato" mono="Space Mono" */

:root {
  --bg: #241C3B;        /* deep twilight purple — dominant background */
  --bg-alt: #2E2449;    /* alternating section background */
  --bg-deep: #1B1530;   /* darker inverted band */
  --fg: #F4ECDB;        /* champagne off-white text */
  --fg-soft: #DBD0BB;   /* slightly softer foreground */
  --muted: #A093BC;     /* muted lavender secondary text */
  --accent: #E7A93C;    /* champagne gold accent (hero/CTA) */
  --accent-deep: #C6871F;  /* darker gold for hover */
  --accent-soft: rgba(231, 169, 60, 0.14);
  --border: rgba(244, 236, 219, 0.14);
  --border-strong: rgba(244, 236, 219, 0.28);
  --serif: 'Bodoni Moda', ui-serif, Georgia, serif;
  --sans: 'Lato', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg-deep); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin: 0 0 20px;
}
.eyebrow--muted { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.12; }
p { margin: 0 0 1.2em; }
em { font-style: italic; color: var(--accent); }

.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.6; color: var(--fg-soft); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 9999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.btn--gold { background: var(--accent); color: var(--bg-deep); }
.btn--gold:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.link-arrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--fg); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(36, 28, 59, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
  background: rgba(27, 21, 48, 0.88);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.brand__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav { display: none; gap: 38px; align-items: center; }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); transition: color 0.3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header__cta { display: none; }
@media (min-width: 940px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

/* hamburger */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 30px; padding: 6px 0; }
.menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--fg); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 940px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 76px 0 0; z-index: 99;
  background: var(--bg-deep);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex; flex-direction: column; padding: 40px 24px; gap: 4px;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
  opacity: 0.55;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(36,28,59,0.35) 0%, rgba(27,21,48,0.9) 78%),
    linear-gradient(180deg, rgba(27,21,48,0.5) 0%, rgba(36,28,59,0.2) 45%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding: 120px 0 90px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 300;
  max-width: 16ch; margin: 0 auto 30px;
}
.hero .lead { margin: 0 auto 40px; text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2;
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.hero__meta span:last-child { text-align: right; }
@media (max-width: 620px) { .hero__meta { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
}

/* ---------- section head ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 20px; }

/* ---------- article / content cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.3);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.55); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.card__body h3 { font-size: 1.35rem; line-height: 1.16; }
.card__body p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- categories grid ---------- */
.cats { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat {
  background: var(--bg); padding: 42px 32px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background 0.4s var(--ease);
}
.cat:hover { background: var(--bg-alt); }
.cat__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.cat h3 { font-size: 1.6rem; }
.cat p { font-size: 0.95rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- manifesto (inverted) ---------- */
.manifesto { background: var(--bg-deep); text-align: center; }
.manifesto .container { max-width: 960px; }
.manifesto__quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.16; letter-spacing: -0.02em;
  margin: 0;
}
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 10rem); line-height: 0.5; color: var(--accent); display: block; height: 0.5em; }
.manifesto__by { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 44px; }

/* ---------- stats ---------- */
.stats { background: var(--bg-alt); border-block: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- feature split ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } .split--rev .split__media { order: -1; } }
.split__media { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 26px; }
.split ul { list-style: none; padding: 0; margin: 26px 0 0; }
.split li { padding: 18px 0; border-top: 1px solid var(--border); display: flex; gap: 16px; }
.split li:last-child { border-bottom: 1px solid var(--border); }
.split li b { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: 40px 30px; }
.step__num { font-family: var(--serif); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.step h3 { font-size: 1.3rem; margin: 20px 0 12px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- pricing / plans ---------- */
.plans { display: grid; gap: 24px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 40px 34px; display: flex; flex-direction: column; gap: 8px; }
.plan--mark { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), 0 24px 60px -24px rgba(0,0,0,0.6); }
.plan__name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.plan__price { font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin: 14px 0 4px; }
.plan__price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.plan p { color: var(--muted); font-size: 0.96rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.plan li { padding-left: 26px; position: relative; font-size: 0.96rem; color: var(--fg-soft); }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 28px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 40px 36px; }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.42; font-style: italic; color: var(--fg); }
.quote__who { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; color: var(--bg-deep);
}
.quote__name { font-size: 0.98rem; }
.quote__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--border); padding: 8px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.6rem; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 24px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(231,169,60,0.16) 0%, transparent 60%),
    var(--bg-deep);
}
.cta .container { max-width: 820px; }
.cta h2 { margin-bottom: 26px; }
.cta p { color: var(--fg-soft); margin: 0 auto 40px; max-width: 56ch; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.info-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 28px; }
.info-list dt, .info-list li b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.info-list li span { color: var(--fg-soft); }
.form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px;
  padding: 14px 16px; color: var(--fg); font-family: var(--sans); font-size: 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-deep); }
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form__note { font-size: 0.82rem; color: var(--muted); }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; margin-bottom: 20px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 52px 0 18px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1.02rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; }
.thanks h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 22px; }
.thanks p { color: var(--muted); max-width: 50ch; margin: 0 auto 36px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand .brand { font-size: 2rem; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.96rem; }
.footer__col h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer__col a, .footer__col span { display: block; color: var(--muted); font-size: 0.95rem; padding: 6px 0; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { margin-top: clamp(48px, 7vw, 84px); padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--border); padding: 32px 36px; max-width: 480px; border-radius: 8px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 9999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }
