*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #16140f;
  --ink-soft: #1e1c16;
  --ink-mid: #26231b;
  --paper: #f2ece0;
  --paper-dim: rgba(242, 236, 224, 0.55);
  --paper-faint: rgba(242, 236, 224, 0.25);
  --flame: #e8a020;
  --flame-warm: #d4791a;
  --flame-dim: rgba(232, 160, 32, 0.12);
  --flame-mid: rgba(232, 160, 32, 0.3);
  --flame-glow: rgba(232, 160, 32, 0.06);
  --muted: #6e6a5e;
  --border: rgba(242, 236, 224, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 20, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: 1.05rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-logo span {
  color: var(--flame);
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--flame);
}

/* ── WRAP ── */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
}

/* Candle glow behind hero */
.hero-glow {
  position: absolute;
  top: 20%;
  right: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 160, 32, 0.07) 0%,
    rgba(212, 121, 26, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}

/* Large faint initial */
.hero-bg-letter {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-52%);
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(22rem, 36vw, 42rem);
  color: rgba(232, 160, 32, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--flame-mid) 40%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.1s forwards;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--flame);
  flex-shrink: 0;
}

.hero-name {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 0.15em;
  opacity: 0;
  animation: riseIn 0.9s ease 0.25s forwards;
}
.hero-name em {
  font-style: italic;
  color: var(--flame);
  display: block;
}

.hero-descriptor {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--paper-faint);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: riseIn 0.9s ease 0.4s forwards;
}

.hero-belief {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.3vw, 0.97rem);
  font-weight: 300;
  color: var(--paper-dim);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.55s forwards;
}
.hero-belief strong {
  color: var(--paper);
  font-weight: 400;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.7s forwards;
}
.hero-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--flame-mid);
  border-radius: 2px;
  color: var(--paper-faint);
  background: var(--flame-glow);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── CANDLE SECTION ── */
.candle-section {
  padding: 8rem 0;
  position: relative;
}
.candle-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.candle-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}

/* Candle illustration — pure CSS */
.candle-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 240px;
  position: relative;
}
.candle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Flame */
.candle-flame {
  width: 18px;
  height: 40px;
  background: linear-gradient(
    to top,
    var(--flame-warm) 0%,
    var(--flame) 40%,
    rgba(255, 220, 120, 0.9) 70%,
    rgba(255, 240, 200, 0.5) 100%
  );
  border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  margin-bottom: -2px;
  position: relative;
  animation: flicker 2.5s ease-in-out infinite alternate;
  filter: blur(0.5px);
}
.candle-flame::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 160, 32, 0.25) 0%,
    rgba(232, 160, 32, 0.1) 40%,
    transparent 70%
  );
  animation: flicker 2.5s ease-in-out infinite alternate;
}
/* Wick */
.candle-wick {
  width: 2px;
  height: 10px;
  background: #3a2a10;
  border-radius: 1px;
}
/* Body */
.candle-body {
  width: 44px;
  height: 140px;
  background: linear-gradient(
    160deg,
    rgba(242, 236, 224, 0.12) 0%,
    rgba(242, 236, 224, 0.06) 30%,
    rgba(242, 236, 224, 0.04) 100%
  );
  border: 1px solid rgba(242, 236, 224, 0.12);
  border-radius: 3px 3px 2px 2px;
  position: relative;
}
/* Wax drip */
.candle-body::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 8px;
  width: 6px;
  height: 10px;
  background: rgba(242, 236, 224, 0.08);
  border-radius: 0 0 4px 4px;
}
.candle-body::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 10px;
  width: 4px;
  height: 7px;
  background: rgba(242, 236, 224, 0.06);
  border-radius: 0 0 4px 4px;
}
/* Base */
.candle-base {
  width: 54px;
  height: 8px;
  background: rgba(242, 236, 224, 0.07);
  border: 1px solid rgba(242, 236, 224, 0.1);
  border-radius: 2px;
}

/* Glow pool */
.candle-glow-pool {
  position: absolute;
  bottom: -10px;
  width: 140px;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 160, 32, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

@keyframes flicker {
  0% {
    transform: scaleX(1) scaleY(1) rotate(-1deg);
    opacity: 0.95;
  }
  25% {
    transform: scaleX(0.94) scaleY(1.04) rotate(1deg);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.04) scaleY(0.97) rotate(-0.5deg);
    opacity: 0.97;
  }
  75% {
    transform: scaleX(0.97) scaleY(1.02) rotate(1.5deg);
    opacity: 1;
  }
  100% {
    transform: scaleX(1.02) scaleY(0.98) rotate(-1deg);
    opacity: 0.96;
  }
}

