/* Microgramma D Extended — display type and the Albatross logotype.
   Bold for headings/logo, Medium for smaller display items. */
@font-face {
  font-family: "Microgramma";
  src: url("../fonts/MicrogrammaDExt-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Microgramma";
  src: url("../fonts/MicrogrammaDExt-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Microgramma Normal — small technical labels. NOTE: this cut has no
   lowercase and is missing  ·  —  –  @  ©  , so it is only ever used on
   uppercase label text. Keep it that way. */
@font-face {
  font-family: "Microgramma Label";
  src: url("../fonts/Microgramma-Normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090a;
  --bg-2: #0d0f11;
  --ink: #f4f5f6;
  --muted: #878d93;
  --dim: #5c6267;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --red: #8f5050;
  --teal: #3c7186;
  --green: #3a7259;

  --display: "Microgramma", "Eurostile", "Arial Black", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Microgramma Label", "Microgramma", "Eurostile", ui-monospace, Menlo, monospace;

  /* Logotype tracking. The brand lockup is small letters set very wide,
     so this is deliberately large and the font sizes stay modest. */
  --logo-track: 1.05em;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 72px);
  --sect: clamp(88px, 13vh, 168px);
  --sub: clamp(52px, 7vh, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film-grain texture over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font: 600 13px var(--body);
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ─────────── Type helpers ─────────── */

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.06;
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Characters Microgramma maps incorrectly (©) or not at all (· — – @)
   fall back to the body face. Only needed inside .mono text. */
.glyph-fix { font-family: var(--body); letter-spacing: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* Each section owns only its TOP space, so adjacent sections never
   stack two paddings into a dead gap. The last one re-adds a bottom. */
.section {
  position: relative;
  padding-top: var(--sect);
  padding-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .mono {
  padding-right: 14px;
  border-right: 1px solid var(--line-2);
  color: var(--dim);
  letter-spacing: 0.1em;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: #dfe2e4;
}

.subhead {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  margin-bottom: 18px;
}

/* ─────────── Reveal animation ─────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─────────── Nav ─────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gut);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-block: 12px;
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}

/* Mark only, no wordmark, and deliberately no aberration up here. */
.nav__brand { display: flex; align-items: center; }
.nav__brand img {
  width: 46px;
  transition: opacity 0.25s;
}
.nav__brand:hover img { opacity: 0.72; }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #cbd0d4;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.35s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(8, 9, 10, 0.97);
  backdrop-filter: blur(18px);
}
.mobile[hidden] { display: none; }
.mobile a {
  padding: 14px 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px var(--gut) 96px;
  isolation: isolate;
}



.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Framed so the wave's white foam falls below the lockup instead of
     sitting behind the white bird. */
  object-position: center 30%;
}

/* Darkens the water enough for the white lockup to hold, and fades the
   bottom edge into the page. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.62) 0%, rgba(8, 9, 10, 0.42) 42%, rgba(8, 9, 10, 0.78) 82%, var(--bg) 100%),
    radial-gradient(ellipse 52% 46% at 50% 46%, rgba(8, 9, 10, 0.55), transparent 76%);
}

.hero__inner { text-align: center; position: relative; }

.hero__mark {
  /* Sized to land near the wordmark's width, as in the brand lockup. */
  width: clamp(136px, 19.5vw, 280px);
  margin: 0 auto clamp(26px, 3.4vw, 44px);
}

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  /* Small type, wide tracking: the width comes from the spacing, not
     the point size. */
  font-size: clamp(0.6rem, 1.2vw, 1.05rem);
  line-height: 1.05;
  letter-spacing: var(--logo-track);
}
.hero__title span {
  display: block;
  /* Tracking is set so INTERACTIVE measures the same width as ALBATROSS
     despite having two more letters. */
  margin-top: 1.5em;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: calc(var(--logo-track) * 1.26);
  /* White, not muted: at a muted grey the colour split reads as a
     colour change rather than an aberration. */
  color: var(--ink);
}

/* Set well apart from the lockup, under a short rule, so it reads as the
   studio's motto rather than a third line of the logo. */
.hero__tag {
  position: relative;
  margin-top: clamp(46px, 5.6vw, 78px);
  padding-top: clamp(22px, 2.6vw, 32px);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: rgba(255, 255, 255, 0.5);
}
.hero__tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}


/* ─────────── Scroll cue (one per screen) ─────────── */

.scrollcue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin: var(--sub) auto 0;
  padding-bottom: 4px;
  color: var(--dim);
  transition: color 0.3s;
}
.scrollcue:hover { color: var(--ink); }
.scrollcue .mono {
  order: 2;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}
.scrollcue__line {
  order: 1;
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--line-2), transparent);
  overflow: hidden;
}
.scrollcue__line::after {
  content: "";
  display: block;
  width: 1px;
  height: 40%;
  background: var(--ink);
  animation: trickle 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
/* Back-to-top variant: label above, line below, trickle runs upward. */
.scrollcue--up .mono { order: 1; }
.scrollcue--up .scrollcue__line {
  order: 2;
  background: linear-gradient(transparent, var(--line-2));
}
.scrollcue--up .scrollcue__line::after { animation-direction: reverse; }

/* In the hero and over the key art, the cue is pinned to the bottom
   rather than sitting in the flow. */
.hero .scrollcue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  translate: -50%;
  margin: 0;
}
@keyframes trickle {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ─────────── Studio ─────────── */

.studio { overflow: hidden; }

.studio__watermark {
  position: absolute;
  z-index: 0;
  top: 46%;
  right: -14vw;
  width: min(80vw, 900px);
  translate: 0 -50%;
  opacity: 0.03;
  pointer-events: none;
}
.studio .wrap { position: relative; z-index: 1; }

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.studio__head {
  /* Capped so the longest single word ("EXPERIENCES", unbreakable in this
     extended face) still fits the column at every viewport width. */
  font-size: clamp(1.5rem, 4vw, 3.1rem);
  overflow-wrap: break-word;
}

.studio__body { display: grid; gap: 20px; }
.studio__body p:not(.lead) { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(52px, 8vw, 92px);
  background: var(--line);
  border: 1px solid var(--line);
}
.facts__item {
  padding: 26px 24px;
  background: var(--bg);
}
.facts dt { margin-bottom: 10px; color: var(--dim); }
.facts dd {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.82rem, 1.35vw, 1.02rem);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ─────────── Game: key-art stage ─────────── */

.game { position: relative; }

/* Title block for Terminal War. Was an aspect-locked key-art band; the
   photo is gone, so it is now just a centred, generously padded block. */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(96px, 13vh, 168px) var(--gut) clamp(56px, 7vh, 96px);
}



