/* The Vlad App — premium, understated landing
   Aesthetic: refined minimalism, warm near-black, single champagne accent,
   editorial serif display over a clean grotesque. Generous whitespace. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..500;1,9..144,300..400&family=Hanken+Grotesk:wght@400;500;600&display=swap');

:root {
  --bg:        #0b0a09;
  --bg-raise:  #131110;
  --ink:       #ece7dd;
  --ink-dim:   #9c958a;
  --ink-faint: #6a645b;
  --accent:    #c3a06a;
  --accent-soft: rgba(195, 160, 106, 0.14);
  --line:      rgba(236, 231, 221, 0.10);
  --line-soft: rgba(236, 231, 221, 0.06);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --gutter: clamp(1.5rem, 6vw, 8rem);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmosphere: one soft accent glow + a fixed grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120vw 80vh at 78% -10%, rgba(195,160,106,0.10), transparent 55%),
    radial-gradient(90vw 60vh at 5% 8%, rgba(236,231,221,0.025), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---- Layout primitives ---- */
.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Top bar ---- */
.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.topbar .contact-link {
  font-size: 0.86rem;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.topbar .contact-link:hover { color: var(--ink); }

/* ---- Hero ---- */
.hero {
  padding-top: clamp(4rem, 14vh, 11rem);
  padding-bottom: clamp(5rem, 14vh, 10rem);
  max-width: 19ch;
}
.hero .eyebrow { display: block; margin-bottom: 1.8rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 1.5rem + 6vw, 6.2rem);
  line-height: 0.99;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero .subline {
  margin-top: 2rem;
  max-width: 46ch;
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-dim);
}
.hero .subline strong { color: var(--ink); font-weight: 500; }

/* ---- Section scaffolding ---- */
section { position: relative; z-index: 2; }
.rule { height: 1px; background: var(--line); }
.section-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: 0.5rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-label .bar { flex: 1; height: 1px; background: var(--line-soft); }

/* ---- Features: numbered editorial rows ---- */
.features { padding-bottom: clamp(3rem, 8vh, 6rem); }
.feature {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  padding-block: clamp(2.6rem, 6vh, 4.4rem);
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.feature:last-child { border-bottom: 0; }
.feature .num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  padding-top: 0.4rem;
  font-feature-settings: "tnum";
}
.feature .body { max-width: 56ch; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.feature p {
  color: var(--ink-dim);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  max-width: 50ch;
}

/* ---- Model statement ---- */
.model {
  padding-block: clamp(5rem, 14vh, 9rem);
}
.model .stmt {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  max-width: 20ch;
}
.model .stmt .keep { color: var(--accent); font-style: italic; }
.model .fine {
  margin-top: 2rem;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

/* ---- Footer ---- */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 8vh, 5rem) 3rem;
  margin-top: clamp(2rem, 6vh, 4rem);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
}
.foot-brand .tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: 0.6rem;
  max-width: 34ch;
  line-height: 1.5;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  font-size: 0.92rem;
}
.foot-links a, .foot-links span { color: var(--ink-dim); transition: color 0.25s ease; }
.foot-links a:hover { color: var(--accent); }
.foot-links .email { color: var(--ink); }
.foot-meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  color: var(--ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

/* ---- Legal pages ---- */
.legal { padding-block: clamp(3rem, 9vh, 6rem) clamp(3rem, 8vh, 5rem); }
.legal .back {
  display: inline-block;
  margin-bottom: 2.4rem;
  font-size: 0.86rem;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}
.legal .back:hover { color: var(--accent); }
.legal h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.legal .updated { color: var(--ink-faint); font-size: 0.85rem; margin-top: 0.9rem; }
.legal .doc { max-width: 70ch; margin-top: 3rem; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}
.legal p { color: var(--ink-dim); margin-bottom: 1rem; }
.legal ul { color: var(--ink-dim); margin: 0 0 1rem 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a.inline { color: var(--accent); }
.legal a.inline:hover { text-decoration: underline; }

/* ---- Reveal on load / scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: var(--d, 0s); }

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

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .feature { grid-template-columns: 1fr; gap: 0.4rem; }
  .feature .num { padding-top: 0; }
  .topbar .contact-link { display: none; }
}
