/* =============================
   01. Design Tokens
   ============================= */
:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.45);
  --radius: 30px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* =============================
   02. Reset / Base
   ============================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

/* =============================
   03. Global Layout
   ============================= */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-border {
  border-bottom: 1px solid var(--border);
}

/* =============================
   04. Header / Navigation
   ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.68);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.brand-role {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a,
.mobile-nav a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.nav a:hover,
.mobile-nav a:hover {
  color: #fff;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
}

/* =============================
   05. Shared Typography / UI
   ============================= */
.eyebrow,
.mini-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.eyebrow {
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  color: var(--soft);
}

.mini-eyebrow {
  margin-bottom: 12px;
  font-size: 0.63rem;
  color: var(--soft);
}

.hero h1,
.section-heading h2,
.work-top h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 9.4ch;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
}

.hero h1 span,
.section-heading h2 span,
.work-top h2 span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

.section-heading h2,
.work-top h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
}

.hero-text,
.work-top p,
.section-heading p,
.card p,
.contact-section p {
  color: var(--muted);
  line-height: 1.9;
}

.hero-text {
  max-width: 670px;
  margin: 28px 0 0;
  font-size: 1.02rem;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: #fff;
  color: #050505;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

/* =============================
   06. Hero
   ============================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 48px;
}

.hero-grid {
  min-height: calc(100vh - 83px);
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  padding: 70px 0;
}

.hero-grid-centered {
  width: 100vw;
  max-width: none;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  justify-items: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 36px;
}

.hero-cinematic {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.hero-band {
  position: relative;
  width: min(1480px, 100vw);
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.hero-photo-wide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-photo-darken,
.hero-photo-fade-left,
.hero-photo-fade-right,
.hero-photo-fade-bottom {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-photo-darken {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.6)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.18) 78%, rgba(0, 0, 0, 0.38) 100%);
}

.hero-photo-fade-left {
  background: linear-gradient(to right, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.92) 8%, rgba(5, 5, 5, 0.58) 16%, rgba(5, 5, 5, 0) 34%);
}

.hero-photo-fade-right {
  background: linear-gradient(to left, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.92) 8%, rgba(5, 5, 5, 0.58) 16%, rgba(5, 5, 5, 0) 34%);
}
.hero-photo-fade-bottom {
  background: linear-gradient( to top, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.55) 8%, rgba(5, 5, 5, 0.26) 16%, rgba(5, 5, 5, 0) 24% );
}

.hero-content-over-photo {
  position: absolute;
  left: 50%;
  bottom: 150px;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
  transform: translateX(-50%);
}

.hero .hero-name {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero-role {
  margin: 16px 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft);
}

.hero-content-over-photo .hero-role {
  margin-top: 14px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions-centered {
  justify-content: center;
  margin-top: 32px;
}

.hero-actions-overlap {
  position: absolute;
  left: 50%;
  bottom: 90px;
  z-index: 3;
  justify-content: center;
  margin-top: 0;
  transform: translate(-50%, 50%);
}


.brand-slider {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100vw - 48px));
  margin: 24px auto 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.brand-slider-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: brandMarquee 30s linear infinite;
  will-change: transform;
}

.brand-slider:hover .brand-slider-track {
  animation-play-state: paused;
}

.brand-slider-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
  padding-inline: clamp(18px, 2.8vw, 42px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  white-space: nowrap;
  font-size: clamp(0.68rem, 0.82vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.82;
}

.brand-logo img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.65);
}

.hero-divider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 20px;
}

.scan-line {
  position: absolute;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.48), transparent);
  pointer-events: none;
  animation: scan 7s ease-in-out infinite;
}

/* Legacy/simple hero photo classes kept for compatibility. */
.hero-photo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.hero-photo-frame {
  width: min(420px, 82vw);
  aspect-ratio: 1 / 1.08;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* =============================
   07. Hero Audio Bars
   ============================= */
.sound-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.sound-bars span {
  width: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: bottom center;
  animation: equalize 1.8s ease-in-out infinite alternate;
}

.sound-bars-wide {
  position: relative;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  gap: 8px;
  opacity: 0.5;
}

.sound-bars-wide span {
  width: 7px;
}

.sound-bars-wide span:nth-child(10n + 1) { height: 28px; animation-delay: 0.02s; }
.sound-bars-wide span:nth-child(10n + 2) { height: 54px; animation-delay: 0.08s; }
.sound-bars-wide span:nth-child(10n + 3) { height: 36px; animation-delay: 0.14s; }
.sound-bars-wide span:nth-child(10n + 4) { height: 74px; animation-delay: 0.20s; }
.sound-bars-wide span:nth-child(10n + 5) { height: 24px; animation-delay: 0.26s; }
.sound-bars-wide span:nth-child(10n + 6) { height: 62px; animation-delay: 0.32s; }
.sound-bars-wide span:nth-child(10n + 7) { height: 42px; animation-delay: 0.38s; }
.sound-bars-wide span:nth-child(10n + 8) { height: 82px; animation-delay: 0.44s; }
.sound-bars-wide span:nth-child(10n + 9) { height: 32px; animation-delay: 0.50s; }
.sound-bars-wide span:nth-child(10n + 10) { height: 58px; animation-delay: 0.56s; }

.sound-bars-wide::before,
.sound-bars-wide::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(80px, 12vw, 180px);
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.18));
}

