@font-face {
  font-family: 'Wagon';
  src: url('fonts/Wagon-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=cabinet-grotesk@400,500,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Luckiest+Guy&family=Bebas+Neue&family=Archivo+Black&family=Anton&family=Caveat:wght@400..700&display=swap');

/* ═══════════════════════════════════════════════
   PALETTE — NEAR-BLACK × WARM CREAM × ORANGE
   ═══════════════════════════════════════════════ */
:root {
  --bg:      rgba(11,11,11,0.85);
  --bg-alt:  rgba(19,19,19,0.88);
  --ink:     #F2EDE4;
  --ink-2:   rgba(242,237,228,0.58);
  --accent:  #FF5C00;
  --muted:   #525252;
  --border:  rgba(255,255,255,0.08);
  --surface: rgba(255,255,255,0.04);
}
/* Light mode */
body.light {
  --bg:      rgba(242,237,228,0.85);
  --bg-alt:  rgba(234,229,221,0.88);
  --ink:     #0B0B0B;
  --ink-2:   rgba(11,11,11,0.55);
  --muted:   #888;
  --border:  rgba(0,0,0,0.1);
  --surface: rgba(0,0,0,0.03);
}

/* ═══ RESET ══════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg);color:var(--ink);font-family:'Cabinet Grotesk',sans-serif;font-size:16px;overflow-x:hidden;transition:background 0.45s ease,color 0.45s ease;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
button{border:none;background:none;font-family:inherit;cursor:pointer;}

/* ═══ SCROLL PROGRESS ════════════════════════════ */
#scroll-line{position:fixed;top:0;left:0;height:2px;background:var(--accent);width:0%;z-index:10000;transition:width 0.1s linear;}



/* ═══ LOADER ══════════════════════════════════════ */
#loader{
  position:fixed;inset:0;z-index:99999;
  background:#0B0B0B;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;
  transition:transform 0.7s cubic-bezier(0.76,0,0.24,1);
}
#loader.out{transform:translateY(-100%);pointer-events:none;}
.loader-inner{position:relative;width:160px;height:160px;}
.loader-svg{width:100%;height:100%;transform:rotate(-90deg);}
.loader-track{fill:none;stroke:rgba(242,237,228,0.07);stroke-width:1.5;}
.loader-arc{
  fill:none;stroke:#FF5C00;stroke-width:1.5;stroke-linecap:round;
  stroke-dasharray:439.8;stroke-dashoffset:439.8;
  animation:arc-draw 0.85s cubic-bezier(0.25,0.46,0.45,0.94) 0.1s forwards;
}
@keyframes arc-draw{to{stroke-dashoffset:0;}}
.loader-letter{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'Clash Display','Syne',sans-serif;
  font-size:82px;font-weight:900;color:#F2EDE4;line-height:1;
  opacity:0;animation:ld-fade 0.3s ease 0.15s forwards;
}
.loader-sub{
  font-family:'Geist Mono',monospace;font-size:10px;
  letter-spacing:0.28em;color:rgba(242,237,228,0.32);
  text-transform:uppercase;opacity:0;
  animation:ld-fade 0.4s ease 0.72s forwards;
}
@keyframes ld-fade{to{opacity:1;}}

/* ═══ LIQUID GLASS NAVIGATION ══════════════════════ */
.liquid-nav {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 999px;
  /* Authentic glass — dark bg makes it crisp */
  background: rgba(18, 18, 20, 0.55);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  box-shadow:
    0 32px 64px -16px rgba(0,0,0,0.6),
    0 8px 24px -8px rgba(0,0,0,0.4),
    inset 0 1.5px 2px -1px rgba(255,255,255,0.18),
    inset 0 -1px 3px -1px rgba(255,255,255,0.04),
    inset 0 0 0 1px rgba(255,255,255,0.10);
  transition: box-shadow 0.4s ease, top 0.4s ease;
}
body.light .liquid-nav {
  background: rgba(255,255,255,0.35);
  box-shadow:
    0 32px 64px -16px rgba(0,0,0,0.12),
    0 8px 24px -8px rgba(0,0,0,0.08),
    inset 0 1.5px 2px -1px rgba(255,255,255,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.5);
}

/* Curved wet-glass reflection */
.liquid-nav::before {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px;
  height: 44%;
  border-radius: 999px 999px 20px 20px / 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 100%);
  pointer-events: none;
  z-index: 6;
}

/* Mouse-following glare */
.liquid-glare-container { position:absolute; inset:0; border-radius:999px; overflow:hidden; pointer-events:none; z-index:5; }
.liquid-glare {
  position:absolute; inset:0; opacity:0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle 80px at var(--x,50%) var(--y,50%), rgba(255,255,255,0.18) 0%, transparent 100%);
  mix-blend-mode: overlay;
}
.liquid-nav:hover .liquid-glare { opacity: 1; }

/* Nav link items + sliding pill */
.nav-items { position:relative; display:flex; align-items:center; gap:2px; z-index:3; }
.active-pill {
  position: absolute;
  top: 0; left: 0;
  height: 48px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.25);
  transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1), width 0.5s cubic-bezier(0.34,1.2,0.64,1);
  z-index: 1;
}
body.light .active-pill {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,0.9);
}
.nav-btn {
  position: relative;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  padding: 0 28px;
  height: 48px;
  border-radius: 999px;
  display: flex; align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 2;
  white-space: nowrap;
}
.nav-btn.active { color: rgba(255,255,255,0.95); }
.nav-btn:active { transform: scale(0.95); }
body.light .nav-btn { color: rgba(0,0,0,0.45); }
body.light .nav-btn.active { color: rgba(0,0,0,0.9); }

/* Divider */
.nav-divider {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.12);
  margin: 0 4px;
  flex-shrink: 0;
  z-index: 3;
}
body.light .nav-divider { background: rgba(0,0,0,0.1); }

/* Theme toggle inside liquid nav */
.lnav-theme-btn {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; flex-shrink: 0;
  transition: color 0.3s ease;
}
.lnav-theme-btn:hover { color: rgba(255,255,255,0.9); }
body.light .lnav-theme-btn { color: rgba(0,0,0,0.45); }
body.light .lnav-theme-btn:hover { color: rgba(0,0,0,0.9); }
.lnav-icon-wrap { position:relative; width:22px; height:22px; }
.lnav-icon-wrap svg { position:absolute; top:0; left:0; transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1), opacity 0.4s ease; }
.lnav-sun  { opacity:0; transform: rotate(-90deg) scale(0); }
.lnav-moon { opacity:1; transform: rotate(0deg) scale(1); }
body.light .lnav-sun  { opacity:1; transform: rotate(0deg) scale(1); }
body.light .lnav-moon { opacity:0; transform: rotate(90deg) scale(0); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.75);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  display: block;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.light .hamburger span { background: rgba(0,0,0,0.7); }
body.light .hamburger:hover { background: rgba(0,0,0,0.05); }

