/* ═══════════════════════════════════════════
   BLACK SHED MEDIA — STYLES
   ═══════════════════════════════════════════ */

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; font-family: inherit; cursor: none; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }

@media (max-width: 768px) { body { cursor: auto; } button { cursor: pointer; } }

/* ─── Variables ─── */
:root {
  --bg:      #0a0a0a;
  --bg2:     #111111;
  --bg3:     #181818;
  --line:    rgba(255,255,255,0.07);
  --line2:   rgba(255,255,255,0.12);
  --g1:      #2a2a2a;
  --g2:      #444;
  --g3:      #777;
  --g4:      #aaa;
  --g5:      #ccc;
  --white:   #ffffff;
  --nav-h:   76px;
  --pad:     clamp(20px, 5vw, 56px);
  --max:     1300px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --expo:    cubic-bezier(0.87, 0, 0.13, 1);
  --bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--g1); border-radius: 2px; }

/* ─── Site grain canvas ─── */
.site-grain {
  position: fixed; inset: 0; z-index: 9997;
  pointer-events: none; opacity: 1;
  width: 100vw; height: 100vh;
}

/* ═══════════════════════════════════════════
   CURSOR
   ═══════════════════════════════════════════ */
.cursor-ring {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease),
              border-color .35s, background .35s, opacity .3s;
  will-change: transform;
}
.cursor-ring.hov { width: 60px; height: 60px; border-color: rgba(255,255,255,0.85); }
.cursor-ring.view {
  width: 76px; height: 76px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.7);
}
.cursor-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 4px; height: 4px; background: #fff;
  border-radius: 50%; transform: translate(-50%, -50%);
  will-change: transform;
}
@media (max-width: 768px) { .cursor-ring, .cursor-dot { display: none; } }

/* ═══════════════════════════════════════════
   INTRO / DOOR
   ═══════════════════════════════════════════ */
.intro {
  position: fixed; inset: 0; z-index: 8000; overflow: hidden;
}

.intro-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 1;
  width: 100%; height: 100%;
}

.door {
  position: absolute; top: 0; height: 100%; width: 50%;
  background: var(--bg); z-index: 2;
  transition: transform 1.3s var(--expo);
  will-change: transform;
}
.door--left  { left: 0;  border-right: 1px solid var(--line); }
.door--right { right: 0; border-left:  1px solid var(--line); }

/* Hinge lines */
.door--left::before {
  content: ''; position: absolute;
  top: 15%; bottom: 15%; right: 28px; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent);
}
.door--right::before {
  content: ''; position: absolute;
  top: 15%; bottom: 15%; left: 28px; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent);
}
/* Handle dots */
.door--left::after  { content: ''; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.door--right::after { content: ''; position: absolute; top: 50%; left: 20px;  transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }

.intro.opening .door--left  { transform: translateX(-100%); }
.intro.opening .door--right { transform: translateX(100%); }
.intro.opening .intro-center { opacity: 0; transform: translateY(-24px) scale(0.97); }
.intro.gone { opacity: 0; transition: opacity .5s ease .9s; pointer-events: none; }

.intro-center {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s ease, transform .5s ease;
}

.intro-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.intro-logo-top {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 7.5vw, 100px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--white);
}
.intro-logo-bottom {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 2.2vw, 22px);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--g3);
}

.intro-rule { width: 36px; height: 1px; background: rgba(255,255,255,0.18); }

.intro-sub {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--g3);
}

.intro-btn {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 2px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--white);
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .35s var(--bounce);
}
.intro-btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.06);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.intro-btn:hover { border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.intro-btn:hover::before { transform: scaleX(1); }
.intro-btn-arrow { transition: transform .3s var(--ease); font-size: 15px; }
.intro-btn:hover .intro-btn-arrow { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--white); transition: opacity .3s;
}
.nav-logo:hover { opacity: .6; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 13px; font-weight: 400; letter-spacing: 0.07em;
  color: var(--g4); position: relative; transition: color .3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--white);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-ig { color: var(--g4); transition: color .3s; display: flex; }
.nav-ig:hover { color: var(--white); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: none;
}
.nav-burger span {
  display: block; width: 20px; height: 1.5px; background: var(--white);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger.active span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links, .nav-ig { display: none; }
  .nav-burger { display: flex; cursor: pointer; }
}