.sound-bars-wide::before {
  right: calc(100% + 28px);
}

.sound-bars-wide::after {
  left: calc(100% + 28px);
  transform: scaleX(-1);
}

/* =============================
   08. Hero Stats / Portrait Blocks
   ============================= */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.hero-stats article,
.card,
.capability,
.contact-card,
.work-card,
.portrait-sidecards article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero-stats article {
  padding: 22px;
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-card {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.portrait-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background: #111;
}

.portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18), transparent);
}

.portrait-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
}

.portrait-overlay h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.portrait-overlay p {
  margin: 8px 0 0;
  color: var(--muted);
}

.portrait-sidecards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portrait-sidecards article {
  padding: 22px;
}

.portrait-sidecards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.compact span {
  font-size: 0.74rem;
}

/* =============================
   09. About
   ============================= */
.about-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  grid-template-rows: 500px auto;
  column-gap: 48px;
  row-gap: 18px;
  align-items: start;
}

.about-profile-column {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  gap: 18px;
}

.about-portrait-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.about-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.about-portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.68) 100%);
  pointer-events: none;
}

.about-portrait-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.about-portrait-content h2,
.about-bio-card h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.about-portrait-content h2 {
  max-width: 8ch;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.62);
}

.about-portrait-content p {
  margin: 16px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.about-timeline {
  position: relative;
  display: grid;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.about-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 39px;
  width: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  margin-left: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.04);
}

.timeline-item small {
  display: block;
  margin-bottom: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.timeline-item p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-bio-card {
  grid-column: 2;
  grid-row: 1;
  position: static;
  align-self: stretch;
  min-height: 500px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-bio-card .mini-eyebrow {
  margin-bottom: 18px;
}


.about-bio-card h2 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 3vw, 3.25rem);
  line-height: 0.96;
}

.about-bio-card h2 span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