/* Mobile full-screen menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  /* Translucent glass overlay */
  background: rgba(6, 13, 19, 0.88);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10vw;
  gap: 8px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s cubic-bezier(0.77,0,0.175,1);
  overflow: hidden;
}
body.light .mobile-menu {
  background: rgba(242, 237, 228, 0.88);
}
.mobile-menu::before {
  content: 'MENU';
  position: absolute;
  top: 32px;
  left: 10vw;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.mobile-menu.open { clip-path: inset(0 0 0% 0); }
.mobile-menu a {
  font-family: 'Clash Display','Syne', sans-serif;
  font-size: clamp(48px, 12vw, 80px);
  font-weight: 700;
  color: var(--ink-2);
  transition: color 0.2s, transform 0.2s;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: block;
}
.mobile-menu a:hover { color: var(--accent); transform: translateX(8px); }
.mobile-menu-footer {
  position: absolute;
  bottom: 40px;
  left: 10vw;
  right: 10vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ═══ SITE WORDMARK — fixed top-left, hero only ═══════════ */
.site-wordmark {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 1001;
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  perspective: 400px;
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1);
  /* No mix-blend-mode — color stays constant on light/dark toggle */
}
.site-wordmark span {
  font-family: 'Clash Display', 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(242,237,228,0.88); /* brighter — compensates for removed blend mode */
  line-height: 1;
  display: inline-block;
  transform-origin: center 60%;
  transform-style: preserve-3d;
  transition: color 0.2s ease;
}
/* intentionally no body.light override — logo color stays the same */
.site-wordmark:hover span { color: var(--accent); }
/* Split-flap / departure-board flip — staggered per letter */
.site-wordmark:hover span:nth-child(1) { animation: flap 0.42s cubic-bezier(0.22,1,0.36,1) 0.00s both; }
.site-wordmark:hover span:nth-child(2) { animation: flap 0.42s cubic-bezier(0.22,1,0.36,1) 0.07s both; }
.site-wordmark:hover span:nth-child(3) { animation: flap 0.42s cubic-bezier(0.22,1,0.36,1) 0.14s both; }
.site-wordmark:hover span:nth-child(4) { animation: flap 0.42s cubic-bezier(0.22,1,0.36,1) 0.21s both; }
@keyframes flap {
  0%   { transform: rotateX(0deg)   translateY(0px); }
  30%  { transform: rotateX(-80deg) translateY(-3px); }
  60%  { transform: rotateX(14deg)  translateY(-1px); }
  100% { transform: rotateX(0deg)   translateY(0px); }
}
.site-wordmark::after {
  content: '.';
  font-family: 'Clash Display', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  margin-left: 1px;
  line-height: 1;
}

/* ═══ HERO SOCIALS — fixed top-right, hero only ════════════ */
.hero-social-sidebar {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  /* No mix-blend-mode — icons stay constant on light/dark toggle */
}
.hero-social-sidebar::before, .hero-social-sidebar::after { display: none; }
.hsb-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242,237,228,0.55); /* fixed — never changes on theme toggle */
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: color 0.22s ease;
}
.hsb-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255,92,0,0.0);
  transition: background 0.25s ease;
  z-index: 0;
}
.hsb-link:hover { color: #fff; }
.hsb-link:hover::before { background: rgba(255,92,0,0.18); }
.hsb-link svg {
  width: 20px; height: 20px;
  position: relative; z-index: 1;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.hsb-link:hover svg { transform: translateY(-2px); }
.hsb-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  z-index: 1;
}
.hsb-link:hover::after { transform: translateX(-50%) scaleX(1); }
/* intentionally no body.light overrides — icon colors stay the same */
@media (max-width: 768px) {
  .hero-social-sidebar { display: none; }
}


/* ═══ WILLEM-INSPIRED LOADER ════════════════════════ */
.meet-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Name row */
.meet-loader__name {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'Clash Display', 'Syne', sans-serif;
  font-size: clamp(96px, 16vw, 220px);
  font-weight: 800;
  line-height: 0.85;
  color: #F2EDE4;
  position: relative;
}

/* Left/right letter clusters — overflow hidden so letters slide up */
.meet-loader__cluster {
  display: flex;
  overflow: hidden;
}
.meet-loader__cluster--left  { justify-content: flex-end; }
.meet-loader__cluster--right { justify-content: flex-start; }
.meet-loader__letter { display: block; }

/* The gap between ME and ET — showreel widget lives here */
.meet-loader__gap {
  width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  align-self: stretch;
}
.meet-loader__gap-inner {
  width: 1.05em;
  min-width: 1.05em;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
}

/* Footer row */
.meet-loader__footer {
  position: absolute;
  bottom: clamp(20px, 3vh, 40px);
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 clamp(20px, 4vw, 60px);
  opacity: 0;
}
.meet-loader__tag {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.4em;
  color: rgba(242,237,228,0.35);
  text-transform: uppercase;
}
.meet-loader__frames {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.4em;
  color: var(--accent, #FF5C00);
  text-transform: uppercase;
}

/* Letterbox bars */
.loader-bar {
  position: absolute; left: 0; right: 0;
  height: 5px;
  background: var(--accent, #FF5C00);
  z-index: 10;
  transform-origin: left center;
  transform: scaleX(0);
}
.loader-bar--top    { top: 0; }
.loader-bar--bottom { bottom: 0; }

/* ═══ LOADER SHOWREEL WIDGET ══════════════════ */
/* Pure video, no text, no overlays. Fills the gap between ME and ET. */
.loader-showreel-widget {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.loader-showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ═══ HERO ═══════════════════════════════════════ */
#hero{position:relative;height:100vh;min-height:600px;background:var(--bg);overflow:hidden;display:flex;flex-direction:column;justify-content:center;}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.55;mix-blend-mode:normal;}
/* Strong left vignette — text zone is dark, video breathes to the right */
.hero-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(to right, rgba(6,13,19,0.97) 0%, rgba(6,13,19,0.88) 38%, rgba(6,13,19,0.45) 62%, rgba(6,13,19,0.05) 100%),
    linear-gradient(to bottom, rgba(6,13,19,0.3) 0%, rgba(6,13,19,0.0) 35%, rgba(6,13,19,0.0) 65%, rgba(6,13,19,0.75) 100%);
}
#hero::before{content:none;}
#hero::after{content:none;}

.hero-content{
  position:relative;
  z-index:3;
  padding: 0 80px;
  margin-top: 0;          /* let the section's justify-content:center do the work */
  text-align:left;
  /* Give the block a soft top offset so name doesn't kiss the nav */
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-label{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);margin-bottom:16px;opacity:0;letter-spacing:0.1em;font-weight:500;text-transform:uppercase;}

/* Hero name */
.hero-name{
  display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;
  color:#F2EDE4;line-height:0.88;text-transform:uppercase;overflow:visible;
}
.name-meet{
  font-family:'Clash Display','Syne',sans-serif;
  font-size:clamp(72px, 11.5vw, 160px);
  letter-spacing:-0.03em;font-weight:700;
  color:#F2EDE4;display:block;
}
.name-mangaonkar{
  font-family: 'Wagon', 'Luckiest Guy', cursive;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(60px, 12vw, 150px);
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--accent);
  display: block;
  line-height: 0.9;
  margin-top: 0px;
}

.hero-roles{
  font-family:'Cabinet Grotesk',sans-serif;
  font-size:12px;
  color:rgba(242,237,228,0.58);
  letter-spacing:0.25em;
  margin-top:32px;   /* more breathing room after the name */
  opacity:0;
  font-weight:600;
  text-transform:uppercase;
  text-align:left;
}
.hero-cta{
  margin-top: 52px;  /* generous gap before the buttons */
  display:flex;
  align-items:center;
  gap:16px;
}
/* ── HERO AVAILABILITY LINE ── */
.hero-availability {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(242,237,228,0.40);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 28px;          /* clear gap from the roles line above */
  margin-bottom: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;        /* indent to visually separate from the name block */
  border-left: 1.5px solid rgba(255,92,0,0.45);  /* subtle orange accent bar */
}
.hero-availability::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(74,222,128,0.7);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(74,222,128,0.7); }
  50% { opacity: 0.5; box-shadow: 0 0 2px rgba(74,222,128,0.3); }
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* High-contrast: solid border + solid bg to meet 4.5:1 ratio */
  color: #F2EDE4;
  background: rgba(242,237,228,0.10);
  border: 1.5px solid rgba(242,237,228,0.70);
  padding: 14px 32px;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-resume:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0B0B0B;
  transform: translateY(-3px);
}
.btn-resume:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
}