/* ─── Mobile Menu ─── */
.menu {
  position: fixed; inset: 0; z-index: 490; background: var(--bg);
  transform: translateY(-100%); transition: transform .65s var(--expo);
  display: flex; flex-direction: column;
}
.menu.open { transform: translateY(0); }

.menu-inner {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: calc(var(--nav-h) + 32px) var(--pad) 48px;
}
.menu-nav { display: flex; flex-direction: column; }
.menu-item {
  display: flex; align-items: center; gap: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 8vw, 60px); font-weight: 700;
  color: var(--white); padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .3s;
}
.menu-item:hover { opacity: .45; }
.menu-num { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400; color: var(--g2); margin-top: 4px; letter-spacing: .08em; }

.menu-foot { margin-top: 40px; display: flex; gap: 24px; }
.menu-soc { font-size: 13px; color: var(--g3); letter-spacing: .07em; transition: color .3s; }
.menu-soc:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.025) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--pad) 120px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--g2); margin-bottom: 36px;
}
.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 9.5vw, 136px);
  font-weight: 700; line-height: 0.9;
  letter-spacing: -0.025em; margin-bottom: 40px;
}
.h1-row { display: block; }
.h1-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  font-style: italic;
}
.hero-body {
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 300;
  line-height: 1.75; color: var(--g3); margin-bottom: 48px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 2px;
  transition: all .3s var(--ease); cursor: none;
  position: relative; overflow: hidden;
}
.btn span { position: relative; z-index: 1; }
.btn-fill { background: var(--white); color: var(--bg); }
.btn-fill::before {
  content: ''; position: absolute; inset: 0;
  background: var(--g5);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.btn-fill:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-ghost {
  background: transparent; color: var(--g4);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.38); }

/* Scroll indicator */
.hero-scroll-ind {
  position: absolute; bottom: 40px; left: var(--pad);
  display: flex; align-items: center; gap: 14px; z-index: 2;
}
.hsi-bar { width: 1px; height: 54px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.hsi-run {
  position: absolute; top: 0; left: 0; width: 100%; height: 35%;
  background: rgba(255,255,255,0.35);
  animation: siRun 2.2s ease-in-out infinite;
}
@keyframes siRun {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(300%); }
  100% { transform: translateY(400%); }
}
.hsi-lbl {
  font-size: 8px; font-weight: 600; letter-spacing: 0.32em;
  color: var(--g2); writing-mode: vertical-rl; text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   TICKER / MARQUEE
   ═══════════════════════════════════════════ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; background: var(--bg2);
}
.ticker-track { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker-grp {
  display: flex; align-items: center; gap: 28px;
  padding-right: 28px; white-space: nowrap;
}
.ticker-grp span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--g1);
}
.tdot { font-size: 7px !important; color: #1e1e1e !important; }
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════ */
.sec-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.sec-hd { margin-bottom: 72px; }
.sec-tag {
  display: inline-block; font-size: 10px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--g2); margin-bottom: 18px;
}
.sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 700; line-height: 1; letter-spacing: -0.025em; color: var(--white);
}

/* ═══════════════════════════════════════════
   WORK GRID
   ═══════════════════════════════════════════ */
.work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-item { min-height: 300px; }
.work-wide  { grid-column: span 2; }

.work-card {
  position: relative; height: 100%; min-height: 300px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden;
  background: #141414; cursor: none;
  transition: border-color .3s;
}
.work-card:hover { border-color: rgba(255,255,255,0.22); }

.work-media { position: absolute; inset: 0; }
.work-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.vid-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #141414; transition: background .3s;
}
.work-card:hover .vid-ph { background: #1c1c1c; }
.vph-icon { opacity: .5; transition: opacity .3s, transform .35s var(--bounce); }
.work-card:hover .vph-icon { opacity: .85; transform: scale(1.08); }
.vph-lbl {
  font-size: 10px; font-weight: 400; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--g3);
}

.work-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.work-card:hover .work-overlay { opacity: 1; transform: translateY(0); }

