:root {
  --bg: #090604;
  --bg-deep: #050301;
  --panel: rgba(21, 12, 8, 0.82);
  --panel-soft: rgba(29, 17, 11, 0.68);
  --panel-light: rgba(243, 232, 210, 0.94);
  --line: rgba(229, 191, 118, 0.22);
  --line-strong: rgba(241, 214, 162, 0.42);
  --text: #f7eedf;
  --muted: rgba(247, 238, 223, 0.76);
  --gold: #d6a24f;
  --gold-hot: #f7deb0;
  --amber: #ef8829;
  --ivory: #f3e8d2;
  --ink: #241810;
  --teal: #6e8e8b;
  --shadow: rgba(0, 0, 0, 0.42);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: 1220px;
  --ease: cubic-bezier(0.2, 0.82, 0.26, 1);
  --hero-home-size: clamp(2.2rem, 3.45vw, 3.8rem);
  --hero-page-size: clamp(1.95rem, 2.55vw, 3rem);
  --section-title-size: clamp(1.65rem, 2.05vw, 2.28rem);
  --card-title-size: clamp(1.35rem, 1.7vw, 1.95rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(239, 136, 41, 0.08), transparent 28%),
    linear-gradient(180deg, #080503 0%, #090604 42%, #070402 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(transparent 96%, rgba(236, 203, 145, 0.03) 100%),
    linear-gradient(90deg, transparent 96%, rgba(236, 203, 145, 0.03) 100%);
  background-size: 128px 128px;
  mask-image: linear-gradient(180deg, transparent, black 14%, black 86%, transparent);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 80%, rgba(239, 136, 41, 0.08), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(110, 142, 139, 0.06), transparent 18%);
  animation: drift-aura 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 6, 4, 0.48);
  border-bottom: 1px solid rgba(241, 214, 162, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-name,
.eyebrow,
.section-label,
.kicker,
.meta-label,
.pill,
.footer-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.brand-copy span {
  font-size: 0.74rem;
  color: rgba(247, 238, 223, 0.58);
}

.nav-toggle {
  display: none;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  font-size: 0.86rem;
  color: rgba(247, 238, 223, 0.78);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--gold-hot);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(241, 214, 162, 0.12);
  background: linear-gradient(135deg, rgba(247, 222, 176, 0.15), rgba(239, 136, 41, 0.16));
  font-size: 0.92rem;
}

.hero-surface,
.page-hero {
  position: relative;
  overflow: clip;
  background-repeat: no-repeat;
  background-size: cover;
  background-position:
    calc(50% + var(--mouse-parallax-x, 0px))
    calc(50% + var(--mouse-parallax-y, 0px) + var(--scroll-parallax-y, 0px));
  transition: background-position 260ms ease-out;
}

.hero-surface::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 3, 0.6) 0%, rgba(8, 5, 3, 0.28) 38%, rgba(8, 5, 3, 0.02) 100%),
    linear-gradient(180deg, rgba(8, 5, 3, 0.01), rgba(8, 5, 3, 0.44));
}

.hero-surface::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(239, 136, 41, 0.28), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(110, 142, 139, 0.14), transparent 26%);
  animation: hero-bloom 14s var(--ease) infinite alternate;
  pointer-events: none;
}

.surface-home {
  background-image: url("./assets/hero/hero-01-keepfire-prestige.webp");
}

.surface-about {
  background-image: url("./assets/hero/hero-02-myth-engine.webp");
}

.surface-games {
  background-image: url("./assets/projects/lotlk/lotlk-courtyard-concept.webp");
  background-position:
    calc(58% + var(--mouse-parallax-x, 0px))
    calc(36% + var(--mouse-parallax-y, 0px) + var(--scroll-parallax-y, 0px));
}

.surface-values {
  background-image: url("./assets/backgrounds/bg-keep-hall.webp");
  background-position:
    calc(52% + var(--mouse-parallax-x, 0px))
    calc(34% + var(--mouse-parallax-y, 0px) + var(--scroll-parallax-y, 0px));
}