.stage__inner {
  width: 100%;
  max-width: 1180px;
  text-align: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4.5vw, 46px);
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.45);
  backdrop-filter: blur(8px);
  color: #cfd4d7;
}
.status .mono { font-size: 0.64rem; letter-spacing: 0.19em; }
.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(58, 114, 89, 0.7);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  70%, 100% { box-shadow: 0 0 0 9px rgba(58, 114, 89, 0); }
}

.stage__logo {
  width: min(100%, 980px);
  margin-inline: auto;
  filter: drop-shadow(0 14px 44px rgba(0, 0, 0, 0.72));
}

.stage__tag {
  font-weight: 500;
  margin-top: clamp(24px, 3.6vw, 40px);
  font-size: clamp(0.72rem, 1.5vw, 1rem);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: #b9bfc3;
}

/* ─────────── Game: pitch ─────────── */

.game__body { overflow: hidden; }

.game__watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(210vw, 2400px);
  translate: -50% -50%;
  opacity: 0.026;
  pointer-events: none;
}
.game__body .wrap { position: relative; z-index: 1; }

.pitch {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.pitch__head {
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  margin-bottom: 26px;
}
.pitch__copy > p + p { margin-top: 18px; }
.pitch__copy p:not(.lead) { color: var(--muted); }

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: background 0.28s, border-color 0.28s, color 0.28s, transform 0.28s;
}
.btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.btn--primary:hover { background: #fff; }

.dossier {
  border-top: 1px solid var(--line);
}
.dossier > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.dossier dt { color: var(--dim); padding-top: 2px; }
.dossier dd { color: #d7dadc; font-size: 0.9375rem; }
.dossier__link {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.dossier__link:hover { color: var(--ink); border-color: var(--ink); }

/* ─────────── Pillars ─────────── */





/* ─────────── Factions ─────────── */




/* ─────────── Socials ─────────── */

.follow { padding-top: var(--sub); }
.follow__inner { text-align: center; }
.follow .eyebrow { justify-content: center; }
.follow .eyebrow::after, .follow .eyebrow::before { display: none; }

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.socials--lg { justify-content: center; gap: 14px; }

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.28s, border-color 0.28s, background 0.28s, transform 0.28s;
}
.socials--lg a { width: 54px; height: 54px; }
.socials a:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--bg-2);
  transform: translateY(-3px);
}
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials--lg svg { width: 22px; height: 22px; }

/* ─────────── Team ─────────── */

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 900px;
}

.member__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line);
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.6s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.member:hover .member__photo img {
  filter: grayscale(0.55) contrast(1.02);
  transform: scale(1.04);
}

.member h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin-bottom: 10px; }
.member__role {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: #cfd4d7;
}
.member__meta { display: grid; gap: 7px; color: var(--dim); }
.member__meta li { font-size: 0.7rem; letter-spacing: 0.13em; }

/* ─────────── Contact ─────────── */

.contact { padding-bottom: var(--sect); }
.contact__head { font-size: clamp(1.9rem, 5.5vw, 4rem); margin-bottom: clamp(44px, 6vw, 72px); }

/* A single address, so it carries the section instead of sitting in a card. */
.contact__email {
  display: inline-block;
  font-size: clamp(1.0625rem, 3.4vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
  transition: border-color 0.28s, opacity 0.28s;
  overflow-wrap: anywhere;
}
.contact__email:hover { border-color: var(--ink); opacity: 0.85; }

.contact__note {
  margin-top: 30px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ─────────── Footer ─────────── */

.footer {
  padding-block: 46px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.footer__brand { display: flex; align-items: center; gap: 15px; }
.footer__brand img { width: 52px;}
/* Fixed tracking here: the hero's --logo-track is far too wide at this size. */
.footer__brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.5;
}
.footer__brand em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.86em;
  letter-spacing: 0.26em;
  color: var(--muted);
}
.footer__legal { color: var(--dim); font-size: 0.66rem; letter-spacing: 0.12em; }

/* ─────────── Responsive ─────────── */

@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .studio__grid, .pitch { grid-template-columns: 1fr; }
  .dossier { margin-top: 8px; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .facts { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; gap: 48px; }
  .stage { min-height: 74svh; place-items: center; }
  .status { padding: 8px 14px; }
  .status .mono { font-size: 0.56rem; letter-spacing: 0.12em; }
  .dossier > div { grid-template-columns: 1fr; gap: 6px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
