:root {
  /* Default Theme Variables - Maps to MTL_BASE */
  --accent: #F26D58;
  --accent-50: #f26d5880;
  --accent-60: #f26d5899;
  --secondary: #E8B04A;

  --black: #0a0a0a;
  --charcoal: #15161a;
  --navy: #0E1330;
  --smoke: #1d1e22;

  --white: #f5f5f0;
  --whiteSub: #cfcec5;
  --rule: rgba(245, 245, 240, 0.16);
  --ruleSoft: rgba(245, 245, 240, 0.08);

  --font-display: "Anton", "Bowlby One", Impact, sans-serif;
  --font-body: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Space Mono", "JetBrains Mono", ui-monospace, monospace;

  --letter-spacing-display: -0.02em;
  --radius-rounded: 14px;
}

html, body { 
  margin: 0; 
  padding: 0; 
  background: var(--black); 
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

::selection { background: var(--accent); color: var(--black); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Hide scrollbar but keep functionality on chrome */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: var(--black); }
body::-webkit-scrollbar-thumb { background: var(--rule); }

/* Grain */
#grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

/* Typography Utilities */
.mono-text {
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.display-text {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-display);
}
.serif-text {
  font-family: var(--font-serif);
}

.accent-text { color: var(--accent); }
.sub-text { color: var(--whiteSub); }

/* Animations */
@keyframes mtl-fade { 
  from { opacity: 0; transform: translateY(12px); } 
  to { opacity: 1; transform: translateY(0); } 
}
@keyframes mtl-mq { 
  from { transform: translateX(0); } 
  to { transform: translateX(-25%); } 
}

.mtl-page-enter { 
  animation: mtl-fade 0.5s ease-out both; 
}

.mtl-link { 
  cursor: pointer; 
  transition: color 0.18s; 
}
.mtl-link:hover { 
  color: var(--accent) !important; 
}

.mtl-shop-link { 
  position: relative; 
}
.mtl-shop-link::after {
  content: ''; 
  position: absolute; 
  left: 0; right: 0; bottom: -4px; 
  height: 1px;
  background: var(--accent); 
  transform: scaleX(0); 
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(.7,0,.3,1);
}
.mtl-shop-link:hover::after { 
  transform: scaleX(1); 
  transform-origin: left; 
}

/* Top Navigation */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-left, .nav-right {
  display: flex;
  gap: 28px;
}
.nav-right {
  justify-content: flex-end;
  align-items: center;
}
.nav-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-item.active {
  color: var(--accent);
  opacity: 1;
}
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo {
  height: 120px;
  width: auto;
  display: block;
  margin: -16px 0;
}
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
}
.lang-active {
  color: var(--white);
  opacity: 1;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 80px 48px 32px;
  position: relative;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(120px, 18vw, 320px);
  line-height: 0.85;
  letter-spacing: var(--letter-spacing-display);
  text-transform: uppercase;
}
.footer-grid {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px 72px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-label {
  opacity: 0.5;
  margin-bottom: 10px;
}
.footer-logo {
  margin-top: 14px;
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}
.footer-loc {
  margin-top: 14px;
  opacity: 0.65;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whiteSub);
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  background: transparent;
  color: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: mtl-mq 32s linear infinite;
}
.marquee-row {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee-star {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 28px;
}

/* Side Rail */
.side-rail-left, .side-rail-right {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.side-rail-left { left: 14px; }
.side-rail-right { right: 14px; }
.side-rail-text {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--whiteSub);
  opacity: 0.75;
}
.side-rail-left .side-rail-text { transform: rotate(-90deg); }
.side-rail-right .side-rail-text { transform: rotate(90deg); }

/* Section Header */
.section-head { margin-bottom: 32px; }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.86;
  letter-spacing: var(--letter-spacing-display);
  text-transform: uppercase;
  margin: 0;
}
.section-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--whiteSub);
  max-width: 560px;
}
.section-divider {
  margin-top: 28px;
  width: 100%;
  height: 1px;
  background: var(--rule);
}