.about-bio-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.about-bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-bio-tags span {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.about-phone-work-wrap {
  grid-column: 2;
  justify-self: start;
  width: min(295px, 62vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-phone-card {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: start;
  justify-content: start;
  column-gap: 50px;
  padding: 26px 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.about-phone-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 56%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 38%, transparent 68%);
  filter: blur(34px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-phone-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.about-phone-cta {
  position: relative;
  z-index: 2;
  min-height: 46px;
  width:80%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-phone-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

#nature-tales {
  scroll-margin-top: 110px;
}


.phone-video-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 862 / 1705;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.58));
}

.about-phone-screen {
  position: absolute;
  top: 4.5%;
  right: 7.9%;
  bottom: 5.9%;
  left: 8.7%;
  z-index: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.about-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit:cover;
}

.about-phone-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* =============================
   10. Work / Filters
   ============================= */
.work-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.work-top p {
  max-width: 470px;
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.filter-btn.active {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.work-grid,
.capabilities-grid {
  display: grid;
  gap: 18px;
}

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

.work-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.work-card.is-hidden {
  display: none;
}

.card-media {
  position: relative;
  min-height: 220px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #0c0c0c, #181818 65%, #101010);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.38));
}

.card-media span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.card-video {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #000;
}

.work-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-video::after {
  z-index: 1;
  pointer-events:none;
}
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 10px;
}

.card-title-row h3 {
  margin: 0;
}

.card-title-btn {
  flex-shrink: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.card-title-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

/* Vertical video */
.card-video.video-9-16 {
  aspect-ratio: 9 / 16;
  min-height: auto;
}

/* Makes video/iframe fill the ratio box */
.card-video.video-9-16 .work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-grid-vertical {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.work-card-vertical {
  width: 100%;
}

.work-card-vertical .card-video {
  aspect-ratio: 9 / 16;
  min-height: auto;
}

.work-card-vertical .work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





.card-body {
  padding: 22px;
}

.card-body small,
.capability small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}

.card-body h3,
.capability h3 {
  margin: 14px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.2;
  font-size: 0.8rem;
  text-align:justify;
}

.card-meta {
  margin-top: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
}

/* =============================
   11. Capabilities
   ============================= */
.capabilities-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability {
  padding: 24px;
}

.capability h3 {
  margin-bottom: 0;
}

/* =============================
   12. Contact
   ============================= */

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-scan-line {
  opacity: 0.45;
  animation: scanContact 6.5s ease-in-out infinite;
}
.contact-grid {
  grid-template-columns: 1fr 0.88fr;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.contact-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-card a:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.contact-card a span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}

.contact-card a strong {
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

/* =============================
   Footer
   ============================= */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.7;
}

.site-footer strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.footer-left,
.footer-right {
  max-width: 50%;
}

.footer-right {
  text-align: right;
}
/* =============================
   13. Reveal Animations
   ============================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

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

/* =============================
   14. Keyframes
   ============================= */
@keyframes equalize {
  0% {
    opacity: 0.3;
    transform: scaleY(0.42);
  }

  100% {
    opacity: 0.85;
    transform: scaleY(1.25);
  }
}


@keyframes brandMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slider-track {
    animation-duration: 90s;
  }
}
@keyframes scan {
  0%,
  100% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 0.75;
  }

  50% {
    top: 68%;
    opacity: 0.38;
  }

  90% {
    opacity: 0.75;
  }
}
@keyframes scanContact {
  0%,
  100% {
    top: 0;
    opacity: 0;
  }

  12% {
    opacity: 0.55;
  }

  50% {
    top: 100%;
    opacity: 0.32;
  }

  88% {
    opacity: 0.55;
  }
}

/* =========================================================
   15. Responsive Media Queries
   All media queries stay grouped here at the end.
   ========================================================= */

/* ---------- max-width: 1100px ---------- */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .portrait-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-rows: auto;
    row-gap: 18px;
  }

  .about-profile-column,
  .about-phone-card,
  .about-bio-card {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-band {
    min-height: 590px;
  }

  .hero-content-over-photo {
    bottom: 116px;
  }

  .hero-actions-overlap {
    bottom: 14px;
  }

  .section-heading h2,
  .work-top h2 {
    max-width: none;
  }

  .about-phone-card {
    min-height: 500px;
  }

  .about-bio-card {
    position: static;
    min-height: auto;
  }

  .about-portrait-card {
    min-height: 560px;
  }

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

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

  .portrait-shell {
    min-height: 540px;
  }

   .work-grid-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- max-width: 820px ---------- */
@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 84px 0;
  }

  .nav {
    display: none;
  }

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

  body.menu-open .mobile-nav {
    display: block;
  }

  .hero-grid {
    min-height: auto;
    padding: 48px 0 60px;
  }

  .hero-grid-centered {
    padding-top: 0;
    padding-bottom: 34px;
  }

  .hero-cinematic {
    padding-top: 0;
  }

  .hero-band {
    min-height: 500px;
  }

  .hero-content-over-photo {
    bottom: 108px;
  }

  .brand-slider {
    width: min(980px, calc(100vw - 32px));
    margin-top: 40px;
  }

  .brand-slider-group {
    gap: 34px;
  }

  .hero-divider {
    padding-top: 30px;
  }

  .hero-stats,
  .work-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait-card {
    min-height: 500px;
  }

  .about-bio-card {
    padding: 30px;
  }

  .about-bio-card h2 {
    max-width: none;
  }

  .card.wide {
    grid-column: span 1;
  }

  .work-top {
    flex-direction: column;
    align-items: start;
  }

  .portrait-shell {
    min-height: 460px;
  }

  .sound-bars-wide {
    max-width: calc(100vw - 32px);
    gap: 7px;
  }

  .sound-bars-wide span {
    width: 5px;
  }

  .hero-photo-frame {
    width: min(360px, 88vw);
  }

  .work-grid-vertical {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-grid-vertical .work-card {
    width: 100%;
  }

  .work-grid-vertical .card-video.video-9-16 {
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: auto;
  }

  .work-grid-vertical .work-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
  }

  .footer-right {
    text-align: left;
  }

  .site-footer p {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }


}

