:root {
  --bg: #0a0b0d;
  --ink: #e8e4dc;
  --mute: #8a857a;
  --line: rgba(232, 228, 220, 0.14);
  --accent: #8a9bb0;
  --accent-warm: #c9b896;
  --card: rgba(18, 19, 22, 0.72);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 300;
}
html { color-scheme: dark; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 8;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.dot-ai {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.42em;
  letter-spacing: 0.06em;
  margin-left: 0.08em;
  vertical-align: 0.55em;
  color: rgba(232, 228, 220, 0.55);
}

/* —— Marketing shell —— */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  font-size: 0.88rem;
}
.nav a {
  color: var(--mute);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--accent) !important;
}

.hero-block {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  min-height: min(78vh, 40rem);
  overflow: visible;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--mute);
  margin: 0 0 0.85rem;
}
.hero-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}
.lede {
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(232, 228, 220, 0.78);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.btn.primary {
  background: var(--accent);
  color: #0e1116;
  font-weight: 500;
}
.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn:hover { filter: brightness(1.06); }

/* Typography-led hero: mark + type, no photo */
.hero-visual {
  justify-self: end;
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(138, 155, 176, 0.12), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 184, 150, 0.06), transparent 50%),
    var(--card);
  backdrop-filter: blur(10px);
}
.hero-mark {
  width: min(11rem, 42vw);
  height: auto;
  display: block;
  opacity: 0.95;
}
.hero-type {
  text-align: center;
}
.hero-type .year {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-type .quote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(232, 228, 220, 0.88);
  max-width: 16rem;
}
.hero-type .quote-attr {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.paths {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.path-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.6rem 1.5rem 1.4rem;
  backdrop-filter: blur(10px);
}
.path-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.path-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}
.path-card p, .path-card li {
  color: rgba(232, 228, 220, 0.78);
  line-height: 1.5;
}
.path-card ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
}
.text-link {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.text-link:hover { color: var(--ink); }

.strip {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.strip h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 1rem;
}
.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(232, 228, 220, 0.78);
  line-height: 1.65;
}
.steps li { margin-bottom: 0.55rem; }

.cta-band {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(138,155,176,0.1), transparent);
}
.cta-band h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 0.6rem;
}
.cta-band p {
  color: var(--mute);
  margin: 0 0 1.25rem;
}

.site-foot {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--mute);
}
.site-foot a { color: var(--mute); }
.site-foot a:hover { color: var(--accent); }
.notice-inline {
  line-height: 1.5;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

/* —— Inner pages —— */
.page-main {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
.page-main h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.85rem;
}
.prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  margin: 2rem 0 0.75rem;
}
.prose ul {
  color: rgba(232, 228, 220, 0.8);
  line-height: 1.55;
  padding-left: 1.15rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1rem 0;
}
.price-grid.four {
  grid-template-columns: repeat(2, 1fr);
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
  background: var(--card);
}
.price-card.featured { border-color: rgba(138,155,176,0.5); }
.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  margin: 0 0 0.45rem;
}
.price span { font-size: 0.7em; color: var(--mute); }
.price-card p { margin: 0; font-size: 0.9rem; color: rgba(232,228,220,0.75); line-height: 1.4; }
.fine { font-size: 0.82rem; color: var(--mute); }

/* —— Talk demo —— */
.talk-page .talk-notice {
  position: relative;
  z-index: 4;
  text-align: center;
  margin: 0.25rem auto 0;
  max-width: 28rem;
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.talk-main {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - 5rem);
  width: min(100%, 40rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.25rem max(11vh, calc(2.25rem + env(safe-area-inset-bottom)));
  gap: 0.85rem;
}
.talk-hero {
  text-align: center;
}
.talk-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-align: center;
}
.talk-mark {
  width: min(5.5rem, 28vw);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  opacity: 0.92;
}
.talk-dock {
  width: min(36rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}
.composer {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: blur(12px);
}
.composer input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  min-width: 0;
}
.send {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.send:hover { color: var(--ink); }
.mail-link {
  color: var(--mute);
  font-size: 0.78rem;
  text-decoration: none;
}
.mail-link:hover { color: var(--accent); }
.thread {
  width: min(36rem, 100%);
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-height: 40vh;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  padding: 0.5rem 0.25rem;
}
.line p {
  margin: 0 0 0.5rem;
  line-height: 1.5;
  font-size: 1.02rem;
}
.line p:last-child { margin-bottom: 0; }
.line.user { color: var(--mute); text-align: center; font-style: italic; }
.line.albert { color: var(--ink); text-align: center; }
main.talking .talk-hero { display: none; }

@media (max-width: 860px) {
  .hero-block { grid-template-columns: 1fr; padding-top: 0.5rem; }
  .hero-visual { justify-self: center; order: -1; width: min(100%, 22rem); }
  .paths { grid-template-columns: 1fr; }
  .price-grid, .price-grid.four { grid-template-columns: 1fr; }
  .nav { font-size: 0.8rem; gap: 0.65rem; }
}