/* CTA — Contact Now button beside Resume */
.btn-contact-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0B0B0B;
  background: var(--accent);
  padding: 15px 34px;
  border-radius: 100px;
  border: 1.5px solid var(--accent);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  opacity: 0;
  box-shadow: 0 4px 24px rgba(255, 92, 0, 0.45), 0 0 0 0 rgba(255, 92, 0, 0.3);
  white-space: nowrap;
}
.btn-contact-now:hover {
  background: #cc4800;
  border-color: #cc4800;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 92, 0, 0.60);
}
.btn-contact-now:focus-visible {
  outline: 2.5px solid #fff;
  outline-offset: 4px;
}

/* Hero showreel widget — Apple-style app card */
.hero-showreel-widget {
  position: absolute;
  bottom: 40px;
  right: 52px;
  z-index: 99;
  width: 320px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  box-shadow: 
    0 2px 0 rgba(0,0,0,0.04), 
    0 8px 32px rgba(0,0,0,0.12), 
    0 32px 64px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px) translateZ(0); /* GPU compositing + entrance start */
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  pointer-events: none;
  cursor: grab;
  will-change: transform, opacity;
}
.hero-showreel-widget.ready {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  pointer-events: auto;
}
.hero-showreel-widget:active {
  cursor: grabbing;
}

/* Section 1 — Video (Always Visible) */
.widget-video-section {
  position: relative;
  height: 172px;
  margin: 6px;
  border-radius: 32px; /* Inner radius makes it look inset */
  overflow: hidden;
  will-change: transform;
}
.hero-showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.widget-video-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 2;
}

/* Section 2 — Text Drawer (Reveals on Hover) */
.widget-text-section {
  overflow: hidden;
  max-height: 0;
  padding: 0 22px;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}
.hero-showreel-widget:hover .widget-text-section {
  max-height: 50px;
  padding: 10px 22px 18px;
}
.widget-eyebrow {
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0;
}


/* ═══ SECTIONS COMMON ════════════════════════════ */
section{position:relative;padding:120px 64px;}
.ghost-num{position:absolute;font-family:'Clash Display','Syne',sans-serif;font-size:20vw;font-weight:700;color:rgba(255,255,255,0.035);pointer-events:none;top:-2vw;right:-2vw;line-height:1;z-index:0;user-select:none;}
body.light .ghost-num{color:rgba(0,0,0,0.06);}
/* Increased margin for better visual breathing room between heading and content */
.section-head{position:relative;z-index:1;margin-bottom:80px;}
.section-title{font-family:'Clash Display','Syne',sans-serif;font-size:clamp(56px,7.5vw,120px);font-weight:700;color:var(--accent);line-height:0.95;display:block;letter-spacing:-0.02em;}
.section-note{font-family:'Cabinet Grotesk',sans-serif;font-style:italic;font-size:20px;color:var(--muted);margin-top:12px;font-weight:300;}

/* Reveal */
.reveal{opacity:0;transform:translateY(40px);transition:opacity 0.7s ease,transform 0.7s ease;}
.reveal.revealed{opacity:1;transform:translateY(0);}
[style*="--delay"]{transition-delay:var(--delay,0s);}

/* Mobile line break — hidden on desktop, block on mobile */
.mobile-br { display: none; }

/* ═══ REELS SECTION ══════════════════════════════ */
#media{background:var(--bg-alt);}
.reels-wall{
  display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,280px);
  gap:16px;max-width:1200px;margin:56px auto 0;width:100%;position:relative;z-index:1;
}
.reel-card{
  position:relative;border-radius:12px;overflow:hidden;
  background:#080808;border:1px solid rgba(255,255,255,0.05);
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
  transition:transform 0.4s cubic-bezier(0.16,1,0.3,1),box-shadow 0.4s ease;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;
}
.reel-card:hover{transform:translateY(-4px) scale(1.015);box-shadow:0 20px 45px rgba(0,0,0,0.55);z-index:5;}
body.light .reel-card{background:#ccc7c0;border-color:rgba(0,0,0,0.07);}
.reel-video{width:100%;height:100%;object-fit:cover;display:block;}

.reels-wall .reel-card:nth-child(1){grid-area:1/1/2/3;}
.reels-wall .reel-card:nth-child(2){grid-area:1/3/2/4;}
.reels-wall .reel-card:nth-child(3){grid-area:1/4/3/5;}
.reels-wall .reel-card:nth-child(4){grid-area:2/1/4/2;}
.reels-wall .reel-card:nth-child(5){grid-area:2/2/3/4;}
.reels-wall .reel-card:nth-child(6){grid-area:3/2/4/4;}
.reels-wall .reel-card:nth-child(7){grid-area:3/4/5/5;}
.reels-wall .reel-card:nth-child(8){grid-area:4/1/5/4;}



.reel-overlay-gradient{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,8,8,0.97) 0%,rgba(8,8,8,0.18) 55%,transparent 100%);z-index:1;}
.reel-content-info{position:absolute;bottom:20px;left:20px;right:20px;z-index:2;}
.reel-type-badge{font-family:'Geist Mono',monospace;font-size:9px;background:rgba(255,92,0,0.18);color:var(--accent);padding:3px 8px;border-radius:100px;display:inline-block;margin-bottom:6px;letter-spacing:0.08em;font-weight:500;}
.reel-card-title{font-family:'Cabinet Grotesk',sans-serif;font-weight:700;font-size:16px;color:var(--ink);letter-spacing:-0.01em;}

