/* palette: bg=#17092B fg=#F4EFFB accent=#B4F03C */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #17092B;          /* dominant cosmic purple-black */
  --bg-alt: #23113F;      /* alternating panel purple */
  --bg-deep: #0F0620;     /* deepest band */
  --fg: #F4EFFB;          /* primary text, soft white */
  --fg-soft: #D8CCEE;     /* slightly softer text */
  --muted: #9A8BBD;       /* secondary text */
  --accent: #B4F03C;      /* lime gem accent */
  --accent-deep: #97CE2A; /* darker lime for hover */
  --violet: #8B5CF6;      /* glow violet */
  --violet-deep: #6D3FD6;
  --pink: #F472B6;        /* memphis confetti */
  --turq: #2DD4BF;        /* memphis confetti */
  --border: rgba(244, 239, 251, 0.14);
  --border-strong: rgba(244, 239, 251, 0.28);
  --card: rgba(244, 239, 251, 0.035);
  --serif: 'Space Grotesk', ui-sans-serif, sans-serif;
  --sans: 'Inter', 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: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }

::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 { position: relative; }
.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.lead { color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.muted { color: var(--muted); }

h2.section-title {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 400;
  max-width: 16ch;
}
h2.section-title em { color: var(--accent); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 9999px;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.14); font-size: 14px; transition: transform .4s var(--ease); }
.btn--primary { background: var(--fg); color: var(--bg-deep); }
.btn--primary .btn__arrow { background: var(--accent); color: var(--bg-deep); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(180,240,60,0.5); }
.btn--primary:hover .btn__arrow { transform: translateX(3px) rotate(0deg); }
.btn--pill { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); padding: 12px 22px; font-size: 14px; }
.btn--pill:hover { background: var(--fg); color: var(--bg-deep); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--bg-deep); font-weight: 600; }
.btn--accent: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); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--fg-soft);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 12px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
  background: rgba(23, 9, 43, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(23, 9, 43, 0.9);
  box-shadow: 0 1px 0 rgba(244,239,251,0.08), 0 18px 40px -24px rgba(0,0,0,0.8);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .header__inner { padding: 18px 32px; } }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand__mark { color: var(--accent); font-size: 1rem; transform: translateY(1px); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__name { color: var(--fg); }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 34px; margin-left: auto; margin-right: 8px; }
  .nav__link { font-size: 14px; color: var(--fg-soft); position: relative; padding: 4px 0; transition: color .3s var(--ease); }
  .nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .35s var(--ease); }
  .nav__link:hover { color: var(--fg); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
  .nav__link[aria-current="page"] { color: var(--accent); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* Mobile menu toggle */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); transition: transform .35s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(15, 6, 32, 0.98);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.mobile-menu__nav a { font-family: var(--serif); font-size: 2rem; font-weight: 400; padding: 10px; color: var(--fg); }
.mobile-menu__nav a.btn { font-family: var(--sans); font-size: 1rem; margin-top: 18px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
  animation: heroZoom 9s var(--ease) forwards;
  filter: saturate(1.1) brightness(0.8);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(139,92,246,0.55) 0%, rgba(109,63,214,0.22) 38%, rgba(23,9,43,0) 72%),
    radial-gradient(40% 40% at 50% 46%, rgba(180,240,60,0.14) 0%, rgba(23,9,43,0) 60%),
    linear-gradient(180deg, rgba(23,9,43,0.55) 0%, rgba(23,9,43,0.35) 40%, rgba(23,9,43,0.92) 100%);
}
.hero__content { position: relative; z-index: 2; text-align: center; padding-top: 90px; padding-bottom: 60px; margin: 0 auto; max-width: 1000px; }
.hero__title {
  font-size: clamp(3.1rem, 9vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 auto 28px;
  max-width: 15ch;
}
.hero__title em { color: var(--accent); font-style: normal; }
.hero__sub { color: var(--fg-soft); font-size: clamp(1.02rem, 1.8vw, 1.22rem); line-height: 1.65; max-width: 56ch; margin: 0 auto 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint span { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Memphis scattered shapes ---------- */
.shape { position: absolute; z-index: 1; pointer-events: none; animation: float 7s ease-in-out infinite; }
.shape--circle { border-radius: 50%; }
.shape--ring { border-radius: 50%; background: transparent; border: 3px solid var(--turq); }
.shape--sq { border-radius: 4px; transform: rotate(16deg); }
.shape--tri { width: 0 !important; height: 0 !important; background: transparent !important; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 28px solid var(--pink); }
.shape--cross { background: transparent !important; }
.shape--cross::before, .shape--cross::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.shape--cross::before { width: 100%; height: 3px; top: 50%; transform: translateY(-50%); }
.shape--cross::after { height: 100%; width: 3px; left: 50%; transform: translateX(-50%); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* ---------- Stats band ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(34px, 6vw, 60px) 24px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.stat__num em { color: var(--accent); font-style: normal; }
.stat__label { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Intro / two-col ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--wide-left { align-items: start; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

.media-frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.media-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-frame--wide img { aspect-ratio: 16/10; }

/* ---------- Services grid ---------- */
.cards { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 40px);
  transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: rgba(244,239,251,0.06); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-strong); margin-bottom: 22px; color: var(--accent); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 12px; font-weight: 500; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card__link { margin-top: 20px; }

/* ---------- Manifesto band ---------- */
.manifesto { background: var(--accent); color: var(--bg-deep); text-align: center; overflow: hidden; }
.manifesto .container { position: relative; z-index: 2; }
.manifesto__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 0.6; display: block; margin-bottom: 10px; opacity: 0.5; }
.manifesto__by { margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: clamp(28px, 4vw, 40px); }
.step__num { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--violet); letter-spacing: -0.03em; line-height: 1; }
.step h3 { font-size: 1.18rem; margin: 18px 0 10px; font-weight: 500; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Projects ---------- */
.projects { display: grid; gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 768px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--card); transition: transform .5s var(--ease), border-color .4s var(--ease); }
.project:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.project__img { overflow: hidden; }
.project__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover .project__img img { transform: scale(1.06); }
.project__body { padding: 24px 26px 28px; }
.project__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.project h3 { font-size: 1.25rem; margin: 12px 0 8px; font-weight: 500; }
.project p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: clamp(28px, 4vw, 38px); display: flex; flex-direction: column; }
.quote__text { font-size: 1.05rem; line-height: 1.6; color: var(--fg-soft); margin-bottom: 26px; }
.quote__person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--bg-deep); flex-shrink: 0; }
.quote__name { font-size: 15px; font-weight: 600; color: var(--fg); }
.quote__role { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: clamp(40px, 6vw, 56px) auto 0; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; color: var(--fg); transition: color .3s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item 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 .35s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 48px 28px 0; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta { text-align: center; overflow: hidden; background: var(--bg-deep); }
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.025em; line-height: 1.02; font-weight: 400; margin-bottom: 24px; }
.cta h2 em { color: var(--accent); font-style: normal; }
.cta p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 36px; max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero { position: relative; padding: clamp(120px, 20vw, 220px) 0 clamp(60px, 10vw, 110px); overflow: hidden; }
.pagehero__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 60% at 70% 20%, rgba(139,92,246,0.4) 0%, rgba(23,9,43,0) 65%), radial-gradient(40% 50% at 15% 90%, rgba(180,240,60,0.1) 0%, rgba(23,9,43,0) 60%); }
.pagehero .container { position: relative; z-index: 2; }
.pagehero h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 1; font-weight: 400; max-width: 16ch; margin-bottom: 26px; }
.pagehero h1 em { color: var(--accent); font-style: normal; }
.pagehero p { color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 56ch; }

