/* ═══════════════════════════════════════════
   UCHIHA ITACHI — 写輪眼
   ═══════════════════════════════════════════ */

:root {
  --ink: #050506;
  --ink-2: #0b0b0d;
  --bone: #e8e4dc;
  --smoke: #8a8580;
  --blood: #c0121f;
  --blood-hot: #ff2b2b;
  --ember: #ff6a3d;
  --serif: 'Shippori Mincho', 'Yu Mincho', serif;
  --gothic: 'Zen Kaku Gothic New', sans-serif;
  --display: 'Cinzel', serif;
  --mono: 'Space Grotesk', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--gothic);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--blood);
  color: #fff
}

/* ── scrollbar ── */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: #000
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blood), #3a0409)
}

/* ═══ PRELOADER ═══ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
}

.loader.done {
  opacity: 0;
  visibility: hidden
}

.loader__inner {
  width: min(420px, 72vw);
  text-align: center
}

.loader__glyph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: .22em;
  color: var(--bone);
  text-shadow: 0 0 40px rgba(255, 43, 43, .35);
  animation: pulseGlyph 2.4s ease-in-out infinite;
}

.loader__logo {
  height: clamp(75px, 14vw, 130px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 43, 43, 0.65));
  animation: logoSpinZoom 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes logoSpinZoom {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 25px rgba(255, 43, 43, 0.5));
  }

  40% {
    transform: rotate(1080deg) scale(1.35);
    filter: drop-shadow(0 0 50px rgba(255, 43, 43, 0.95));
  }

  60% {
    transform: rotate(1440deg) scale(1.05);
    filter: drop-shadow(0 0 35px rgba(255, 43, 43, 0.8));
  }

  66.7% {
    transform: rotate(1440deg) scale(1);
    filter: drop-shadow(0 0 25px rgba(255, 43, 43, 0.65));
  }

  100% {
    transform: rotate(1440deg) scale(1);
    filter: drop-shadow(0 0 25px rgba(255, 43, 43, 0.65));
  }
}

@keyframes pulseGlyph {

  0%,
  100% {
    opacity: .85;
    text-shadow: 0 0 30px rgba(255, 43, 43, .25)
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 70px rgba(255, 43, 43, .75)
  }
}

.loader__bar {
  height: 1px;
  background: rgba(232, 228, 220, .14);
  margin: 2.2rem 0 .9rem;
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blood), var(--blood-hot));
  box-shadow: 0 0 14px var(--blood-hot);
  transition: width .25s linear;
}

.loader__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--smoke);
}

/* ═══ AMBIENT ═══ */
.grain {
  position: fixed;
  inset: -150%;
  z-index: 400;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 700ms steps(4) infinite;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0)
  }

  25% {
    transform: translate(-3%, 2%)
  }

  50% {
    transform: translate(2%, -3%)
  }

  75% {
    transform: translate(-2%, -2%)
  }

  100% {
    transform: translate(3%, 3%)
  }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 390;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, .72) 100%);
}

/* .scanlines{
  position:fixed;inset:0;z-index:395;pointer-events:none;opacity:.35;
  background:repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 2px,rgba(0,0,0,.22) 2px 3px);
  mix-blend-mode:multiply;
} */

/* ═══ AMATERASU — 黒炎 ═══ */
/* Black fire eats the bottom hem of the viewport. The band is 8% tall; the
   flames are drawn inside it, so nothing above the hem is ever obscured. */
.amaterasu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 305;
  width: 100%;
  height: 8vh;
  min-height: 46px;
  pointer-events: none;
  transition: opacity 0.6s var(--ease, ease);
}

/* the hem sits under the flames so their black bodies have something to
   climb out of instead of floating on the page */
.amaterasu-bed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 304;
  height: 8vh;
  min-height: 46px;
  pointer-events: none;
  /* kept light enough that copy scrolling through the hem stays readable */
  background: linear-gradient(0deg,
      rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .5) 40%, rgba(0, 0, 0, .18) 72%, transparent 100%);
  transition: opacity 0.6s var(--ease, ease);
}

/* ═══ STORM ═══ */
.storm {
  position: fixed;
  inset: 0;
  z-index: 380;
  pointer-events: none;
  transition: opacity 0.6s var(--ease, ease);
}

.storm__flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(ellipse 90% 60% at var(--bx, 50%) -12%, rgba(198, 228, 255, .92), rgba(150, 190, 235, .28) 42%, transparent 72%),
    linear-gradient(180deg, rgba(210, 232, 255, .5), transparent 58%);
  mix-blend-mode: screen;
  will-change: opacity;
}

.storm__bolt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(180, 220, 255, .95)) drop-shadow(0 0 42px rgba(120, 180, 255, .6));
  mix-blend-mode: screen;
  will-change: opacity;
}

/* ═══ CURSOR ═══ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  pointer-events: none;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(232, 228, 220, .4);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease),
    margin .35s var(--ease), border-color .35s, background .35s;
  mix-blend-mode: difference;
}

.cursor span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blood-hot);
}

.cursor.hot {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-color: var(--blood-hot);
  background: rgba(192, 18, 31, .08);
}

@media (hover:none) {
  .cursor {
    display: none
  }
}

/* ═══ CHROME ═══ */
.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  padding: 1.5rem clamp(1.1rem, 4vw, 3rem);
  text-shadow: 0 2px 22px rgba(0, 0, 0, .95);
  gap: clamp(1rem, 3vw, 2.4rem);
}

.chrome__mark {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--bone)
}

.nav__logo {
  height: clamp(44px, 3.6vw, 54px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: filter .35s var(--ease), transform .35s var(--ease);
}

.chrome__mark:hover .nav__logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(255, 43, 43, 0.4));
}

.chrome__mark span {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .42em;
  font-weight: 700;
}

.chrome__nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  order: 1;
  margin-left: auto;
  align-items: center;
}

.chrome__nav a {
  position: relative;
  text-decoration: none;
  color: var(--bone);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .3em;
  opacity: .65;
  transition: opacity .3s;
}

.chrome__nav a::before {
  content: attr(data-sub);
  position: absolute;
  left: 50%;
  top: -1.05rem;
  transform: translateX(-50%) translateY(4px);
  font-family: var(--mono);
  font-size: .55rem;
  color: var(--blood-hot);
  opacity: 0;
  transition: .35s var(--ease);
}

.chrome__nav a:hover,
.chrome__nav a.active {
  opacity: 1;
  color: var(--blood-hot);
}

.chrome__nav a:hover::before,
.chrome__nav a.active::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chrome__sound {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(232, 228, 220, .22);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--bone);
  transition: border-color .35s, color .35s, background .35s, transform .25s, box-shadow .35s;
}

.chrome__sound .sound-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.chrome__sound[aria-pressed="true"] .sound-icon--off {
  display: none !important;
}
.chrome__sound[aria-pressed="true"] .sound-icon--on {
  display: block !important;
}

.chrome__sound[aria-pressed="false"] .sound-icon--on {
  display: none !important;
}
.chrome__sound[aria-pressed="false"] .sound-icon--off {
  display: block !important;
}

.chrome__sound:hover {
  border-color: var(--blood-hot);
  color: var(--blood-hot);
  transform: scale(1.1);
}

.chrome__sound[aria-pressed="true"] {
  border-color: var(--blood-hot);
  color: var(--blood-hot);
  background: rgba(192, 18, 31, .2);
  box-shadow: 0 0 12px rgba(255, 43, 43, 0.4);
}

/* ═══ SIDE RAILS ═══ */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 300;
  width: clamp(1.1rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  pointer-events: none;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .95);
}

.rail--left {
  left: 0
}

.rail--right {
  right: 0
}

.rail span {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .34em;
  color: var(--smoke);
  white-space: nowrap;
}

.rail--left span {
  font-family: var(--serif);
  letter-spacing: .5em
}

/* ═══ SCROLL HINT ═══ */
.hint {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  transition: opacity .6s;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .95);
}

.hint.hide {
  opacity: 0
}

.hint__jp {
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .3em;
  color: var(--bone)
}

.hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--blood-hot), transparent);
  animation: drip 2s var(--ease) infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0
  }

  40% {
    transform: scaleY(1);
    opacity: 1
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0
  }
}

.hint__en {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .34em;
  color: var(--smoke)
}

.sticky-badge {
  position: fixed;
  right: 6.8rem;
  bottom: 4.8rem;
  z-index: 310;
  width: 95px;
  height: 95px;
  border: none;
  border-radius: 16px;
  background: rgba(11, 11, 13, .35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}

@media (max-width:720px) {
  .sticky-badge {
    right: 5%;
    bottom: 5%
  }
}

/* ═══════════ ACT I — SCRUB ═══════════ */
.scrub {
  height: 700vh;
  position: relative
}

.scrub__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#mainCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.06) saturate(1.05);
  transition: opacity .25s var(--ease);
}

.scrub__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 44%, rgba(255, 43, 43, .32), transparent 46%);
  mix-blend-mode: screen;
}

.feathers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: none
}

/* scrim guarantees caption contrast over the brightest frames */
.scrub__sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .42) 30%, transparent 56%),
    linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, transparent 22%);
}

/* phase captions */
.phase {
  position: absolute;
  left: clamp(2rem, 7vw, 7rem);
  top: 50%;
  transform: translateY(calc(-50% + var(--y, 0px)));
  opacity: 0;
  pointer-events: none;
  max-width: min(30ch, 42vw);
  z-index: 3;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .95), 0 0 8px rgba(0, 0, 0, .7);
}

.phase__jp {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: .08em;
  color: var(--bone);
}

.phase__en {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(.66rem, 1.05vw, .82rem);
  letter-spacing: .36em;
  margin: .6rem 0 .8rem;
  color: var(--blood-hot);
  white-space: nowrap;
}

.phase__sub {
  font-family: var(--gothic);
  font-size: clamp(.8rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: rgba(232, 228, 220, .8);
}

/* title lockup */
.hero__logo {
  height: clamp(180px, 28vw, 340px);
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.2rem auto;
  display: block;
  animation: logoGlowPulse 3.2s ease-in-out infinite;
}

@keyframes logoGlowPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(255, 43, 43, 0.75));
  }

  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 75px rgba(255, 43, 43, 0.98));
  }
}