.surface-careers {
  background-image: url("./assets/projects/lotlk/lotlk-bulwark-knight.webp");
  background-position:
    calc(76% + var(--mouse-parallax-x, 0px))
    calc(36% + var(--mouse-parallax-y, 0px) + var(--scroll-parallax-y, 0px));
}

.surface-contact {
  background-image: url("./assets/backgrounds/bg-dungeon-threshold.webp");
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  align-items: end;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: calc(100svh - 86px);
  padding: 5rem 0 3.7rem;
}

.page-hero-inner {
  max-width: 760px;
  min-height: 470px;
  padding: 6rem 0 3.2rem;
}

.eyebrow,
.section-label,
.kicker,
.meta-label,
.pill,
.footer-kicker {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  font-weight: 600;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 12.6ch;
  font-size: var(--hero-home-size);
  letter-spacing: -0.025em;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
}

.page-hero-copy h1 {
  max-width: 14ch;
  font-size: var(--hero-page-size);
  letter-spacing: -0.02em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hero-copy p,
.page-hero-copy p,
.section-intro p,
.panel p,
.project-card p,
.story-panel p,
.stat-card p,
.value-card p,
.role-card p,
.contact-panel p,
.footer-newsletter p,
.footer-panel p,
.timeline-item p,
.philosophy-item p,
.gallery-card p {
  color: var(--muted);
}

.hero-copy .lede,
.page-hero-copy .lede,
.section-intro p {
  max-width: 40rem;
  margin-top: 1.2rem;
  font-size: clamp(0.94rem, 0.92vw, 1.02rem);
  line-height: 1.82;
}

.hero-copy .lede,
.page-hero-copy .lede {
  color: rgba(247, 238, 223, 0.84);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.hero-actions,
.cta-row,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
}

.button[disabled] {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.button {
  color: #23150a;
  background: linear-gradient(135deg, #f9e3b5 0%, #efb862 44%, #ea8a2c 100%);
  box-shadow: 0 20px 40px rgba(239, 136, 41, 0.18);
}

.button-secondary {
  border-color: rgba(241, 214, 162, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost {
  border-color: rgba(241, 214, 162, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.hero-panel,
.panel,
.project-card,
.story-panel,
.stat-card,
.value-card,
.role-card,
.contact-panel,
.footer-panel,
.timeline-item,
.philosophy-item,
.gallery-card,
.feature-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(247, 238, 223, 0.04), transparent 24%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 239, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition:
    transform 320ms var(--ease),
    border-color 320ms ease,
    box-shadow 320ms ease,
    background-size 680ms var(--ease),
    filter 320ms ease;
}

.hero-panel::before,
.panel::before,
.project-card::before,
.story-panel::before,
.stat-card::before,
.value-card::before,
.role-card::before,
.contact-panel::before,
.footer-panel::before,
.timeline-item::before,
.philosophy-item::before,
.gallery-card::before,
.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--shine-x, 18%) var(--shine-y, 18%), rgba(255, 245, 224, 0.13), transparent 26%),
    linear-gradient(135deg, rgba(255, 245, 224, 0.06), transparent 34%);
  pointer-events: none;
  transition: background 220ms ease, opacity 220ms ease;
}

.hero-panel {
  padding: 1.35rem;
  backdrop-filter: blur(12px);
  background:
    linear-gradient(180deg, rgba(247, 238, 223, 0.05), transparent 24%),
    rgba(34, 21, 14, 0.64);
}

.hero-panel img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0.2rem auto 0.45rem;
}

.hero-panel ul,
.plain-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li,
.plain-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(241, 214, 162, 0.1);
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel li:first-child,
.plain-list li:first-child {
  border-top: 0;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), calc(var(--shell) - 120px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(241, 214, 162, 0.18), transparent);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-intro {
  max-width: 48rem;
}

.section-intro h2 {
  max-width: 13ch;
  font-size: var(--section-title-size);
  letter-spacing: -0.02em;
}

.ornament {
  width: min(100%, 620px);
  margin: 1.8rem auto 0;
  opacity: 0.95;
  animation: emblem-float 8s ease-in-out infinite;
}

.feature-grid,
.project-grid,
.stat-grid,
.value-grid,
.role-grid,
.contact-grid,
.gallery-grid,
.timeline-grid,
.philosophy-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-band {
  padding: 1.35rem;
  min-height: 220px;
}

.stat-card {
  padding: 1.2rem;
  min-height: 192px;
}

.feature-band h3,
.project-card h3,
.story-panel h3,
.value-card h3,
.role-card h3,
.contact-panel h3,
.timeline-item h3,
.philosophy-item h3 {
  font-size: var(--card-title-size);
  line-height: 1.03;
}

.stat-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--gold-hot);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-band p,
.project-card p,
.story-panel p,
.stat-card p,
.value-card p,
.role-card p,
.contact-panel p,
.timeline-item p,
.philosophy-item p,
.gallery-card p {
  margin-top: 0.95rem;
  line-height: 1.85;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.story-image {
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 320ms ease;
}

.story-stack {
  display: grid;
  gap: 1rem;
}

.story-panel {
  padding: 1.4rem;
}

.story-panel.light {
  background: var(--panel-light);
  color: var(--ink);
}

.story-panel.light p,
.story-panel.light .meta-label {
  color: rgba(36, 24, 16, 0.82);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  min-height: 440px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-position: center;
  background-size: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 4, 2, 0.14), rgba(7, 4, 2, 0.86));
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.hero-panel:hover,
.panel:hover,
.project-card:hover,
.story-panel:hover,
.stat-card:hover,
.value-card:hover,
.role-card:hover,
.contact-panel:hover,
.footer-panel:hover,
.timeline-item:hover,
.philosophy-item:hover,
.gallery-card:hover,
.feature-band:hover {
  --lift: -6px;
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 239, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.28);
}

