:root {
  --paper: #fffdf8;
  --cream: #f4efe5;
  --ink: #15110f;
  --muted: #6f6860;
  --line: rgba(27, 18, 12, 0.13);
  --glass: rgba(255, 255, 255, 0.64);
  --shadow: 0 26px 70px rgba(56, 40, 28, 0.16);
  --glow: 0 18px 42px rgba(45, 127, 249, 0.18), 0 8px 20px rgba(255, 79, 139, 0.13);
  --blue: #2d7ff9;
  --rose: #ff4f8b;
  --lime: #9fdd52;
  --violet: #8d5cf6;
  --orange: #ff8c2f;
  --max: 1320px;
  font-family: 'Heebo', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  --mx: 50vw;
  --my: 50vh;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 79, 139, 0.20), transparent 22rem),
    radial-gradient(circle at 8% 18%, rgba(45, 127, 249, 0.20), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(159, 221, 82, 0.28), transparent 28rem),
    linear-gradient(135deg, #fffaf1 0%, #f4efe5 45%, #f8fbff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(24, 18, 14, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 18, 14, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
}

body::after {
  content: "";
  position: fixed;
  inset: -18vh -12vw;
  z-index: -2;
  pointer-events: none;
  opacity: 0.62;
  background:
    linear-gradient(120deg, transparent 0 14%, rgba(45,127,249,0.14) 15% 17%, transparent 18% 38%, rgba(255,79,139,0.15) 39% 41%, transparent 42% 68%, rgba(255,140,47,0.12) 69% 71%, transparent 72%),
    radial-gradient(circle at 72% 20%, rgba(159,221,82,0.22), transparent 22rem);
  transform: translate3d(0, calc(var(--scrollShift, 0%) * -0.18), 0) rotate(-4deg);
  transition: transform 0.08s linear;
}

a { color: inherit; }

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

.v2-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: #fffaf1;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.is-loaded .v2-loader {
  opacity: 0;
  visibility: hidden;
}

.v2-loader-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: conic-gradient(from 90deg, var(--blue), var(--rose), var(--lime), var(--orange), var(--blue));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 900;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.v2-loader span {
  color: var(--muted);
  font-weight: 900;
}

@keyframes loaderPulse {
  0%, 100% { transform: rotate(-3deg) scale(1); border-radius: 28px; }
  50% { transform: rotate(6deg) scale(1.06); border-radius: 50%; }
}

.v2-scroll-beam {
  position: fixed;
  top: 13vh;
  left: 22px;
  z-index: 65;
  width: 3px;
  height: 74vh;
  border-radius: 999px;
  background: rgba(21, 17, 15, 0.09);
  overflow: hidden;
}

.v2-scroll-beam span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, var(--blue), var(--rose), var(--orange), var(--violet));
  box-shadow: 0 0 24px rgba(255,79,139,0.45);
}

.v2-progress-rail {
  position: fixed;
  left: 36px;
  top: 50%;
  z-index: 66;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}