.titleblock {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 3;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .8);
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titleblock__kicker {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .45em;
  color: rgba(232, 228, 220, .7);
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.titleblock__jp {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: 1;
  letter-spacing: .15em;
  color: var(--bone);
}

.titleblock__jp span {
  color: var(--blood-hot);
  text-shadow: 0 0 44px rgba(255, 43, 43, .55);
}

.titleblock__en {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(.6rem, 1.2vw, .8rem);
  letter-spacing: .42em;
  margin-top: 1rem;
  color: rgba(232, 228, 220, .7);
}


/* ═══════════ ACT III — JUTSU IMAGE + CURSOR FX ═══════════ */
.jutsu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
  background: #000;
  /* Exact natural 16:9 aspect ratio of storm.png (1920x1080) */
  width: 100%;
  aspect-ratio: 16 / 9;
}

.jutsu--image {
  cursor: none;
}

/* The storm image — always present in DOM, revealed only by mask */
.jutsu__reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: url("frames/storm.webp") center center / contain no-repeat;
  /* Default: fully dark — mask collapses to 0 radius */
  -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, #000 0%, transparent 0%);
  mask-image: radial-gradient(circle 0px at 50% 50%, #000 0%, transparent 0%);
  filter: saturate(1.2) contrast(1.15) brightness(1.05);
  transition: filter .4s var(--ease);
  will-change: mask-image, -webkit-mask-image;
}

/* When cursor is on section: mask opens as a big spotlight following the cursor */
.jutsu.lit .jutsu__reveal {
  -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--rx, 50%) var(--ry, 50%),
      #000 0%,
      #000 40%,
      rgba(0, 0, 0, .85) 68%,
      rgba(0, 0, 0, .5) 82%,
      transparent 100%);
  mask-image: radial-gradient(circle var(--r, 0px) at var(--rx, 50%) var(--ry, 50%),
      #000 0%,
      #000 40%,
      rgba(0, 0, 0, .85) 68%,
      rgba(0, 0, 0, .5) 82%,
      transparent 100%);
  filter: saturate(1.35) contrast(1.2) brightness(1.3);
}

/* Red smoke flare that follows cursor */
.jutsu__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s var(--ease);
  background: radial-gradient(circle var(--r, 200px) at var(--rx, 50%) var(--ry, 50%),
      rgba(192, 18, 31, .28),
      rgba(120, 8, 16, .14) 48%,
      transparent 72%);
  mix-blend-mode: screen;
  will-change: background;
}

.jutsu.lit .jutsu__rain {
  opacity: 1;
}

/* WebGL ghost smoke canvas */
.ghost {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.jutsu.lit .ghost {
  opacity: 1;
}

.jutsu.over-image .ghost,
.jutsu.over-image .jutsu__rain {
  opacity: 0 !important;
}

/* Full-image preview wrapper: shows storm.png with black vignette and bottom red smoke initially,
   then fades smoothly to black after 0.5s so the cursor flashlight takes over. */
.jutsu__preview-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

/* When dimmed class is applied (after 0.5s), slowly fade preview to black */
.jutsu.dimmed .jutsu__preview-wrap {
  opacity: 0;
}

.jutsu__preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("frames/storm.webp") center center / contain no-repeat;
  filter: saturate(1.15) contrast(1.1) brightness(0.95);
}

.jutsu__preview-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.75) 80%, #000000 100%);
  pointer-events: none;
}

.jutsu__preview-smoke {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background:
    radial-gradient(ellipse 90% 65% at 50% 100%, rgba(255, 35, 35, 0.65), rgba(180, 10, 20, 0.35) 45%, transparent 80%),
    linear-gradient(0deg, rgba(200, 15, 25, 0.5) 0%, rgba(120, 8, 15, 0.25) 50%, transparent 100%);
  filter: blur(10px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: smokePulse 2.8s ease-in-out infinite alternate;
}

@keyframes smokePulse {
  0% { opacity: 0.75; transform: translateY(0); }
  100% { opacity: 1.0; transform: translateY(-8px); }
}


.jutsu__head {
  max-width: 56ch;
  margin-bottom: clamp(3rem, 8vh, 6rem)
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .42em;
  color: var(--blood-hot);
  margin-bottom: 1.4rem;
}

.jutsu__head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: .08em;
  line-height: 1.3;
}

.jutsu__head p {
  font-family: var(--serif);
  margin-top: 1.4rem;
  line-height: 2;
  font-size: .9rem;
  color: rgba(232, 228, 220, .58);
}

.jutsu__grid {
  display: grid;
  gap: 1px;
  background: rgba(232, 228, 220, .09);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  border: 1px solid rgba(232, 228, 220, .09);
}

.card {
  background: var(--ink-2);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease);
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(192, 18, 31, .4), transparent 62%);
  opacity: 0;
  transition: opacity .55s var(--ease);
}

.card:hover {
  background: #0f0b0c
}

.card:hover::after {
  opacity: 1
}

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

.card__num {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .34em;
  color: var(--smoke);
}

.card__jp {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: .08em;
  margin: auto 0 .5rem;
  transition: color .45s var(--ease), text-shadow .45s var(--ease);
}

.card:hover .card__jp {
  color: var(--blood-hot);
  text-shadow: 0 0 34px rgba(255, 43, 43, .5)
}

.card__ro {
  font-family: var(--display);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .4em;
  color: var(--smoke);
  margin-bottom: 1.2rem;
}

.card__txt {
  font-family: var(--serif);
  font-size: .82rem;
  line-height: 2;
  color: rgba(232, 228, 220, .55);
}

.card__foot {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 228, 220, .1);
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .26em;
  color: rgba(232, 228, 220, .34);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.card__foot i {
  font-style: normal;
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--blood-hot);
}

/* head extras */
.jutsu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: 2.4rem;
}

.jutsu__meta span {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .28em;
  color: rgba(232, 228, 220, .38);
}

.jutsu__meta i {
  font-style: normal;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .18em;
  color: var(--bone);
}

.jutsu__hint {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .3em;
  color: var(--blood-hot);
  opacity: .8;
}

.jutsu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(232, 228, 220, .08);
}

.jutsu__foot span:first-child {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .2em;
  color: rgba(232, 228, 220, .75);
}

.jutsu__foot span:last-child {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .28em;
  color: rgba(232, 228, 220, .34);
  align-self: flex-end;
}

/* 天照 — bottom right anchor */
.jutsu__amaterasu {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1.4rem, 4vh, 3rem);
  z-index: 3;
  pointer-events: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.jutsu__amaterasu-jp {
  font-family: var(--serif);
  font-weight: 800;
  line-height: .86;
  font-size: clamp(3.4rem, 11vw, 9rem);
  letter-spacing: .06em;
  color: transparent;
  background: linear-gradient(170deg, rgba(255, 43, 43, .92), rgba(120, 6, 12, .35) 62%, rgba(232, 228, 220, .06));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 44px rgba(192, 18, 31, .5));
}

.jutsu__amaterasu-ro {
  font-family: var(--display);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .5em;
  color: rgba(232, 228, 220, .5);
}

.jutsu__amaterasu-sub {
  font-family: var(--serif);
  font-size: .62rem;
  letter-spacing: .34em;
  color: rgba(232, 228, 220, .28);
}

/* ═══════════ ACT IV — QUOTE ═══════════ */
.quote {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(2rem, 5vh, 3.5rem);
  text-align: center;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: 'VIVIDHATA';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 18rem);
  color: rgba(232, 228, 220, .025);
  letter-spacing: .06em;
  pointer-events: none;
}

.quote__jp {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  letter-spacing: .14em;
  position: relative;
}

.quote__jp .dots {
  color: var(--blood-hot)
}

.quote blockquote {
  max-width: 62ch;
  position: relative
}

.quote blockquote p {
  font-family: var(--serif);
  font-size: clamp(.95rem, 1.5vw, 1.18rem);
  line-height: 2.3;
  color: rgba(232, 228, 220, .78);
}

.quote cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .4em;
  color: var(--blood-hot);
}

.quote__mark {
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .6em;
  color: var(--smoke);
  position: relative;
}

/* ═══════════ FOOTER ═══════════ */
footer {
  border-top: 1px solid rgba(232, 228, 220, .08);
  padding: clamp(3rem, 8vh, 6rem) clamp(1.4rem, 6vw, 6rem) 3rem;
}

.footer__big {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: .06em;
  background: linear-gradient(180deg, rgba(232, 228, 220, .9), rgba(232, 228, 220, .06));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .3em;
  color: var(--smoke);
}

.footer__row span:last-child {
  font-family: var(--serif);
  letter-spacing: .24em
}

/* scroll-driven parallax + fade (JS owns transform/opacity) */
[data-px],
.jutsu__grid .card {
  will-change: transform, opacity
}

/* ═══════════ REVEALS ═══════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

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

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width:820px) {
  .scrub {
    height: 520vh
  }

  .phase {
    left: 50%;
    top: auto;
    bottom: 18vh;
    transform: translate(-50%, var(--y, 0px));
    text-align: center;
    max-width: 86vw;
  }

  .titleblock {
    bottom: 8vh
  }



  .rail {
    display: none
  }

  .jutsu {
    padding-bottom: clamp(12rem, 26vh, 16rem)
  }

  .jutsu__amaterasu {
    left: clamp(1rem, 4vw, 4rem);
    align-items: flex-start;
    text-align: left
  }

  .jutsu__amaterasu-jp {
    font-size: clamp(3rem, 17vw, 6rem)
  }

  .jutsu__foot span:last-child {
    align-self: flex-start
  }
}

/* ═══════════ GALLERY SECTION ═══════════ */
.gallery-section {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 6vw, 6rem);
  background: var(--ink);
  border-top: 1px solid rgba(232, 228, 220, .08);
}

.gallery__container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.gallery__head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  letter-spacing: .08em;
  margin-top: .6rem;
}

.gallery__head h2 span {
  color: var(--blood-hot);
}

.gallery__head p {
  font-family: var(--serif);
  font-size: clamp(.85rem, 1.2vw, 1.05rem);
  color: rgba(232, 228, 220, .6);
  margin-top: .8rem;
}

.gallery__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(520px, 72vh, 750px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 228, 220, .14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .85), 0 0 35px rgba(192, 18, 31, .18);
  background: #000;
}

.gallery__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
  transform: scale(1.02);
}

.gallery__slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1) contrast(1.05);
}

.gallery__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  padding: .65rem 1.4rem;
  background: rgba(11, 11, 13, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 228, 220, .16);
  border-radius: 12px;
  max-width: max-content;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .6);
}

.gallery__tag {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .32em;
  color: var(--blood-hot);
  display: block;
}

