/* ==========================================================================
   RESET / BASE
   ========================================================================== */

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

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --bg-panel: rgba(12, 12, 12, 0.84);
  --bg-panel-heavy: rgba(5, 5, 5, 0.92);

  --text: #d8d8d8;
  --text-soft: #b8b8b8;
  --text-dim: #858585;

  --red: #a32000;
  --red-bright: #e34646;
  --red-dark: #3b0700;

  --line: rgba(227, 70, 70, 0.18);
  --line-strong: rgba(227, 70, 70, 0.34);

  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --font-display: "Rajdhani", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(163, 32, 0, 0.12), transparent 34rem),
    linear-gradient(180deg, #050505 0%, #090909 45%, #050505 100%);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

::selection {
  background: rgba(227, 70, 70, 0.35);
}

/* ==========================================================================
   ATMOSPHERE
   ========================================================================== */

.grain,
.scanlines,
.red-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 50;
  opacity: 0.045;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.scanlines {
  z-index: 49;
  opacity: 0.045;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.045) 0,
    rgba(255,255,255,0.045) 1px,
    transparent 2px,
    transparent 5px
  );
}

.red-vignette {
  z-index: 48;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.6) 100%),
    radial-gradient(circle at 10% 10%, rgba(163, 32, 0, 0.08), transparent 30rem),
    radial-gradient(circle at 90% 30%, rgba(163, 32, 0, 0.05), transparent 28rem);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;

  min-height: 68px;
  padding: 0 1.4rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;

  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.34);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.brand-sigil {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(227,70,70,0.28);
  background:
    radial-gradient(circle at center, rgba(227,70,70,0.16), transparent 60%),
    linear-gradient(180deg, #151515, #050505);

  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;

  box-shadow:
    inset 0 0 16px rgba(163,32,0,0.16),
    0 0 16px rgba(163,32,0,0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.45rem);
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: #c7c7c7;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.36rem;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-nav a:hover {
  color: var(--red-bright);
  text-shadow: 0 0 10px rgba(227,70,70,0.32);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   MOBILE NAV BUTTON
   ========================================================================== */

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227,70,70,0.25);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  position: relative;
  z-index: 45;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #cfcfcf;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    background 0.22s ease;
}

.nav-toggle:hover span {
  background: var(--red-bright);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 880px);
  display: grid;
  place-items: center;
  padding: 5rem 1.2rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.44) 48%, rgba(0,0,0,0.88) 100%),
    radial-gradient(circle at center, rgba(150, 18, 0, 0.18), transparent 35rem),
    linear-gradient(180deg, #111 0%, #050505 100%);
}

.hero-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(227,70,70,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,70,70,0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(62deg) translateY(8%);
  transform-origin: bottom;
}

.hero-breach {
  position: absolute;
  width: min(54vw, 760px);
  height: min(54vw, 760px);
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(18deg);
  border-radius: 44% 56% 52% 48%;

  background:
    radial-gradient(circle at center, rgba(227,70,70,0.42) 0%, rgba(163,32,0,0.16) 24%, transparent 58%),
    conic-gradient(from 120deg, transparent, rgba(227,70,70,0.2), transparent, rgba(255,255,255,0.04), transparent);

  filter: blur(0.4px);
  opacity: 0.72;
  box-shadow:
    0 0 80px rgba(163,32,0,0.18),
    inset 0 0 80px rgba(0,0,0,0.42);
}

.hero-breach::before,
.hero-breach::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(227,70,70,0.15);
  border-radius: inherit;
  transform: rotate(-28deg);
}

.hero-breach::after {
  inset: 24%;
  transform: rotate(44deg);
  opacity: 0.55;
}

.hero-fog {
  position: absolute;
  inset: auto -10% -12% -10%;
  height: 45%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.09), transparent 65%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.72));
  filter: blur(18px);
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(960px, 100%);
  padding: clamp(1.5rem, 4vw, 3.2rem);

  text-align: center;
  transform: translateY(-1.5rem);

  border: 1px solid rgba(227,70,70,0.2);
  background:
    linear-gradient(180deg, rgba(10,10,10,0.78), rgba(5,5,5,0.92)),
    radial-gradient(circle at 50% 0%, rgba(163,32,0,0.12), transparent 70%);
  backdrop-filter: blur(8px);

  box-shadow:
    0 28px 70px rgba(0,0,0,0.52),
    inset 0 0 32px rgba(0,0,0,0.5),
    0 0 34px rgba(163,32,0,0.08);
}

.classification,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;

  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;

  border: 1px solid rgba(227,70,70,0.24);
  background: rgba(163,32,0,0.08);
}

.hero h1 {
  font-family: var(--font-display);
  color: #eee4e4;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: clamp(4px, 1vw, 12px);
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(163,32,0,0.22),
    0 8px 28px rgba(0,0,0,0.72);
}

