/* © DominatedDev — https://dominated.dev */

/* ---------- Fonts (self-hosted, DSGVO) ---------- */
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/cormorant-garamond-400.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:italic; font-weight:400; font-display:swap; src:url('/fonts/cormorant-garamond-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:italic; font-weight:500; font-display:swap; src:url('/fonts/cormorant-garamond-500-italic.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/dm-mono-400.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --black:         #000000;
  --surface:       #121212;
  --surface-2:     #282828;
  --surface-tonal: #242320;
  --border:        #3f3f3f;
  --border-gold:   #4e4d4b;
  --gold:          #eadbb0;
  --gold-dim:      #a89870;
  --text:          #e9e8e4;
  --text-muted:    #8a857c;
  --crimson:       #9c2121;

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  Inter, system-ui, -apple-system, sans-serif;
  --font-mono:  'DM Mono', 'JetBrains Mono', 'Courier New', monospace;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--black); }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv01";
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dim); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* ---------- Layout primitives ---------- */
.section { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }

.container-tight { max-width: 768px; margin: 0 auto; }
.container-wide  { max-width: 1024px; margin: 0 auto; }

/* ---------- Type primitives ---------- */
.label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0;
}
@media (min-width: 768px) { .label-mono { font-size: 12px; } }

.hr-gold {
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(168, 152, 112, 0.6);
  border: 0;
  margin: 0;
}

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; margin: 0; color: var(--gold); }

.text-text { color: var(--text); }
.text-gold { color: var(--gold); }
.text-gold-dim { color: var(--gold-dim); }
.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 12px;
  background: var(--gold); color: var(--black);
  padding: 1rem 2rem;
  font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  transition: background .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo), transform .1s;
  cursor: pointer; text-decoration: none;
}
.btn-primary:hover { background: var(--gold-dim); color: var(--black); box-shadow: 0 0 48px -12px rgba(234, 219, 176, 0.55); }
.btn-primary:active { transform: scale(.98); }
.btn-primary svg { transition: transform .3s var(--ease-out-expo); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-gold); background: transparent; color: var(--gold);
  border-radius: 12px;
  padding: .85rem 1.5rem;
  font-family: var(--font-sans); font-size: 14px;
  transition: all .3s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--gold); background: var(--surface-2); color: var(--gold); }

.link-subtle {
  color: var(--gold-dim);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.link-subtle:hover { color: var(--gold); }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-block; line-height: 1; }
.wordmark__line {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark__line .w-text { color: var(--text); }
.wordmark__line .w-gold { color: var(--gold); }
.wordmark__caption {
  display: flex;
  width: 100%;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--gold-dim);
  text-transform: lowercase;
  letter-spacing: 0.08em;
}
.wordmark--hero .wordmark__caption    { gap: 1.25rem; }
.wordmark--section .wordmark__caption { gap: .9rem; }
.wordmark--footer .wordmark__caption  { gap: .65rem; }
.wordmark--hero .wordmark__line { font-size: 56px; }
.wordmark--hero .wordmark__caption { font-size: 15px; margin-top: .75rem; }
.wordmark--section .wordmark__line { font-size: 32px; }
.wordmark--section .wordmark__caption { font-size: 12px; margin-top: .5rem; }
.wordmark--footer .wordmark__line { font-size: 22px; }
.wordmark--footer .wordmark__caption { font-size: 10px; margin-top: .4rem; }
@media (min-width: 768px) {
  .wordmark--hero .wordmark__line { font-size: 96px; }
  .wordmark--hero .wordmark__caption { font-size: 19px; margin-top: 1.25rem; }
  .wordmark--section .wordmark__line { font-size: 48px; }
  .wordmark--section .wordmark__caption { font-size: 14px; margin-top: .75rem; }
  .wordmark--footer .wordmark__line { font-size: 24px; }
  .wordmark--footer .wordmark__caption { font-size: 11px; }
}

/* ---------- Grain texture ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.86  0 0 0 0 0.69  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--black);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset-inline: 0; top: 0; height: 60vh; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(234,219,176,0.08), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.hero__headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 2rem 0 0;
}
@media (min-width: 768px) { .hero__headline { font-size: 96px; } }
.hero__sub {
  margin: 2rem 0 0;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
@media (min-width: 768px) { .hero__sub { font-size: 18px; } }
.hero__cta { margin-top: 3rem; }
.hero__small { margin-top: 1.5rem; font-size: 12px; color: var(--text-muted); }
.hero__link { margin-top: 1.25rem; }
.hero__chevron {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--gold-dim);
  transition: color .2s;
  animation: chev 2.4s var(--ease-out-expo) infinite;
}
.hero__chevron:hover { color: var(--gold); }
@keyframes chev { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Section heading block ---------- */
.s-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-head--left { align-items: flex-start; text-align: left; }
.s-head__title {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 32px;
  line-height: 1.1;
}
@media (min-width: 768px) { .s-head__title { font-size: 44px; } }
.s-head .hr-gold { margin-top: 2rem; }