.gallery__caption h3 {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: .06em;
  color: var(--bone);
  margin-top: .2rem;
}

/* Controls & Buttons */
.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(232, 228, 220, .22);
  background: rgba(11, 11, 13, .65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bone);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}

.gallery__btn--prev {
  left: 1.8rem;
}

.gallery__btn--next {
  right: 1.8rem;
}

.gallery__btn:hover {
  border-color: var(--blood-hot);
  background: rgba(192, 18, 31, .85);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.gallery__dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  gap: .75rem;
}

.gallery__dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(232, 228, 220, .4);
  background: rgba(232, 228, 220, .2);
  cursor: pointer;
  transition: background .35s, border-color .35s, transform .35s;
}

.gallery__dots .dot.active {
  background: var(--blood-hot);
  border-color: var(--blood-hot);
  transform: scale(1.3);
  box-shadow: 0 0 12px var(--blood-hot);
}

/* Fail-safe: Hide all red smoke, WebGL ghost smoke, Amaterasu flames, storm, grain, vignette and glows ONLY on Application portal page */
body.app-page .amaterasu,
body.app-page .amaterasu-bed,
body.app-page .storm,
body.app-page .ghost,
body.app-page #ghostCanvas,
body.app-page #scrubGlow,
body.app-page .grain,
body.app-page .vignette,
body.app-page .scanlines {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ═══════════ RECRUITMENT TEASER SECTION (HOME PAGE) ═══════════ */
.recruitment-teaser {
  position: relative;
  z-index: 20;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.4rem, 6vw, 6rem);
  background: #000000;
  border-top: none;
  border-bottom: none;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative dark background curves - clean geometric lines only */
.teaser__bg-curves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000000;
}

/* Subtle LED-style vector lines */
.teaser__bg-curves::before,
.teaser__bg-curves::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 43, 43, 0.08);
}

.teaser__bg-curves::before {
  width: 140%;
  height: 80%;
  top: -30%;
  right: -40%;
  transform: rotate(-15deg);
}

.teaser__bg-curves::after {
  width: 120%;
  height: 60%;
  bottom: -20%;
  left: -30%;
  transform: rotate(10deg);
}

.teaser__container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow row with diamond decorators */
.teaser__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.teaser__eyebrow-row .eyebrow {
  margin-bottom: 0;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
}

/* Diamond shapes */
.teaser__diamond {
  width: 7px;
  height: 7px;
  background: var(--blood-hot);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.8;
}

.teaser__diamond--glow {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 8px var(--blood-hot), 0 0 20px rgba(255, 43, 43, 0.4);
  opacity: 1;
  animation: diamondPulse 2.4s ease-in-out infinite;
}

@keyframes diamondPulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--blood-hot), 0 0 20px rgba(255, 43, 43, 0.4);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 14px var(--blood-hot), 0 0 36px rgba(255, 43, 43, 0.7);
    opacity: 0.85;
  }
}

.teaser__container h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: 0.14em;
  line-height: 1.15;
  margin: 0 0 1.2rem;
}

.teaser__container h2 span {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: 0.08em;
  color: transparent;
  background: linear-gradient(135deg, #ff2b2b 0%, #c0121f 40%, #8a0a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(255, 43, 43, 0.35));
}

.teaser__container p {
  font-family: var(--serif);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  letter-spacing: 0.06em;
  color: rgba(232, 228, 220, 0.6);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* LED Glowing Divider */
.teaser__led-divider {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(480px, 80%);
  margin-bottom: 2.8rem;
}

.teaser__led-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 43, 43, 0.15) 10%,
      rgba(255, 43, 43, 0.7) 30%,
      var(--blood-hot) 50%,
      rgba(255, 43, 43, 0.7) 70%,
      rgba(255, 43, 43, 0.15) 90%,
      transparent);
  box-shadow: 0 0 8px rgba(255, 43, 43, 0.5), 0 0 20px rgba(255, 43, 43, 0.25);
  animation: ledPulse 2.4s ease-in-out infinite;
}

@keyframes ledPulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(255, 43, 43, 0.5), 0 0 20px rgba(255, 43, 43, 0.25);
    opacity: 0.85;
  }

  50% {
    box-shadow: 0 0 14px rgba(255, 43, 43, 0.8), 0 0 36px rgba(255, 43, 43, 0.45);
    opacity: 1;
  }
}

/* Department Cards Grid */
.teaser__dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 860px;
  margin-bottom: 3rem;
}

.teaser__dept-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 1rem;
  background: rgba(12, 8, 8, 0.6);
  border: 1px solid rgba(232, 228, 220, 0.08);
  border-radius: 14px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease, background 0.4s ease;
  cursor: default;
}

.teaser__dept-card:hover {
  border-color: rgba(255, 43, 43, 0.35);
  box-shadow:
    0 0 20px rgba(255, 43, 43, 0.12),
    inset 0 0 20px rgba(255, 43, 43, 0.04);
  transform: translateY(-4px);
  background: rgba(20, 8, 8, 0.8);
}

.teaser__dept-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blood-hot);
  filter: drop-shadow(0 0 6px rgba(255, 43, 43, 0.3));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.teaser__dept-card:hover .teaser__dept-icon {
  filter: drop-shadow(0 0 12px rgba(255, 43, 43, 0.6)) drop-shadow(0 0 24px rgba(255, 43, 43, 0.3));
  transform: scale(1.08);
}

.teaser__dept-icon svg {
  width: 100%;
  height: 100%;
}

.teaser__dept-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(232, 228, 220, 0.65);
  transition: color 0.35s ease;
}

.teaser__dept-card:hover .teaser__dept-label {
  color: rgba(232, 228, 220, 0.95);
}

/* Red Clickable CTA Box Button */
.teaser__cta-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.9) 0%, rgba(10, 2, 2, 0.95) 100%);
  border: 1px solid rgba(255, 43, 43, 0.4);
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 0 30px rgba(255, 43, 43, 0.15),
    0 0 60px rgba(255, 43, 43, 0.08),
    inset 0 1px 0 rgba(255, 43, 43, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.teaser__cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(255, 43, 43, 0.5),
      rgba(255, 43, 43, 0.1) 30%,
      rgba(255, 43, 43, 0.1) 70%,
      rgba(255, 43, 43, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  animation: ctaBorderGlow 2.8s ease-in-out infinite;
}

@keyframes ctaBorderGlow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.9;
  }
}

/* Bottom LED glow line */
.teaser__cta-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood-hot), transparent);
  box-shadow: 0 0 12px var(--blood-hot), 0 0 30px rgba(255, 43, 43, 0.4);
  animation: ctaBottomGlow 2.8s ease-in-out infinite;
}

@keyframes ctaBottomGlow {

  0%,
  100% {
    box-shadow: 0 0 12px var(--blood-hot), 0 0 30px rgba(255, 43, 43, 0.4);
    opacity: 0.7;
  }

  50% {
    box-shadow: 0 0 20px var(--blood-hot), 0 0 50px rgba(255, 43, 43, 0.65);
    opacity: 1;
  }
}

.teaser__cta-box:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 85, 85, 0.6);
  box-shadow:
    0 0 50px rgba(255, 43, 43, 0.3),
    0 0 100px rgba(255, 43, 43, 0.15),
    inset 0 0 30px rgba(255, 43, 43, 0.08);
}

.teaser__cta-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #ffffff;
  background: var(--blood-hot);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 14px var(--blood-hot), 0 0 28px rgba(255, 43, 43, 0.3);
}

.teaser__cta-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.teaser__cta-arrows {
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--blood-hot);
  letter-spacing: -0.05em;
  text-shadow: 0 0 10px rgba(255, 43, 43, 0.5);
  animation: arrowPulse 1.8s ease-in-out infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.teaser__cta-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: 0.18em;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

.teaser__cta-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 160, 160, 0.7);
}

.teaser__cta-sub strong {
  color: var(--blood-hot);
  font-weight: 700;
}

/* Responsive: 2 columns on tablets, 2 on small phones */
@media (max-width: 820px) {
  .teaser__dept-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
  }

  .teaser__dept-card {
    padding: 1.2rem 0.6rem;
  }

  .teaser__dept-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .teaser__dept-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .teaser__dept-card {
    padding: 1.4rem 0.8rem;
  }

  .teaser__cta-box {
    padding: 1.6rem 1.5rem;
  }
}


.app-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blood-hot);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.app-back-link:hover {
  transform: translateX(-4px);
  color: #ffffff;
}

/* ═══════════ APPLICATION PAGE HERO & BADGES ═══════════ */
.app-status-badge {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #ff3b3b;
  background: rgba(255, 43, 43, 0.12);
  border: 1px solid rgba(255, 43, 43, 0.35);
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(255, 43, 43, 0.2);
}

.app-hero-head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
  position: relative;
  padding: 3.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(550px, 80vw, 1000px);
  height: clamp(550px, 80vw, 1000px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
}

.app-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(255, 43, 43, 0.3));
}

.logo-ring-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 43, 43, 0.4);
  box-shadow: 0 0 45px rgba(255, 43, 43, 0.25);
  animation: rotateRing 25s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.app-hero-head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 0.12em;
  margin-top: 0.6rem;
}

.app-hero-head h2 span {
  color: var(--blood-hot);
  text-shadow: 0 0 32px rgba(255, 43, 43, 0.5);
}

.app-hero-head p {
  font-family: var(--serif);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.08em;
  color: rgba(232, 228, 220, 0.7);
  max-width: 680px;
  margin: 0.8rem auto 0;
  line-height: 1.6;
}

/* ═══════════ RECRUITMENT REGISTRATION SECTION ═══════════ */
.registration-section {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.4rem, 6vw, 6rem);
  background: #060608;
  border-top: 1px solid rgba(232, 228, 220, 0.1);
  border-bottom: 1px solid rgba(232, 228, 220, 0.1);
}

.registration__container {
  max-width: 940px;
  margin: 0 auto;
}

.registration__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.registration__head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}

.registration__head h2 span {
  color: var(--blood-hot);
  text-shadow: 0 0 24px rgba(255, 43, 43, 0.4);
}

.registration__head p {
  font-family: var(--serif);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  letter-spacing: 0.08em;
  color: rgba(232, 228, 220, 0.65);
  max-width: 680px;
  margin: 0.8rem auto 0;
  line-height: 1.6;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.reg-form__card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(232, 228, 220, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reg-form__card:hover {
  border-color: rgba(255, 43, 43, 0.35);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 43, 43, 0.12);
}

.reg-form__card-title {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  color: var(--blood-hot);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(232, 228, 220, 0.12);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reg-form__card-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 43, 43, 0.15);
  border: 1px solid var(--blood-hot);
  font-size: 0.72rem;
  color: #fff;
}