.v2-progress-rail a {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,17,15,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.64);
  color: rgba(21,17,15,0.58);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(42,31,23,0.09);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.v2-progress-rail a::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 18px;
  background: conic-gradient(from 140deg, var(--blue), var(--rose), var(--orange), var(--violet), var(--blue));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.v2-progress-rail a span {
  position: absolute;
  left: calc(100% + 10px);
  min-width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21,17,15,0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.v2-progress-rail a:hover,
.v2-progress-rail a.active {
  color: #fff;
  background: var(--ink);
  box-shadow: var(--glow);
  transform: translateX(5px) scale(1.04);
}

.v2-progress-rail a:hover::before,
.v2-progress-rail a.active::before {
  opacity: 1;
  animation: navRing 2.4s linear infinite;
}

.v2-progress-rail a:hover span,
.v2-progress-rail a.active span {
  opacity: 1;
  transform: translateX(0);
}

.v2-cursor {
  position: fixed;
  left: var(--x, -100px);
  top: var(--y, -100px);
  z-index: 90;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(21, 17, 15, 0.28);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.v2-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 70;
  width: min(var(--max), calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 48px rgba(62, 44, 31, 0.12);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.v2-brand,
.v2-classic,
.v2-nav a,
.v2-btn,
.v2-text-link,
.v2-arrow,
.v2-lab-grid a {
  -webkit-tap-highlight-color: transparent;
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  color: var(--ink);
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.v2-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 14px;
}

.v2-nav {
  justify-self: center;
  display: flex;
  gap: 5px;
}

.v2-nav a,
.v2-classic {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.v2-nav a::before,
.v2-classic::before {
  content: none;
}

.v2-nav a::after,
.v2-classic::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--rose), var(--orange), var(--violet), var(--blue));
  background-size: 220% 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.v2-nav a.active,
.v2-nav a:hover,
.v2-classic:hover {
  color: var(--ink);
  transform: none;
  box-shadow: none;
}

.v2-nav a.active::after,
.v2-nav a:hover::after,
.v2-classic:hover::after {
  transform: scaleX(1);
  animation: underlineFlow 1.8s linear infinite;
}

.v2-classic {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
}

.v2-classic:hover {
  border-color: var(--line);
  background: rgba(255,255,255,0.45);
}

main {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
}

.v2-panel {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  display: grid;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding: 108px 0 42px;
}

.v2-hero,
.v2-focus {
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
}

.v2-focus.flip {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}

.v2-focus.flip .v2-copy {
  order: 2;
}

.v2-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  color: #8a4b13;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-hero h1,
.v2-copy h2,
.v2-contact h2 {
  max-width: 720px;
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.v2-copy h2,
.v2-contact h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.v2-hero p,
.v2-copy p,
.v2-contact p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.v2-actions.center {
  justify-content: center;
}

.v2-btn,
.v2-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.v2-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--rose));
  box-shadow: 0 18px 38px rgba(45, 127, 249, 0.20);
}

.v2-btn.soft,
.v2-text-link {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.58);
  color: var(--ink);
}

.v2-btn:hover,
.v2-text-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.v2-text-link {
  margin-top: 22px;
}

.v2-showcase {
  position: relative;
  min-height: min(640px, calc(100svh - 190px));
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.95), rgba(255,255,255,0.42) 48%, transparent 49%),
    conic-gradient(from 160deg, rgba(45,127,249,0.20), rgba(255,79,139,0.22), rgba(159,221,82,0.30), rgba(255,140,47,0.18), rgba(45,127,249,0.20));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.v2-showcase-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 48px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 22px 52px rgba(42, 31, 23, 0.16);
  transform: translate(-50%, -50%) rotate(-5deg);
}

.v2-showcase-core strong {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  line-height: 1;
}

.v2-showcase-core span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.v2-float-card {
  position: absolute;
  width: 31%;
  min-width: 175px;
  aspect-ratio: var(--ratio, 4 / 3);
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 28px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 24px 50px rgba(42,31,23,0.15);
  animation: floatCard 7s ease-in-out infinite;
}

.v2-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.v2-float-card.c1 { --ratio: 4 / 3; left: 6%; top: 7%; transform: rotate(-9deg); }
.v2-float-card.c2 { --ratio: 16 / 10; right: 5%; top: 10%; transform: rotate(7deg); animation-delay: -1.4s; }
.v2-float-card.c3 { --ratio: 16 / 9; left: 9%; bottom: 10%; transform: rotate(6deg); animation-delay: -2.2s; }
.v2-float-card.c4 { --ratio: 1068 / 1472; right: 12%; bottom: 7%; width: 22%; transform: rotate(-8deg); animation-delay: -3s; }
.v2-float-card.c5 { --ratio: 1086 / 1448; left: 41%; top: 3%; width: 20%; transform: rotate(3deg); animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@keyframes navRing {
  to { transform: rotate(360deg); }
}

@keyframes underlineFlow {
  to { background-position: 220% 0; }
}

.v2-gallery {
  position: relative;
  min-width: 0;
  padding: 20px 54px 58px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 36px;
  background: rgba(255,255,255,0.56);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.v2-gallery::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft, rgba(45,127,249,0.18)), transparent 44%);
  animation: galleryGlow 9s ease-in-out infinite;
}

