:root{
  --color-obsidian:#000000;
  --color-onyx:#0f0d0d;
  --color-charcoal:#171615;
  --color-graphite:#262828;
  --color-void:#050404;
  --color-paper:#ffffff;
  --color-ash:#878686;
  --color-smoke:#6f6e6e;
  --color-fog:#939292;
  --color-ember:#8a1a0c;
  --color-oniblood:#630000;

  --font-display:'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, monospace;

  --radius-cards:16px;
  --radius-chips:6px;
  --radius-images:12px;
  --radius-pill:9999px;

  --shadow-xl: rgba(0,0,0,0.7) 0px 12px 32px -16px;
  --max-w:1280px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;touch-action:pan-y;}
body {
  margin: 0;
  background-color: var(--color-onyx);
  color: var(--color-paper);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.site-gradient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #020101 0%, #120307 30%, #3a0805 60%, #520b05 75%, #1f0b08 90%, #080605 100%);
  overflow: hidden;
}
.site-orb {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
.site-orb-1 { width: 100vw; height: 100vh; background: radial-gradient(ellipse at center, #060409 0%, transparent 55%); mix-blend-mode: normal; }
.site-orb-2 { width: 120vw; height: 120vh; background: radial-gradient(ellipse at center, #8a1510 0%, transparent 60%); mix-blend-mode: normal; }
.site-orb-3 { width: 90vw; height: 90vh; background: radial-gradient(ellipse at center, #4a0806 0%, transparent 50%); mix-blend-mode: normal; }
.site-orb-4 { width: 85vw; height: 85vh; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, transparent 55%); mix-blend-mode: screen; }
.site-orb-6 { width: 70vw; height: 70vh; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, transparent 60%); mix-blend-mode: screen; }
.site-orb-7 { width: 65vw; height: 65vh; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18) 0%, transparent 55%); mix-blend-mode: screen; }
.site-orb-5 { width: 100vw; height: 100vh; background: radial-gradient(ellipse at center, #140302 0%, transparent 60%); mix-blend-mode: normal; }

.site-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, rgba(0,0,0,0.2) 1px, rgba(0,0,0,0.2) 3px, transparent 3px, transparent 7px);
  mix-blend-mode: overlay;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;}
::selection{background:var(--color-ember);color:#fff;}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--color-ember);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- Typography scale ---------- */
.mono-label{
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.09em;
  line-height:2;
  text-transform:uppercase;
  color:var(--color-ash);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.mono-label .dot{width:6px;height:6px;border-radius:50%;background:var(--color-ember);display:inline-block;flex:none;}

.h-display{
  font-family:var(--font-display);
  font-weight:300;
  font-size:66px;
  line-height:1.15;
  letter-spacing:-0.02em;
  margin:0;
}
.h-lg{
  font-family:var(--font-display);
  font-weight:300;
  font-size:52px;
  line-height:1.2;
  letter-spacing:-0.02em;
  margin:0;
}
.h-md{
  font-family:var(--font-display);
  font-weight:300;
  font-size:36px;
  line-height:1.25;
  letter-spacing:-0.01em;
  margin:0;
}
.h-sub{
  font-family:var(--font-sans);
  font-weight:500;
  font-size:22px;
  line-height:1.4;
  margin:0;
}
.body-fog{color:var(--color-fog);}
.body-ash{color:var(--color-ash);}
.body-sm{font-size:14px;line-height:1.43;}
.stat-num{
  font-family:var(--font-sans);
  font-weight:600;
  font-size:44px;
  letter-spacing:-0.03em;
  line-height:1;
  color:#fff;
  margin:0;
}

@media (max-width:720px){
  .h-display{font-size:38px;}
  .h-lg{font-size:32px;}
  .h-md{font-size:26px;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:var(--radius-pill);
  padding:9px 20px;
  font-size:14px;
  font-weight:500;
  border:1px solid transparent;
  white-space:nowrap;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-light{background:rgba(255,255,255,0.9);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#000;}
.btn-light:hover{background:#fff;}
.btn-dark{background:rgba(0,0,0,0.65);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;border-color:rgba(255,255,255,0.1);}
.btn-dark:hover{background:rgba(0,0,0,0.85);border-color:rgba(255,255,255,0.25);}
.btn-ghost{background:transparent;color:#fff;padding:8px 14px;border-color:transparent;}
.btn-ghost:hover{background:rgba(0,0,0,0.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;}
.btn-outline{background:rgba(0,0,0,0.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;border-color:rgba(255,255,255,0.18);}
.btn-outline:hover{background:rgba(0,0,0,0.75);border-color:rgba(255,255,255,0.4);}
.btn-block{width:100%;}

/* ---------- Layout ---------- */
.wrap{max-width:var(--max-w);margin:0 auto;padding:0 32px;}
@media (max-width:640px){.wrap{padding:0 20px;}}
.section{padding:96px 0;}
.section-tight{padding:64px 0;}
@media (max-width:720px){.section{padding:64px 0;}.section-tight{padding:44px 0;}}
.section-alt{background:rgba(23,22,21,0.4);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);}

.grid{display:grid;gap:20px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
}

.eyebrow-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap;}

/* ---------- Nav ---------- */
.navbar{
  position:fixed;top:16px;left:0;right:0;z-index:100;
  display:flex;justify-content:center;
  pointer-events:none;
}
.navbar-inner{
  pointer-events:auto;
  width:calc(100% - 40px);
  max-width:1120px;
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(0,0,0,0.4);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-pill);
  padding:8px 8px 8px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-ember);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-ember);
  flex: none;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.1); }
}
.glow-dot {
  animation: pulseGlow 3s infinite ease-in-out;
}
.nav-links{display:flex;align-items:center;gap:2px;}
.nav-links a{
  font-size:14px;padding:8px 14px;border-radius:var(--radius-pill);color:#fff;
  transition:background .15s ease,color .15s ease;
}
.nav-links a:hover{background:rgba(255,255,255,0.06);}
.nav-links a.active{color:#fff;background:rgba(255,255,255,0.08);}
.nav-right{display:flex;align-items:center;gap:8px;}
.nav-burger{display:none;background:transparent;border:none;color:#fff;padding:8px;}
@media (max-width:860px){
  .nav-links{display:none;}
  .nav-cta-text{display:none;}
  .nav-burger{display:inline-flex;}
}
.mobile-menu{
  position:fixed;inset:0;z-index:99;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}
.mobile-menu a{font-family:var(--font-display);font-weight:300;font-size:40px;padding:8px 0;color:#fff;text-decoration:none;transition:color 0.2s ease;}
.mobile-menu a:hover{color:var(--color-ember);}
.mobile-menu[hidden]{
  display:flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;flex-direction:column;justify-content:flex-end;
  padding-bottom: 200px;
  overflow:hidden;
}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(0.85) brightness(0.95);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(15,13,13,0.45) 55%, rgba(15, 13, 13, 0) 100%);
}

.hero-content{position:relative;z-index:2;text-align:center;padding:160px 24px 48px;max-width:820px;margin:0 auto;}
.hero-content .h-display{margin:20px 0 18px;color:#fff;}
.hero-content p{max-width:520px;margin:0 auto 32px;color:var(--color-ash);font-size:16px;}
.hero-video-card{
  position:relative;z-index:2;margin:0 32px 40px;
  display:flex;align-items:center;gap:14px;
  background:rgba(0,0,0,0.55);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;padding:14px;max-width:340px;
  backdrop-filter:blur(6px);
}
.hero-video-card .thumb{width:56px;height:56px;border-radius:6px;background-size:cover;background-position:center;flex:none;}
.hero-video-card .thumb-play{position:relative;}
.hero-video-card .thumb-play::after{
  content:"";position:absolute;inset:0;margin:auto;width:0;height:0;
  border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #fff;
  top:0;bottom:0;left:2px;
}
.hero-logos{position:relative;z-index:2;padding:28px 32px;}
.hero-logos .wrap{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;}
.hero-logos span{
  font-family:var(--font-display);font-weight:300;font-size:20px;color:#fff;opacity:0.55;
  filter:grayscale(1) brightness(0.92);
}

/* ---------- Cards ---------- */
.card{
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.04);
  border-radius:var(--radius-cards);
  padding:24px;
}
.card-graphite{background:rgba(0,0,0,0.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius-cards);padding:24px;}

.card-glass{
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-cards);
  padding:24px;
}
.card-ember{background:rgba(220,38,38,0.15);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(220,38,38,0.3);border-radius:var(--radius-cards);padding:24px;}

.card-oniblood{background:rgba(153,27,27,0.15);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(153,27,27,0.3);border-radius:var(--radius-cards);padding:24px;}


.badge-pill{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(0,0,0,0.55);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--radius-pill);
  padding:8px 16px;
  font-family:var(--font-mono);font-size:11px;letter-spacing:0.09em;text-transform:uppercase;color:#fff;
}
.badge-pill .dot{width:6px;height:6px;border-radius:50%;background:var(--color-ember);}

.tag{
  display:inline-block;border-radius:var(--radius-chips);padding:4px 10px;
  font-family:var(--font-mono);font-size:11px;letter-spacing:0.07em;text-transform:uppercase;
  background:rgba(255,255,255,0.06);color:var(--color-fog);border:1px solid rgba(255,255,255,0.08);
}

/* ---------- Work grid ---------- */
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;}
.filter-btn{
  border-radius:var(--radius-pill);padding:8px 18px;font-size:14px;
  background:transparent;border:1px solid rgba(255,255,255,0.14);color:var(--color-fog);
}
.filter-btn.active{background:#fff;color:#000;border-color:#fff;}

.work-card{border-radius:var(--radius-cards);overflow:hidden;background:rgba(0,0,0,0.45);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.04);display:flex;flex-direction:column;transition:transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;}
.work-card:hover{border-color:rgba(255,255,255,0.15);}
.work-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(0,0,0,0.35);}
.work-card .cover{aspect-ratio:4/3;background-size:cover;background-position:center;border-radius:var(--radius-cards) var(--radius-cards) 0 0;}
.work-card .body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1;}
.work-card:hover .cover{outline:1px solid rgba(255,255,255,0.15);}

.stepped-panel{background:rgba(0,0,0,0.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius-cards);padding:32px;transition:transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease;}
.stepped-panel:hover{border-color:rgba(255,255,255,0.15); transform:translateY(-3px);}
.stepped-panel:hover{transform:translateY(-3px);}
.stepped-panel .grid-2{align-items:center;}
.stepped-panel img{border-radius:var(--radius-images);}


.work-wide-card {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-cards);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
}
.work-wide-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.work-wide-images {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.work-wide-images > div {
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.work-wide-images .img-main {
  aspect-ratio: 16/9; /* Make it taller so it dominates the card */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-wide-images .img-sub-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  height: 100%;
}
.work-wide-images .img-sub {
  width: 100%;
  height: 100%;
  min-height: 0;
}
/* Ensure the placeholder div expands properly inside the grid cells */
.work-wide-images .img-placeholder {
  height: 100% !important;
  width: 100% !important;
  position: relative;
  border-radius: 0 !important;
}
.work-wide-body {
  padding: 24px 32px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
@media (max-width: 860px) {
  .work-wide-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
  }
}
@media (max-width: 640px) {
  .work-wide-images {
    grid-template-columns: 1fr;
  }
  .work-wide-images .img-sub-col {
    display: none;
  }
}

/* ---------- Image placeholders ---------- */
.img-placeholder{
  width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  background:repeating-linear-gradient(135deg, var(--color-graphite) 0px, var(--color-graphite) 2px, var(--color-charcoal) 2px, var(--color-charcoal) 13px);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:inherit;
  color:var(--color-smoke);
  min-height:100%;
  box-sizing:border-box;
  overflow:hidden;
}
.img-placeholder .ph-icon{width:26px;height:26px;stroke:var(--color-smoke);flex:none;}
.img-placeholder .ph-label{
  font-family:var(--font-mono);font-size:10px;letter-spacing:0.08em;text-transform:uppercase;
  text-align:center;padding:0 16px;line-height:1.6;max-width:220px;
}
.img-placeholder.ph-mini{gap:0;}
.img-placeholder.ph-mini .ph-icon{width:18px;height:18px;}
.img-placeholder.ph-mini .ph-label{display:none;}
.img-placeholder.ph-hero{border:none;border-radius:0;}
.img-placeholder.ph-hero .ph-icon{width:40px;height:40px;}

/* ---------- Team ---------- */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.18);
}
.team-card .photo {
  aspect-ratio: 3/4;
  width: 100%;
  background: rgba(255,255,255,0.03);
  position: relative;
}
.team-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-card .mono-label { color: var(--color-ember); margin: 0; }
.team-card .h-sub { color: #fff; margin: 0; }

.team-grid-staggered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}
.team-card-v3 {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
/* Use margin for staggering so it doesn't fight with transform logic */
.team-card-v3:nth-child(even) {
  margin-top: 40px;
  margin-bottom: -40px;
}
.team-card-v3:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.2);
  z-index: 10;
}
.team-card-v3 .photo {
  aspect-ratio: 3/4;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.team-card-v3 .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.team-card-v3 .body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-v3 .role {
  color: var(--color-ember);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.team-card-v3 .h-sub {
  font-size: 20px;
  margin: 0;
  color: #fff;
}
@media (max-width: 900px) {
  .team-grid-staggered {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-card-v3:nth-child(even) { margin-top: 0; margin-bottom: 0; }
  
}
@media (max-width: 640px) {
  .team-grid-staggered {
    grid-template-columns: 1fr;
  }
}

/* ---------- Forms ---------- */
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;}
.field label{font-size:13px;color:var(--color-ash);}
.field input, .field textarea, .field select{
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:6px;
  padding:12px 14px;
  color:#fff;
  font-family:inherit;
  font-size:14px;
}
.field textarea{resize:vertical;min-height:120px;}
.field input:focus, .field textarea:focus, .field select:focus{border-color:rgba(255,255,255,0.35);}
.radio-group{display:flex;gap:10px;flex-wrap:wrap;}
.radio-chip{background:rgba(0,0,0,0.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.14);border-radius:var(--radius-pill);padding:8px 16px;font-size:13px;color:var(--color-fog);}
.radio-chip.active{background:#fff;color:#000;border-color:#fff;}
.form-success{background:rgba(0,0,0,0.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius-cards);padding:32px;text-align:center;}

/* ---------- FAQ ---------- */
.faq-item{border-top:1px solid rgba(255,255,255,0.08);padding:22px 0;}
.faq-item:last-child{border-bottom:1px solid rgba(255,255,255,0.08);}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;background:none;border:none;color:#fff;text-align:left;padding:0;}
.faq-q .h-sub{font-size:18px;}
.faq-plus{font-size:20px;color:var(--color-ash);transition:transform .2s ease;flex:none;}
.faq-item.open .faq-plus{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:400px;}
.faq-a p{padding-top:14px;margin:0;color:var(--color-fog);}

/* ---------- Footer ---------- */
footer{background:rgba(5, 4, 4, 0.4);border-top:1px solid rgba(255,255,255,0.06);padding:64px 0 32px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;margin-bottom:56px;}
@media (max-width:720px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-grid h4{font-size:13px;color:var(--color-ash);margin:0 0 16px;font-weight:500;}
.footer-grid a{display:block;font-size:14px;color:#fff;margin-bottom:10px;}
.footer-grid a:hover{color:var(--color-fog);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid rgba(255,255,255,0.06);padding-top:24px;font-size:13px;color:var(--color-smoke);}
.footer-bottom a{color:var(--color-smoke);}
.footer-bottom a:hover{color:#fff;}

/* ---------- misc pages ---------- */
.breadcrumb{font-size:13px;color:var(--color-smoke);margin-bottom:20px;}
.breadcrumb a:hover{color:#fff;}
.divider{height:1px;background:rgba(255,255,255,0.08);margin:56px 0;}
.icon-line{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.4;}
.not-found{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:120px 24px;}
.next-case{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px;border-radius:var(--radius-cards);background:rgba(0,0,0,0.45);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.04);}
.next-case:hover{transform:translateY(-3px);}
.legal p, .legal li{color:var(--color-fog);}
.legal h2{margin-top:48px;}
.legal ul{padding-left:20px;}
.meta-row{display:flex;gap:32px;flex-wrap:wrap;margin:32px 0;}
.meta-item{min-width:120px;}
.meta-item .mono-label{margin-bottom:6px;}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1);will-change:opacity,transform;}
.reveal.is-visible{opacity:1;transform:translateY(0);}
/* Used where cards sit in a tall single-column stack (e.g. Services) — the
   default .7s/70ms-step timing feels sluggish there since each card is
   large and users scroll past several of them; this trims both the
   per-card transition and the stagger step so they catch up with the scroll. */
.reveal-fast{transition:opacity .35s cubic-bezier(.16,.7,.3,1), transform .35s cubic-bezier(.16,.7,.3,1) !important;}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
}

/* ---------- Global Interactive & Scrolling Website Grid ---------- */
body {
  position: relative;
  overflow-x: hidden;
  /* Mobile Safari/Chrome quirk: the decorative full-bleed background layers
     just below (.site-grid-bg is intentionally offset -40px on every side,
     .process-timeline-wrap uses the classic 100vw/-50vw full-bleed trick)
     can end up a few pixels wider than the visual viewport on some mobile
     browsers, and `overflow-x: hidden` alone doesn't reliably stop a
     position:fixed element's edge from being reachable by a horizontal
     swipe on iOS Safari specifically. Restricting touch panning to the
     vertical axis closes that gap regardless of any element's exact
     computed width, without touching the decorative layout. */
  touch-action: pan-y;
}
.site-grid-bg {
  position: fixed;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.site-grid-spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.035), transparent 60%);
}
.site-grid-guides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.site-grid-guides-inner {
  width: 100%;
  max-width: var(--max-w);
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
  position: relative;
}
@media (max-width: 900px){.site-grid-guides-inner{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 640px){.site-grid-guides-inner{grid-template-columns: 1fr; padding: 0 20px;}}

.site-grid-col {
  height: 100%;
}
.site-grid-col:last-child {
}

/* Ensure interactive content is relative above background */
.wrap, .hero-content, .hero-video-card, .hero-logos {
  position: relative;
  z-index: 2;
}

/* Structural section grid lines */
.section, .section-tight {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-alt {
  position: relative;
  background: rgba(23, 22, 21, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


/* ---------- Process Timeline ---------- */
.process-scroll-section {
  position: relative;
  width: 100%;
}
.sticky-process {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  width: 100%;
  padding-top: 96px;
}
@media (max-width:720px){
  .sticky-process { padding-top: 64px; }
}
.process-timeline-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 0 32px 32px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width:640px) { .process-timeline-wrap { padding: 0 20px 32px; } }

.sticky-process .wrap h1.h-lg {
  font-size: clamp(30px, 5.8vh, 52px);
  line-height: 1.15;
}
.sticky-process .wrap p.body-fog {
  font-size: clamp(15px, 1.9vh, 17px);
  line-height: 1.45;
}

.process-timeline {
  display: flex;
  min-width: max-content;
  flex-shrink: 0;
  padding: 0 calc(max(50vw - 608px, 32px));
}
@media (max-width: 640px) {
  .process-timeline {
    padding: 0 20px;
  }
}

.process-step {
  width: 340px;
  flex: none;
  display: flex;
  flex-direction: column;
  position: relative;
}
.process-step-mini {
  width: 280px;
}

.process-header {
  padding-right: 32px;
  margin-bottom: clamp(10px, 2.2vh, 22px);
}
.process-step-num{
  font-family:var(--font-mono);
  font-size:clamp(11px, 1.3vh, 13px);
  font-weight:500;
  letter-spacing:0.09em;
  text-transform:uppercase;
  color:var(--color-ember);
  display:block;
}
.process-step-title{
  font-family:var(--font-sans);
  font-weight:500;
  font-size:clamp(20px, 3.2vh, 26px);
  line-height:1.25;
  margin:4px 0 0;
  color:#fff;
}

.process-line {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: clamp(12px, 2.8vh, 28px);
  width: 100%;
}

.process-dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-ember);
  box-shadow: 0 0 12px var(--color-ember);
}

.process-body {
  padding-right: 48px;
}
.process-detail{
  color:var(--color-fog);
  font-size:clamp(15px, 1.75vh, 17px);
  line-height:1.48;
  margin:0 0 clamp(10px, 1.8vh, 18px);
}
.process-meta-label{
  font-family:var(--font-mono);
  font-size:clamp(11px, 1.15vh, 12px);
  font-weight:500;
  letter-spacing:0.09em;
  text-transform:uppercase;
  color:var(--color-ash);
  margin-bottom:clamp(3px, 0.6vh, 5px);
}
.process-meta-value{
  font-size:clamp(14px, 1.5vh, 15.5px);
  line-height:1.42;
  color:#fff;
  margin:0 0 clamp(7px, 1.4vh, 15px);
}
.process-meta-value:last-child{ margin-bottom:0; }

@media (max-height: 700px) {
  .sticky-process .wrap h1.h-lg { font-size: clamp(22px, 4.6vh, 36px); }
  .sticky-process .wrap p.body-fog { font-size: 13px; line-height: 1.35; }
  .process-header { margin-bottom: 8px; }
  .process-step-num { font-size: 10px; }
  .process-step-title { font-size: 17px; }
  .process-line { margin-bottom: 10px; }
  .process-detail { font-size: 12.5px; line-height: 1.35; margin-bottom: 8px; }
  .process-meta-label { font-size: 9.5px; margin-bottom: 2px; }
  .process-meta-value { font-size: 11.5px; line-height: 1.3; margin-bottom: 5px; }
}

@media (max-width: 768px) {
  .process-step { width: 300px; }
  .process-body { padding-right: 32px; }
}


/* ---------- Hand Carousel ---------- */
.hand-carousel-wrap {
  position: relative;
  width: 100%;
  padding: 16px 0 0 0;
}
.hand-carousel {
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  touch-action: pan-y; /* allow normal vertical scrolling over it */
}
.hand-card {
  position: absolute;
  width: 360px;
  background: rgba(0,0,0,0.85); /* Solidified glass so overlapping text doesn't bleed through and ruin readability */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px;
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  user-select: none;
  will-change: transform, opacity, filter;
}
.hand-card:hover {
  border-color: rgba(255,255,255,0.25);
}
.hand-card.active {
  cursor: default;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.75);
}

/* Ensure inactive text is slightly darker to build depth */
.hand-card.inactive-card * {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.5) !important;
  border-color: rgba(255,255,255,0.05) !important;
}
.hand-card.inactive-card .btn {
  display: none;
}