.project-card .pill-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(241, 214, 162, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-hot);
  font-size: 0.68rem;
}

.project-card--hero {
  background-image: url("./assets/hero/hero-01-keepfire-prestige.webp");
}

.project-card--myth {
  background-image: url("./assets/hero/hero-02-myth-engine.webp");
}

.project-card--depths {
  background-image: url("./assets/backgrounds/bg-dungeon-threshold.webp");
}

.project-card--hall {
  background-image: url("./assets/backgrounds/bg-keep-hall.webp");
}

.project-card--lotlk {
  background-image: url("./assets/projects/lotlk/lotlk-courtyard-concept.webp");
}

.project-card--morveld {
  background-image: url("./assets/projects/lotlk/lotlk-courtyard-concept.webp");
}

.project-card--dogooders {
  background-image: url("./assets/projects/lotlk/lotlk-standard-bearer.webp");
  background-position: center 18%;
}

.project-card--vane {
  background-image: url("./assets/projects/lotlk/lotlk-commander-aldric-vane.webp");
  background-position: center 18%;
}

.project-card--faction {
  background-image: url("./assets/projects/lotlk/lotlk-commander-aldric-vane.webp");
  background-position: center 18%;
}

.project-card--slice {
  background-image: url("./assets/projects/lotlk/lotlk-courtyard-scenes.webp");
}

.gallery-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.gallery-stack {
  display: grid;
  gap: 1rem;
}

.gallery-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 320ms ease;
}

.gallery-card figure {
  position: relative;
  margin: 0;
  min-height: inherit;
}

.gallery-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 4, 2, 0.06), rgba(7, 4, 2, 0.76));
}

.gallery-card figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 1;
}

.gallery-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.gallery-card.contain-card figure {
  background:
    radial-gradient(circle at top, rgba(244, 234, 210, 0.96), rgba(223, 208, 180, 0.88));
}