.work-cat {
  display: block; font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--g3); margin-bottom: 5px;
}
.work-ttl { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--white); }
.work-arr { font-size: 18px; color: var(--g3); align-self: flex-end; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-wide  { grid-column: span 1; }
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services { background: var(--bg2); }
.srv-list { border-top: 1px solid var(--line); }
.srv-row {
  display: grid;
  grid-template-columns: 52px 1fr 1fr 28px;
  align-items: center; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s var(--ease), background .25s;
  cursor: none;
}
.srv-row:hover {
  background: rgba(255,255,255,0.018);
  padding-left: 14px; padding-right: 14px;
  margin: 0 -14px;
}
.srv-n { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; color: var(--g2); }
.srv-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 600;
  color: var(--white); letter-spacing: -0.01em;
}
.srv-desc { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--g3); }
.srv-arr { font-size: 16px; color: var(--g2); transition: color .3s, transform .3s; text-align: right; }
.srv-row:hover .srv-arr { color: var(--white); transform: translate(3px,-3px); }

@media (max-width: 768px) {
  .srv-row { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; gap: 6px 14px; }
  .srv-desc { grid-column: 2; }
  .srv-arr { display: none; }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 68px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white); margin: 18px 0 32px;
}
.about-copy p {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: var(--g3); margin-bottom: 18px;
}
.founder-card {
  margin-top: 44px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
  background: var(--bg2); display: flex;
  align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.fc-label { display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g2); margin-bottom: 5px; }
.fc-name  { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: var(--white); }
.fc-socials { display: flex; flex-direction: column; gap: 9px; }
.fc-soc {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--g3); transition: color .3s;
}
.fc-soc:hover { color: var(--white); }

/* About visual */
.about-vis {
  aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg3); overflow: hidden;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-vis::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
}
.av-text {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative; z-index: 1;
}
.av-text span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 5vw, 60px); font-weight: 700;
  letter-spacing: 0.16em; text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
}

.about-stats {
  margin-top: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.stat { background: var(--bg2); padding: 22px 18px; }
.stat-n { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--white); }
.stat-l { display: block; font-size: 10px; font-weight: 400; color: var(--g3); letter-spacing: 0.04em; margin-top: 4px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact { background: var(--bg2); }
.contact-title { font-size: clamp(38px, 8vw, 100px) !important; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }

.contact-body { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--g3); margin-bottom: 44px; }
.contact-chs { display: flex; flex-direction: column; gap: 2px; }
.contact-ch {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); cursor: none;
  transition: opacity .3s;
}
.contact-ch:hover { opacity: .6; }
.ch-label { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g2); }
.ch-val   { font-size: 14px; font-weight: 400; color: var(--white); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 7px; }
.f-label { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g2); }
.f-input {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 13px 15px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 300;
  color: var(--white); outline: none; width: 100%;
  transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.f-input::placeholder { color: var(--g2); }
.f-input:focus { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.f-select {
  cursor: none; color: var(--g3);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.f-select option { background: var(--bg2); color: var(--white); }
.f-textarea { resize: vertical; min-height: 120px; }

.f-submit {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 22px; background: var(--white); color: var(--bg);
  border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: none; position: relative; overflow: hidden;
  transition: opacity .3s;
}
.f-submit::before {
  content: ''; position: absolute; inset: 0;
  background: var(--g5);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.f-submit:hover::before { transform: scaleX(1); transform-origin: left; }
.f-submit-txt, .f-submit-ico { position: relative; z-index: 1; }

.f-success {
  display: none; padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.13); border-radius: 3px;
  font-size: 13px; color: var(--g4); letter-spacing: 0.04em;
}
.f-success.show { display: flex; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .f-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   APPLY
   ═══════════════════════════════════════════ */
.apply { background: var(--bg2); }

.apply-intro {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 300; line-height: 1.75; color: var(--g3);
  max-width: 520px; margin-bottom: 60px;
}

/* ─── Position rows (mirror .srv-row style) ─── */
.pos-list {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

.pos-row {
  display: flex; align-items: center; gap: 24px;
  width: 100%; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: none; text-align: left;
  transition: background .25s;
  position: relative;
}

.pos-row::before {
  content: '';
  position: absolute; left: -var(--pad); right: -var(--pad); top: 0; bottom: 0;
  background: rgba(255,255,255,0.03);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}

.pos-row:hover::before { opacity: 1; }

.pos-row.active {
  background: rgba(255,255,255,0.04);
}
.pos-row.active .pos-arr {
  color: var(--white);
  transform: rotate(45deg);
}
.pos-row.active .pos-num { color: var(--g4); }

.pos-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: .12em; color: var(--g2);
  min-width: 26px; flex-shrink: 0;
}

.pos-info { flex: 1; min-width: 0; }

.pos-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.5vw, 19px); font-weight: 600;
  color: var(--white); letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pos-sub {
  display: block;
  font-size: 12px; font-weight: 300;
  color: var(--g3); margin-top: 2px;
}

.pos-arr {
  margin-left: auto; font-size: 15px; color: var(--g2);
  transition: color .25s, transform .3s var(--bounce);
  flex-shrink: 0;
}

/* ─── Application Form ─── */
.apply-form {
  display: none; flex-direction: column; gap: 22px;
  border-top: 1px solid var(--line); padding-top: 60px; margin-top: 2px;
}

.apply-form.visible {
  display: flex;
  animation: applyIn .55s var(--ease) both;
}

@keyframes applyIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.af-base,
.af-bottom { display: flex; flex-direction: column; gap: 18px; }

.af-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* ─── Dynamic field groups (hidden by default) ─── */
.af-dynamic {
  display: none; flex-direction: column; gap: 18px;
}
.af-dynamic.visible { display: flex; }

/* ─── Section divider labels ─── */
.af-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 6px 0 2px;
}
.af-divider span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--g3); white-space: nowrap;
}
.af-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--line);
}