.hand-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 100;
}
.hand-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 16px;
}
.hand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.hand-dot.active {
  background: var(--color-ember);
  transform: scale(1.5);
  box-shadow: 0 0 8px var(--color-ember);
}
.hand-dot:hover:not(.active) {
  background: rgba(255,255,255,0.5);
}
@media (max-width: 640px) {
  .hand-card { width: 300px; padding: 24px; }
}


@media (max-width: 768px) {
  .why-oniyo-grid {
    grid-template-columns: 1fr !important;
  }
  .why-oniyo-grid > .card-graphite {
    min-height: auto !important;
    padding: 32px !important;
  }
  .why-oniyo-grid .card-glass, .why-oniyo-grid .card-ember {
    padding: 32px !important;
  }
}


/* ---------- Trust Section ---------- */
.trust-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.trust-testimonial {
  position: relative;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-cards);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.quote-icon {
  width: 160px;
  height: 160px;
  position: absolute;
  top: -20px;
  left: 10px;
  z-index: 0;
  opacity: 0.5;
}
.trust-slides {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
}
.trust-slide {
  grid-area: 1/1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}
.trust-slide.prev-slide {
  transform: translateX(-20px) scale(0.98);
}
.trust-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}
.trust-slide p {
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 32px 0;
  min-height: 100px;
}
.trust-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.author-avatar .img-placeholder {
  border-radius: 50% !important;
}
.trust-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  z-index: 2;
  position: relative;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