.reg-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1.6rem;
}

.reg-form__stack {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.reg-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.reg-form__field.full-width {
  grid-column: 1 / -1;
}

.reg-form__field label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(232, 228, 220, 0.88);
  font-weight: 500;
}

.reg-form__field label .req {
  color: var(--blood-hot);
  margin-left: 2px;
  font-weight: 700;
}

.reg-form__field input[type="text"],
.reg-form__field input[type="email"],
.reg-form__field input[type="tel"],
.reg-form__field input[type="url"],
.reg-form__field select,
.reg-form__field textarea {
  width: 100%;
  background: rgba(8, 6, 12, 0.85);
  border: 1px solid rgba(232, 228, 220, 0.18);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  color: #e8e4dc;
  font-family: var(--sans, sans-serif);
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

.reg-form__field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff2b2b' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.8rem;
}

.reg-form__field select option {
  background: #0e0a12;
  color: #e8e4dc;
  padding: 0.5rem;
}

.reg-form__field textarea {
  resize: vertical;
  min-height: 90px;
}

.reg-form__field input:focus,
.reg-form__field select:focus,
.reg-form__field textarea:focus {
  outline: none;
  border-color: var(--blood-hot);
  background: rgba(12, 8, 18, 0.95);
  box-shadow: 0 0 16px rgba(255, 43, 43, 0.35);
}

.reg-form__radio-group {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.reg-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  background: rgba(8, 6, 12, 0.7);
  border: 1px solid rgba(232, 228, 220, 0.16);
  border-radius: 20px;
  font-family: var(--sans, sans-serif);
  font-size: 0.88rem;
  color: rgba(232, 228, 220, 0.85);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.reg-radio:hover {
  border-color: rgba(255, 43, 43, 0.4);
}

.reg-radio:has(input:checked) {
  border-color: var(--blood-hot);
  background: rgba(255, 43, 43, 0.16);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 43, 43, 0.25);
}

.reg-radio input[type="radio"] {
  accent-color: var(--blood-hot);
  width: 17px;
  height: 17px;
  cursor: pointer;
  margin: 0;
}

.reg-form__skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.skill-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  background: rgba(8, 6, 12, 0.75);
  border: 1px solid rgba(232, 228, 220, 0.16);
  border-radius: 22px;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.skill-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.skill-pill span {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 220, 0.75);
}

.skill-pill:has(input:checked) {
  background: rgba(255, 43, 43, 0.2);
  border-color: var(--blood-hot);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 43, 43, 0.25);
}

.skill-pill:has(input:checked) span {
  color: #ffffff;
  font-weight: 600;
}

.file-upload-box {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.file-upload-box input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(8, 6, 12, 0.85);
  border: 1px dashed rgba(255, 43, 43, 0.4);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: rgba(232, 228, 220, 0.8);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.file-upload-box:hover .file-upload-label {
  border-color: var(--blood-hot);
  background: rgba(255, 43, 43, 0.1);
  color: #ffffff;
}

.file-preview-card {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 12, 20, 0.95);
  border: 1px solid rgba(255, 43, 43, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.file-preview-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 43, 43, 0.5);
  flex-shrink: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.file-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
}

.file-preview-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--blood-hot);
  font-weight: 700;
}

.file-preview-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reg-form__card--submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* ══════════ WHATSAPP COMMUNITY BANNER ══════════ */
.whatsapp-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(18, 45, 18, 0.95) 0%, rgba(6, 30, 14, 0.98) 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 28px rgba(37, 211, 102, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.whatsapp-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(37, 211, 102, 0.25);
}

.whatsapp-banner__glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.whatsapp-banner__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #25d366;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-banner__icon svg {
  width: 26px;
  height: 26px;
}

.whatsapp-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.whatsapp-banner__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #25d366;
  text-transform: uppercase;
}

.whatsapp-banner__title {
  font-family: var(--serif, 'Cinzel', serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.whatsapp-banner__sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

.whatsapp-banner__arrow {
  flex-shrink: 0;
  color: #25d366;
  width: 22px;
  height: 22px;
}

.whatsapp-banner__arrow svg {
  width: 22px;
  height: 22px;
}

.declaration-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 0.92rem;
  color: rgba(232, 228, 220, 0.9);
  line-height: 1.4;
  max-width: 620px;
}


.declaration-checkbox input[type="checkbox"] {
  accent-color: var(--blood-hot);
  width: 19px;
  height: 19px;
  cursor: pointer;
  flex-shrink: 0;
}

.reg-submit-btn {
  position: relative;
  padding: 1.1rem 4rem;
  background: linear-gradient(135deg, #ff3b3b 0%, #c41212 100%);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 28px rgba(255, 43, 43, 0.45);
}

.reg-submit-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(255, 43, 43, 0.75);
}

.reg-success {
  background: rgba(18, 14, 22, 0.85);
  border: 1px solid var(--blood-hot);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 0 48px rgba(255, 43, 43, 0.25);
  animation: fadeInSuccess 0.5s ease forwards;
}

.reg-success__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--blood-hot);
  color: #fff;
  font-size: 2rem;
  line-height: 60px;
  box-shadow: 0 0 24px var(--blood-hot);
}

.reg-success h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 0.8rem;
}

.reg-success p {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: rgba(232, 228, 220, 0.75);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.reg-success__btn {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--blood-hot);
  color: #fff;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reg-success__btn:hover {
  background: var(--blood-hot);
}

.chrome__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  order: 2;
  margin-left: 0;
}