/* ---------- Values list ---------- */
.values { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--bg); padding: clamp(28px, 4vw, 40px); }
.value__mark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.value h3 { font-size: 1.3rem; margin: 16px 0 10px; font-weight: 500; }
.value p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Team (monograms, no faces) ---------- */
.team { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 60px); }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 30px; transition: transform .5s var(--ease), border-color .4s var(--ease); }
.member:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.member .avatar { width: 64px; height: 64px; font-size: 20px; margin-bottom: 20px; }
.member h3 { font-size: 1.15rem; font-weight: 500; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.member p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(36px, 6vw, 64px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.form { display: grid; gap: 20px; }
.field { display: grid; 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 {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: rgba(244,239,251,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(154,139,189,0.65); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(244,239,251,0.07); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent); border-bottom: 1px solid transparent; }
.form__note a:hover { border-color: var(--accent); }

.info-block { border-top: 1px solid var(--border); padding: 24px 0; }
.info-block:last-child { border-bottom: 1px solid var(--border); }
.info-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin-bottom: 10px; }
.info-block p, .info-block a { color: var(--fg-soft); font-size: 16px; line-height: 1.6; }
.info-block a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: clamp(60px, 9vw, 100px) 0 40px; }
.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__inner { padding: 0 32px; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand .brand { font-size: 1.4rem; margin-bottom: 18px; }
.footer__tag { color: var(--muted); font-size: 15px; max-width: 34ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer__col a { display: block; color: var(--fg-soft); font-size: 15px; padding: 5px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__col address { font-style: normal; color: var(--fg-soft); font-size: 15px; line-height: 1.6; margin-top: 4px; }
.footer__bottom { max-width: var(--container); margin: clamp(48px, 7vw, 72px) auto 0; padding: 26px 20px 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 768px) { .footer__bottom { padding: 26px 32px 0; } }
.footer__bottom p { font-size: 13px; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img, .shape { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--border); padding: 30px 32px; max-width: 420px; border-radius: 12px; box-shadow: 0 24px 60px -16px rgba(0,0,0,0.6); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 500; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--fg); transition: background .3s var(--ease), color .3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--fg); }
.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); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 48px 0 16px; font-weight: 500; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); border-bottom: 1px solid transparent; }
.legal a:hover { border-color: var(--accent); }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 120px 20px; position: relative; overflow: hidden; }
.thanks__inner { position: relative; z-index: 2; max-width: 620px; }
.thanks__badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 30px; background: var(--accent); color: var(--bg-deep); font-size: 34px; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; font-weight: 400; margin-bottom: 20px; }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 36px; }