.stat-card {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-cards);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.stat-val {
  font-size: 48px;
  font-weight: 300;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--color-ember);
  line-height: 1;
}
.stat-desc {
  font-size: 13px;
  color: var(--color-fog);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .trust-container { grid-template-columns: 1fr; }
  .trust-testimonial { padding: 32px; }
  .quote-icon { width: 80px; height: 80px; }
}
@media (max-width: 500px) {
  .trust-stats { grid-template-columns: 1fr; }
}

/* ---------- Professional Studio CTA Section ---------- */
.pro-cta-container {
  position: relative;
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.pro-cta-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 26, 12, 0.35) 0%, rgba(99, 0, 0, 0.18) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.pro-cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.pro-cta-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
@media (max-width: 640px) {
  .pro-cta-topbar { padding: 14px 24px; }
}
.pro-cta-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-paper);
}
.pro-cta-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  flex: none;
}
.pro-cta-response {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.pro-cta-response .label {
  color: var(--color-ash);
}
.pro-cta-response .divider {
  color: rgba(255, 255, 255, 0.15);
}
.pro-cta-response .value {
  color: var(--color-paper);
}
.pro-cta-body {
  position: relative;
  z-index: 2;
  padding: 52px 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .pro-cta-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 24px;
  }
}
.pro-cta-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.pro-cta-left .h-lg {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
@media (max-width: 720px) {
  .pro-cta-left .h-lg { font-size: 34px; }
}
.pro-cta-left p {
  font-size: 17px;
  color: var(--color-fog);
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
}
.pro-cta-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pro-cta-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-fog);
}
.pro-cta-step .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}
.pro-cta-action-box {
  background: rgba(15, 13, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.pro-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}
.pro-cta-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}
.pro-cta-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ash);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pro-cta-divider::before, .pro-cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.pro-cta-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pro-cta-direct:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.pro-cta-direct .email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
}
.pro-cta-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--color-ash);
}