.chrome__hamburger {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE & PHONE SCREEN OPTIMIZATION MODULE
   Strictly scoped for viewports <= 768px and <= 480px.
   Desktop / PC rules (>768px) remain 100% untouched.
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── 1. Chrome & Mobile Hamburger Navigation Header ── */
  .chrome {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.8rem 1.1rem !important;
    background: rgba(5, 5, 6, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 43, 43, 0.2) !important;
  }

  /* Top left logo + title */
  .chrome__mark {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  .nav__logo {
    height: 36px !important;
  }

  .chrome__mark span {
    font-size: 0.78rem !important;
    letter-spacing: 0.22em !important;
  }

  .chrome__actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    margin-left: auto !important;
    z-index: 10001 !important;
  }

  .chrome__sound {
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hamburger Toggle Button (Top Right) */
  .chrome__hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 32px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 10001 !important;
  }

  .chrome__hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease !important;
  }

  /* Hamburger X Animation when open */
  .chrome__hamburger.open span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg) !important;
    background-color: var(--blood-hot) !important;
  }

  .chrome__hamburger.open span:nth-child(2) {
    opacity: 0 !important;
  }

  .chrome__hamburger.open span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg) !important;
    background-color: var(--blood-hot) !important;
  }

  /* Full Screen Glassmorphic Drawer for Mobile Nav Links */
  .chrome__nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(6, 4, 10, 0.97) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.4rem !important;
    padding: 2rem 1.5rem !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-16px) !important;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .chrome__nav.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Significantly Larger & Readable Nav Link Sizes on Phones */
  .chrome__nav a {
    font-family: var(--serif, serif) !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.22em !important;
    font-weight: 700 !important;
    color: rgba(232, 228, 220, 0.92) !important;
    padding: 0.7rem 1.8rem !important;
    text-transform: uppercase !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 300px !important;
    border-bottom: 1px solid rgba(255, 43, 43, 0.15) !important;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease !important;
  }

  .chrome__nav a:last-of-type {
    border-bottom: none !important;
  }

  .chrome__nav a:hover,
  .chrome__nav a.active {
    color: var(--blood-hot) !important;
    transform: scale(1.06) !important;
    text-shadow: 0 0 16px rgba(255, 43, 43, 0.6) !important;
  }

  .chrome__nav a::before {
    display: block !important;
    position: static !important;
    font-size: 0.72rem !important;
    color: var(--blood-hot) !important;
    margin-bottom: 0.2rem !important;
    opacity: 0.85 !important;
    transform: none !important;
  }

  .chrome__sound {
    margin-top: 0.8rem !important;
  }

  /* ── 2. Hide Non-Essential Fixed Overlays ── */
  .rail {
    display: none !important;
  }

  .hint {
    display: none !important;
  }

  /* ── 3. Preloader (Mobile Specific Optimizations) ── */
  .loader__inner {
    width: 88% !important;
    max-width: 360px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .loader__glyph {
    gap: 1.2rem !important;
  }

  .loader__logo {
    height: clamp(110px, 32vw, 160px) !important;
    width: auto !important;
    filter: drop-shadow(0 0 35px rgba(255, 43, 43, 0.85)) !important;
  }

  .loader__glyph span {
    font-size: clamp(1.35rem, 6vw, 2.1rem) !important;
    letter-spacing: 0.35em !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 0 30px rgba(255, 43, 43, 0.6) !important;
  }

  .loader__bar {
    width: 100% !important;
    height: 3px !important;
    border-radius: 3px !important;
    margin: 2rem 0 1rem !important;
    background: rgba(232, 228, 220, 0.12) !important;
  }

  .loader__bar span {
    border-radius: 3px !important;
    box-shadow: 0 0 18px var(--blood-hot) !important;
  }

  .loader__meta {
    width: 100% !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.32em !important;
    color: rgba(232, 228, 220, 0.85) !important;
    font-weight: 600 !important;
  }

  /* ── 4. Act I — Scroll Scrub & Captions (Mobile Overlap Fix) ── */
  .scrub__sticky #mainCanvas {
    transform: translateY(-8vh) !important;
  }

  .phase {
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 19vh !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 360px !important;
    padding: 0.8rem 1rem !important;
    text-align: center !important;
    background: rgba(5, 5, 8, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 43, 43, 0.15) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  }

  .phase__jp {
    font-size: clamp(1.3rem, 5.8vw, 1.9rem) !important;
    letter-spacing: 0.08em !important;
    color: #ffffff !important;
  }

  .phase__en {
    font-size: clamp(0.68rem, 3vw, 0.85rem) !important;
    letter-spacing: 0.22em !important;
    margin-top: 0.25rem !important;
    color: var(--blood-hot) !important;
  }

  .phase__sub {
    font-size: clamp(0.76rem, 3.2vw, 0.88rem) !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin: 0.4rem auto 0 !important;
    color: rgba(232, 228, 220, 0.85) !important;
  }

  .titleblock {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -46%) !important;
    width: 92% !important;
    max-width: 380px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero__logo {
    height: clamp(210px, 58vw, 290px) !important;
    width: auto !important;
    margin: 0 auto 1.4rem auto !important;
    filter: drop-shadow(0 0 45px rgba(255, 43, 43, 0.85)) !important;
  }

  .titleblock__kicker {
    font-size: clamp(0.6rem, 2.7vw, 0.72rem) !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 0.5rem !important;
    color: rgba(232, 228, 220, 0.85) !important;
    white-space: nowrap !important;
  }

  .titleblock__jp {
    font-size: clamp(2.4rem, 10vw, 3.6rem) !important;
    letter-spacing: 0.14em !important;
    line-height: 1.1 !important;
    margin-bottom: 0.5rem !important;
  }

  .titleblock__en {
    font-size: clamp(0.58rem, 2.5vw, 0.7rem) !important;
    letter-spacing: 0.15em !important;
    margin-top: 0.35rem !important;
    white-space: nowrap !important;
    color: rgba(232, 228, 220, 0.75) !important;
  }

  /* ── 5. Recruitment Teaser ── */
  .recruitment-teaser {
    padding: 4rem 1.2rem;
  }

  .teaser__container {
    max-width: 100%;
  }

  .teaser__eyebrow-row {
    gap: 0.4rem;
  }

  .eyebrow {
    font-size: clamp(0.58rem, 2.6vw, 0.72rem);
    letter-spacing: 0.2em;
  }

  .recruitment-teaser h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.6rem);
    letter-spacing: 0.08em;
    margin: 0.8rem 0 1rem;
  }

  .recruitment-teaser p {
    font-size: clamp(0.85rem, 3.5vw, 0.98rem);
    line-height: 1.6;
  }

  .recruitment-teaser p br {
    display: none;
  }

  .teaser__cta-box {
    width: 100%;
    max-width: 320px;
    margin: 1.8rem auto 0;
    padding: 1rem 1.8rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .teaser__cta-title {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
  }

  /* ── 6. Gallery Carousel ── */
  .gallery-section {
    padding: 2rem 1rem 1rem;
  }

  .gallery__slider {
    margin-top: 1.5rem;
    border-radius: 12px;
  }

  .gallery__slide {
    height: 100%;
  }

  .gallery__btn {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.6);
  }

  .gallery__btn--prev {
    left: 8px;
  }

  .gallery__btn--next {
    right: 8px;
  }

  .gallery__dots {
    bottom: 12px;
    gap: 8px;
  }

  .gallery__dots .dot {
    width: 8px;
    height: 8px;
  }

  /* ── 7. Recruitment Application Portal (`application.html`) ── */
  .registration-section {
    padding: clamp(4.5rem, 10vh, 6rem) 0.85rem 3rem !important;
  }

  .registration__container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .app-hero-head {
    padding: 2.2rem 0.5rem 1.2rem;
    margin-bottom: 2rem;
  }

  .app-hero-logo {
    width: clamp(300px, 85vw, 460px);
    height: clamp(300px, 85vw, 460px);
    opacity: 0.04;
  }

  .app-hero-head .eyebrow {
    font-size: clamp(0.55rem, 2.5vw, 0.68rem);
    letter-spacing: 0.15em;
    padding: 4px 10px;
    text-align: center;
  }

  .app-hero-head h2 {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem);
    letter-spacing: 0.06em;
    margin-top: 0.6rem;
  }

  .app-hero-head h2 span {
    font-size: clamp(1.25rem, 5.5vw, 1.9rem);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
  }

  .app-hero-head p {
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
    padding: 0 0.5rem;
    margin-top: 0.8rem;
    line-height: 1.55;
  }

  /* Form Cards & Inputs */
  .reg-form__card {
    padding: 1.3rem 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.25rem !important;
    background: rgba(12, 10, 16, 0.88) !important;
  }

  .reg-form__card-title {
    font-size: 0.92rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1.2rem !important;
  }

  .reg-form__grid {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
  }

  .reg-form__stack {
    gap: 1.1rem !important;
  }

  .reg-form__field label {
    font-size: 0.8rem !important;
    margin-bottom: 0.45rem !important;
  }

  /* Prevent automatic iOS browser zoom on focus by enforcing font-size: 16px */
  .reg-form__field input[type="text"],
  .reg-form__field input[type="email"],
  .reg-form__field input[type="tel"],
  .reg-form__field input[type="url"],
  .reg-form__field select,
  .reg-form__field textarea {
    font-size: 16px !important;
    padding: 0.8rem 0.9rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    background: rgba(5, 5, 6, 0.9) !important;
  }

  .reg-form__radio-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .reg-radio {
    padding: 0.7rem 0.9rem !important;
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid rgba(232, 228, 220, 0.18) !important;
    background: rgba(5, 5, 6, 0.7) !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-height: 46px !important;
    cursor: pointer;
  }

  .reg-radio input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--blood-hot) !important;
    flex-shrink: 0;
  }

  .reg-form__skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .skill-pill {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    text-align: center !important;
  }

  .skill-pill input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }

  .file-upload-box {
    min-height: 48px;
  }

  .file-upload-label {
    padding: 0.85rem 0.9rem !important;
    font-size: 0.8rem !important;
    min-height: 48px !important;
    border-radius: 8px !important;
  }

  .file-preview-card {
    padding: 0.65rem 0.85rem;
    gap: 0.75rem;
    border-radius: 8px;
  }

  .file-preview-thumb {
    width: 44px;
    height: 44px;
  }

  .file-preview-name {
    font-size: 0.78rem;
  }

  .declaration-checkbox {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    gap: 0.65rem !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .declaration-checkbox input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    accent-color: var(--blood-hot) !important;
  }

  .reg-submit-btn {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.18em !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .reg-success {
    padding: 2rem 1.1rem !important;
    border-radius: 12px !important;
  }

  .reg-success h3 {
    font-size: 1.15rem !important;
  }

  .reg-success p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  .reg-success__btn {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
  }

  /* ── 8. Footer on Mobile ── */
  footer#end {
    padding: 2.5rem 1rem 2rem;
  }

  .footer__big {
    font-size: clamp(1.2rem, 5.5vw, 2rem);
    letter-spacing: 0.15em;
  }

  .footer__row {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.72rem;
    text-align: center;
  }
}

/* Extra small phone screens (e.g. iPhone SE, 320px - 380px) */
@media (max-width: 480px) {
  .chrome {
    padding: 0.75rem 0.85rem;
  }

  .chrome__mark span {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .chrome__nav {
    gap: 0.5rem;
  }

  .chrome__nav a {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .reg-form__skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)) !important;
  }
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═════════════════════ SUCCESS POPUP MODAL WINDOW ═════════════════════ */
.success-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(5, 4, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInModalBg 0.3s ease forwards;
}

@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(15, 12, 22, 0.96);
  border: 1px solid var(--blood-hot);
  border-radius: 18px;
  padding: 2.5rem 1.8rem 2rem;
  text-align: center;
  box-shadow: 0 0 50px rgba(255, 43, 43, 0.4), 0 20px 60px rgba(0, 0, 0, 0.9);
  animation: popInModalCard 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes popInModalCard {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 0.8rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: rgba(232, 228, 220, 0.6);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--blood-hot);
  transform: scale(1.15);
}

.success-modal-icon-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(255, 43, 43, 0.15);
  border: 1px solid var(--blood-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(255, 43, 43, 0.4);
}

.success-modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blood-hot);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--blood-hot);
}

.success-modal-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--blood-hot);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.success-modal-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.success-modal-desc {
  font-family: var(--serif);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  line-height: 1.6;
  color: rgba(232, 228, 220, 0.8);
  margin-bottom: 1.8rem;
}

.success-modal-desc strong {
  color: #ffffff;
}

.success-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.success-modal-primary-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--blood-hot);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.4);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.success-modal-primary-btn:hover {
  background: #ff4545;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 43, 43, 0.6);
}

.success-modal-secondary-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: rgba(232, 228, 220, 0.75);
  border: 1px solid rgba(232, 228, 220, 0.2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.success-modal-secondary-btn:hover {
  border-color: var(--blood-hot);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   PHONE SCREEN: JUTSU IMAGE — storm2.png (1:1), no cursor/glow
   Only for viewports <= 768px. Desktop/PC rules untouched.
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   PREVIOUS PHONE OVERRIDE CODE — COMMENTED OUT AS REQUESTED
   ═══════════════════════════════════════════════════════════ */
/*
@media (max-width: 768px) {
  .jutsu.jutsu--image {
    aspect-ratio: 1 / 1 !important;
    cursor: auto !important;
  }

  .jutsu__reveal {
    background-image: url("frames/storm2.webp") !important;
    background-size: cover !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .jutsu.lit .jutsu__reveal {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
  }

  .jutsu .jutsu__rain {
    display: none !important;
  }

  .jutsu .ghost,
  .jutsu #ghostCanvas {
    display: none !important;
  }

  .jutsu__preview-wrap {
    opacity: 1 !important;
    transition: none !important;
  }

  .jutsu.dimmed .jutsu__preview-wrap {
    opacity: 1 !important;
  }

  .jutsu__preview-img {
    background-image: url("frames/storm2.webp") !important;
    background-size: cover !important;
    filter: none !important;
  }

  .jutsu__preview-vignette {
    display: none !important;
  }

  .jutsu__preview-smoke {
    display: none !important;
  }

  .cursor {
    display: none !important;
  }

  .scrub__glow {
    display: none !important;
  }

  main {
    display: flex !important;
    flex-direction: column !important;
  }

  .scrub {
    order: 1 !important;
  }

  .recruitment-teaser {
    order: 2 !important;
    padding: 2rem 1.2rem 1.5rem !important;
    background: #000 !important;
  }

  .jutsu.jutsu--image {
    order: 3 !important;
  }

  .gallery-section {
    order: 4 !important;
  }

  .quote {
    order: 99 !important;
    min-height: auto !important;
    padding: 2.5rem 1.2rem !important;
  }

  .recruitment-teaser .teaser__bg-curves {
    display: none !important;
  }

  .recruitment-teaser .teaser__eyebrow-row {
    display: none !important;
  }

  .recruitment-teaser .teaser__container p {
    display: none !important;
  }

  .recruitment-teaser .teaser__led-divider {
    display: none !important;
  }

  .recruitment-teaser .teaser__container h2 {
    margin: 0 0 1rem !important;
  }

  .recruitment-teaser .teaser__cta-box {
    margin-top: 0 !important;
  }
}
*/

/* ══════════ FACULTY COORDINATOR SECTION (DESKTOP) ══════════ */
.faculty-section {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 6vh, 6rem) 1.5rem 2rem;
  background: #000000;
}

.faculty__container {
  max-width: 1240px;
  margin: 0 auto;
}

.faculty__header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.faculty__line {
  flex: 1;
  max-width: 380px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(229, 168, 85, 0.4) 50%, transparent 100%);
}

