:root {
  --ink: #101114;
  --ink-2: #181b20;
  --paper: #f4f1ea;
  --paper-dim: #c4c0b6;
  --line: rgba(244, 241, 234, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.page { position: relative; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  padding: 1.25rem 6vw;
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(16, 17, 20, 0.94), rgba(16, 17, 20, 0.78) 72%, transparent);
  backdrop-filter: blur(10px);
}

.nav::after,
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: url("gold-rule.svg") center / 100% 100% no-repeat;
}

.nav::after {
  bottom: 0;
  transform-origin: bottom center;
  animation: rule-wipe 1.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.mark,
.nav-links {
  opacity: 0;
  animation: nav-in 0.7s ease 0.62s forwards;
}

@keyframes rule-wipe {
  0% { height: 0; }
  42% { height: 100%; }
  100% { height: 5px; }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

footer { position: relative; }

footer::before { top: 0; }

.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 500;
}

.mark .symbol {
  height: 28px;
  width: auto;
  display: block;
}

.mark .lockup {
  height: 58px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--paper-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.nav-links .menu-button {
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 500;
}

.nav-links .menu-button:hover {
  color: var(--ink);
  background: #fff;
  border-bottom-color: transparent;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 92vh;
  padding: 1.4rem 6vw 8vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 17, 20, 0.82) 0%, rgba(16, 17, 20, 0.28) 46%, rgba(16, 17, 20, 0.2) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  color: #e4dfd4;
  font-size: 1.28rem;
  font-weight: 300;
}


.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.button:hover { background: #fff; }

.quiet-link {
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.35);
}

.quiet-link:hover { color: var(--paper); }

.stage {
  justify-self: end;
  width: auto;
}

.stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}

.stage img.robot {
  width: 148px;
  margin-left: auto;
  border-radius: 0;
}

.band {
  margin: 1rem 6vw 3vh;
}

.band img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}

.band-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 17, 20, 0.82), rgba(16, 17, 20, 0.12) 72%);
}

.band-copy {
  position: relative;
  z-index: 1;
  padding: 2.4rem;
  max-width: 40rem;
}

.band-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  font-weight: 500;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 6vw;
  padding: 7vh 0;
  border-top: 1px solid var(--line);
}

.notes article h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
}

.notes article p {
  margin: 0;
  color: var(--paper-dim);
  max-width: 22rem;
}

.visit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4vw;
  align-items: start;
  padding: 8vh 6vw 10vh;
  background: var(--ink-2);
}

.visit h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.visit .intro {
  margin: 0;
  max-width: 34rem;
  color: var(--paper-dim);
}

address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
}

address strong {
  display: block;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

address a {
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.35);
}

.interior {
  padding: 8vh 6vw 12vh;
  max-width: 760px;
}

body.investors .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.investors main.interior {
  flex: 1;
  max-width: none;
  padding-bottom: 18vh;
  color: #241e1a;
  background:
    linear-gradient(90deg, rgba(255, 251, 246, 0.62) 0%, rgba(255, 251, 246, 0.28) 34%, rgba(255, 251, 246, 0) 62%),
    url("pearly-box.jpg") center 42% / cover no-repeat;
}

body.investors .opening {
  color: #1a1614;
  max-width: 12em;
}

body.investors .lede {
  color: #2c2622;
  max-width: 34rem;
}

body.investors .lede a {
  color: inherit;
}

body.investors .fine {
  color: #4a433c;
}

.interior h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--paper-dim);
}

.panel {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  color: var(--paper-dim);
}

.panel.error { color: #f0c2b8; }

.fine {
  margin: 2.5rem 0 0;
  color: var(--paper-dim);
  font-size: 0.82rem;
  max-width: 36rem;
}

.documents {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
}

.documents a {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.documents li:last-child a { border-bottom: 1px solid var(--line); }

.documents a:hover { color: #fff; }

.involve {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 36rem;
}

.involve label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--paper-dim);
}

.involve label span {
  font-weight: 300;
}

.involve input,
.involve select,
.involve textarea {
  width: 100%;
  font: inherit;
  color: var(--paper);
  background: #17191e;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.75rem 0.8rem;
}

.involve .hp {
  position: absolute;
  left: -9999px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 6vw 1.6rem;
  color: var(--paper-dim);
  font-size: 0.85rem;
}

.opening {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(244, 241, 234, 0.35); }

@media (max-width: 860px) {
  .hero,
  .visit,
  .notes { grid-template-columns: 1fr; }

  .hero { min-height: 88vh; align-items: flex-start; }

  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav::after { animation: none; height: 5px; }
  .mark,
  .nav-links { animation: none; opacity: 1; }
}