.gallery-card.contain-card figure::after {
  background: linear-gradient(180deg, rgba(18, 10, 6, 0), rgba(18, 10, 6, 0.48));
}

.gallery-card.contain-card img {
  object-fit: contain;
  padding: 1.1rem;
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item,
.philosophy-item,
.value-card,
.role-card,
.contact-panel,
.footer-panel {
  padding: 1.35rem;
}

.philosophy-grid,
.value-grid,
.role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card.light-card,
.contact-panel.light-card {
  background: var(--panel-light);
  color: var(--ink);
}

.value-card.light-card p,
.contact-panel.light-card p,
.value-card.light-card .section-label,
.contact-panel.light-card .section-label {
  color: rgba(36, 24, 16, 0.82);
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-form,
.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field label {
  font-size: 0.92rem;
  color: rgba(247, 238, 223, 0.82);
}

.light-card .field label {
  color: rgba(36, 24, 16, 0.78);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(241, 214, 162, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: rgba(241, 214, 162, 0.42);
  box-shadow: 0 0 0 3px rgba(214, 162, 79, 0.12);
}

.light-card .field input,
.light-card .field textarea,
.light-card .field select {
  background: rgba(60, 40, 25, 0.04);
  border-color: rgba(60, 40, 25, 0.12);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: rgba(247, 238, 223, 0.62);
  transition: color 180ms ease;
}

.light-card .form-note {
  color: rgba(36, 24, 16, 0.68);
}

.form-note.is-loading {
  color: rgba(247, 238, 223, 0.86);
}

.form-note.is-success {
  color: #9fe0b0;
}

.form-note.is-error {
  color: #ffb3a0;
}

.light-card .form-note.is-loading {
  color: rgba(36, 24, 16, 0.86);
}

.light-card .form-note.is-success {
  color: #2d7a47;
}

.light-card .form-note.is-error {
  color: #9c3a26;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(241, 214, 162, 0.08);
  background: rgba(5, 3, 2, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.footer-brand img {
  width: min(100%, 420px);
  object-fit: contain;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-links a,
.footer-panel a {
  color: rgba(247, 238, 223, 0.8);
}

.footer-newsletter {
  padding: 1.35rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(241, 214, 162, 0.08);
  color: rgba(247, 238, 223, 0.56);
  font-size: 0.86rem;
}

.story-image:hover img,
.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.ambient-orb--warm {
  top: -10%;
  left: -12%;
  background: radial-gradient(circle, rgba(239, 136, 41, 0.52), transparent 70%);
  animation: drift-glow 22s ease-in-out infinite alternate;
}

.ambient-orb--cool {
  right: -14%;
  top: 24%;
  background: radial-gradient(circle, rgba(110, 142, 139, 0.34), transparent 72%);
  animation: drift-glow 26s ease-in-out infinite alternate-reverse;
}

.ember-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, rgba(239, 136, 41, 0.3), var(--amber), var(--gold-hot));
  box-shadow: 0 0 20px rgba(239, 136, 41, 0.45);
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-aura {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, -1.5%, 0) scale(1.05);
  }
}

@keyframes hero-bloom {
  from {
    opacity: 0.75;
    transform: scale(1);
  }

  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes drift-glow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(7%, -5%, 0);
  }
}

@keyframes emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .story-layout,
  .contact-grid,
  .footer-grid,
  .gallery-grid,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 4.6rem;
  }

  .project-card {
    background-size: cover;
  }

  .feature-grid,
  .project-grid,
  .stat-grid,
  .timeline-grid,
  .philosophy-grid,
  .value-grid,
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-image {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.9rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(1.95rem, 7vw, 3.1rem);
  }

  .section-intro h2 {
    font-size: clamp(1.6rem, 5.1vw, 2.3rem);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .project-grid,
  .stat-grid,
  .timeline-grid,
  .philosophy-grid,
  .value-grid,
  .role-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ambient-stage,
  .scroll-progress {
    display: none;
  }
}
