@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./assets/fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0a0e0b;
  --paper: #f4f2e9;
  --lime: #c1ff43;
  --edge: clamp(24px, 4.45vw, 88px);
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding: max(25px, env(safe-area-inset-top)) var(--edge) max(30px, env(safe-area-inset-bottom));
  overflow: clip;
}
.scene { position: absolute; inset: 0; z-index: -2; }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a0e0b55, transparent 65%), linear-gradient(0deg, #0a0e0b 0%, transparent 28%);
}
.header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wordmark { position: relative; display: block; width: clamp(165px, 15vw, 220px); margin-left: -.65vw; }
.wordmark img { display: block; width: 100%; height: auto; }
.wordmark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  mask: url("./assets/symbiosix-logo.png") center / 100% 100% no-repeat;
  clip-path: inset(0 0 0 82%);
}
.descriptor {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f4f2e9e0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  text-shadow: 0 1px 3px #0a0e0b;
  white-space: nowrap;
}
.descriptor::before { content: ""; display: block; width: 16px; height: 1px; background: var(--lime); }
.main { display: flex; align-items: center; padding: 10px 0 28px; min-height: 0; }
.intro { margin-top: 1.5vh; max-width: 54%; }
h1 { margin: 0; font: 500 clamp(82px, 9.5vw, 182px)/.9 "Bricolage Grotesque", sans-serif; letter-spacing: -.065em; }
h1 span, h1 em { display: block; }
h1 em { font: italic 400 1em/.98 "Instrument Serif", serif; color: var(--lime); letter-spacing: -.025em; }
.intro p { font-size: clamp(15px, 1.22vw, 21px); line-height: 1.55; margin: 34px 0 0; max-width: 420px; text-wrap: pretty; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid #f4f2e933; }
.footer p { margin: 0; font-size: 12px; line-height: 1.5; }
.footer p span { color: var(--lime); }
.method { margin-left: auto !important; }
.signature {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 0;
  background: var(--lime);
  mask: url("./assets/symbiosix-x.png") center / contain no-repeat;
}

@media (min-width: 761px) and (max-height: 650px) {
  .landing { padding-top: 12px; padding-bottom: 20px; }
  .wordmark { width: 160px; }
  h1 { font-size: clamp(64px, 17vh, 105px); }
  .intro { margin-top: 0; }
  .intro p { margin-top: 18px; font-size: 14px; }
  .main { padding-bottom: 15px; }
  .footer { padding-top: 12px; }
}

@media (max-width: 900px) {
  .landing { min-height: 0; padding-top: max(17px, env(safe-area-inset-top)); padding-bottom: max(23px, env(safe-area-inset-bottom)); }
  .header { gap: 5px; }
  .wordmark { width: clamp(134px, 36vw, 170px); min-width: 0; margin-left: -5px; }
  .descriptor { font-size: 10px; }
  .scene { top: 0; bottom: auto; width: 100%; height: 65%; }
  .scene img { object-position: 77% center; }
  .scene::after { background: linear-gradient(0deg, var(--ink) 0%, #0a0e0b00 46%), linear-gradient(180deg, #0a0e0b77, transparent 28%); }
  .main { align-items: flex-end; padding: 0 0 30px; }
  .intro { margin: 0; max-width: 100%; }
  h1 { font-size: clamp(69px, 20.5vw, 125px); }
  .intro p { font-size: 14px; margin-top: 22px; max-width: 305px; }
  .desktop-break { display: none; }
  .footer { gap: 12px; padding-top: 17px; }
  .footer p { font-size: 10px; }
  .signature { width: 21px; height: 21px; }
}

@media (max-width: 900px) and (max-height: 670px) {
  .main { padding-bottom: 20px; }
  h1 { font-size: clamp(62px, 18vw, 94px); }
  .intro p { margin-top: 16px; font-size: 13px; }
  .scene { height: 67%; }
}

@media (orientation: landscape) and (max-height: 480px) {
  .landing { min-height: 0; padding-top: 10px; padding-bottom: 14px; }
  .header { height: 45px; }
  .wordmark { width: 150px; }
  .scene { inset: 0; height: 100%; }
  .scene img { object-position: center 44%; }
  .scene::after { background: linear-gradient(90deg, #0a0e0b88, transparent 70%), linear-gradient(0deg, #0a0e0bcc, transparent 35%); }
  .main { align-items: center; padding: 0 0 8px; }
  .intro { max-width: 49%; margin: 0; }
  h1 { font-size: clamp(45px, 15vh, 67px); }
  .intro p { font-size: 11px; line-height: 1.4; margin-top: 12px; max-width: 260px; }
  .footer { padding-top: 10px; }
}