/* Buttons & Elements */
.outline-btn {
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .nav-container { padding: 8px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .side-rail-left, .side-rail-right { display: none; }
}

/* --- Hamburger button --- */
#nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
#nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
#nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile navigation overlay --- */
#nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 998;
  flex-direction: column;
  padding: 80px 32px 48px;
  overflow-y: auto;
}
#nav-mobile-menu.open {
  display: flex;
}
#nav-mobile-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--white);
  cursor: pointer;
  padding: 8px 12px;
  line-height: 1;
  font-family: var(--font-mono);
}
#nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
#nav-mobile-links a {
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 48px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-display);
  line-height: 1;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: color 0.2s;
}
#nav-mobile-links a:hover,
#nav-mobile-links a.active {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-left, .nav-right { display: none !important; }
  .nav-container {
    display: flex !important;
    grid-template-columns: unset !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  #nav-hamburger { display: flex !important; }
}

/* --- Dynamic Island TOC --- */
.dynamic-island-wrapper {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dynamic-island-wrapper.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dynamic-island-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dynamic-island-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.dynamic-island {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ruleSoft);
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  width: 280px;
  height: 52px;
  border-radius: 26px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dynamic-island.expanded {
  width: 340px;
  height: 400px;
  border-radius: 24px;
  cursor: default;
}

.di-pill-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dynamic-island.expanded .di-pill-content {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(4px);
  pointer-events: none;
}

.di-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.di-active-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.di-progress-svg {
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.di-menu-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dynamic-island.expanded .di-menu-content {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition-delay: 0.1s;
}

.di-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  flex-shrink: 0;
}

.di-header-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--whiteSub);
}

.di-close-btn {
  background: transparent;
  border: none;
  color: var(--whiteSub);
  cursor: pointer;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s;
}

.di-close-btn:hover {
  color: var(--white);
}

.di-items {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Scrollbar inside island */
.di-items::-webkit-scrollbar { width: 4px; }
.di-items::-webkit-scrollbar-track { background: transparent; }
.di-items::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

.di-item {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(245,245,240,0.45);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease-out;
}

.di-item:hover {
  background: rgba(245,245,240,0.05);
  color: rgba(245,245,240,0.85);
}

.di-item.active {
  background: rgba(245,245,240,0.1);
  color: var(--white);
  font-weight: 500;
}

.di-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.3s ease-out;
}

.di-item:hover .di-item-text {
  transform: translateX(4px);
}

.di-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  margin-left: 12px;
  flex-shrink: 0;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.di-item.active .di-item-dot {
  transform: scale(1);
  opacity: 1;
}

/* Privacy Policy Layout */
.privacy-page {
  padding: 120px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page h2 {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 48px;
  margin-bottom: 16px;
}

.privacy-page h3 {
  font-family: var(--font-mono);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-page h4 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 12px;
}

.privacy-page p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--whiteSub);
  margin-bottom: 16px;
}

.privacy-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.privacy-page ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--whiteSub);
}

.privacy-page ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.privacy-box {
  padding: 32px;
  background: rgba(245,245,240,0.05);
  border: 1px solid var(--rule);
  border-radius: 16px;
  margin: 32px 0;
}

.privacy-hero-img {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  border: 1px solid var(--ruleSoft);
  overflow: hidden;
  position: relative;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: luminosity;
  transition: transform 0.7s;
}

.privacy-hero-img:hover img {
  transform: scale(1.05);
}

.privacy-hero-text {
  position: relative;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(0,0,0,0.5);
  padding: 8px 16px;
  border-radius: 4px;
}
/* --- Team Showcase --- */
.ts-container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.ts-grid {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ts-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.4s ease;
  background: var(--rule);
}

.ts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.77);
  transition: filter 0.5s ease;
}