/* ---------- How it works ---------- */
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(78, 77, 75, 0.6);
  border-radius: 12px;
  color: var(--gold);
}
.step__num {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
}
.step__title {
  margin-top: .75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  color: var(--gold);
}
@media (min-width: 768px) { .step__title { font-size: 32px; } }
.step__body {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 232, 228, 0.9);
}
@media (min-width: 768px) { .step__body { font-size: 16px; } }

/* ---------- Manifesto ---------- */
.manifesto-text {
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
}
@media (min-width: 768px) { .manifesto-text { font-size: 24px; } }
.manifesto-text > p + p { margin-top: 1.75rem; }
.manifesto-text em { font-style: italic; color: var(--gold); }
.manifesto-text .muted { color: var(--gold-dim); font-size: 17px; }
@media (min-width: 768px) { .manifesto-text .muted { font-size: 19px; } }
.manifesto-cta { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }

/* ---------- Waitlist ---------- */
.waitlist__heading {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 36px;
  line-height: 1.05;
}
@media (min-width: 768px) { .waitlist__heading { font-size: 56px; } }
.waitlist__copy {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 232, 228, 0.85);
}
@media (min-width: 768px) { .waitlist__copy { font-size: 16px; } }
.waitlist__small {
  margin-top: .75rem;
  max-width: 32rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.waitlist__widget {
  margin: 2.5rem auto 0;
  width: 100%;
  max-width: 640px;
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}

/* ---------- FAQ ---------- */
.faq__list {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(63, 63, 63, 0.6);
  border-bottom: 1px solid rgba(63, 63, 63, 0.6);
}
.faq__list > details { border-bottom: 1px solid rgba(63, 63, 63, 0.6); padding: 1.25rem 0; }
.faq__list > details:last-child { border-bottom: 0; }
.faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: .25rem 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  transition: color .2s;
}
@media (min-width: 768px) { .faq__list summary { font-size: 22px; } }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list details[open] summary { color: var(--gold); }
.faq__plus {
  flex-shrink: 0;
  color: var(--gold-dim);
  transition: transform .3s var(--ease-out-expo);
}
.faq__list details[open] .faq__plus { transform: rotate(45deg); }
.faq__list p {
  margin: .75rem 3rem 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 232, 228, 0.8);
}
@media (min-width: 768px) { .faq__list p { font-size: 16px; } }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(63, 63, 63, 0.6);
  background: var(--black);
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .footer { padding: 5rem 2rem; } }
.footer__grid {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__copy { margin-top: 1rem; font-size: 12px; color: var(--text-muted); }
.footer nav .label-mono { margin-bottom: 1rem; }
.footer nav ul { list-style: none; padding: 0; margin: 0; }
.footer nav li { margin: .5rem 0; font-size: 14px; color: rgba(233, 232, 228, 0.8); }
.footer nav a { color: inherit; transition: color .2s; }
.footer nav a:hover { color: var(--gold); }
.footer__icon-link { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.agegate__inner { text-align: center; max-width: 460px; }
.agegate__title {
  margin: 1.5rem 0 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: var(--gold);
}
@media (min-width: 768px) { .agegate__title { font-size: 36px; } }
.agegate__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  z-index: 900;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between;
  font-size: 14px;
}
.consent__text { flex: 1 1 240px; color: var(--text); }
.consent__actions { display: flex; gap: .5rem; }

/* ---------- Legal / what-is-blink ---------- */
.page { padding: 5rem 1.5rem; max-width: 768px; margin: 0 auto; }
@media (min-width: 768px) { .page { padding: 7rem 2rem; } }
.page__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 3rem; }
.page__head .hr-gold { margin-top: 1.5rem; }
.page h1 { font-family: var(--font-serif); font-style: italic; font-size: 42px; color: var(--gold); margin: 1.5rem 0 1rem; line-height: 1.05; }
@media (min-width: 768px) { .page h1 { font-size: 64px; } }
.page h2 { font-family: var(--font-serif); font-style: italic; font-size: 30px; color: var(--gold); margin: 3rem 0 1rem; }
@media (min-width: 768px) { .page h2 { font-size: 40px; } }
.page h3 { font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--gold); margin: 2rem 0 .75rem; }
@media (min-width: 768px) { .page h3 { font-size: 28px; } }
.page p, .page li { font-size: 16px; line-height: 1.7; color: rgba(233, 232, 228, 0.85); }
.page p { margin: 0 0 1rem; }
.page ul { padding-left: 1.25rem; }
.page hr { border: 0; border-top: 1px solid var(--border); margin: 4rem 0; }

/* what-is-blink feature grid */
.features {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.feature__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(78, 77, 75, 0.6);
  border-radius: 10px;
  color: var(--gold);
}
.feature__num { margin-top: 1.25rem; }
.feature__title {
  margin-top: .5rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: 24px;
  line-height: 1.1;
  color: var(--gold);
}
@media (min-width: 768px) { .feature__title { font-size: 28px; } }
.feature__body {
  margin-top: 1rem;
  font-size: 15px; line-height: 1.6;
  color: rgba(233, 232, 228, 0.85);
}
@media (min-width: 768px) { .feature__body { font-size: 16px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 240ms; }
.reveal[data-delay="3"] { transition-delay: 360ms; }
.reveal[data-delay="4"] { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__chevron { animation: none; }
}