@keyframes galleryGlow {
  0%, 100% { transform: translateX(-8%) rotate(0deg); }
  50% { transform: translateX(8%) rotate(16deg); }
}

.v2-track {
  position: relative;
  z-index: 1;
  min-height: 0;
  height: clamp(280px, 48vh, 420px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 32%);
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px;
}

.v2-track::-webkit-scrollbar { display: none; }

.v2-track.wide-cards {
  grid-auto-columns: minmax(360px, 48%);
}

.v2-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  scroll-snap-align: center;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.62)),
    var(--accent-soft, rgba(45,127,249,0.12));
  box-shadow: 0 18px 42px rgba(42,31,23,0.12);
  text-decoration: none;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.v2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 38%, rgba(255,255,255,0.36));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.v2-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--blue)) 54%, white);
  box-shadow: 0 28px 72px rgba(42,31,23,0.18);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
}

.v2-card:hover::before {
  opacity: 1;
}

.v2-card.hero-card {
  grid-row: span 1;
}

.v2-card img,
.v2-card video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255,255,255,0.38);
}

.v2-card.video-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  font-weight: 900;
}

.v2-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.v2-arrow:hover {
  background: var(--accent, var(--blue));
  transform: translateY(-50%) scale(1.08);
}

.v2-arrow.prev { left: 16px; }
.v2-arrow.next { right: 16px; }

.v2-gallery-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.v2-gallery-meta b {
  color: var(--ink);
  font-family: 'Sora', sans-serif;
}

.theme-graphic { --accent: var(--rose); --accent-soft: rgba(255,79,139,0.16); }
.theme-ai { --accent: var(--lime); --accent-soft: rgba(159,221,82,0.22); }
.theme-web { --accent: var(--blue); --accent-soft: rgba(45,127,249,0.16); }
.theme-wraps { --accent: var(--orange); --accent-soft: rgba(255,140,47,0.18); }
.theme-art { --accent: var(--violet); --accent-soft: rgba(141,92,246,0.16); }

.v2-lab {
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
}

.v2-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v2-lab-grid a {
  --rx: 0deg;
  --ry: 0deg;
  min-height: clamp(132px, 19vh, 188px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 30px;
  background: rgba(255,255,255,0.62);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.18s ease, background 0.25s ease;
}

.v2-lab-grid a:hover {
  background: linear-gradient(135deg, rgba(45,127,249,0.20), rgba(255,79,139,0.20), rgba(159,221,82,0.22));
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
}

.v2-lab-grid i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
}

.v2-lab-grid span {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.v2-contact {
  display: grid;
  place-items: center;
}

.v2-contact-card {
  width: min(880px, 100%);
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 42px;
  background:
    radial-gradient(circle at 10% 0%, rgba(45,127,249,0.22), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(255,79,139,0.22), transparent 34%),
    rgba(255,255,255,0.68);
  box-shadow: var(--shadow);
  text-align: center;
}

.v2-contact p {
  margin-left: auto;
  margin-right: auto;
}

.v2-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 68;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(42,31,23,0.14);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.v2-back-top::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 23px;
  background: conic-gradient(from 140deg, var(--blue), var(--rose), var(--orange), var(--violet), var(--blue));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.v2-back-top::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
}

.v2-back-top i {
  font-size: 18px;
  transition: transform 0.28s ease;
}