.cta-card-link{background:linear-gradient(135deg,var(--accent) 0%,#cc4800 100%);display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center;}
.reel-cta-inner{display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff;padding:32px;}
.cta-banner-text{font-family:'Clash Display','Syne',sans-serif;font-size:38px;font-weight:700;letter-spacing:-0.01em;color:#fff;line-height:1.0;}
.cta-subtitle{font-family:'Geist Mono',monospace;font-size:9.5px;letter-spacing:0.12em;color:rgba(255,255,255,0.85);font-weight:500;text-transform:uppercase;}

.reels-bottom-cta{margin-top:56px;text-align:center;}
.btn-editorial-outline{
  display:inline-block;font-family:'Cabinet Grotesk',sans-serif;font-size:11px;font-weight:500;
  letter-spacing:0.15em;text-transform:uppercase;color:var(--ink);
  border:1px solid var(--border);padding:14px 32px;border-radius:100px;
  transition:background 0.3s,color 0.3s,border-color 0.3s;
}
.btn-editorial-outline:hover{background:var(--accent);color:#fff;border-color:var(--accent);}

/* ═══ FILMS SECTION ══════════════════════════════ */
#films{background:var(--accent);}
#films .section-title{color:#fff;}
#films .ghost-num{color:rgba(255,255,255,0.15);}
body.light #films .ghost-num{color:rgba(0,0,0,0.1);}
.films-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;position:relative;z-index:1;width:100%;max-width:1440px;margin:0 auto;}

/* Ticket cards — Alternating layout, securely bounded content */
.ticket-card{
  position:relative;width:100%;height:auto;
  aspect-ratio: 653 / 214;
  background-image:url('TICKET_cropped.png');
  background-size:100% 100%;background-repeat:no-repeat;background-position:center;
  display:block;border-radius:0;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); /* Black shadow since background is orange */
  transition:transform 0.4s cubic-bezier(0.16,1,0.3,1),filter 0.4s ease, z-index 0s;
}
.ticket-card:nth-child(odd){transform:rotate(-0.5deg);}
.ticket-card:nth-child(even){transform:rotate(0.5deg);}
.ticket-card:hover{transform:translateY(-8px) scale(1.02)!important;filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));z-index:10;}

.ticket-main-area{
  position:absolute;
  top: 8%; bottom: 8%; left: 4%; right: 23%; /* Perfectly aligned to the TICKET_cropped image */
  display:flex;flex-direction:row;align-items:center;
  box-sizing:border-box;gap:16px;
}

.ticket-poster{
  height:90%;width:auto;aspect-ratio:1/1; /* Square thumbnail for better horizontal fit in 2-col */
  object-fit:cover;border-radius:4px;flex-shrink:0;margin:0;display:block;border:none;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
}

.ticket-text-content{
  display:flex;flex-direction:column;justify-content:center;
  color:#fff;overflow:hidden;height:100%;flex:1;
}