.ts-names {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.ts-member-row {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ts-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-dot {
  width: 16px;
  height: 12px;
  background: var(--white);
  opacity: 0.25;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.ts-name {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.ts-role {
  margin-top: 6px;
  padding-left: 28px;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--whiteSub);
}

.ts-social {
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.ts-social-icon {
  color: var(--whiteSub);
  transition: all 0.2s ease;
}

.ts-social-icon:hover {
  color: var(--white);
  transform: scale(1.1);
}

/* Hover States */
.ts-container.has-hover .ts-photo,
.ts-container.has-hover .ts-member-row {
  opacity: 0.5;
}

.ts-photo.is-active,
.ts-member-row.is-active {
  opacity: 1 !important;
}

.ts-photo.is-active img {
  filter: grayscale(0) brightness(1);
}

.ts-member-row.is-active .ts-dot {
  opacity: 1;
  width: 20px;
}

.ts-member-row.is-active .ts-name {
  opacity: 1;
}

.ts-member-row.is-active .ts-social {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

@media (max-width: 1024px) {
  .ts-container {
    flex-direction: column;
    gap: 40px;
  }
}

/* --- Team Cards (card grid section) --- */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tc-card {
  overflow: hidden;
  cursor: default;
}

.tc-img-wrap {
  overflow: hidden;
  border-radius: 8px;
  height: 480px;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.5s ease;
}

.tc-card:hover .tc-img-wrap {
  height: 456px;
  border-radius: 14px;
}

.tc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
}

.tc-card:hover .tc-img {
  filter: grayscale(0) brightness(1);
}

.tc-info {
  padding: 14px 2px 0;
}

.tc-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.tc-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: letter-spacing 0.5s ease;
}

.tc-card:hover .tc-name {
  letter-spacing: 0.04em;
}

.tc-index {
  font-size: 11px;
  color: var(--whiteSub);
  opacity: 0.5;
}

.tc-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  min-height: 20px;
  overflow: hidden;
}

.tc-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--whiteSub);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: inline-block;
}

.tc-card:hover .tc-role {
  opacity: 1;
  transform: translateY(0);
}

.tc-link {
  font-size: 13px;
  color: var(--whiteSub);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease 0.06s, transform 0.35s ease 0.06s, color 0.2s ease;
  display: inline-block;
}

.tc-card:hover .tc-link {
  opacity: 1;
  transform: translateY(0);
}

.tc-link:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .tc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Scroll Expansion Hero --- */
#seh-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

#seh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#seh-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#seh-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

#seh-media {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

#seh-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

#seh-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

#seh-text-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  text-align: center;
  mix-blend-mode: difference;
}

#seh-line1,
#seh-line2 {
  font-size: clamp(36px, 6vw, 90px);
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.03em;
  padding: 0 24px;
  opacity: 0.92;
  text-shadow: 0 2px 32px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.3);
}

#seh-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2em;
  white-space: nowrap;
  mix-blend-mode: normal;
}

/* --- Footer Social Buttons --- */
.footer-social-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, background-color 0.3s;
}

.footer-social-btn:hover {
  transform: scale(1.2);
  border-color: var(--accent);
  background-color: var(--ruleSoft);
}

.footer-social-btn .social-icon {
  width: 16px;
  height: 16px;
  display: block;
}

/* --- Prisma Hero Section --- */
.prisma-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 24px;
  margin-top: 48px;
  background: var(--charcoal);
  border: 1px solid var(--rule);
}

.prisma-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--smoke);
}

.prisma-bg video,
.prisma-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prisma-noise {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.prisma-gradient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.prisma-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 4;
}

.prisma-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  max-width: 900px;
}

@media (max-width: 768px) {
  .prisma-hero {
    height: 45vh;
    min-height: 320px;
  }
  .prisma-content {
    padding: 24px;
  }
}

/* --- Story Scroll Stacking & Rotation Animation --- */
.story-scroll-main {
  position: relative;
  width: 100%;
  overflow: clip;
  background: var(--charcoal);
}

.story-scroll-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}

.story-scroll-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: clamp(2rem, 8vw, 4vw) 4vw 4vw;
  transform-origin: bottom left;
  will-change: transform;
}

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

/* Hero word mask reveal */
.hw-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
}
.hw-inner {
  display: inline-block;
}

/* =============================================================
   MOBILE RESPONSIVE — PHONE OPTIMIZATIONS
   ============================================================= */

/* --- Navigation --- */
@media (max-width: 480px) {
  .nav-container {
    padding: 8px 16px !important;
  }
}

/* --- Section horizontal padding ---
   All inline style="padding: Xpx 48px" sections are overridden
   to 20px sides on mobile. !important is required to beat inline styles. */