/* ---------- max-width: 560px ---------- */
@media (max-width: 560px) {
  .brand-name {
    font-size: 0.72rem;
  }

  .brand-role {
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about-portrait-card {
    min-height: 430px;
  }

  .about-portrait-content {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .about-portrait-content h2 {
    font-size: 2.9rem;
  }

  .about-portrait-content p {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .about-timeline {
    padding: 14px 16px;
  }

  .about-timeline::before {
    left: 33px;
  }

  .timeline-item {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .timeline-dot {
    margin-left: 8px;
  }

  .about-phone-card {
    min-height: 430px;
    padding: 12px 0 0;
  }

  .about-phone-label {
    margin-bottom: 16px;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
  }
  .about-phone-cta {
  margin-top: 18px;
  }

  .phone-video-stage {
    width: min(198px, 64vw);
  }

  .about-bio-card {
    padding: 26px;
  }

  .about-bio-card h2 {
    font-size: 2.55rem;
  }

  .hero .hero-name {
    font-size: 2.8rem;
  }

  .hero-role {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  .hero-band {
    min-height: 420px;
  }

  .hero-content-over-photo {
    bottom: 148px;
    padding: 0 16px;
  }

  .hero-actions-overlap {
    bottom: 16px;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-overlap .btn {
    width: 100%;
  }

  .brand-slider {
    width: calc(100vw - 24px);
    margin-top: 88px;
    mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }

  .brand-slider-track {
    animation-duration: 24s;
  }

  .brand-slider-group {
    gap: 28px;
    padding-inline: 18px;
  }

  .brand-logo {
    min-height: 36px;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .hero-divider {
    padding-top: 34px;
  }

  .hero-text,
  .work-top p,
  .section-heading p,
  .card p,
  .contact-section p,
  .card-body p,
  .portrait-sidecards p,
  .portrait-overlay p,
  .timeline-item p,
  .about-bio-card p {
    line-height: 1.75;
  }
  .about-phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.about-phone-label {
  align-self: flex-start;
  margin-bottom: 16px;
}
  .portrait-shell {
    min-height: 390px;
  }

  .card-media {
    min-height: 190px;
  }
    .sound-bars-wide {
    gap: 5px;
  }

  .sound-bars-wide span {
    width: 4px;
  }

  .sound-bars-wide span:nth-child(n + 29) {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
  }

  .footer-right {
    text-align: left;
  }

  .site-footer p {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }
}