.faculty__diamond {
  color: #e5a855;
  font-size: 0.65rem;
  text-shadow: 0 0 8px #e5a855;
}

.faculty__header-row h2 {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #e5a855;
  margin: 0;
  text-transform: uppercase;
}

.faculty__card-wrap {
  display: flex;
  justify-content: center;
}

.faculty-card {
  background: #040306;
  border: 1px solid rgba(229, 168, 85, 0.3);
  border-radius: 24px;
  padding: 2.2rem;
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.95), 0 0 24px rgba(229, 168, 85, 0.1);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.faculty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 168, 85, 0.6);
}

.faculty-card__avatar-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid rgba(229, 168, 85, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
  background: #08060b;
}

.faculty-card__avatar-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.faculty-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.faculty-card__info {
  flex: 1;
  text-align: left;
}

.faculty-card__role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #e5a855;
  margin-bottom: 0.4rem;
  display: block;
}

.faculty-card__name {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.6rem;
  letter-spacing: 0.01em;
}

.faculty-card__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(230, 225, 220, 0.75);
  margin: 0 0 1.2rem;
}

.faculty-card__socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  background: rgba(229, 168, 85, 0.12);
  border: 1px solid rgba(229, 168, 85, 0.35);
  color: #e5a855;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.faculty-card__socials a:hover {
  background: rgba(229, 168, 85, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.faculty-card__socials svg {
  width: 15px;
  height: 15px;
}

/* ══════════ EXECUTIVE COUNCIL SECTION (DESKTOP) ══════════ */
.council-section {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 6vh, 6rem) 1.5rem;
  background: #000000;
}

.council__container {
  max-width: 1240px;
  margin: 0 auto;
}

.council__header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.council__line {
  flex: 1;
  max-width: 380px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(229, 40, 40, 0.4) 50%, transparent 100%);
}

.council__diamond {
  color: #ff2b2b;
  font-size: 0.65rem;
  text-shadow: 0 0 8px #ff2b2b;
}

.council__header-row h2 {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #ff3e3e;
  margin: 0;
  text-transform: uppercase;
}

.council__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 800px;
  margin: 0 auto;
  gap: 1.8rem;
}

.council-card {
  flex: 0 1 340px;
  width: 100%;
  max-width: 360px;
  background: #040306;
  border: 1px solid rgba(255, 43, 43, 0.18);
  border-radius: 20px;
  padding: 2.2rem 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.95);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.council-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 62, 62, 0.5);
  box-shadow: 0 12px 40px rgba(255, 43, 43, 0.2);
}

.council-card__avatar-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 43, 43, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  background: #08060b;
}

.council-card__aura {
  display: none;
}

.council-card__avatar-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
}

.council-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.council-card:hover .council-card__img {
  transform: scale(1.05);
}

.council-card__name {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}

.council-card__role {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  display: block;
}

.council-card__role--gold {
  color: #e5a855;
}

.council-card__role--red {
  color: #ff3e3e;
}

.council-card__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.council-card__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.council-card__socials a:hover {
  background: rgba(255, 62, 62, 0.2);
  border-color: rgba(255, 62, 62, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 62, 62, 0.4);
}

.council-card__socials svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════════
   NATIVE 9:16 MOBILE LANDING PAGE MODULE
   Strictly active for viewports <= 768px.
   PC/Desktop view (>768px) remains 100% untouched and intact.
   ═══════════════════════════════════════════════════════════ */

/* Desktop view default: Hide phone-landing completely on screens > 768px */
@media (min-width: 769px) {
  .phone-landing {
    display: none !important;
  }
}

