@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* One deliberate dark world (the reference is a night scene): no light theme. */
:root {
  --ground: #0e0b09;
  --ground-2: #16110e;
  --ink: #f4eee7;
  --ink-2: rgba(244, 238, 231, 0.74);
  --gold: #c9a47e;
  --gold-soft: rgba(201, 164, 126, 0.78);
  --hair: rgba(201, 164, 126, 0.34);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
}

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

html {
  background: var(--ground);
  color-scheme: dark;
}

body {
  min-height: 100svh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(22px, 4.5vw, 56px) var(--gutter) clamp(22px, 4vw, 44px);
  overflow: hidden;
}

/* Photo: right half on wide screens, full bleed behind the words on phones. */
.photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52vw, 760px);
  z-index: -2;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 42%;
  display: block;
}
.veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ground) 0%, var(--ground) 46%, rgba(14, 11, 9, 0.6) 54%, rgba(14, 11, 9, 0) 66%),
    linear-gradient(0deg, rgba(14, 11, 9, 0.92) 0%, rgba(14, 11, 9, 0) 30%),
    radial-gradient(120% 90% at 85% 40%, rgba(0, 0, 0, 0) 55%, rgba(14, 11, 9, 0.55) 100%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  line-height: 1;
  color: var(--ink);
}
.instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 8px 2px;
  border-radius: 4px;
}
.instagram svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.instagram .dot {
  fill: currentColor;
  stroke: none;
}
.instagram:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.copy {
  align-self: center;
  max-width: 34rem;
  padding-block: clamp(28px, 6vh, 72px);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8.6vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.support {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: clamp(19px, 1.8vw, 27px);
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.005em;
}
.pitch {
  margin-top: clamp(34px, 5vh, 58px);
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.32;
  color: var(--ink);
  font-weight: 400;
}
.pitch-pt {
  margin-top: 12px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.45;
  color: var(--gold-soft);
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(34px, 5.5vh, 64px);
  min-width: min(100%, 360px);
  padding: 20px 40px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(22, 17, 14, 0.55);
  color: var(--gold);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-indent: 0.42em;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  width: 100%;
  justify-self: center;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 6px clamp(14px, 3vw, 44px);
}
.features li + li {
  border-left: 1px solid var(--hair);
}
.features svg {
  flex: none;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.features .label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.features .line {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink-2);
}

.not-found .copy {
  align-self: center;
}
a.wordmark {
  text-decoration: none;
}
.support a {
  color: var(--ink);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* Tablet and phone: the photo becomes the whole ground, the words sit low over a deep veil. */
@media (max-width: 860px) {
  .photo {
    width: 100%;
  }
  .photo img {
    object-position: 62% 14%;
  }
  .veil {
    background:
      linear-gradient(180deg, rgba(14, 11, 9, 0.55) 0%, rgba(14, 11, 9, 0) 18%),
      linear-gradient(0deg, var(--ground) 0%, rgba(14, 11, 9, 0.94) 42%, rgba(14, 11, 9, 0.45) 64%, rgba(14, 11, 9, 0) 82%);
  }
  .copy {
    align-self: end;
    padding-block: 34vh 28px;
  }
  .status {
    width: 100%;
    padding: 18px 24px;
  }
  .features li {
    flex-direction: column;
    gap: 10px;
    padding: 4px 12px;
  }
  .features li:first-child {
    padding-left: 0;
  }
  .features svg {
    width: 28px;
    height: 28px;
  }
  .features .label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .features .line {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .instagram span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .copy,
  .features {
    animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .features {
    animation-delay: 180ms;
  }
  @keyframes rise {
    from {
      transform: translateY(10px);
    }
    to {
      transform: none;
    }
  }
}