.v2-back-top span {
  position: absolute;
  right: calc(100% + 10px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21,17,15,0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.v2-back-top:hover {
  color: #fff;
  transform: translateY(-6px) scale(1.04);
  box-shadow: var(--glow);
}

.v2-back-top:hover::before {
  opacity: 1;
  animation: navRing 2.4s linear infinite;
}

.v2-back-top:hover::after {
  background: var(--ink);
}

.v2-back-top:hover i {
  transform: translateY(-3px);
}

.v2-back-top:hover span {
  opacity: 1;
  transform: translateX(0);
}

.v2-footer {
  width: min(var(--max), calc(100% - 34px));
  margin: -24px auto 0;
  padding: 0 0 34px;
  text-align: center;
}

.v2-footer p {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.66);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: var(--muted);
  box-shadow: 0 12px 34px rgba(42,31,23,0.09);
  font-size: 13px;
  font-weight: 800;
}

.v2-panel .v2-copy,
.v2-panel .v2-gallery,
.v2-panel .v2-lab-grid,
.v2-showcase,
.v2-contact-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.v2-panel.in-view .v2-copy,
.v2-panel.in-view .v2-gallery,
.v2-panel.in-view .v2-lab-grid,
.v2-panel.in-view .v2-showcase,
.v2-panel.in-view .v2-contact-card,
.v2-hero .v2-hero-copy {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 981px) {
  .v2-panel {
    max-height: 100svh;
    overflow: hidden;
  }

  .v2-copy {
    align-self: center;
  }
}

@media (max-width: 980px) {
  html { scroll-snap-type: none; }

  .v2-cursor { display: none; }

  .v2-scroll-beam,
  .v2-progress-rail {
    display: none;
  }

  .v2-header {
    top: 10px;
    width: min(100% - 20px, var(--max));
    grid-template-columns: 1fr auto;
    border-radius: 26px;
  }

  .v2-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .v2-panel,
  .v2-hero,
  .v2-focus,
  .v2-focus.flip,
  .v2-lab {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 118px 0 52px;
  }

  .v2-focus.flip .v2-copy { order: initial; }

  .v2-showcase {
    min-height: 560px;
  }

  .v2-track {
    height: clamp(270px, 44vh, 390px);
    grid-auto-columns: minmax(260px, 72%);
  }

  .v2-track.wide-cards {
    grid-auto-columns: minmax(300px, 78%);
  }

  .v2-lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .v2-lab-grid a {
    min-height: 132px;
    padding: 18px;
  }
}

@media (max-width: 620px) {
  main { width: min(100% - 22px, var(--max)); }

  .v2-brand span { display: none; }
  .v2-classic { font-size: 12px; padding-inline: 11px; }

  .v2-hero h1,
  .v2-copy h2,
  .v2-contact h2 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .v2-hero p,
  .v2-copy p,
  .v2-contact p {
    font-size: 16px;
  }

  .v2-showcase {
    min-height: 470px;
    border-radius: 28px;
  }

  .v2-float-card {
    min-width: 140px;
    padding: 8px;
    border-radius: 20px;
  }

  .v2-showcase-core {
    width: 134px;
    height: 134px;
    border-radius: 34px;
  }

  .v2-gallery {
    padding: 14px 14px 72px;
    border-radius: 28px;
  }

  .v2-track,
  .v2-track.wide-cards {
    grid-auto-columns: 88%;
    height: clamp(255px, 48vh, 350px);
  }

  .v2-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .v2-arrow:hover { transform: scale(1.05); }
  .v2-arrow.prev { left: calc(50% - 58px); }
  .v2-arrow.next { right: calc(50% - 58px); }

  .v2-gallery-meta {
    display: none;
  }

  .v2-lab-grid {
    grid-template-columns: 1fr;
  }

  .v2-lab {
    display: grid;
  }

  .v2-lab-grid a {
    min-height: 92px;
    flex-direction: row;
    align-items: center;
  }

  .v2-lab-grid i {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 18px;
  }

  .v2-lab-grid span {
    font-size: 16px;
  }
}

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