.hero-lead {
  margin: 1.15rem auto 0;
  max-width: 820px;

  color: #ffffff;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-copy {
  margin: 1rem auto 0;
  max-width: 730px;

  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0.8rem 1.15rem;

  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  border-radius: 4px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  border: 1px solid rgba(227,70,70,0.42);
  background: linear-gradient(180deg, rgba(184,40,0,0.96), rgba(102,14,0,0.98));
  box-shadow: 0 0 20px rgba(163,32,0,0.18);
}

.button-primary:hover {
  box-shadow: 0 0 26px rgba(227,70,70,0.22);
  background: linear-gradient(180deg, rgba(211,50,12,1), rgba(117,18,0,1));
}

.button-secondary {
  color: #e2e2e2;
  border: 1px solid rgba(227,70,70,0.22);
  background: rgba(255,255,255,0.035);
}

.button-secondary:hover {
  color: var(--red-bright);
  border-color: rgba(227,70,70,0.42);
  box-shadow: 0 0 20px rgba(163,32,0,0.09);
}

.hero-tags {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span,
.doctrine-pillars span {
  display: inline-flex;
  align-items: center;

  padding: 0.4rem 0.62rem;
  border: 1px solid rgba(227,70,70,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);

  color: #aaa;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.85px;
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION BANNER
   ========================================================================== */

.section-banner {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.55rem 1rem;

  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;

  background:
    linear-gradient(90deg, rgba(38,0,0,0.88), rgba(92,10,0,0.72), rgba(38,0,0,0.88));
  border-top: 1px solid rgba(227,70,70,0.22);
  border-bottom: 1px solid rgba(227,70,70,0.22);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.5);
}

/* ==========================================================================
   FEATURED PROJECT
   ========================================================================== */

.featured-project {
  width: min(1320px, calc(100% - 2rem));
  margin: 4rem auto;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.featured-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;

  border: 1px solid rgba(227,70,70,0.2);
  background:
    linear-gradient(120deg, rgba(0,0,0,0.65), rgba(0,0,0,0.12), rgba(0,0,0,0.8)),
    radial-gradient(circle at 65% 42%, rgba(227,70,70,0.22), transparent 16rem),
    linear-gradient(135deg, #171717 0%, #070707 55%, #190400 100%);

  box-shadow:
    inset 0 0 44px rgba(0,0,0,0.7),
    0 24px 52px rgba(0,0,0,0.34);
}

.featured-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(255,255,255,0.05) 20% 21%, transparent 21% 100%),
    linear-gradient(0deg, transparent 0 28%, rgba(255,255,255,0.035) 28% 29%, transparent 29% 100%);
  background-size: 92px 92px;
}

.featured-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: 9%;
  top: 50%;
  transform: translateY(-50%) rotate(22deg);

  border-radius: 45% 55% 48% 52%;
  border: 1px solid rgba(227,70,70,0.2);
  background:
    radial-gradient(circle at center, rgba(227,70,70,0.25), rgba(163,32,0,0.08) 38%, transparent 70%);
  box-shadow: 0 0 70px rgba(163,32,0,0.16);
}

.visual-frame {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;

  padding: 1.1rem;
  background: rgba(3,3,3,0.72);
  border: 1px solid rgba(227,70,70,0.18);
  backdrop-filter: blur(7px);
}

