:root {
  --bg: #070913;
  --panel: #0d1020;
  --panel-2: #11162a;
  --text: #f7f7fb;
  --muted: #aeb4ca;
  --line: rgba(255,255,255,.12);
  --purple: #8d3cff;
  --pink: #ff3ec8;
  --orange: #ff8a2a;
  --cyan: #28d8ff;
  --green: #66f5a8;
  --radius: 24px;
  --side: 110px;
  --top: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
body.case-body { overflow: auto; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 5px;
  box-shadow: 0 0 0 8px rgba(40,216,255,.48), 0 0 0 12px rgba(7,9,19,.72);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: #050814;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 10;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 4px 4px;
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(141,60,255,.22), transparent 62%);
  transform: translate3d(-9999px, -9999px, 0);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  contain: layout paint;
  will-change: transform;
}

.topbar {
  position: fixed;
  top: 0;
  left: var(--side);
  right: 0;
  height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 30;
  background: linear-gradient(to bottom, rgba(7,9,19,.84), rgba(7,9,19,.24));
  backdrop-filter: blur(16px);
}
.logo {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 50px;
}
.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.topbar nav { display: flex; gap: 34px; color: var(--muted); font-size: 13px; }
.topbar nav a { transition: color .2s ease; }
.topbar nav a:hover { color: #fff; }
.accessibility-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #eef2ff;
  background: rgba(255,255,255,.055);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.accessibility-top-link:hover {
  transform: translateY(-2px);
  border-color: rgba(40,216,255,.42);
  background: rgba(40,216,255,.1);
}
.lang-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.lang-toggle:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
.talk-btn, .primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--pink) 55%, var(--orange));
  box-shadow: 0 14px 40px rgba(141,60,255,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.talk-btn:hover, .primary-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 55px rgba(255,62,200,.28); }
.talk-btn:focus-visible,
.primary-btn:focus-visible,
.ghost-btn:focus-visible,
.text-link:focus-visible,
.case-link:focus-visible,
.case-nav a:focus-visible,
.project-scroll:focus-visible,
.slider-arrow:focus-visible,
.lang-toggle:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 5px;
  box-shadow: 0 0 0 8px rgba(40,216,255,.55), 0 0 0 12px rgba(7,9,19,.88), 0 18px 55px rgba(255,62,200,.28);
  border-radius: 12px;
}
.talk-btn:focus-visible,
.primary-btn:focus-visible,
.lang-toggle:focus-visible,
.project-scroll:focus-visible,
.slider-arrow:focus-visible {
  border-radius: 999px;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(6,8,17,.78);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.side-item {
  border: 0;
  background: transparent;
  width: 100%;
  padding: 12px 8px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.side-item span { display: block; font-size: 21px; margin-bottom: 6px; }
.side-item strong { display: block; font-size: 12px; text-transform: uppercase; }
.side-item.active { color: #fff; transform: scale(1.05); }
.side-item.active span { color: var(--pink); }
.side-item:focus-visible {
  outline-offset: -8px;
  box-shadow: inset 0 0 0 4px rgba(40,216,255,.65);
}
.side-line { width: 1px; height: 52px; background: rgba(255,255,255,.16); position: relative; }
.side-line i { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.35); }

.viewport {
  position: fixed;
  inset: 0 0 0 var(--side);
  overflow: hidden;
}
.horizontal-track {
  height: 100vh;
  display: flex;
  will-change: transform;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.panel {
  position: relative;
  min-width: calc(100vw - var(--side));
  height: 100vh;
  overflow: hidden;
  padding: calc(var(--top) + 44px) 72px 58px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 50% 50%, rgba(141,60,255,.11), transparent 42%), var(--bg);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: #dfe4ff;
  background: rgba(255,255,255,.04);
}
h1, h2 { margin: 0; letter-spacing: -.06em; line-height: .96; }
h1 { font-size: clamp(54px, 6vw, 108px); max-width: 680px; }
h2 { font-size: clamp(44px, 4.3vw, 84px); }
h1 span, h2 span { background: linear-gradient(100deg, var(--purple), var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead, .section-copy p, .contact-copy p { color: var(--muted); line-height: 1.75; max-width: 530px; }
.skill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 540px;
  margin: 26px 0 24px;
}
.skill-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.13);
  color: #edf0ff;
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.hero-panel { display: grid; grid-template-columns: minmax(420px, .68fr) minmax(0, 1.32fr); gap: 36px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 30px; }
.ghost-btn, .text-link { color: #fff; display: inline-flex; gap: 10px; align-items: center; font-weight: 700; }
.ghost-btn { border: 0; background: transparent; cursor: pointer; padding: 0; }
.scroll-hint { margin-top: 52px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.orb { position: absolute; border-radius: 999px; filter: blur(18px); opacity: .8; animation: float 18s ease-in-out infinite; }
.orb-one { width: 560px; height: 560px; right: 5%; top: 12%; background: radial-gradient(circle, rgba(255,62,200,.75), transparent 60%); }
.orb-two { width: 520px; height: 420px; right: 18%; bottom: 12%; background: radial-gradient(circle, rgba(141,60,255,.65), transparent 64%); animation-delay: -6s; }
.orb-three { width: 360px; height: 280px; right: -3%; top: 24%; background: radial-gradient(circle, rgba(255,138,42,.8), transparent 58%); animation-delay: -10s; }
@keyframes float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-34px,28px,0) scale(1.06); } }

.featured-slider {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: max-content max-content max-content;
  align-items: center;
  gap: clamp(16px, 1.5vw, 24px);
  perspective: 1200px;
  padding: 0 56px;
}
.slider-arrow { position: absolute; left: 0; z-index: 8; width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.08); cursor: pointer; backdrop-filter: blur(10px); }
.project-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .25s ease, border-color .25s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.18), transparent 38%);
  opacity: 0;
  transition: opacity .25s ease;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover { border-color: rgba(255,255,255,.28); }