@media (max-width: 768px) {
  .page-wrapper section,
  .mtl-page-enter section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Reduce excessive vertical padding on tall sections */
  .page-wrapper section[style*="padding: 120px"],
  .mtl-page-enter section[style*="padding: 120px"] {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .page-wrapper section[style*="padding: 80px"],
  .mtl-page-enter section[style*="padding: 80px"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* --- Grid layouts (inline style overrides) --- */
@media (max-width: 768px) {
  /* Stats row: 4 columns → 2 columns */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  /* Stats inner span-2 → span 1 */
  [style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
  /* 3-column grids → 2 columns at tablet */
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* All asymmetric 2-col grids → single column */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.3fr"],
  [style*="grid-template-columns: 1fr 1.6fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: 5fr 7fr"],
  [style*="grid-template-columns: 6fr 5fr"],
  [style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  /* Journal article thumbnail grid → stack */
  [style*="grid-template-columns: 180px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Schedule rows → compact 2 columns, hide venue/status */
  [style*="grid-template-columns: 60px 1fr 1fr 100px"] {
    grid-template-columns: 32px 1fr !important;
    gap: 8px !important;
  }
  [style*="grid-template-columns: 60px 1fr 1fr 100px"] > *:nth-child(3),
  [style*="grid-template-columns: 60px 1fr 1fr 100px"] > *:nth-child(4) {
    display: none !important;
  }
  /* FAQ rows → tighter column widths */
  [style*="grid-template-columns: 60px 1fr 48px"] {
    grid-template-columns: 28px 1fr 28px !important;
    gap: 10px !important;
  }
  /* "Want in?" flex row → vertical stack */
  [style*="justify-content: space-between"][style*="align-items: baseline"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }
}

@media (max-width: 480px) {
  /* Stats: already 2-col → collapse to 1 col on very small screens */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* 3-col → 1 col */
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* 2-col journal grid → 1 col */
  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* FAQ question text — prevent overflow */
  [style*="grid-template-columns: 60px 1fr 48px"] .display-text,
  [style*="grid-template-columns: 28px 1fr 28px"] .display-text {
    font-size: 22px !important;
    line-height: 1.1 !important;
  }
}

/* --- Footer --- */
@media (max-width: 768px) {
  .site-footer {
    padding: 48px 20px 24px !important;
  }
  .footer-wordmark {
    font-size: clamp(40px, 14vw, 72px) !important;
    margin-bottom: 36px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-bottom {
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* --- Marquee --- */
@media (max-width: 768px) {
  .marquee-text {
    font-size: 32px !important;
    line-height: 1 !important;
  }
  .marquee-star {
    font-size: 16px !important;
  }
  .marquee-row {
    gap: 28px !important;
    padding-right: 28px !important;
  }
}

/* --- Team card images --- */
@media (max-width: 600px) {
  .tc-img-wrap {
    height: 300px !important;
  }
  .tc-card:hover .tc-img-wrap {
    height: 284px !important;
  }
}

/* --- Scroll Expansion Hero text padding --- */
@media (max-width: 768px) {
  #seh-line1,
  #seh-line2 {
    padding: 0 12px !important;
  }
}

/* --- Parallax float container (Who We Are section) --- */
@media (max-width: 768px) {
  #parallax-float-container {
    min-height: 260px !important;
    height: 64vw !important;
  }
}

/* --- Dynamic Island width on small phones --- */
@media (max-width: 480px) {
  .dynamic-island {
    width: 88vw !important;
    max-width: 310px !important;
  }
  .dynamic-island.expanded {
    width: 88vw !important;
    max-width: 340px !important;
    height: 380px !important;
  }
}

/* --- Contact form mobile --- */
@media (max-width: 768px) {
  /* Prevent iOS Safari from zooming on input focus (requires 16px min) */
  #contact-form input,
  #contact-form select,
  #contact-form textarea {
    font-size: 16px !important;
  }
  /* Full-width submit button for easier tapping */
  #contact-submit {
    align-self: stretch !important;
    text-align: center !important;
    padding: 20px 24px !important;
  }
  /* Status message full width */
  #contact-status {
    font-size: 13px !important;
  }
}