/* Small candles */
.small-candles {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  justify-content: space-around;
}
.small-candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: lightUp 0.8s ease forwards;
}
.small-candle:nth-child(1) {
  animation-delay: 1.2s;
  transform: translateX(-1rem);
}
.small-candle:nth-child(2) {
  animation-delay: 1.8s;
  transform: translateX(1rem);
}
@keyframes lightUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}
.sc-flame {
  width: 10px;
  height: 22px;
  background: linear-gradient(
    to top,
    var(--flame-warm),
    var(--flame),
    rgba(255, 220, 120, 0.7)
  );
  border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  margin-bottom: -1px;
  animation: flicker 3s ease-in-out infinite alternate;
  filter: blur(0.3px);
}
.sc-wick {
  width: 1.5px;
  height: 6px;
  background: #3a2a10;
}
.sc-body {
  width: 24px;
  height: 70px;
  background: rgba(242, 236, 224, 0.07);
  border: 1px solid rgba(242, 236, 224, 0.1);
  border-radius: 2px;
}
.sc-base {
  width: 30px;
  height: 5px;
  background: rgba(242, 236, 224, 0.06);
  border: 1px solid rgba(242, 236, 224, 0.08);
  border-radius: 1px;
}

/* Candle text */
.candle-text .ct-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ct-eyebrow::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--flame);
}
.candle-text blockquote {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.55;
  color: var(--paper);
  margin-bottom: 1.5rem;
  position: relative;
}
.candle-text blockquote em {
  font-style: normal;
  color: var(--flame);
}
.candle-text .ct-follow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--paper-dim);
  line-height: 1.9;
}
.candle-text .ct-follow strong {
  color: var(--paper);
  font-weight: 400;
}
.ct-attr {
  margin-top: 1.8rem;
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(242, 236, 224, 0.2);
  text-transform: uppercase;
}

.ct-author {
  margin-top: 1.8rem;
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(242, 236, 224, 0.2);
  text-transform: uppercase;
}

/* ── WHO THIS IS FOR ── */
.for-section {
  padding: 8rem 0;
  position: relative;
}
.for-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--flame);
  flex-shrink: 0;
}
.section-title {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 3.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--paper-faint);
}
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.for-card {
  background: var(--ink-soft);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.for-card:hover {
  background: var(--ink-mid);
}
.for-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--flame);
  transition: height 0.35s ease;
}
.for-card:hover::after {
  height: 100%;
}
.fc-num {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: 2.5rem;
  color: var(--flame-dim);
  line-height: 1;
  margin-bottom: 1rem;
}
.fc-num span {
  font-size: 1rem;
  color: rgba(242, 236, 224, 0.15);
}
.for-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--paper);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.for-card p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--paper-faint);
  line-height: 1.8;
}

/* ── ABOUT ── */
.about {
  padding: 8rem 0;
  position: relative;
}
.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text .at-body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--paper-dim);
  line-height: 1.9;
  margin-bottom: 2rem;
}
.about-text .at-body strong {
  color: var(--paper);
  font-weight: 400;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.af-item {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  transition: background 0.2s;
}
.af-item:last-child {
  border-bottom: none;
}
.af-item:hover {
  background: var(--flame-glow);
}
.af-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--flame);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.af-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--paper-dim);
  line-height: 1.5;
}
.af-text strong {
  color: var(--paper);
  font-weight: 400;
}

/* ── SUBDOMAINS ── */
.subdomains {
  padding: 8rem 0;
  position: relative;
}
.subdomains::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.subdomain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.subdomain-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.8rem;
  background: transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.25s;
}
.subdomain-card.is-live {
  border-color: var(--flame-mid);
  background: var(--flame-glow);
}
.subdomain-card.is-live:hover {
  background: rgba(232, 160, 32, 0.08);
  transform: translateY(-4px);
}
.subdomain-card.is-soon {
  opacity: 0.5;
  cursor: default;
}
.sd-status {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sd-status.live {
  color: #7ecba1;
}
.sd-status.soon {
  color: var(--paper-faint);
}
.sd-status.live::before {
  content: "●";
  font-size: 0.4rem;
  animation: pulse 2s ease infinite;
}
.sd-status.soon::before {
  content: "○";
  font-size: 0.4rem;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.sd-num {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: 2.8rem;
  color: var(--flame-dim);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.subdomain-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.sd-url {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--flame);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.subdomain-card p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--paper-faint);
  line-height: 1.8;
  flex: 1;
}
.sd-cta {
  margin-top: 1.5rem;
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--flame);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.subdomain-card.is-live:hover .sd-cta {
  gap: 0.8rem;
}
.sd-cta::after {
  content: "→";
}

/* ── FOOTER ── */
footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  font-family: "Fraunces", serif;
  font-weight: 200;
  font-size: 0.95rem;
  color: rgba(242, 236, 224, 0.25);
}
.footer-left span {
  color: var(--flame);
  opacity: 0.7;
}
.footer-right {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.15);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .candle-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .candle-visual {
    height: 180px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .subdomain-grid {
    grid-template-columns: 1fr;
  }
  .for-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