/* ─── Upload areas ─── */
.upload-area {
  position: relative;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 3px;
  padding: 26px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.02);
  transition: border-color .3s, background .3s;
}
.upload-area:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.upload-area svg { color: var(--g3); margin-bottom: 4px; }
.upload-txt {
  font-size: 13px; font-weight: 400; color: var(--g4);
}
.upload-types {
  font-size: 10px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; color: var(--g2);
}
.upload-input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}

.f-hint {
  font-size: 10px; font-weight: 400;
  letter-spacing: .04em; color: var(--g2);
  margin-left: 4px;
}

.upload-list {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 8px; padding: 0; list-style: none;
}
.upload-file {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); border-radius: 3px;
}
.upload-file-name {
  font-size: 12px; color: var(--g4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 70%;
}
.upload-file-size { font-size: 11px; color: var(--g2); flex-shrink: 0; }

/* ─── Nav Apply highlight ─── */
.nav-apply {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  padding: 5px 12px !important;
  transition: background .25s, border-color .25s;
}
.nav-apply:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

/* ─── Apply responsive ─── */
@media (max-width: 640px) {
  .af-row { grid-template-columns: 1fr; }
  .pos-sub { display: none; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--pad) 36px;
}
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; margin-bottom: 56px; flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4.5vw, 52px); font-weight: 700;
  letter-spacing: 0.08em; color: var(--white);
}
.footer-socials { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-soc { font-size: 13px; color: var(--g3); letter-spacing: 0.05em; transition: color .3s; }
.footer-soc:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.footer-copy, .footer-founder { font-size: 11px; color: var(--g2); letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.work-grid   .reveal:nth-child(1) { transition-delay: 0s; }
.work-grid   .reveal:nth-child(2) { transition-delay: .09s; }
.work-grid   .reveal:nth-child(3) { transition-delay: .18s; }
.work-grid   .reveal:nth-child(4) { transition-delay: .09s; }
.work-grid   .reveal:nth-child(5) { transition-delay: .18s; }
.work-grid   .reveal:nth-child(6) { transition-delay: .27s; }
.srv-list    .reveal:nth-child(1) { transition-delay: 0s; }
.srv-list    .reveal:nth-child(2) { transition-delay: .07s; }
.srv-list    .reveal:nth-child(3) { transition-delay: .14s; }
.srv-list    .reveal:nth-child(4) { transition-delay: .21s; }
.srv-list    .reveal:nth-child(5) { transition-delay: .28s; }
.srv-list    .reveal:nth-child(6) { transition-delay: .35s; }
.srv-list    .reveal:nth-child(7) { transition-delay: .42s; }
.srv-list    .reveal:nth-child(8) { transition-delay: .49s; }
.contact-form .reveal:nth-child(1) { transition-delay: 0s; }
.contact-form .reveal:nth-child(2) { transition-delay: .07s; }
.contact-form .reveal:nth-child(3) { transition-delay: .14s; }
.contact-form .reveal:nth-child(4) { transition-delay: .21s; }

/* ─── Responsive Global ─── */
@media (max-width: 768px) {
  .desk-br { display: none; }
  .footer-socials { text-align: left; }
}
@media (max-width: 480px) {
  :root { --nav-h: 62px; }
}