.visual-label {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.visual-title {
  color: #f1f1f1;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.visual-readout {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.visual-readout span {
  color: #aaa;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(227,70,70,0.11);
}

.featured-copy {
  padding: clamp(1.4rem, 3vw, 2.35rem);
  background:
    linear-gradient(180deg, rgba(16,16,16,0.9), rgba(7,7,7,0.96));
  border: 1px solid rgba(227,70,70,0.17);
  box-shadow:
    inset 0 0 32px rgba(0,0,0,0.45),
    0 24px 52px rgba(0,0,0,0.26);
}

.featured-copy h2,
.studio-doctrine h2,
.legacy-note h2 {
  color: #f1e9e9;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.featured-copy p,
.studio-doctrine p,
.legacy-note p {
  color: #c8c8c8;
  line-height: 1.8;
  font-size: 1rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.feature-list div {
  padding: 0.9rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(227,70,70,0.12);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.feature-list span {
  color: #b8b8b8;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   PROJECT GRID
   ========================================================================== */

.project-grid {
  width: min(1320px, calc(100% - 2rem));
  margin: 4rem auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.project-card {
  min-height: 100%;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(180deg, rgba(18,18,18,0.92), rgba(8,8,8,0.98));
  border: 1px solid rgba(227,70,70,0.13);
  color: inherit;

  box-shadow: 0 18px 42px rgba(0,0,0,0.22);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227,70,70,0.34);
  box-shadow:
    0 24px 54px rgba(0,0,0,0.36),
    0 0 24px rgba(163,32,0,0.08);
}

.project-card-primary {
  border-color: rgba(227,70,70,0.24);
}

.card-image {
  position: relative;
  min-height: 185px;
  border-bottom: 1px solid rgba(227,70,70,0.12);
  background: #111;
  overflow: hidden;
}

.card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.82;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.76)),
    radial-gradient(circle at 60% 40%, rgba(227,70,70,0.23), transparent 12rem),
    linear-gradient(135deg, #202020, #050505 62%, #210500);
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.card-image-slip::before {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.78)),
    radial-gradient(circle at 60% 45%, rgba(227,70,70,0.34), transparent 12rem),
    linear-gradient(135deg, #151515, #050505 60%, #2c0600);
}

.card-image-galefer::before {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.78)),
    radial-gradient(circle at 50% 40%, rgba(160,160,160,0.12), transparent 12rem),
    linear-gradient(135deg, #1b1b1b, #070707 60%, #171717);
}

.card-image-outworld::before {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.8)),
    radial-gradient(circle at 50% 45%, rgba(163,32,0,0.22), transparent 11rem),
    linear-gradient(135deg, #15100f, #050505 62%, #260600);
}

.card-body {
  padding: 1.2rem;
}

.card-kicker {
  display: block;
  margin-bottom: 0.55rem;

  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.card-body h3 {
  margin-bottom: 0.55rem;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.card-body p {
  color: #c5c5c5;
  font-size: 0.94rem;
  line-height: 1.72;
}

/* ==========================================================================
   STUDIO DOCTRINE
   ========================================================================== */

.studio-doctrine {
  width: min(1120px, calc(100% - 2rem));
  margin: 4rem auto;
}

.doctrine-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(16,16,16,0.9), rgba(6,6,6,0.96)),
    radial-gradient(circle at top left, rgba(163,32,0,0.08), transparent 26rem);
  border: 1px solid rgba(227,70,70,0.18);
  box-shadow:
    inset 0 0 36px rgba(0,0,0,0.44),
    0 24px 54px rgba(0,0,0,0.28);
}

.doctrine-pillars {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* ==========================================================================
   LEGACY NOTE
   ========================================================================== */

.legacy-note {
  width: min(1120px, calc(100% - 2rem));
  margin: 4rem auto 5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;

  padding: clamp(1.25rem, 3vw, 2rem);

  background:
    linear-gradient(90deg, rgba(18,18,18,0.92), rgba(8,8,8,0.96));
  border: 1px solid rgba(227,70,70,0.15);
}

.legacy-copy {
  max-width: 790px;
}

.legacy-note h2 {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
}

.disclaimer {
  margin-top: 0.75rem;
  color: #9f9f9f !important;
  font-family: var(--font-mono);
  font-size: 0.78rem !important;
  line-height: 1.7 !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 2;

  padding: 1.25rem 1.4rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border-top: 1px solid rgba(227,70,70,0.18);
  background: rgba(0,0,0,0.76);
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-footer strong {
  color: #ccc;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer span {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: #aaa;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--red-bright);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    min-height: 64px;
    padding: 0.75rem 1rem;
    flex-direction: row;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-sigil {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    flex: 0 0 auto;
  }

  .brand-text strong {
    font-size: 0.78rem;
    letter-spacing: 1.3px;
  }

  .brand-text span {
    font-size: 0.58rem;
    letter-spacing: 0.9px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    width: min(320px, calc(100vw - 1rem));

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 0.45rem;
    background: rgba(0,0,0,0.96);
    border: 1px solid rgba(227,70,70,0.2);
    border-right: none;
    box-shadow: 0 18px 42px rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);

    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.045);
    font-size: 0.78rem;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-content {
    transform: none;
  }

  .featured-project {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 360px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .legacy-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.65rem 0.75rem;
  }

  .brand-text strong {
    font-size: 0.72rem;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 2.5rem 0.75rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .classification,
  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.4rem);
    letter-spacing: 5px;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-copy {
    font-size: 0.91rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tags span,
  .doctrine-pillars span {
    font-size: 0.58rem;
    letter-spacing: 0.65px;
  }

  .section-banner {
    font-size: 0.6rem;
    letter-spacing: 1.15px;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }

  .featured-project,
  .project-grid,
  .studio-doctrine,
  .legacy-note {
    width: min(100% - 1rem, 1120px);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .featured-visual {
    min-height: 280px;
  }

  .visual-frame {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem;
  }

  .visual-title {
    font-size: 2rem;
    letter-spacing: 3px;
  }

  .visual-readout span {
    font-size: 0.58rem;
  }

  .featured-copy,
  .doctrine-panel,
  .legacy-note {
    padding: 1.15rem;
  }

  .featured-copy h2,
  .studio-doctrine h2,
  .legacy-note h2 {
    font-size: clamp(1.85rem, 12vw, 3rem);
    letter-spacing: 3px;
  }

  .card-image {
    min-height: 145px;
  }

  .site-footer nav {
    gap: 0.7rem;
  }
}

@media (max-width: 390px) {
  .brand-sigil {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 17vw, 3.5rem);
    letter-spacing: 3px;
  }

  .hero-content {
    padding: 1rem;
  }

  .site-nav {
    width: calc(100vw - 0.5rem);
  }
}

