@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url("header.css");



html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* let video show through */
  color: var(--text);
  font-family: "Satoshi", "Helvetica Neue", Helvetica, system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: -0.02em;
}

.serif {
    font-family: "Instrument Serif", 'Times New Roman', Times, serif;
}

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

header {
  color: #F4EFE7;
}

.menu-toggle span {
  background: #F4EFE7;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

h1, h2, h3, h4, p {
  margin-block-start: 0;
  margin-block-end: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    padding: 0.75rem 2rem;
    border: 1px solid grey;
    font-family: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  border-radius: 999px;
}

textarea {
  border-radius: 2rem;
  resize: vertical;
}


.sub {
  font-weight: 200;
  font-size: 1.5rem
}

.header-emphasis {
  background-image: linear-gradient(#a3d0ff, #a3d0ff);
  background-repeat: no-repeat;
  background-size: 100% 0.3em; 
  background-position: 0 0.9em; 
}

.hero-text {
  font-size: 2.25rem;
  line-height: 1.4;
  font-weight: 100;
}

.hero-link-secondary {
  font-size: 1.125rem;
}

.cta.invert {
  position: relative;
  display: inline-block;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.cta-knockout {
  display: block;
  width: clamp(280px, 36vw, 380px);
  aspect-ratio: 360 / 84;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
  transition: transform 0.2s ease, filter 0.25s ease;
}

.cta-plate {
  fill: rgba(255, 255, 255, 0.97);
}

.cta-outline {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2px;
}

.cta-text-mask {
  font-family: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.16em;
}

.cta.invert:hover .cta-knockout {
  transform: translateY(-2px);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.35));
}

.cta.invert:focus-visible .cta-outline {
  stroke: rgba(0, 0, 0, 0.7);
  stroke-width: 3px;
}

.cta-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}

@supports ((mask-image: linear-gradient(#000, #F4EFE7)) or (-webkit-mask-image: linear-gradient(#000, #F4EFE7))) {
  .cta-label {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
  }
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}



landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e6e6e6;
  z-index: 1000;
}

/* The wall: generous negative space, subtle grain, slow reveal */
.landing-wall {
  position: relative;
  width: 100%;
  height: 100vh; /* exactly viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* HERO */
.hero {
  text-align: center;
}

.hero-title {
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 22ch;
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 6rem);
  animation: fade-up .8s ease-out both;
}

.hero-title .line-2 {
  display: inline-block;
  transform: translateY(.02em) rotate(-1deg);
}

.hero-sub {
  margin: 1rem auto 1.75rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #333;
  animation: fade-up .9s .05s ease-out both;
}

.background-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: #000; /* optional fallback while video initializes */
}

.background-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  filter: brightness(0.9) contrast(1.05) saturate(1.1);
  pointer-events: none;
}


/* Hero centered on screen */
.landing-panel.hero {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  width: 80%;
  height: 100%; /* fills viewport */
  padding: 0 1rem;
  color: #F4EFE7;
  position: fixed;          /* or absolute if inside a relative container */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-title {
  color: #F4EFE7;
}

.hero-sub {
  color: #F4EFE7;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up .9s .1s ease-out both;
}

.hero-meta {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 900;
  text-transform: uppercase;
  color: inherit;
  text-align: center;
}

#cta-svg {
  width: clamp(200px, 36vw, 250px);
  margin-top: 1rem;
}


@media (max-width: 960px) {
  .statements { grid-template-columns: 1fr; }
}

/* MOTION */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