.hero-card { width: clamp(230px, 15vw, 280px); min-height: 300px; padding: 18px; transform: rotateY(-8deg); }
.hero-card.featured { width: clamp(340px, 23vw, 400px); min-height: 380px; transform: rotateY(-10deg) translateY(-16px); border-color: rgba(255,62,200,.45); }
.hero-card.small { transform: rotateY(-13deg) translateY(14px); opacity: .9; }
.card-number { display: inline-flex; padding: 8px 12px; border-radius: 12px; background: rgba(0,0,0,.26); color: #fff; font-weight: 800; }
.recent-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, rgba(40,216,255,.88), rgba(255,62,200,.88));
  box-shadow: 0 14px 32px rgba(255,62,200,.24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-image { height: 150px; margin: 16px 0 20px; border-radius: 18px; background: linear-gradient(135deg, #11172c, #1f2b57); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.hero-card.featured .card-image { height: 210px; }
.card-image::before, .card-image::after { content: ""; position: absolute; border-radius: 18px; background: rgba(255,255,255,.12); }
.dashboard-img::before { width: 70%; height: 18px; left: 20px; top: 25px; box-shadow: 0 40px 0 rgba(40,216,255,.22), 0 82px 0 rgba(255,255,255,.08); }
.dashboard-img::after { width: 52%; height: 70px; right: 22px; bottom: 22px; background: linear-gradient(140deg, rgba(40,216,255,.5), rgba(141,60,255,.15)); }
.legacy-img,
.orange-img,
.where-img,
.where-shot-2,
.where-shot-3,
.where-shot-4,
.where-shot-5,
.nine-img,
.wcag-img,
.hidden-img,
.cyber-img,
.cyber-shot-2,
.hidden-shot-2,
.geon-img,
.geon-shot-2,
.geon-shot-3,
.geon-shot-4,
.geon-shot-5 {
  background-position: center;
  background-color: #090b14;
  background-repeat: no-repeat;
  background-size: contain;
}
.legacy-img { background-image: linear-gradient(rgba(7,9,19,.08), rgba(7,9,19,.22)), url("Images/legacypictures/legacypictures.jpg"); }
.orange-img { background-image: linear-gradient(rgba(7,9,19,.08), rgba(7,9,19,.2)), url("Images/orangebear/orangebear.jpg"); }
.where-img { background-image: linear-gradient(rgba(7,9,19,.08), rgba(7,9,19,.2)), url("Images/wherewewent/WWWHeader.jpg?v=20260629f"); }
.where-shot-2 { background-image: url("Images/wherewewent/WWW2.jpg"); }
.where-shot-3 { background-image: url("Images/wherewewent/WWW3.jpg"); }
.where-shot-4 { background-image: url("Images/wherewewent/WWW4.jpg"); }
.where-shot-5 { background-image: url("Images/wherewewent/WWW5.jpg"); }
.nine-img { background-image: linear-gradient(rgba(7,9,19,.04), rgba(7,9,19,.18)), url("Images/9-to-5/9-to-5.png"); }
.wcag-img { background-image: linear-gradient(rgba(7,9,19,.03), rgba(7,9,19,.16)), url("Images/wcagmatters/WCAGMatters.png"); }
.hidden-img { background-image: linear-gradient(rgba(7,9,19,.02), rgba(7,9,19,.12)), url("Images/hiddengems/Hiddengemsbanner.png"); }
.hidden-shot-2 { background-image: linear-gradient(rgba(7,9,19,.02), rgba(7,9,19,.12)), url("Images/hiddengems/Hiddengems2.png"); }
.cyber-img { background-image: linear-gradient(rgba(7,9,19,.02), rgba(7,9,19,.16)), url("Images/cyberdetective/cyberdetective.png"); }
.cyber-shot-2 { background-image: linear-gradient(rgba(7,9,19,.02), rgba(7,9,19,.12)), url("Images/cyberdetective/cyberdetective2.png"); }
.geon-img { background-image: linear-gradient(rgba(7,9,19,.08), rgba(7,9,19,.2)), url("Images/pigeon/pigeonheader.jpg"); }
.geon-shot-2 { background-image: url("Images/pigeon/pigeon2.jpg"); }
.geon-shot-3 { background-image: url("Images/pigeon/pigeon3.jpg"); }
.geon-shot-4 { background-image: url("Images/pigeon/pigeon4.jpg"); }
.geon-shot-5 { background-image: url("Images/pigeon/pigeon5.jpg"); }
.legacy-img::before,
.legacy-img::after,
.orange-img::before,
.orange-img::after,
.where-img::before,
.where-img::after,
.where-shot-2::before,
.where-shot-2::after,
.where-shot-3::before,
.where-shot-3::after,
.where-shot-4::before,
.where-shot-4::after,
.where-shot-5::before,
.where-shot-5::after,
.nine-img::before,
.nine-img::after,
.wcag-img::before,
.wcag-img::after,
.hidden-img::before,
.hidden-img::after,
.cyber-img::before,
.cyber-img::after,
.cyber-shot-2::before,
.cyber-shot-2::after,
.hidden-shot-2::before,
.hidden-shot-2::after,
.geon-img::before,
.geon-img::after,
.geon-shot-2::before,
.geon-shot-2::after,
.geon-shot-3::before,
.geon-shot-3::after,
.geon-shot-4::before,
.geon-shot-4::after,
.geon-shot-5::before,
.geon-shot-5::after { display: none; }
.project-card h2, .project-card h3, .project-title { margin: 0 0 8px; font-size: 22px; letter-spacing: -.04em; position: relative; }
.project-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
}
.project-card p, .project-card small { color: var(--muted); position: relative; }
.added-date {
  position: relative;
  display: block;
  margin-top: 14px;
  color: rgba(220,224,243,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.project-card a, .case-link { position: relative; display: inline-flex; margin-top: 16px; gap: 8px; font-weight: 800; }
.case-link { border: 0; padding: 0; background: transparent; cursor: pointer; }

.about-panel { display: grid; grid-template-columns: .58fr 1fr minmax(240px, .36fr); align-items: center; gap: 44px; background: linear-gradient(90deg, #0b1024, #18133d 58%, #0b1024); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 34px 22px; min-height: 250px; border-left: 1px solid rgba(255,255,255,.1); background: linear-gradient(to bottom, rgba(255,255,255,.04), transparent); }
.value-icon { font-size: 42px; color: var(--purple); margin-bottom: 40px; }
.value-icon.pink { color: var(--pink); } .value-icon.yellow { color: #ffd84a; } .value-icon.cyan { color: var(--cyan); }
.value-card p { color: var(--muted); line-height: 1.6; }
.portrait-card {
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 4 / 5;
  justify-self: center;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(7,9,19,.02), rgba(7,9,19,.22)),
    url("Images/selfimage.png") center 24% / cover no-repeat,
    #12172f;
  box-shadow: inset 0 0 70px rgba(0,0,0,.22), 0 28px 80px rgba(0,0,0,.26);
}

.projects-panel { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: center; gap: 48px; background: radial-gradient(circle at 50% 65%, rgba(255,138,42,.26), transparent 38%), #090b14; }
.project-strip {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.project-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  width: 100%;
  overflow: visible;
  padding: 28px 6px 58px;
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.project-row::-webkit-scrollbar { display: none; }
.project-card.big {
  flex: 0 0 clamp(220px, 17vw, 310px);
  width: clamp(220px, 17vw, 310px);
  min-height: 370px;
  padding: 16px;
  scroll-snap-align: start;
}
.project-card.big:nth-child(even) { transform: translateY(-24px); }
.project-row .project-card.big:first-child {
  border-color: rgba(255,62,200,.45);
  box-shadow: 0 24px 64px rgba(255,62,200,.1), inset 0 1px 0 rgba(255,255,255,.08);
}
.project-controls {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.project-scroll {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(12,15,29,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, opacity .2s ease, background .2s ease;
}
.project-scroll:hover {
  transform: translateY(-2px);
  border-color: rgba(255,62,200,.42);
  background: rgba(28,32,55,.88);
}
.project-scroll:disabled {
  cursor: default;
  opacity: .35;
  transform: none;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; position: relative; }
.tags span { font-size: 12px; color: #dce0f3; border: 1px solid rgba(255,255,255,.13); padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.04); }
.orange { color: var(--orange); }

.process-panel { display: grid; grid-template-columns: 330px 1fr; align-items: center; gap: 70px; background: linear-gradient(180deg,#111742,#080b17); }
.mountains { position: absolute; inset: auto 0 0 0; height: 45%; opacity: .55; background: linear-gradient(135deg, transparent 35%, rgba(255,255,255,.08) 36%, transparent 37%), radial-gradient(circle at 70% 20%, rgba(255,62,200,.26), transparent 40%); clip-path: polygon(0 80%, 10% 58%, 22% 70%, 32% 40%, 47% 76%, 62% 44%, 78% 70%, 89% 45%, 100% 66%, 100% 100%, 0 100%); }
.process-line { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; align-items: start; }
.process-line::before { content: ""; position: absolute; left: 5%; right: 5%; top: 36px; border-top: 2px dashed rgba(255,255,255,.16); }
.step { position: relative; text-align: center; padding-top: 0; }
.step span { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #fff; font-weight: 900; margin-bottom: 28px; }
.step strong { display: block; margin-bottom: 30px; font-size: 16px; }
.step.active span { background: linear-gradient(135deg,var(--purple),var(--cyan)); box-shadow: 0 20px 60px rgba(40,216,255,.22); }
.step p { color: var(--muted); line-height: 1.6; margin: 0; }

.contact-panel { display: grid; grid-template-columns: .75fr 520px .55fr; align-items: center; gap: 54px; background: radial-gradient(circle at 76% 62%, rgba(255,62,200,.36), transparent 26%), radial-gradient(circle at 88% 50%, rgba(255,138,42,.42), transparent 24%), #090b15; }
.contact-copy h2 { max-width: 520px; }
.contact-form { position: relative; z-index: 2; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.055); backdrop-filter: blur(18px); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
input, textarea, select { width: 100%; border: 1px solid rgba(255,255,255,.12); color: #fff; background: rgba(7,9,19,.45); border-radius: 12px; padding: 14px; resize: vertical; }
select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
select option { color: #070913; background: #fff; }
input:focus, textarea:focus, select:focus { border-color: rgba(40,216,255,.7); outline: none; box-shadow: 0 0 0 4px rgba(40,216,255,.1); }
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px rgba(40,216,255,.45);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: #ff8f8f;
  box-shadow: 0 0 0 4px rgba(255,143,143,.12);
}
.file-field small { display: block; margin-top: 3px; color: rgba(174,180,202,.8); font-size: 12px; font-weight: 500; }
input[type="file"] {
  cursor: pointer;
  color: var(--muted);
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(100deg, var(--purple), var(--pink));
  font-weight: 800;
  cursor: pointer;
}
.form-trap,
.form-trap-label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-status { min-height: 22px; margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.form-status.success { color: var(--green); }
.form-status.error { color: #ff8f8f; }
.contact-info { display: grid; gap: 18px; color: var(--muted); font-style: normal; }
.contact-info a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.socials a:hover {
  color: #fff;
  border-color: rgba(255,62,200,.42);
  background: linear-gradient(145deg, rgba(141,60,255,.22), rgba(255,62,200,.13));
  transform: translateY(-3px);
}
.socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.infinity { position: absolute; right: 7%; bottom: 11%; width: 300px; height: 160px; border-radius: 999px; border: 38px solid rgba(141,60,255,.7); filter: blur(.2px) drop-shadow(0 0 55px rgba(255,62,200,.55)); transform: rotate(-18deg); opacity: .75; }
.infinity::after { content: ""; position: absolute; inset: -38px; border-radius: 999px; border: 38px solid rgba(255,138,42,.72); transform: translateX(115px); }

.case-page {
  min-height: 100vh;
  padding: 104px 72px 54px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,62,200,.25), transparent 28%),
    radial-gradient(circle at 18% 85%, rgba(40,216,255,.2), transparent 24%),
    rgba(7,9,19,.98);
}
.accessibility-page {
  background:
    radial-gradient(circle at 72% 18%, rgba(40,216,255,.14), transparent 30%),
    radial-gradient(circle at 18% 74%, rgba(141,60,255,.16), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(255,62,200,.12), transparent 24%),
    #070913;
}
.accessibility-body .case-topbar {
  background: rgba(7,9,19,.86);
}
.accessibility-page .case-shell {
  grid-template-columns: minmax(360px, .95fr) minmax(380px, .8fr);
  gap: 56px;
  align-items: center;
}
.accessibility-page .case-hero {
  align-self: center;
}
.accessibility-page .case-hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 5.35vw, 92px);
  letter-spacing: -.055em;
}
.accessibility-page .case-hero p:not(.eyebrow) {
  max-width: 640px;
  color: #c8cee2;
}
.accessibility-preview {
  min-height: 0;
  padding: 0;
}
.accessibility-preview-panel {
  position: relative;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035) 48%, rgba(40,216,255,.075)),
    rgba(255,255,255,.035);
  box-shadow: 0 24px 74px rgba(0,0,0,.28);
}
.accessibility-preview-panel::before {
  content: "";
  position: absolute;
  inset: auto -18% -34% 30%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  border: 64px solid rgba(40,216,255,.1);
  background:
    radial-gradient(circle, rgba(255,62,200,.14), transparent 56%);
  transform: rotate(-16deg);
}
.accessibility-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.accessibility-preview-panel .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  border-color: rgba(40,216,255,.2);
  background: rgba(40,216,255,.055);
}
.accessibility-preview-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 0 14px;
  font-size: clamp(30px, 2.8vw, 48px);
  letter-spacing: -.045em;
  line-height: 1;
}
.accessibility-preview-panel p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.7;
}
.accessibility-checklist {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.accessibility-checklist div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(7,9,19,.22);
}
.accessibility-checklist span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #061018;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 12px;
  font-weight: 1000;
}
.accessibility-checklist strong {
  color: #f4f7ff;
  font-size: 15px;
}
.accessibility-summary article:first-child,
.accessibility-card-row article:first-child {
  border-color: rgba(40,216,255,.25);
  background: linear-gradient(145deg, rgba(40,216,255,.09), rgba(255,255,255,.04));
}
.case-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: start;
}
.case-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 72px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,9,19,.78);
  backdrop-filter: blur(16px);
}
.case-nav { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
.case-nav a:hover { color: #fff; }
.case-hero h1 { font-size: clamp(56px, 6vw, 112px); }
.case-hero p:not(.eyebrow) { color: var(--muted); line-height: 1.8; max-width: 620px; }
.case-actions { display: flex; gap: 22px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.case-preview {
  min-height: 440px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.case-image { height: 430px; margin: 0; border-radius: 20px; }
.case-grid, .case-copy, .case-gallery { grid-column: 1 / -1; display: grid; gap: 18px; }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-grid article, .case-copy article, .case-gallery article {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.case-grid span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.case-grid strong { font-size: 20px; }
.case-copy { grid-template-columns: 1fr 1fr; }
.case-copy h2, .case-gallery h2 { margin-top: 0; font-size: clamp(28px, 2.5vw, 46px); letter-spacing: -.04em; overflow-wrap: break-word; hyphens: auto; }
.case-copy p, .case-copy li, .case-gallery p { color: var(--muted); line-height: 1.75; }
.case-copy ul { margin: 0; padding-left: 19px; }
.case-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-gallery.single-gallery { grid-template-columns: 1fr; }
.case-gallery .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 0 18px;
  background-size: contain;
}
.case-gallery.single-gallery .card-image { aspect-ratio: 16 / 9; max-height: 520px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.panel.active .reveal { opacity: 1; transform: translateY(0); }
.panel.active .reveal:nth-child(2) { transition-delay: .08s; }
.panel.active .reveal:nth-child(3) { transition-delay: .14s; }

@media (min-width: 981px) and (max-width: 1380px) {
  .projects-panel {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 980px) {
  body { overflow: auto; }
  .viewport { position: static; inset: auto; }
  .horizontal-track { display: block; height: auto; transform: none !important; }
  .panel { min-width: 100%; height: auto; min-height: 100vh; padding: 112px 32px 64px; overflow: hidden; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .side-nav { display: none; }
  .topbar { left: 0; padding: 0 24px; }
  .topbar nav { display: none; }
  .accessibility-top-link { display: none; }
  h1 { font-size: clamp(48px, 12vw, 82px); }
  h2 { font-size: clamp(40px, 9vw, 68px); }
  .hero-panel, .about-panel, .projects-panel, .process-panel, .contact-panel { display: grid; grid-template-columns: 1fr; }
  .about-panel { align-items: start; gap: 34px; }
  .about-panel .section-copy { order: 1; max-width: 680px; }
  .about-panel .portrait-card { order: 2; }
  .about-panel .value-grid { order: 3; }
  .project-strip { overflow: visible; }
  .project-controls { display: none; }
  .project-row { transform: none !important; }
  .featured-slider, .project-row, .process-line {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 18px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .featured-slider { width: calc(100vw - 64px); grid-template-columns: repeat(3, max-content); padding: 0 0 18px 62px; }
  .slider-arrow { left: 0; top: 50%; transform: translateY(-50%); }
  .project-row, .process-line, .value-grid { display: flex; }
  .project-row { flex-wrap: nowrap; }
  .about-panel .value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    padding-bottom: 0;
  }
  .hero-card, .project-card.big, .value-card, .step { scroll-snap-align: start; }
  .value-card { min-width: 240px; }
  .about-panel .value-card { min-width: 0; min-height: 190px; padding: 26px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; }
  .about-panel .value-icon { margin-bottom: 24px; }
  .portrait-card { width: min(100%, 430px); min-height: 0; height: auto; justify-self: start; background-position: center 30%; }
  .about-panel .portrait-card { max-width: 430px; }
  .hero-card, .hero-card.featured, .hero-card.small { width: 300px; min-width: 300px; min-height: 340px; transform: none; }
  .hero-card.featured .card-image { height: 170px; }
  .project-card.big { height: auto; min-height: 370px; min-width: 280px; }
  .process-line::before { display: none; }
  .step { min-width: 220px; padding: 18px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.035); }
  .step span { margin-bottom: 18px; }
  .step strong { margin-bottom: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .case-topbar { padding: 18px 20px; }
  .case-nav { display: none; }
  .case-page { padding: 72px 20px 44px; }
  .case-shell, .case-grid, .case-copy, .case-gallery { grid-template-columns: 1fr; }
  .case-preview { min-height: 300px; padding: 16px; }
  .accessibility-page .case-shell { grid-template-columns: 1fr; gap: 28px; }
  .accessibility-preview, .accessibility-preview-panel { min-height: auto; }
  .accessibility-preview-panel { padding: 24px; }
  .case-image { height: 280px; }
  .case-gallery .card-image, .case-gallery.single-gallery .card-image { height: auto; max-height: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 640px) {
  :root { --top: 74px; }
  .topbar { height: var(--top); padding: 0 16px; }
  .logo { width: 108px; height: 42px; }
  .lang-toggle { width: 42px; height: 36px; }
  .talk-btn { padding: 11px 15px; font-size: 13px; }
  .panel { min-height: auto; padding: 96px 18px 54px; }
  h1 { font-size: clamp(42px, 14vw, 62px); letter-spacing: -.045em; }
  h2 { font-size: clamp(34px, 11vw, 52px); letter-spacing: -.045em; }
  .lead, .section-copy p, .contact-copy p { line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .primary-btn, .talk-btn { max-width: 100%; }
  .scroll-hint { margin-top: 34px; }
  .featured-slider { width: calc(100vw - 36px); gap: 16px; padding-left: 54px; }
  .slider-arrow { width: 44px; height: 44px; }
  .hero-card, .hero-card.featured, .hero-card.small { width: min(76vw, 280px); min-width: min(76vw, 280px); min-height: 330px; padding: 16px; }
  .hero-card.featured .card-image, .card-image { height: 150px; }
  .project-card h2, .project-card h3, .project-title { font-size: 20px; }
  .project-row { gap: 18px; }
  .project-card.big { min-width: min(82vw, 300px); }
  .skill-stack { gap: 7px; margin: 22px 0; }
  .skill-stack span { min-height: 31px; padding: 7px 10px; font-size: 12px; }
  .value-grid { gap: 14px; }
  .about-panel { gap: 26px; }
  .about-panel .value-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { min-width: min(78vw, 260px); min-height: 220px; padding: 28px 18px; }
  .about-panel .value-card { min-width: 0; min-height: auto; padding: 22px 18px; }
  .about-panel .value-icon { margin-bottom: 18px; font-size: 34px; }
  .portrait-card { width: min(100%, 340px); min-height: 0; border-radius: 24px; justify-self: center; background-position: center 28%; }
  .about-panel .portrait-card { max-width: 340px; }
  .process-line { gap: 14px; }
  .step { min-width: min(78vw, 250px); }
  .contact-form { padding: 22px; border-radius: 18px; }
  input, textarea, select { padding: 12px; }
  .contact-info { gap: 14px; }
  .infinity { display: none; }
  .case-topbar { gap: 14px; padding: 14px 16px; }
  .case-topbar .accessibility-top-link { display: none; }
  .case-topbar .talk-btn { font-size: 12px; padding: 10px 12px; }
  .case-page { padding: 48px 16px 36px; }
  .case-hero h1 { font-size: clamp(42px, 14vw, 66px); }
  .case-actions { gap: 16px; }
  .case-preview { min-height: auto; }
  .case-image { height: 230px; }
  .case-grid article, .case-copy article, .case-gallery article { padding: 18px; }
  .case-gallery .card-image, .case-gallery.single-gallery .card-image { height: auto; }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .panel { padding-inline: 48px; }
  .hero-panel { grid-template-columns: minmax(380px, .62fr) minmax(0, 1.38fr); gap: 24px; }
  .featured-slider { padding: 0 46px; }
  .hero-card { width: 220px; }
  .hero-card.featured { width: 350px; }
  .about-panel { grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr) minmax(180px, .3fr); gap: 28px; }
  .about-panel .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .about-panel .value-card { min-height: 190px; padding: 24px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
  .about-panel .value-icon { margin-bottom: 22px; font-size: 36px; }
  .about-panel .portrait-card { width: min(100%, 280px); height: auto; min-height: 0; align-self: center; justify-self: center; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .horizontal-track { transition: none; }
}
