/* ── Variables ── */
:root {
  --font-serif: 'Cormorant Garamond', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --grid-size: 40px;
  --frame: 24px; /* white edge around the ASCII video */
}

/* ── Page wrapper ── */
.page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: crosshair;
  -webkit-font-smoothing: antialiased;
}

/* white mat drawn on top of everything, so the edge stays white while scrolling */
.page-wrapper::after {
  content: "";
  position: fixed;
  inset: 0;
  border: var(--frame) solid #fff;
  z-index: 20;
  pointer-events: none;
}

/* ── Video background ── */
.hero-video {
  /* fixed: the ASCII stays behind the contact section too */
  position: fixed;
  inset: var(--frame);
  width: calc(100% - 2 * var(--frame));
  height: calc(100vh - 2 * var(--frame));
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  background: #000;
}

/* ── Container ── */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--grid-size);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-center {
  position: relative;
  isolation: isolate;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 6rem;
}

.brand-title,
.tagline,
.scroll-cta {
  position: relative;
  isolation: isolate;
}

/* one soft, feathered blur halo per line: no panel, no edge */
.brand-title::before,
.tagline::before,
.scroll-cta::before {
  content: "";
  position: absolute;
  inset: -0.8em -1.5em;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 45%) 0%, rgb(0 0 0 / 20%) 45%, transparent 75%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%);
}

/* small lines need a taller halo to read */
.tagline::before,
.scroll-cta::before {
  inset: -2.5em -3em;
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 100;
  letter-spacing: 0.75em;
  padding-left: 0.75em;
  color: #ffffff;
  text-transform: uppercase;
}

.tagline {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

/* ── Scroll CTA ── */
.scroll-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.scroll-cta:hover {
  color: #ffffff;
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-arrow {
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Body sections (dark overlay over the fixed ASCII) ── */
.body {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: rgba(0, 0, 0, 0.82);
  padding: 4rem var(--frame);
}

.block {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.block:first-child { border-top: 0; }

.block h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.block p,
.block li,
.block dd {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: pretty;
}

.block p + p { margin-top: 1rem; }

.block ul {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.block li {
  padding-left: 1.25rem;
  position: relative;
}

.block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: #fff;
}

.block dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0;
}

.block dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding-top: 0.3em;
}

/* ── Contact ── */
.contact {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 20px;
  background: rgba(0, 0, 0, 0.82);
  text-align: center;
}

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
}

.contact-heading {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  text-transform: uppercase;
}

.contact-email {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-email:hover {
  color: #fff;
}

.contact-footer {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .block { padding: 3.5rem 0; }
  .block dl { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .block dd { margin-bottom: 0.75rem; }

  .brand-title {
    /* shrink with the screen so the widely spaced letters never overflow */
    font-size: min(2.5rem, 7vw);
  }

  .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    flex-direction: column;
  }

  .tagline-dot {
    display: none;
  }

  .contact-heading {
    letter-spacing: 0.25em;
    padding-left: 0.25em;
  }

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

html, body, #root {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