/* Mobile view (<= 768px): Hide desktop layout elements on phone screens on index page and show phone-landing */
@media (max-width: 768px) {
  /* Hide desktop elements on index page on mobile */
  body:not(.app-page):not(.gallery-page) header.chrome,
  body:not(.app-page):not(.gallery-page) main,
  .rail,
  .hint,
  .sticky-badge,
  .cursor,
  .amaterasu,
  .amaterasu-bed,
  .storm {
    display: none !important;
  }

  /* Gallery Page Mobile Responsiveness */
  body.gallery-page {
    background-color: #060508 !important;
    color: #f1edeb !important;
  }

  body.gallery-page main.gallery-container {
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
    padding-top: 4.5rem !important;
    padding-bottom: 5.5rem !important;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    box-sizing: border-box !important;
  }

  body.gallery-page header.chrome {
    display: none !important;
  }

  body.gallery-page .phone-header {
    display: flex !important;
  }

  /* Application Registration Page Mobile Responsiveness */
  body.app-page {
    background-color: #060508 !important;
    color: #f1edeb !important;
  }

  body.app-page main {
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
    padding-bottom: 3rem !important;
    box-sizing: border-box !important;
  }

  body.app-page header.chrome {
    display: flex !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(6, 5, 8, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 43, 43, 0.2) !important;
  }

  body.app-page .registration-section {
    padding-top: 1.5rem !important;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    padding-bottom: 3rem !important;
  }

  body.app-page .registration__container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  body.app-page .app-hero-head {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }

  body.app-page .app-hero-head h2 {
    font-size: 1.35rem !important;
  }

  body.app-page .reg-form__card {
    background: #000000 !important;
    border: 1px solid rgba(255, 43, 43, 0.25) !important;
    border-radius: 14px !important;
    padding: 1rem 0.85rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
  }

  body.app-page .reg-form__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.app-page .reg-form__field label {
    font-size: 0.78rem !important;
    color: #e5a855 !important;
    font-weight: 700 !important;
    margin-bottom: 0.35rem !important;
  }

  body.app-page .reg-form__field input[type="text"],
  body.app-page .reg-form__field input[type="email"],
  body.app-page .reg-form__field input[type="tel"],
  body.app-page .reg-form__field select {
    width: 100% !important;
    background: rgba(20, 16, 25, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.85rem !important;
    box-sizing: border-box !important;
  }

  body.app-page .reg-form__skills-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  body.app-page .skill-pill span {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.6rem !important;
  }

  body.app-page .reg-submit-btn {
    width: 100% !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    border: none !important;
    box-shadow: 0 0 18px rgba(211, 47, 47, 0.6) !important;
    cursor: pointer !important;
  }

  /* 9:16 Mobile Landing Container */
  .phone-landing {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    background-color: #060508;
    color: #f1edeb;
    font-family: var(--sans, 'Space Grotesk', system-ui, -apple-system, sans-serif);
    position: relative;
    overflow-x: hidden;
    padding-top: 54px;
    padding-bottom: 70px;
    box-sizing: border-box;
  }

  /* Ambient Glow & Background Wave Lines */
  .phone-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 400px;
    background: radial-gradient(circle at 50% 140px, rgba(230, 35, 35, 0.35) 0%, rgba(180, 20, 20, 0.12) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
  }

  .phone-bg-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 380px;
    background-image: 
      radial-gradient(ellipse at 50% -10%, transparent 55%, rgba(255, 50, 50, 0.18) 75%, transparent 85%),
      repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(255, 43, 43, 0.05) 16px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
  }

  /* Red Moving Smoke Plumes & Flares */
  .phone-bg-smoke-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }

  .phone-smoke-cloud {
    position: absolute;
    border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
    filter: blur(28px);
    opacity: 0.75;
    mix-blend-mode: screen;
    will-change: transform, opacity;
  }

  /* Rising & Swirling Smoke Plume 1 (Left to Top-Right) */
  .phone-smoke-cloud-1 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 40, 40, 0.75) 0%, rgba(200, 20, 20, 0.45) 45%, rgba(120, 0, 0, 0.15) 75%, transparent 90%);
    animation: phoneSmokeRiseLeft 6.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  }

  /* Rising & Swirling Smoke Plume 2 (Right to Top-Left) */
  .phone-smoke-cloud-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 60% 40%, rgba(255, 60, 30, 0.7) 0%, rgba(220, 15, 15, 0.4) 45%, rgba(140, 0, 0, 0.12) 75%, transparent 90%);
    animation: phoneSmokeRiseRight 7.8s cubic-bezier(0.25, 1, 0.5, 1) infinite 1.8s;
  }

  /* Center Billowing Smoke Cloud (Behind Logo) */
  .phone-smoke-cloud-3 {
    top: 60px;
    left: 50%;
    width: 260px;
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 50% 50%, rgba(255, 35, 35, 0.8) 0%, rgba(190, 15, 15, 0.45) 40%, rgba(100, 0, 0, 0.15) 70%, transparent 88%);
    animation: phoneSmokeBillowCenter 5.2s ease-in-out infinite alternate;
  }

  /* Low Rising Plume 4 */
  .phone-smoke-cloud-4 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 45% 55%, rgba(255, 50, 40, 0.65) 0%, rgba(180, 20, 20, 0.35) 50%, transparent 85%);
    animation: phoneSmokeRiseCenter 8.5s ease-out infinite 3.2s;
  }

  /* Swirling Plume 5 (Fast Swirl) */
  .phone-smoke-cloud-5 {
    top: 180px;
    left: -40px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 25, 25, 0.7) 0%, rgba(160, 10, 10, 0.35) 50%, transparent 85%);
    animation: phoneSmokeSwirlSide 6.8s ease-in-out infinite alternate;
  }

  /* Swirling Plume 6 (Right side) */
  .phone-smoke-cloud-6 {
    top: 260px;
    right: -50px;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 70, 30, 0.65) 0%, rgba(200, 20, 20, 0.3) 50%, transparent 85%);
    animation: phoneSmokeSwirlRight 7.5s ease-in-out infinite alternate 1.2s;
  }

  /* Floating Red Embers / Sparks */
  .phone-smoke-embers {
    position: absolute;
    inset: 0;
    background-image: 
      radial-gradient(2px 2px at 20px 100px, rgba(255, 180, 50, 0.9), transparent),
      radial-gradient(3px 3px at 80px 220px, rgba(255, 80, 50, 0.85), transparent),
      radial-gradient(2px 2px at 150px 300px, rgba(255, 220, 100, 0.9), transparent),
      radial-gradient(2px 2px at 240px 140px, rgba(255, 60, 60, 0.8), transparent),
      radial-gradient(3px 3px at 300px 380px, rgba(255, 120, 40, 0.85), transparent);
    background-repeat: repeat;
    background-size: 320px 450px;
    animation: phoneEmbersRise 4.5s linear infinite;
    opacity: 0.75;
  }

  /* Dynamic Smoke Movement Keyframes */
  @keyframes phoneSmokeRiseLeft {
    0% {
      transform: translate3d(-60px, 350px, 0) scale(0.6) rotate(0deg);
      opacity: 0.1;
    }
    30% {
      opacity: 0.8;
    }
    70% {
      opacity: 0.6;
    }
    100% {
      transform: translate3d(80px, -60px, 0) scale(1.4) rotate(140deg);
      opacity: 0;
    }
  }

  @keyframes phoneSmokeRiseRight {
    0% {
      transform: translate3d(120px, 400px, 0) scale(0.6) rotate(0deg);
      opacity: 0.1;
    }
    35% {
      opacity: 0.75;
    }
    75% {
      opacity: 0.55;
    }
    100% {
      transform: translate3d(-90px, -80px, 0) scale(1.5) rotate(-160deg);
      opacity: 0;
    }
  }

  @keyframes phoneSmokeBillowCenter {
    0% {
      transform: translateX(-50%) scale(0.85) rotate(-10deg);
      opacity: 0.5;
      filter: blur(24px);
    }
    50% {
      transform: translateX(-48%) scale(1.25) rotate(15deg);
      opacity: 0.9;
      filter: blur(32px);
    }
    100% {
      transform: translateX(-52%) scale(0.95) rotate(-15deg);
      opacity: 0.55;
      filter: blur(26px);
    }
  }

  @keyframes phoneSmokeRiseCenter {
    0% {
      transform: translate3d(-50%, 450px, 0) scale(0.5) rotate(0deg);
      opacity: 0.1;
    }
    40% {
      opacity: 0.75;
    }
    100% {
      transform: translate3d(-50%, -100px, 0) scale(1.6) rotate(180deg);
      opacity: 0;
    }
  }

  @keyframes phoneSmokeSwirlSide {
    0% {
      transform: translate3d(0, 0, 0) scale(0.9) rotate(0deg);
      opacity: 0.45;
    }
    50% {
      transform: translate3d(60px, -40px, 0) scale(1.3) rotate(45deg);
      opacity: 0.85;
    }
    100% {
      transform: translate3d(20px, 40px, 0) scale(0.95) rotate(-20deg);
      opacity: 0.4;
    }
  }

  @keyframes phoneSmokeSwirlRight {
    0% {
      transform: translate3d(0, 0, 0) scale(0.9) rotate(0deg);
      opacity: 0.4;
    }
    50% {
      transform: translate3d(-65px, -50px, 0) scale(1.35) rotate(-50deg);
      opacity: 0.8;
    }
    100% {
      transform: translate3d(-15px, 30px, 0) scale(0.9) rotate(25deg);
      opacity: 0.35;
    }
  }

  @keyframes phoneEmbersRise {
    0% {
      transform: translateY(0);
      opacity: 0.4;
    }
    50% {
      opacity: 0.85;
    }
    100% {
      transform: translateY(-200px);
      opacity: 0.2;
    }
  }

  /* Mobile Top Header Bar */
  .phone-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    background: rgba(6, 5, 8, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .phone-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .phone-header__logo {
    width: 34px;
    height: 34px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(255, 50, 50, 0.5));
  }

  .phone-header__titles {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .phone-header__title {
    font-family: var(--display, 'Cinzel', serif);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #ffffff;
  }

  .phone-header__subtitle {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #e5a855;
  }

  .phone-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .phone-icon-btn {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 50, 50, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .phone-icon-btn svg {
    width: 16px;
    height: 16px;
  }

  .phone-bell-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 5px #ff3b30;
  }

  /* Mobile Hero Section */
  .phone-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.9rem 0.8rem 0.5rem;
    text-align: center;
  }

  /* Central Orbit Emblem */
  .phone-hero__emblem-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-hero__emblem-glow {
    display: none;
  }

  .phone-hero__emblem-ring {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .phone-hero__emblem-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: contain;
    border: none;
    position: relative;
    z-index: 2;
    filter: none;
  }

  /* Hero Meta & Typography */
  .phone-hero__kicker {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(240, 235, 230, 0.65);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
  }

  .phone-hero__title {
    font-family: var(--display, 'Cinzel', 'Shippori Mincho', serif);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin: 0 0 0.25rem;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  }

  .phone-hero__pillars {
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #e5a855;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  .phone-dot {
    color: #e5a855;
    font-size: 0.45rem;
  }

  /* Glassmorphism Description Card */
  .phone-hero__desc-card {
    width: 100%;
    max-width: 310px;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: #000000;
    border: 1px solid rgba(255, 43, 43, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.6rem;
  }

  .phone-hero__desc-card p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.35;
    color: rgba(240, 235, 230, 0.85);
  }

  .phone-hl {
    color: #ff3e3e;
    font-weight: 600;
  }

  .phone-hero__accent-bar {
    width: 32px;
    height: 3px;
    background: #ff2b2b;
    border-radius: 3px;
    box-shadow: 0 0 8px #ff2b2b;
  }

  /* Common Phone Section Layout */
  .phone-section {
    position: relative;
    z-index: 1;
    padding: 0.6rem 0.75rem;
  }

  /* Section Heading */
  .phone-section__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .phone-section__heading h2 {
    font-family: var(--sans, 'Space Grotesk', sans-serif);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #ffffff;
    margin: 0;
  }

  .phone-diamond {
    color: #ff2b2b;
    font-size: 0.55rem;
    letter-spacing: -0.1em;
  }

  /* 4-COLUMN HORIZONTAL FEATURE CARDS GRID MATCHING REFERENCE IMAGE 2 */
  .phone-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }

  .phone-feature-card {
    background: #000000;
    border: 1px solid rgba(255, 43, 43, 0.25);
    border-radius: 12px;
    padding: 0.65rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  }

  .phone-feature-card:active {
    transform: scale(0.96);
    border-color: rgba(255, 43, 43, 0.5);
  }

  .phone-feature-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: lighten;
    transform: scale(1.2);
    filter: none;
  }

  .phone-feature-card h3 {
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0 0 0.2rem;
    line-height: 1.1;
  }

  .phone-feature-card p {
    font-size: 0.46rem;
    line-height: 1.25;
    color: rgba(230, 225, 220, 0.55);
    margin: 0;
  }

  /* Mobile Join Us Box Above Storm2 Banner */
  .phone-join-section {
    padding-top: 0.8rem;
    padding-bottom: 0.6rem;
  }

  .phone-join-card {
    position: relative;
    background: linear-gradient(135deg, rgba(22, 6, 6, 0.95) 0%, rgba(42, 12, 12, 0.95) 100%);
    border: 1.5px solid rgba(229, 168, 85, 0.45);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 24px rgba(229, 168, 85, 0.15);
  }

  .phone-join-card__badge {
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff3e3e;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: block;
  }

  .phone-join-card__title {
    font-family: var(--serif, 'Cinzel', serif);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin: 0 0 0.4rem;
  }

  .phone-join-card__text {
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.85rem;
  }

  .phone-join-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #e5a855 0%, #c48332 100%);
    color: #040306;
    padding: 0.55rem 1.4rem;
    border-radius: 24px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(229, 168, 85, 0.4);
    transition: transform 0.25s ease;
  }

  .phone-join-card__btn:active {
    transform: scale(0.96);
  }

  /* Storm2 Banner Section */
  .phone-banner-section {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .phone-banner-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 43, 43, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.9);
    background: #000000;
  }

  .phone-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* Upcoming Events Section */
  .phone-section__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }

  .phone-section__header-row h2 {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #e5a855;
    margin: 0;
  }

  .phone-view-all {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ff3e3e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .phone-event-card {
    background: #000000;
    border: 1px solid rgba(255, 43, 43, 0.25);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  }

  .phone-event-card__icon-box {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .phone-event-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: lighten;
    transform: scale(1.15);
    filter: none;
  }

  .phone-event-card__icon-box svg {
    width: 22px;
    height: 22px;
  }

  .phone-event-card__details {
    flex: 1;
    min-width: 0;
  }

  .phone-event-card__details h3 {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 0.1rem;
  }

  .phone-event-card__sub {
    font-size: 0.62rem;
    color: #e5a855;
    margin: 0 0 0.25rem;
  }

  .phone-event-card__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.56rem;
    color: rgba(230, 225, 220, 0.55);
  }

  .phone-event-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .phone-event-card__meta svg {
    width: 11px;
    height: 11px;
    color: rgba(230, 225, 220, 0.5);
  }

  .phone-event-card__chevron {
    color: #ff3e3e;
    flex-shrink: 0;
  }

  .phone-event-card__chevron svg {
    width: 16px;
    height: 16px;
  }

  /* CTA Section */
  .phone-cta-section {
    padding-top: 0.4rem;
  }

  .phone-cta-card {
    background: #000000;
    border: 1px solid rgba(255, 43, 43, 0.25);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  }

  .phone-cta-card__content h3 {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin: 0 0 0.15rem;
  }

  .phone-cta-card__content p {
    font-size: 0.58rem;
    color: rgba(230, 225, 220, 0.6);
    margin: 0;
  }

  .phone-cta-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 0.45rem 0.75rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 0 12px rgba(211, 47, 47, 0.5);
    flex-shrink: 0;
  }

  .phone-cta-btn svg {
    width: 12px;
    height: 12px;
  }

  /* About Vividhata Mobile Section */
  .phone-about-section {
    padding-top: 0.8rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .phone-about__content {
    text-align: left;
    padding: 0 0.2rem;
  }

  .phone-about__eyebrow {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #ff3e3e;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
  }

  .phone-about__title {
    font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
  }

  .phone-about__title-highlight {
    color: #e5a855;
  }

  .phone-about__accent-bar {
    width: 28px;
    height: 3px;
    background: #ff2b2b;
    border-radius: 3px;
    box-shadow: 0 0 8px #ff2b2b;
    margin-bottom: 0.6rem;
  }

  .phone-about__desc {
    font-size: 0.68rem;
    line-height: 1.45;
    color: rgba(230, 225, 220, 0.75);
    margin: 0;
  }

  .phone-about__card {
    background: #000000;
    border: 1px solid rgba(255, 43, 43, 0.25);
    border-radius: 16px;
    padding: 1rem 0.9rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .phone-about__pillar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  .phone-about__pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(12, 10, 16, 0.9);
  }

  .phone-about__pillar-icon--red {
    border: 1.5px solid #ff3e3e;
    color: #ff3e3e;
    box-shadow: 0 0 12px rgba(255, 62, 62, 0.4), inset 0 0 8px rgba(255, 62, 62, 0.2);
  }

  .phone-about__pillar-icon--gold {
    border: 1.5px solid #e5a855;
    color: #e5a855;
    box-shadow: 0 0 12px rgba(229, 168, 85, 0.4), inset 0 0 8px rgba(229, 168, 85, 0.2);
  }

  .phone-about__pillar-icon svg {
    width: 20px;
    height: 20px;
  }

  .phone-about__pillar-text h3 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.15rem;
    letter-spacing: 0.02em;
  }

  .phone-about__pillar-text p {
    font-size: 0.6rem;
    line-height: 1.35;
    color: rgba(230, 225, 220, 0.6);
    margin: 0;
  }

  .phone-about__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent 100%);
  }

  /* Mobile Faculty Section */
  .phone-faculty-section {
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .phone-faculty-card {
    background: #040306;
    border: 1px solid rgba(229, 168, 85, 0.3);
    border-radius: 18px;
    padding: 1.1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.9);
  }

  .phone-faculty-card__avatar-wrap {
    width: 120px;
    height: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    border: 1.5px solid rgba(229, 168, 85, 0.4);
    background: #08060b;
  }

  .phone-faculty-card__avatar-box {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .phone-faculty-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .phone-faculty-card__role {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #e5a855;
    margin-bottom: 0.25rem;
    display: block;
  }

  .phone-faculty-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem;
  }

  .phone-faculty-card__desc {
    font-size: 0.65rem;
    line-height: 1.45;
    color: rgba(230, 225, 220, 0.7);
    margin: 0 0 0.85rem;
  }

  .phone-faculty-card__socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    background: rgba(229, 168, 85, 0.12);
    border: 1px solid rgba(229, 168, 85, 0.35);
    color: #e5a855;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
  }

  .phone-faculty-card__socials svg {
    width: 13px;
    height: 13px;
  }