.ticket-film-title{font-family:'Clash Display','Syne',sans-serif;font-size:clamp(16px, 2vw, 28px);font-weight:700;color:#fff;letter-spacing:-0.01em;line-height:1.1;margin-bottom:6px;}
.ticket-desc{font-family:'Cabinet Grotesk',sans-serif;font-size:clamp(11px, 1vw, 15px);color:rgba(255,255,255,0.85);line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ticket-inspo{font-family:'Geist Mono',monospace;font-size:clamp(8px, 0.8vw, 10px);color:rgba(255,255,255,0.6);text-transform:uppercase;letter-spacing:0.08em;font-weight:500;}
.ticket-click-overlay{position:absolute;inset:0;z-index:5;cursor:pointer;}
.films-cta{margin-top:56px;text-align:center;}

/* ═══ TECH SECTION ═══════════════════════════════ */
#tech{background:var(--bg-alt);padding:100px 64px;}
#tech .ghost-num{color:rgba(255,255,255,0.022);}
#tech .section-title{color:var(--ink);}
body.light #tech .section-title{color:var(--ink);}
body.light #tech .ghost-num{color:rgba(0,0,0,0.04);}
.tech-scroll-note{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);margin-top:8px;}

/* Interactive folder O */
.interactive-folder-o {
  display: inline-block;
  width: 1.1em;
  height: 0.85em;
  position: relative;
  vertical-align: middle;
  margin: 0 0.1em;
  perspective: 1000px;
  cursor: pointer;
  transform: translateY(-0.05em);
}
.interactive-folder-o .folder-back,
.interactive-folder-o .folder-paper,
.interactive-folder-o .folder-front {
  position: absolute;
  bottom: 0;
  left: 0;
  transition: transform 0.5s cubic-bezier(0.2, 1.2, 0.3, 1), background 0.4s, box-shadow 0.4s;
}
.interactive-folder-o .folder-back {
  width: 100%;
  height: 90%;
  background: linear-gradient(145deg, #FF7B00, #D64500); /* Orange background */
  z-index: 1;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 4px 12px rgba(255,80,0,0.2);
  border-radius: 4px 6px 6px 6px;
}
.interactive-folder-o .folder-back::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 40%;
  height: 8px;
  background: #FF7B00; /* Match orange */
  border-radius: 4px 4px 0 0;
}
/* Stacked papers inside with text lines and perfectly flush bottom */
.interactive-folder-o .folder-paper {
  width: 84%;
  height: 98%;
  background-color: #fdfdfd;
  background-image: 
    linear-gradient(#d0d0d0 1.5px, transparent 1.5px),
    linear-gradient(#d0d0d0 1.5px, transparent 1.5px),
    linear-gradient(#d0d0d0 1.5px, transparent 1.5px);
  background-size: 60% 1.5px, 80% 1.5px, 50% 1.5px;
  background-position: 20% 6px, 20% 12px, 20% 18px;
  background-repeat: no-repeat;
  left: 8%;
  z-index: 2;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.2);
  border-radius: 3px 3px 0 0;
  clip-path: polygon(-50% -50%, 150% -50%, 150% 100%, -50% 100%);
}
.interactive-folder-o .folder-paper::before {
  content: '';
  position: absolute;
  top: 1px;
  left: -2px;
  width: 100%;
  height: 100%;
  background-color: #ececec;
  background-image: 
    linear-gradient(#c0c0c0 1.5px, transparent 1.5px),
    linear-gradient(#c0c0c0 1.5px, transparent 1.5px);
  background-size: 70% 1.5px, 50% 1.5px;
  background-position: 20% 6px, 20% 12px;
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom center;
  transform: rotate(-4deg);
  box-shadow: 0 -1px 2px rgba(0,0,0,0.15);
}
.interactive-folder-o .folder-paper::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  background-image: 
    linear-gradient(#b0b0b0 1.5px, transparent 1.5px),
    linear-gradient(#b0b0b0 1.5px, transparent 1.5px);
  background-size: 60% 1.5px, 75% 1.5px;
  background-position: 20% 6px, 20% 12px;
  background-repeat: no-repeat;
  z-index: -2;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom center;
  transform: rotate(4deg);
}
/* Orange Glass Front Cover with specific opacity and tab cut */
.interactive-folder-o .folder-front {
  width: 100%;
  height: 78%; /* Lowered so the papers and back are clearly visible */
  background: rgba(255, 120, 20, 0.2); /* Adjusted to match image opacity */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(0 0, 45% 0, 55% 15%, 100% 15%, 100% 100%, 0 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 3;
  transform-origin: bottom center;
  box-shadow: 0 -2px 10px rgba(255, 100, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  border-radius: 4px 6px 6px 6px;
}
.interactive-folder-o:hover .folder-front {
  transform: rotateX(-50deg) translateY(2px);
  background: rgba(255, 120, 20, 0.15);
  box-shadow: 0 -4px 15px rgba(255, 100, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.interactive-folder-o:hover .folder-paper {
  transform: translateY(-16px);
}

/* Folder project grid */
.tech-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(292px,1fr));gap:60px;max-width:1500px;margin:60px auto 0;justify-items:center;padding:0 40px;}
.framer-folder-card{width:292px;height:376px;position:relative;cursor:pointer;display:block;text-decoration:none;}
.framer-folder-inner{width:100%;height:100%;position:relative;perspective:1500px;transform-style:preserve-3d;}
.framer-folder-back{position:absolute;top:0;left:0;width:292px;height:376px;background-color:#0f0f0f;border-radius:8px;z-index:1;padding:30px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,0.07);}
body.light .framer-folder-back{background-color:#d4cfc8;border-color:rgba(0,0,0,0.08);}
.framer-back-content p{font-family:'Cabinet Grotesk',sans-serif;font-size:14px;font-weight:500;color:var(--muted);text-align:justify;line-height:1.55;}
.framer-folder-middle{position:absolute;top:50%;left:50%;width:265px;height:318px;background-color:var(--accent);border-radius:8px;z-index:2;transform:translate(-50%,-50%) rotate(0deg);transition:transform 0.4s cubic-bezier(0.2,0.8,0.2,1);transform-origin:center center;}
.framer-middle-content{position:absolute;right:-30px;top:15%;transform:rotate(-90deg);transform-origin:center center;}
.framer-middle-content span{font-family:'Cabinet Grotesk',sans-serif;font-size:12px;font-weight:600;color:#fff;letter-spacing:-0.04em;}
.framer-folder-card:hover .framer-folder-middle{transform:translate(-50%,-50%) rotate(4deg);}
.framer-folder-front{position:absolute;top:0;left:0;width:292px;height:376px;background-color:var(--ink);border-radius:8px;z-index:3;transform-origin:0 100%;transition:transform 0.4s cubic-bezier(0.2,0.8,0.2,1);padding:24px;box-sizing:border-box;display:flex;flex-direction:column;gap:16px;justify-content:flex-start;}
.framer-folder-card:hover .framer-folder-front{transform:rotateY(-35deg);}
.framer-front-screenshot{width:100%;height:160px;border-radius:6px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,0.12);margin-bottom:8px;position:relative;}
.framer-front-screenshot.proj-classly { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.framer-front-screenshot.proj-radai { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.framer-front-screenshot.proj-aether { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.framer-front-screenshot.proj-autofair { background: linear-gradient(135deg, #064e3b, #10b981); }
.framer-front-screenshot.proj-spendrift { background: linear-gradient(135deg, #78350f, #f59e0b); }
.framer-front-screenshot::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);background-size:8px 8px;opacity:0.6;transition:transform 0.4s ease;}
.framer-folder-card:hover .framer-front-screenshot::after{transform:scale(1.15) translateZ(0);}
.framer-project-name{font-family:'Cabinet Grotesk',sans-serif;font-size:26px;font-weight:800;color:var(--bg);margin:0;letter-spacing:-0.04em;text-transform:uppercase;}
.framer-project-desc{font-family:'Geist Mono',monospace;font-size:11px;color:#666;line-height:1.5;margin:0;}
.tech-cta{margin-top:40px;text-align:center;}
.btn-outline-light{display:inline-block;font-family:'Cabinet Grotesk',sans-serif;font-size:11px;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--ink);border:1px solid var(--border);padding:12px 28px;border-radius:100px;transition:background 0.3s,color 0.3s,border-color 0.3s;}
.btn-outline-light:hover{background:var(--accent);color:#fff;border-color:var(--accent);}


/* ═══ CONTACT SECTION — MINIMAL AWWWARDS STYLE ═══════ */
.contact-minimal {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.contact-inner {
  text-align: center;
  max-width: 1000px;
  width: 100%;
}
.contact-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.contact-title {
  font-family: 'Clash Display', 'Syne', sans-serif;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}
.contact-title-italic {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  text-transform: lowercase;
}
.contact-email-massive {
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin: 0 auto 60px;
  width: fit-content;
  transition: all 0.4s ease;
}
body.light .contact-email-massive { border-bottom-color: rgba(0,0,0,0.1); }
.contact-email-massive:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
}
.contact-socials-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.social-link-minimal {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-link-minimal:hover { color: var(--accent); }

@media(max-width: 768px) {
  .contact-minimal { padding: 80px 20px; }
  .contact-title { font-size: 16vw; margin-bottom: 40px; }
  .contact-email-massive { font-size: 6vw; margin-bottom: 40px; }
  .contact-socials-row { gap: 20px; }
  .social-link-minimal { font-size: 12px; }
}



/* ── CENTERED BOTTOM VINYL ── */
.vinyl-center-bottom {
  position: absolute;
  bottom: -320px;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 8px #080808, inset 0 0 0 12px #222, inset 0 0 0 14px #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinVinyl 15s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.contact-inner { position: relative; z-index: 10; }

.vinyl-disk-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vinyl-grooves {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
  background: repeating-radial-gradient(
    #111 0px,
    #181818 2px,
    #111 4px
  );
}
.vinyl-center-sticker {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  z-index: 2;
}
.vinyl-hole {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 4px 6px rgba(0,0,0,0.6);
  z-index: 3;
}
.vinyl-label-text {
  position: absolute;
  inset: 0;
  animation: spinVinylReverse 15s linear infinite;
}
.curved-text-svg {
  width: 100%;
  height: 100%;
}
.curved-text {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@keyframes spinVinyl {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes spinVinylReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@media(max-width: 768px) {
  .vinyl-center-bottom {
    width: 400px;
    height: 400px;
    margin-left: -200px;
    bottom: -200px;
  }
  .vinyl-center-sticker {
    width: 140px;
    height: 140px;
  }
}

/* ═══ FOOTER ══════════════════════════════════════ */
footer{background:#070707;border-top:1px solid rgba(255,255,255,0.05);padding:20px 64px;display:flex;justify-content:space-between;align-items:center;}
.footer-text{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);}
body.light footer{background:#E4E0D8;border-top-color:rgba(0,0,0,0.08);}

/* ═══ FOCUS VISIBILITY — WCAG 2.1 AA compliant ═══════════════════ */
/* Base rule */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

/* Nav buttons — outline must escape the pill clip */
.nav-btn:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
  border-radius: 999px;
}
/* Social sidebar links */
.hsb-link:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
/* Ticket click overlays */
.ticket-click-overlay:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
  border-radius: 4px;
}
/* Folder project cards */
.framer-folder-card:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 6px;
  border-radius: 10px;
}
/* Key layers in contact section */
.key-layer:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
/* Editorial outline buttons */
.btn-editorial-outline:focus-visible,
.btn-outline-light:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
}
/* Showreel widget */
.hero-showreel-widget:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
  border-radius: 38px;
}
/* Mobile nav links */
.mobile-nav-link:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
}
/* Reel CTA link */
.cta-card-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important;}}

/* ═══ RESPONSIVE — TABLET (≤1024px) ══════════════ */
@media(max-width:1024px){
  .reels-wall{
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:none;
    gap:14px;
  }
  /* Reset all specific grid placements for tablet */
  .reels-wall .reel-card:nth-child(n) { grid-area: auto; }
  .tech-grid{grid-template-columns:repeat(2,1fr);gap:40px;padding:0 20px;justify-items:center;}
  .contact-image-keypad { padding: 80px 40px; }
  .keypad-image-wrapper { width: 50%; }
  .poster-main-text { font-size: clamp(70px, 10vw, 160px); }
  /* Tech title: force word-wrap so Work never orphans the W */
  #tech .section-title { word-break: break-word; white-space: normal; }
}

/* ═══ RESPONSIVE — MOBILE (≤768px) ═══════════════ */
@media(max-width:768px){



  /* ── NAV: bare floating hamburger, no glass bubble ── */
  .liquid-nav {
    top: 16px;
    left: auto;
    right: 16px;
    transform: none;
    padding: 0;
    gap: 0;
    /* Strip all glass styling — just the hamburger floats freely */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 1060; /* Keep it above the 1050 mobile menu overlay */
  }
  .liquid-nav::before { display: none; } /* remove glass glare */
  .liquid-glare-container { display: none; }
  .nav-items { display: none; }
  .nav-divider { display: none; }
  .lnav-theme-btn { display: none; }
  .hamburger { display: flex; margin-left: 0; }

  /* ── HERO: exact viewport height, no dead space ── */
  #hero {
    height: 100svh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden; /* clip video edges cleanly */
    padding-bottom: 0;
  }
  .hero-video { opacity: 0.3; display: block; }
  .hero-content {
    padding: 0 24px;
    padding-top: clamp(80px, 16svh, 130px);
    padding-bottom: 40px;
  }
  .name-meet { font-size: clamp(66px, 20vw, 110px); }
  .name-mangaonkar { font-size: clamp(64px, 22vw, 110px); margin-top: -4px; }
  .hero-label { font-size: 10px; margin-bottom: 10px; letter-spacing: 0.08em; }
  .hero-roles { font-size: 9px; letter-spacing: 0.18em; margin-top: 14px; }

  /* CTA: bigger, easier to tap, primary CTA visually dominates */
  .hero-cta {
    margin-top: 28px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch; /* stretch to fill the left-aligned column */
    max-width: 320px;
  }
  /* Primary action — full width, pulsing glow to draw eye */
  .btn-contact-now {
    font-size: 14px;
    padding: 18px 28px;
    letter-spacing: 0.10em;
    opacity: 1 !important;
    order: -1; /* show FIRST on mobile */
    text-align: center;
    justify-content: center;
    animation: ctaPulse 3s ease-in-out infinite;
  }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(255,92,0,0.45), 0 0 0 0 rgba(255,92,0,0.25); }
    50% { box-shadow: 0 4px 24px rgba(255,92,0,0.55), 0 0 0 8px rgba(255,92,0,0); }
  }
  /* Secondary action — outlined, below */
  .btn-resume {
    font-size: 13px;
    padding: 15px 28px;
    letter-spacing: 0.12em;
    border-width: 1.5px;
    opacity: 1 !important;
    text-align: center;
    justify-content: center;
  }
  .hero-availability {
    opacity: 1 !important;
    font-size: 10px;
    margin-top: 8px;
  }

  /* Showreel widget: absolute inside the hero, bottom-right corner
     Hero is exactly 100svh so this always appears in the visible screen */
  .hero-showreel-widget {
    position: absolute;
    bottom: 24px;
    right: 20px;
    left: auto;
    top: auto;
    width: 200px;
    max-width: 200px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
    z-index: 200;
  }
  .hero-showreel-widget.ready {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .hero-showreel-widget.hero-widget-gone {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(16px) !important;
  }
  .widget-video-section {
    height: 125px;
    border-radius: 16px;
    margin: 5px;
  }
  .widget-text-section { display: none; }

  /* ── SECTIONS COMMON ── */
  section { padding: 64px 20px; }
  .ghost-num { font-size: 32vw; top: 0; right: -1vw; }
  .section-title { font-size: clamp(46px, 14vw, 76px); white-space: normal; word-break: break-word; }
  .section-note { font-size: 15px; margin-top: 8px; }
  .section-head { margin-bottom: 36px; }

  /* ── REELS: 2-col bento, show cards 1–5 + add card 6 in bottom-right ── */
  #media { padding: 64px 16px; }
  .reels-wall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    margin: 28px 0 0;
    width: 100%;
    max-width: 100%;
  }
  /* Reset ALL desktop grid placements */
  .reels-wall > * { grid-area: auto !important; }
  /* Default card height */
  .reels-wall .reel-card { height: 150px; }
  /* Card 1: full-width landscape top row */
  .reels-wall .reel-card:nth-child(1) { grid-column: 1 / 3; height: 165px; }
  /* Cards 3 & 4: slightly taller (portrait-ish content) */
  .reels-wall .reel-card:nth-child(3) { height: 185px; }
  .reels-wall .reel-card:nth-child(4) { height: 185px; }
  /* Card 6: show it in bento (bottom-right landscape) */
  .reels-wall .reel-card:nth-child(6) { display: block !important; }
  /* Card 5+6 share bottom row, card 5 spans left, card 6 spans right */
  .reels-wall .reel-card:nth-child(5) { height: 155px; }
  .reels-wall .reel-card:nth-child(6) { height: 155px; }
  /* Hide cards 7 and 8 (portrait & CTA go away, replaced by custom CTA below) */
  .reels-wall .reel-card:nth-child(7) { display: none !important; }
  .reels-wall .reel-card:nth-child(8) { display: none !important; }
  /* YouTube CTA removed from grid — replaced by bottom CTA button */
  .cta-card-link { display: none !important; }
  .reels-bottom-cta { margin-top: 28px; }

  /* ── SHORT FILMS ── */
  #films { padding: 64px 16px; }
  .films-grid { grid-template-columns: 1fr; gap: 20px; }
  .films-grid .ticket-card:nth-child(n+3) { display: none !important; }
  .ticket-card:nth-child(odd), .ticket-card:nth-child(even) { transform: none; }
  .ticket-film-title { font-size: 14px; margin-bottom: 4px; }
  .ticket-desc { font-size: 10px; line-height: 1.3; margin-bottom: 5px; -webkit-line-clamp: 2; }
  .ticket-inspo { font-size: 8px; }
  .films-cta { margin-top: 28px; }

  /* ── TECH WORK ── */
  #tech { padding: 64px 16px; }
  #tech .section-title {
    font-size: clamp(46px, 14vw, 76px);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 0.95;
    max-width: none; /* no width constraint needed — we use .mobile-br */
  }
  /* Show the mobile-only line break — forces "Tech" line 1, "W[folder]RK" line 2 */
  .mobile-br { display: block; }
  #tech .section-title .interactive-folder-o { display: inline-block; }
  .tech-scroll-note { font-size: 10px; margin-top: 6px; }
  .tech-grid { grid-template-columns: 1fr; gap: 36px; padding: 0; margin: 36px auto 0; justify-items: center; }
  .tech-grid .framer-folder-card:nth-child(n+3) { display: none !important; }
  .framer-folder-card { width: min(292px, calc(100vw - 40px)); height: 376px; }
  .framer-folder-back { width: min(292px, calc(100vw - 40px)); height: 376px; }
  .framer-folder-front { width: min(292px, calc(100vw - 40px)); height: 376px; }
  .framer-folder-middle { width: min(265px, calc(100vw - 67px)); }
  .tech-cta { margin-top: 28px; }

  /* ── CONTACT: annotation → big keypad → defy below (requires scroll) ── */
  .contact-image-keypad {
    padding: 60px 16px 60px !important;
    gap: 0 !important;
    min-height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    display: flex !important;
  }
  .section-head[style] { padding: 0 16px !important; margin-bottom: 20px !important; }
  
  .contact-keypad-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    position: relative !important;
    width: 100% !important;
  }

  /* 1) Annotation: visible above keypad */
  .interactive-annotation {
    display: flex !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    order: 1 !important;
    flex-direction: column !important;
    align-items: center !important;
    pointer-events: none !important;
    margin-bottom: 12px !important;
  }
  .annotation-text {
    font-size: 26px !important;
    white-space: normal !important;
    text-align: center !important;
    transform: rotate(-3deg) !important;
    line-height: 1.2 !important;
  }
  .annotation-arrow {
    opacity: 1 !important;
    transform: rotate(80deg) scaleX(-1) !important; /* arrow points down */
    transform-origin: center center !important;
    width: 70px !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
    transition: none !important;
  }

  /* 2) Keypad: very big and tappable — note the image has invisible bg padding,
     so we go extra-wide to compensate for the transparent margins in the PNG */
  .keypad-image-wrapper {
    display: block !important;
    width: 130% !important;
    max-width: none !important;
    margin-left: -15% !important;
    margin-right: -15% !important;
    opacity: 1 !important;
    transform: none !important;
    order: 2 !important;
    flex: 0 0 auto !important;
  }

  /* 3) Poster typography: push it BELOW the visible area so user must scroll to see it.
     Use a top margin to separate it cleanly from the keypad */
  .poster-typography {
    display: flex !important;
    flex-direction: column !important;
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    position: static !important;
    flex: 0 0 auto !important;
    margin-top: 80px !important; /* breathing gap between keypad and DEFY THE NORM */
    padding-bottom: 20px !important;
  }
  .poster-main-text {
    font-size: clamp(60px, 19vw, 100px);
    height: auto;
    justify-content: center;
    align-items: center;
    line-height: 0.9;
  }
  /* Hide floating small texts — too cluttered on mobile */
  .poster-small-text { display: none !important; }

  /* ── FOOTER ── */
  footer { flex-direction: column; gap: 6px; text-align: center; padding: 16px 20px; }
  .footer-text { font-size: 10px; }

  /* ── MISC ── */
  .hero-social-sidebar { display: none; }
  
  .site-wordmark {
    display: flex;
    top: 16px;
    left: 16px;
  }
  .site-wordmark span {
    font-size: 18px;
  }
  .site-wordmark::after {
    font-size: 18px;
  }
}

/* ═══ RESPONSIVE — SMALL PHONES (≤430px) ═════════ */
@media(max-width:430px){
  .liquid-nav { top: 10px; right: 12px; }
  .name-meet { font-size: 21vw; }
  .name-mangaonkar { font-size: 23vw; }
  .section-title { font-size: 13vw; }
  #tech .section-title { font-size: 13vw; }
  .hero-showreel-widget { width: 190px; max-width: 190px; }
  .widget-video-section { height: 120px; }
  .framer-folder-card,
  .framer-folder-back,
  .framer-folder-front { width: calc(100vw - 32px); height: 340px; }
  .framer-folder-middle { width: calc(100vw - 60px); height: 280px; }
  .keypad-image-wrapper { width: 94%; }
  .reels-wall .reel-card { height: 130px; }
  .reels-wall .reel-card:nth-child(1) { height: 155px; }
  .reels-wall .reel-card:nth-child(3),
  .reels-wall .reel-card:nth-child(4) { height: 165px; }
  .cta-card-link { height: 80px !important; }
  .cta-banner-text { font-size: 17px; }
  .poster-main-text { font-size: clamp(56px, 18vw, 90px); }
  .annotation-text { font-size: 24px !important; }
}

/* ═══ CINEMATIC LOADER ═════════════════════════════ */
.crisp-loader {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1vw;
  display: flex;
  position: fixed;
  top: 0; left: 0;
  overflow: hidden;
  z-index: 99999;
  background: #080808;
}

/* Film aperture letterbox bars */
.loader-bar {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: var(--accent, #FF5C00);
  z-index: 10;
  transform-origin: left center;
}
.loader-bar--top  { top: 0; }
.loader-bar--bottom { bottom: 0; }

/* Name + counter sitting in front of the strip */
.loader-identity {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
  mix-blend-mode: difference;
}
.loader-name {
  font-family: 'Clash Display', 'Syne', sans-serif;font-weight:700;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 800;
  color: #fff;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0;
}
.loader-counter {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(9px, 1vw, 13px);
  letter-spacing: 0.45em;
  color: var(--accent, #FF5C00);
  text-transform: uppercase;
  opacity: 0;
}

/* Strip wrapper */
.crisp-loader__wrap {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}
.crisp-loader__groups {
  position: relative;
  overflow: hidden;
}
.crisp-loader__group {
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}
.crisp-loader__single {
  padding-left: .75em;
  padding-right: .75em;
  position: relative;
}

/* Base card */
.crisp-loader__media {
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 10em;
  height: 10em;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Card size variants */
.cl-portrait { width:  7em; height: 13em; }
.cl-wide     { width: 16em; height:  9em; }
.cl-square   { width: 10em; height: 10em; }

.crisp-loader__media.is--scaling {
  will-change: transform;
  border-radius: 0;
  transition-property: border-radius;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  display: flex;
}
.crisp-loader__media.is--scaling.is--radius {
  border-radius: .5em;
}

.crisp-loader__cover-img {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
}
.crisp-loader__cover-img.is--scale-down {
  will-change: transform;
}

.crisp-loader__group.is--relative  { position: relative; left: 100%; }
.crisp-loader__group.is--duplicate { position: absolute; }

/* Edge fade — warm tint matches brand */
.crisp-loader__fade {
  pointer-events: none;
  background-image: linear-gradient(90deg, #080808 15%, transparent);
  width: 8em;
  height: calc(100% + 2px);
  position: absolute;
  top: -1px; left: -1px;
}
.crisp-loader__fade.is--duplicate {
  left: auto; right: -1px;
  transform: scaleX(-1);
}


/* Handwriting SVG Animation */
@font-face {
  font-family: 'Floristone Phidelphia';
  src: url('fonts/Floristone_Phidelphia.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.name-mangaonkar {
  font-family: 'Floristone Phidelphia', sans-serif;
  font-size: clamp(80px, 16vw, 220px);
  color: var(--accent);
  text-transform: none;
  display: block;
  line-height: 0.9;
  margin-top: -10px;
  clip-path: polygon(-20% -50%, -20% -50%, -20% 150%, -20% 150%);
  animation: writeText 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes writeText {
  to {
    clip-path: polygon(-20% -50%, 120% -50%, 120% 150%, -20% 150%);
  }
}

/* ═══ RETRO KEYPAD CONTACT SECTION ════════════════════════════ */
/* ═══ IMAGE KEYPAD CONTACT SECTION ════════════════════════════ */
/* ═══ IMAGE KEYPAD CONTACT SECTION ════════════════════════════ */
.contact-image-keypad {
  padding: 80px 20px;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 30px;
}

.contact-keypad-layout {
  display: flex;
  flex-direction: row;
  align-items: center; /* Reverted to center to align visually */
  justify-content: space-between; /* Pushes children to opposite sides */
  gap: 40px;
  max-width: 1500px; /* Stretch layout slightly wider */
  width: 100%;
  position: relative;
}

.keypad-image-wrapper {
  position: relative;
  flex: 0 0 auto;
  width: 45%;
  max-width: 540px; /* Increased size back up */
  filter: drop-shadow(0 50px 100px rgba(0,0,0,0.6));
  opacity: 0;
  transform: translateX(-100px);
}

.keypad-base-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Right Side Poster Typography */
.poster-typography {
  position: relative;
  flex: 0 0 auto; /* Stop taking up entire remaining width */
  display: flex;
  justify-content: flex-end; /* Push content to right edge */
  align-items: center; /* Center to match visual height */
}

.poster-main-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(90px, 14vw, 220px); /* Increased font size so it naturally matches keypad visual height */
  line-height: 0.95; /* Reverted for better natural spacing */
  text-transform: uppercase;
  letter-spacing: -0.01em; /* Reduced letter spacing for a tighter look */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center align the text block itself */
  text-align: center;
  padding: 0; 
  
  /* Grainy Text Technique */
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
  background-blend-mode: multiply;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.poster-line {
  margin: -5px 0; /* Add slight negative margin back to tighten lines */
  white-space: nowrap;
}

.poster-line.indent {
  margin-right: 0; /* Remove right indent */
  margin-left: 15%; /* Indent from left so it looks balanced */
}

/* Small Annotation Texts */
.poster-small-text {
  position: absolute;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-color);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  z-index: 10;
}

.text-1 { left: -80px; top: 12%; text-align: right; }
.text-2 { right: -60px; top: 45%; }
.text-3 { left: -60px; bottom: 20%; text-align: right; }
.text-4 { right: -80px; bottom: 8%; }

/* Interactive SVG Handwriting Annotation */
.interactive-annotation {
  position: absolute;
  top: -60px; /* Sit safely above the gap between items */
  left: 50%;
  transform: translateX(-50%); /* Centered between keypad and typography */
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease 0.5s;
}

.interactive-annotation.show-annotation {
  opacity: 1;
}

.annotation-text {
  text-align: center;
  transform: rotate(-4deg);
  line-height: 1.1;
  white-space: nowrap;
}

.annotation-arrow {
  margin-top: 5px;
  margin-left: -160px; /* Shifts the arrow left so it points exactly to the keypad */
  opacity: 0;
  transform: scaleX(0.8) translateY(-10px);
  transform-origin: right center;
  transition: opacity 0.6s ease 0.7s, transform 0.6s cubic-bezier(0.2, 1, 0.3, 1) 0.7s;
}

.interactive-annotation.show-annotation .annotation-arrow {
  opacity: 1;
  transform: scaleX(1) translateY(0);
}

.contact-link {
  text-decoration: none;
  transition: color 0.2s;
  pointer-events: auto;
}

.contact-link:hover {
  color: #e52b00;
}

@media (max-width: 900px) {
  .contact-keypad-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 60px;
  }
  .contact-typography {
    text-align: center;
  }
}

/* Interactive Image Cutout Layers */
.key-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: block;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.1s;
}

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

/* Precise clip-paths mapping the image's mechanical keys */
/* Format: inset(top right bottom left round radius) */
.key-ig { clip-path: inset(38% 62% 47% 20% round 18px); }
.key-wa { clip-path: inset(38% 41% 47% 41% round 18px); }
.key-phone { clip-path: inset(38% 20% 47% 62% round 18px); }

.key-in { clip-path: inset(56% 62% 29% 20% round 18px); }
.key-gh { clip-path: inset(56% 41% 29% 41% round 18px); }
.key-gmail { clip-path: inset(56% 20% 29% 62% round 18px); }

.key-yt { clip-path: inset(74% 62% 11% 20% round 18px); }
.key-x { clip-path: inset(74% 41% 11% 41% round 18px); }
.key-doc { clip-path: inset(74% 20% 11% 62% round 18px); }

/* The Haptic Mechanical Click Effect */
.key-layer:active {
  transform: translateY(1.5%);
  filter: brightness(0.85); /* Darkens to simulate deep shadow when pressed */
}

/* M circular button — top-right of keypad image.
   The M badge circle is centered at ~80% x, ~19% y; radius ~9% */
.key-m-btn {
  clip-path: circle(9% at 80% 19%);
  cursor: pointer;
}
.key-m-btn:active {
  transform: scale(0.95);
  filter: brightness(0.80);
}