/* ---------- Redesigned Left-Aligned Architectural Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 120px;
  padding-bottom: 200px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.92);

  -webkit-mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 13, 13, 0.94) 0%, rgba(15, 13, 13, 0.45) 55%, rgba(15, 13, 13, 0) 100%);
}
.hero-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-top: 32px;
  padding-bottom: 64px;
}
@media (max-width: 992px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 24px;
  }
}
.hero-main-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-display-wide {
  font-family: "Plus Jakarta Sans", "Inter", var(--font-sans);
  font-weight: 600;
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 18px 0 24px 0;
}
.hero-subtitle-left {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-fog);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 0 36px 0;
}
.hero-actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions-left .btn {
  padding: 14px 26px;
  font-size: 15px;
}
.hero-showreel-card {
  background: rgba(23, 22, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hero-showreel-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}
.showreel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.showreel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}


/* ---------- Spatial Hero Layout (IntegratedBio placement) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: 200px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.88);

  -webkit-mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 25%, transparent 100%);
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.hero-bg-video::-webkit-media-controls,
.hero-bg-video::-webkit-media-controls-start-playback-button,
.hero-bg-video::-webkit-media-controls-play-button,
.hero-bg-video::-webkit-media-controls-overlay-play-button,
.hero-bg-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 13, 13, 0.45) 0%, rgba(15, 13, 13, 0.3) 45%, rgba(15, 13, 13, 0) 100%);
}
.hero-spatial-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-top: 8vh;
  padding-bottom: 48px;
}
.hero-spatial-headline {
  max-width: 980px;
}
.hero-display-spatial {
  font-family: "Plus Jakarta Sans", "Inter", var(--font-sans);
  font-weight: 600;
  font-size: clamp(48px, 6.8vw, 86px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
}
.hero-spatial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 70px;
}
.hero-bottom-left {
  max-width: 580px;
}
.hero-spatial-subtext {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-fog);
  line-height: 1.6;
  margin: 0;
}

.hero-spatial-subtext .brand-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2em;
  color: #ffffff;
  letter-spacing: 0;
}
.hero-bottom-right {
  display: flex;
  align-items: center;
}
.hero-split-cta {
  display: inline-flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.2s ease;
}
.hero-split-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
}
.split-cta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}
.hero-split-cta:hover .split-cta-label {
  background: rgba(255, 255, 255, 0.08);
}
.split-cta-arrow {
  background: var(--color-ember);
  color: #ffffff;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-split-cta:hover .split-cta-arrow {
  background: #a8200f;
  transform: translateX(2px);
}
@media (max-width: 768px) {
  .hero-spatial-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