/* Mobile View MEET THE TEAM Section */
  .phone-council-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .phone-section__header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .phone-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(229, 40, 40, 0.4) 50%, transparent 100%);
  }

  .phone-diamond {
    color: #ff2b2b;
    font-size: 0.55rem;
  }

  .phone-section__header-row h2 {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #ff3e3e;
    margin: 0;
  }

  .phone-council-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.85rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .phone-council-card {
    flex: 0 1 calc(50% - 0.45rem);
    min-width: 140px;
    max-width: 220px;
    background: #040306;
    border: 1px solid rgba(255, 43, 43, 0.2);
    border-radius: 16px;
    padding: 1.1rem 0.6rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  }

  .phone-council-card__avatar-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin-bottom: 0.65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 43, 43, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
    background: #08060b;
  }

  .phone-council-card__aura {
    display: none;
  }

  .phone-council-card__avatar-box {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
  }

  .phone-council-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .phone-council-card__name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.2rem;
    line-height: 1.2;
  }

  .phone-council-card__role {
    font-size: 0.62rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
  }

  .phone-council-card__role--gold {
    color: #e5a855;
  }

  .phone-council-card__role--red {
    color: #ff3e3e;
  }

  .phone-council-card__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  .phone-council-card__socials a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .phone-council-card__socials svg {
    width: 13px;
    height: 13px;
  }

  .phone-council-badge {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.25rem;
  }

  .phone-council-badge--president {
    background: rgba(229, 168, 85, 0.15);
    border: 1px solid rgba(229, 168, 85, 0.5);
    color: #e5a855;
  }

  .phone-council-badge--vp,
  .phone-council-badge--cso {
    background: rgba(255, 62, 62, 0.15);
    border: 1px solid rgba(255, 62, 62, 0.5);
    color: #ff3e3e;
  }

  .phone-council-badge--sec {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }

  .phone-council-card__info h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
  }

  .phone-council-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .phone-council-socials a {
    color: #e5a855;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .phone-council-socials a:hover {
    color: #ff3e3e;
    transform: scale(1.15);
  }

  .phone-council-socials svg {
    width: 16px;
    height: 16px;
  }

  /* Fixed Mobile Bottom Navigation Dock */
  .phone-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 9995;
    background: rgba(10, 8, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.4rem;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: rgba(230, 225, 220, 0.45);
    text-decoration: none;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 48px;
  }

  .phone-nav-item svg {
    width: 18px;
    height: 18px;
  }

  .phone-nav-item.active,
  .phone-nav-item:hover {
    color: #ff3e3e;
  }

  /* Center Floating Orb */
  .phone-nav-orb {
    position: relative;
    top: -12px;
    width: 52px;
    height: 52px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-nav-orb__glow {
    display: none;
  }

  .phone-nav-orb__inner {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: #08060b;
    border: 2.5px solid #e58d35;
    box-shadow: 0 0 12px rgba(229, 141, 53, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
  }

  .phone-nav-orb__inner img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    border: none;
    filter: none;
    transform: scale(1.45);
    transition: transform 0.25s ease;
  }

  .phone-nav-orb:active .phone-nav-orb__inner img,
  .phone-nav-orb:hover .phone-nav-orb__inner img {
    transform: scale(1.55);
  }
}

/* ══════════ NOTIFICATION SIDEBAR / DRAWER ══════════ */
.notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notification-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #040306;
  border-left: 1px solid rgba(255, 43, 43, 0.3);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem 1.25rem;
}

.notification-sidebar.active {
  transform: translateX(0);
}

.notification-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.4rem;
}

.notification-sidebar__title-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.notification-sidebar__title-box svg {
  width: 20px;
  height: 20px;
  color: #ff3e3e;
}

.notification-sidebar__title-box h3 {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin: 0;
}

.notification-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.notification-close-btn:hover {
  background: rgba(255, 62, 62, 0.3);
  border-color: #ff3e3e;
  transform: rotate(90deg);
}

.notification-card {
  background: linear-gradient(145deg, rgba(255, 43, 43, 0.12) 0%, rgba(10, 8, 14, 0.98) 100%);
  border: 1px solid rgba(255, 43, 43, 0.35);
  border-radius: 18px;
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.notification-card__badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e5a855;
  background: rgba(229, 168, 85, 0.15);
  border: 1px solid rgba(229, 168, 85, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  align-self: flex-start;
  text-transform: uppercase;
}

.notification-card__heading {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.notification-card__text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(230, 225, 220, 0.85);
  margin: 0;
}

.notification-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff3e3e 0%, #b71c1c 100%);
  color: #ffffff;
  padding: 0.65rem 1.1rem;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(255, 62, 62, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 0.4rem;
}

.notification-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 62, 62, 0.8);
}

/* ══════════ TOP MOBILE NAV DRAWER ══════════ */
.phone-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phone-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.phone-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: #040306;
  border-left: 1px solid rgba(255, 43, 43, 0.3);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem 1.25rem;
}

.phone-nav-drawer.active {
  transform: translateX(0);
}

.phone-nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.4rem;
}

.phone-nav-drawer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phone-nav-drawer__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.phone-nav-drawer__brand span {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.phone-nav-drawer__close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.phone-nav-drawer__close:hover {
  background: rgba(255, 62, 62, 0.3);
  border-color: #ff3e3e;
  transform: rotate(90deg);
}

.phone-nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.phone-drawer-link:hover,
.phone-drawer-link:active {
  background: rgba(255, 43, 43, 0.15);
  border-color: rgba(255, 62, 62, 0.4);
  color: #ff3e3e;
}

.phone-drawer-link svg {
  width: 18px;
  height: 18px;
  color: #ff3e3e;
}

.phone-drawer-link--highlight {
  background: linear-gradient(135deg, rgba(255, 62, 62, 0.2) 0%, rgba(229, 168, 85, 0.15) 100%);
  border-color: rgba(229, 168, 85, 0.5);
  color: #e5a855;
}

.phone-drawer-link--highlight svg {
  color: #e5a855;
}

/* ══════════ GALLERY PAGE STYLES ══════════ */
.gallery-page {
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
}

.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6.5rem 1.25rem 8rem;
}

@media (max-width: 900px) {
  .gallery-container {
    padding: 5.5rem 1rem 7.5rem;
  }
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header__sub {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #e5a855;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.gallery-header__title {
  font-family: var(--serif, 'Cinzel', serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 20%, #ff3e3e 65%, #e5a855 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem;
}

.gallery-header__line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff3e3e, #e5a855);
  margin: 0 auto;
  border-radius: 2px;
}

.gallery-feed {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.gallery-card {
  position: relative;
  background: #040306;
  border: 1px solid rgba(255, 43, 43, 0.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.92), 0 0 30px rgba(255, 43, 43, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 168, 85, 0.5);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 36px rgba(229, 168, 85, 0.2);
}

.gallery-card__img-wrap {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.gallery-card__img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.02);
}

/* Bottom Join Us CTA Banner */
.gallery-cta {
  background: linear-gradient(135deg, rgba(20, 5, 5, 0.95) 0%, rgba(35, 10, 10, 0.95) 100%);
  border: 1.5px solid rgba(229, 168, 85, 0.4);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.95), 0 0 30px rgba(229, 168, 85, 0.15);
}

.gallery-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 62, 62, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.gallery-cta__sub {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #ff3e3e;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.gallery-cta__title {
  font-family: var(--serif, 'Cinzel', serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1rem;
}

.gallery-cta__desc {
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.gallery-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #e5a855 0%, #c48332 100%);
  color: #040306;
  font-family: var(--sans, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(229, 168, 85, 0.4);
  transition: all 0.3s ease;
}

.gallery-cta__btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 36px rgba(229, 168, 85, 0.7);
  background: linear-gradient(135deg, #ffffff 0%, #e5a855 100%);
}


@media (prefers-reduced-motion:reduce) {

  .grain,
  .uchiwa,
  .hint__line {
    animation: none
  }

  html {
    scroll-behavior: auto
  }
}