:root {
  --glass-clear: rgba(255, 116, 35, 0.07);
  --glass-tint: rgba(30, 15, 8, 0.76);
  --glass-tint-strong: rgba(23, 12, 7, 0.9);
  --glass-line: rgba(255, 119, 42, 0.22);
  --glass-highlight: rgba(255, 182, 130, 0.24);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.1);
  --mica-surface: linear-gradient(145deg, rgba(25, 25, 27, 0.82), rgba(12, 12, 14, 0.88));
  --header-height: 96px;
}

body {
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.86), rgba(7, 7, 8, 0.96) 44%, #070708 100%),
    #070708;
}

.ambient-field {
  position: fixed;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 52% at 86% 8%, rgba(255, 91, 0, 0.085), transparent 70%),
    radial-gradient(ellipse 48% 38% at 7% 78%, rgba(111, 47, 14, 0.06), transparent 72%),
    linear-gradient(125deg, #070708 0%, #0b0908 48%, #080707 100%);
}

.ambient-blob,
.ambient-wash {
  position: absolute;
  display: block;
  pointer-events: none;
}

.ambient-blob {
  width: clamp(420px, 55vw, 780px);
  aspect-ratio: 1.35;
  opacity: 0.62;
}

.ambient-blob-one {
  top: -24%;
  right: -18%;
  background: radial-gradient(ellipse at center, rgba(255, 92, 0, 0.14), rgba(146, 53, 0, 0.03) 38%, transparent 66%);
  animation: ambient-drift-one 34s ease-in-out infinite alternate;
}

.ambient-blob-two {
  top: 38%;
  left: -24%;
  background: radial-gradient(ellipse at center, rgba(255, 128, 58, 0.075), rgba(104, 47, 17, 0.02) 42%, transparent 67%);
  animation: ambient-drift-two 39s ease-in-out infinite alternate;
}

.ambient-blob-three {
  right: -20%;
  bottom: -20%;
  opacity: 0.4;
  background: radial-gradient(ellipse at center, rgba(255, 184, 137, 0.055), rgba(255, 101, 0, 0.014) 44%, transparent 66%);
  animation: ambient-drift-three 44s ease-in-out infinite alternate;
}

.ambient-wash {
  top: -18%;
  right: -12%;
  width: min(980px, 72vw);
  height: 136%;
  opacity: 0.26;
  background: radial-gradient(ellipse at center, rgba(255, 128, 52, 0.052), rgba(255, 101, 0, 0.016) 40%, transparent 68%);
  animation: ambient-wash 26s ease-in-out infinite alternate;
}

.ambient-canvas {
  opacity: 0.52;
  mix-blend-mode: normal;
}

.pointer-glow,
.motion-enabled .pointer-glow {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 101, 0, 0.1), rgba(255, 101, 0, 0.026) 42%, transparent 70%);
  filter: none;
  contain: layout paint style;
  transition: opacity 0.22s ease;
}

.pointer-glow.is-visible {
  opacity: 0.46;
}

.has-fine-pointer.motion-enabled .cursor-follower {
  display: block;
}

/* Floating navigation material */
.site-header,
.site-header.is-scrolled {
  top: 0;
  height: var(--header-height);
  padding-top: 14px;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-shell {
  position: relative;
  width: min(1380px, calc(100% - 30px));
  height: 68px;
  padding: 8px 10px 8px 15px;
  border: 1px solid rgba(255, 134, 68, 0.17);
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 11, 0.86);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.46),
    0 12px 38px rgba(255, 84, 0, 0.025),
    inset 0 1px rgba(255, 255, 255, 0.09),
    inset 0 -1px rgba(255, 101, 0, 0.03);
  pointer-events: auto;
  isolation: isolate;
  transition: width 0.55s var(--motion-ease), height 0.45s var(--motion-ease), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  -webkit-backdrop-filter: blur(17px) saturate(138%);
  backdrop-filter: blur(17px) saturate(138%);
}

.header-shell::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 23px;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 196, 153, 0.055), transparent 27% 72%, rgba(255, 101, 0, 0.035));
  opacity: 0.68;
  clip-path: inset(0 round 23px);
  transition: opacity 0.3s ease;
}

.header-shell::after {
  position: absolute;
  z-index: -2;
  right: 12%;
  bottom: -26px;
  left: 12%;
  height: 52px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 88, 0, 0.075), transparent 68%);
  opacity: 0.28;
}

.header-refraction {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.header-refraction::before {
  position: absolute;
  top: -100%;
  left: -30%;
  width: 28%;
  height: 300%;
  content: "";
  opacity: 0.08;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 229, 0.58), rgba(255, 127, 50, 0.12), transparent);
  transform: rotate(18deg);
  will-change: transform, opacity;
  animation: header-caustic 9s 1.4s var(--motion-ease) infinite;
}

.site-header.is-scrolled .header-shell {
  width: min(1220px, calc(100% - 30px));
  height: 62px;
  border-color: rgba(255, 125, 49, 0.21);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 101, 0, 0.018)),
    rgba(9, 9, 10, 0.92);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.5), 0 10px 34px rgba(255, 77, 0, 0.025), inset 0 1px rgba(255, 255, 255, 0.085);
}

.header-shell > :not(.header-refraction):not(.main-nav) {
  position: relative;
  z-index: 2;
}

.brand {
  gap: 10px;
  padding: 7px 10px 7px 5px;
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.35s var(--motion-spring);
}

.brand:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-1px);
}

.brand-name {
  color: #f5efeb;
}

.brand-mark {
  width: 37px;
  filter: drop-shadow(0 6px 11px rgba(255, 101, 0, 0.15));
}

.main-nav {
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 19px;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.main-nav a {
  z-index: 0;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 12px;
  color: #aaa19b;
  isolation: isolate;
}

.main-nav a::after {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 124, 48, 0.24);
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 101, 0, 0.035)),
    rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 8px 20px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: scale(0.86);
  transform-origin: 50% 50%;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #f4ece7;
}

.main-nav a.is-active::before {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  content: "";
  background: #ff782d;
  box-shadow: 0 0 8px rgba(255, 101, 0, 0.48);
}

.header-actions {
  gap: 6px;
}

.lang-switch,
.menu-button,
.motion-switch {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.085);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.16);
  color: #b8ada6;
}

.lang-switch:hover,
.menu-button:hover,
.motion-switch:hover {
  border-color: rgba(255, 118, 36, 0.36);
  background: rgba(255, 101, 0, 0.07);
  color: #ff8a3c;
}

.header-cta {
  min-height: 44px;
  margin-left: 2px;
  border-color: rgba(255, 121, 43, 0.25);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 101, 0, 0.028)),
    rgba(12, 12, 13, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 10px 28px rgba(0, 0, 0, 0.2);
  color: #f5eeea;
}

.header-cta svg {
  color: #ff7b31;
}

.header-cta:hover {
  border-color: rgba(255, 125, 49, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 129, 57, 0.105), rgba(255, 101, 0, 0.055)),
    rgba(13, 13, 14, 0.72);
  color: #fff7f1;
}

/* Stable interactive controls: no transformed raster rectangles */
.button {
  overflow: clip;
  border-radius: 999px;
  isolation: isolate;
  backface-visibility: hidden;
}

.button::before {
  border-radius: inherit;
}

.button.magnetic {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: none !important;
}

.button.magnetic > * {
  translate: var(--magnetic-x) var(--magnetic-y);
  transition: translate 0.35s var(--motion-spring), transform 0.42s var(--motion-spring), color 0.3s ease;
}

.button-primary {
  border-color: rgba(255, 185, 126, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 237, 216, 0.28), rgba(255, 101, 0, 0.08)),
    #ff6500;
  box-shadow: inset 0 1px rgba(255, 245, 233, 0.4), 0 14px 34px rgba(255, 86, 0, 0.2);
  color: #180a03;
}

.button-primary svg {
  color: #180a03;
}

.button-primary:hover {
  border-color: rgba(255, 214, 173, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 244, 231, 0.38), rgba(255, 101, 0, 0.12)),
    #ff7a1a;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 16px 38px rgba(255, 86, 0, 0.28);
  color: #180a03;
}

.button-text {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 122, 43, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 116, 35, 0.1), rgba(35, 17, 8, 0.58));
  box-shadow: inset 0 1px rgba(255, 170, 110, 0.09), 0 12px 30px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.button-text::before {
  display: none;
}

.button-text:hover {
  border-color: rgba(255, 126, 48, 0.3);
  background: linear-gradient(180deg, rgba(255, 126, 48, 0.1), rgba(255, 255, 255, 0.025));
}

.hero-actions {
  gap: 12px;
  overflow: visible;
  isolation: isolate;
}

.motion-enabled.app-ready .reveal.is-revealed {
  filter: none;
  clip-path: none;
  will-change: auto;
}

/* First-screen glass scene */
.hero::before {
  top: -7%;
  right: -26%;
  width: min(1000px, 74vw);
  height: min(820px, 64vw);
  max-width: none;
  max-height: none;
  border-radius: 44% 56% 36% 64% / 52% 37% 63% 48%;
  background:
    radial-gradient(ellipse at 38% 48%, rgba(255, 104, 26, 0.11), rgba(255, 101, 0, 0.026) 40%, transparent 73%),
    radial-gradient(ellipse at 62% 40%, rgba(255, 255, 255, 0.024), transparent 62%);
  animation: hero-ambient-morph 16s ease-in-out infinite alternate;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(255, 117, 35, 0.18);
  border-radius: 999px;
  background: rgba(55, 24, 8, 0.32);
  box-shadow: inset 0 1px rgba(255, 160, 99, 0.065);
}

.hero-visual {
  --glass-x: 50%;
  --glass-y: 42%;
  overflow: clip;
  border-color: rgba(255, 125, 48, 0.24);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 141, 68, 0.075), transparent 35%),
    linear-gradient(155deg, rgba(29, 19, 15, 0.86), rgba(10, 9, 10, 0.94));
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.48),
    0 20px 70px rgba(255, 88, 0, 0.045),
    inset 0 1px rgba(255, 183, 131, 0.16),
    inset 0 -1px rgba(255, 91, 0, 0.035);
  -webkit-backdrop-filter: blur(9px) saturate(125%);
  backdrop-filter: blur(9px) saturate(125%);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  z-index: 6;
  border: 1px solid transparent;
  background: linear-gradient(145deg, rgba(255, 191, 145, 0.2), transparent 26% 75%, rgba(255, 102, 20, 0.13)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.72;
}

.hero-visual::after {
  z-index: 1;
  background: radial-gradient(ellipse 38% 31% at var(--glass-x) var(--glass-y), rgba(255, 156, 91, 0.1), rgba(255, 108, 31, 0.025) 43%, transparent 75%);
  mix-blend-mode: normal;
  opacity: 0.62;
  transition: background-position 0.35s ease;
}

.visual-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.visual-blob,
.visual-caustic {
  position: absolute;
  display: block;
  pointer-events: none;
}

.visual-blob {
  border-radius: 45% 55% 62% 38% / 38% 43% 57% 62%;
  filter: none;
  will-change: transform;
}

.visual-blob-one {
  top: 5%;
  right: -13%;
  width: 74%;
  height: 58%;
  background: radial-gradient(ellipse, rgba(255, 91, 0, 0.17), rgba(255, 101, 0, 0.035) 38%, transparent 68%);
  animation: visual-drift-one 11s ease-in-out infinite alternate;
}

.visual-blob-two {
  bottom: -15%;
  left: -20%;
  width: 82%;
  height: 64%;
  opacity: 0.66;
  background: radial-gradient(ellipse, rgba(255, 170, 108, 0.095), rgba(255, 101, 0, 0.018) 40%, transparent 69%);
  animation: visual-drift-two 14s ease-in-out infinite alternate;
}

.visual-blob-three {
  top: 28%;
  left: 29%;
  width: 48%;
  height: 48%;
  opacity: 0.55;
  background: radial-gradient(ellipse, rgba(255, 178, 126, 0.075), transparent 64%);
  animation: visual-drift-three 9s ease-in-out infinite alternate;
}

.visual-caustic {
  top: -45%;
  left: -70%;
  width: 38%;
  height: 190%;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0 8%, rgba(255, 192, 146, 0.015) 22%, rgba(255, 181, 129, 0.11) 49%, rgba(255, 99, 18, 0.045) 66%, transparent 92%);
  filter: none;
  transform: rotate(18deg);
  will-change: transform, opacity;
  animation: visual-caustic 7.8s 1.2s var(--motion-ease) infinite;
}

.energy-core {
  z-index: 1;
  width: 76%;
  height: 62%;
  aspect-ratio: auto;
  border-radius: 36% 64% 58% 42% / 52% 41% 59% 48%;
  opacity: 0.68;
  background:
    radial-gradient(ellipse at 42% 48%, rgba(255, 113, 35, 0.17), rgba(255, 101, 0, 0.04) 36%, transparent 68%),
    radial-gradient(ellipse at 66% 36%, rgba(255, 178, 126, 0.055), transparent 48%);
  filter: none;
  mask-image: none;
  animation: energy-morph 10s ease-in-out infinite alternate;
}

.energy-sweep {
  z-index: 1;
  inset: 0;
  opacity: 0.55;
  background: radial-gradient(ellipse 62% 18% at 50% 50%, rgba(255, 181, 128, 0.12), rgba(255, 101, 0, 0.035) 45%, transparent 78%);
  filter: none;
  transform: translate3d(-25%, 28%, 0) rotate(-14deg);
  animation: energy-flow 8.5s ease-in-out infinite alternate;
}

.logo-halo {
  z-index: 2;
  width: 72%;
  height: 44%;
  aspect-ratio: auto;
  border-radius: 42% 58% 50% 50% / 47% 40% 60% 53%;
  background: radial-gradient(ellipse, rgba(255, 103, 20, 0.2), rgba(255, 101, 0, 0.045) 46%, transparent 76%);
  filter: none;
  animation: logo-aura 6s ease-in-out infinite;
}

.hero-mark {
  z-index: 4;
  width: 75%;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.58));
}

.visual-label,
.visual-index {
  z-index: 7;
}

.visual-label {
  border-color: rgba(255, 130, 52, 0.22);
  background: linear-gradient(180deg, rgba(255, 126, 48, 0.11), rgba(24, 13, 9, 0.8));
  box-shadow: inset 0 1px rgba(255, 174, 117, 0.11), 0 12px 24px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.percent-stat {
  display: grid;
  width: min(88px, 100%);
  gap: 8px;
}

.percent-meter {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.percent-meter b {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6500, #ffb078, #fff1e8, #ff6500);
  background-size: 220% 100%;
  box-shadow: 0 0 12px rgba(255, 101, 0, 0.55);
  transform-origin: 0 50%;
  animation: percent-fill 2.1s 0.9s var(--motion-ease) both, percent-flow 3.2s 2.8s linear infinite;
}

.motion-enabled .percent-stat > span {
  animation: percent-breathe 3.2s 2.5s ease-in-out infinite;
}

/* Mica-like content surfaces */
.bento-card,
.skill-card,
.service-card,
.price-card {
  border-color: rgba(255, 255, 255, 0.105);
  background: var(--mica-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.065), 0 20px 60px rgba(0, 0, 0, 0.12);
}

.case-card,
.contact-shell {
  border-color: rgba(255, 255, 255, 0.11);
  background: linear-gradient(145deg, rgba(22, 22, 24, 0.94), rgba(10, 10, 12, 0.96));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.07);
}

.review-panel {
  border-color: rgba(255, 119, 35, 0.24);
  background:
    radial-gradient(ellipse at 88% 18%, rgba(255, 101, 0, 0.105), transparent 36%),
    linear-gradient(145deg, rgba(25, 22, 22, 0.9), rgba(11, 11, 13, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.075), 0 28px 80px rgba(0, 0, 0, 0.24);
}

@keyframes ambient-drift-one {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4vw, 5vh, 0) scale(1.06) rotate(3deg); }
}

@keyframes ambient-drift-two {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to { transform: translate3d(5vw, -4vh, 0) scale(0.98) rotate(-3deg); }
}

@keyframes ambient-drift-three {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-5vw, -4vh, 0) scale(1.05) rotate(4deg); }
}

@keyframes ambient-wash {
  from { transform: translate3d(-6%, -2%, 0) scale(0.96); opacity: 0.16; }
  to { transform: translate3d(6%, 2%, 0) scale(1.04); opacity: 0.3; }
}

@keyframes header-caustic {
  0%, 24% { transform: translate3d(0, 0, 0) rotate(18deg); opacity: 0; }
  38% { opacity: 0.13; }
  70%, 100% { transform: translate3d(520%, 0, 0) rotate(18deg); opacity: 0; }
}

@keyframes hero-ambient-morph {
  from { transform: translate3d(0, 0, 0) rotate(-2deg) scale(0.98); }
  to { transform: translate3d(-4vw, 5vh, 0) rotate(3deg) scale(1.06); }
}

@keyframes visual-drift-one {
  from { transform: translate3d(0, 0, 0) rotate(-4deg) scale(0.98); }
  to { transform: translate3d(-18%, 14%, 0) rotate(7deg) scale(1.13); }
}

@keyframes visual-drift-two {
  from { transform: translate3d(0, 0, 0) rotate(4deg) scale(1.08); }
  to { transform: translate3d(18%, -13%, 0) rotate(-7deg) scale(0.94); }
}

@keyframes visual-drift-three {
  from { transform: translate3d(-7%, 3%, 0) scale(0.9); }
  to { transform: translate3d(9%, -8%, 0) scale(1.14); }
}

@keyframes visual-caustic {
  0%, 24% { transform: translate3d(0, 0, 0) rotate(18deg); opacity: 0; }
  42% { opacity: 0.32; }
  72%, 100% { transform: translate3d(540%, 0, 0) rotate(18deg); opacity: 0; }
}

@keyframes energy-morph {
  0% { transform: translate(-50%, -50%) rotate(-5deg) scale(0.9); border-radius: 36% 64% 58% 42% / 52% 41% 59% 48%; }
  50% { transform: translate(-48%, -53%) rotate(4deg) scale(1.08); border-radius: 58% 42% 37% 63% / 44% 61% 39% 56%; }
  100% { transform: translate(-52%, -48%) rotate(-2deg) scale(0.98); border-radius: 43% 57% 61% 39% / 60% 38% 62% 40%; }
}

@keyframes energy-flow {
  from { transform: translate3d(-29%, 29%, 0) rotate(-14deg) scale(0.9); opacity: 0.32; }
  to { transform: translate3d(27%, -24%, 0) rotate(8deg) scale(1.15); opacity: 0.62; }
}

@keyframes logo-aura {
  0%, 100% { opacity: 0.48; transform: translate(-50%, -50%) scale(0.9) rotate(-2deg); }
  50% { opacity: 0.92; transform: translate(-50%, -50%) scale(1.12) rotate(3deg); }
}

@keyframes percent-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

@keyframes percent-breathe {
  0%, 100% { color: var(--text); text-shadow: 0 0 0 rgba(255, 101, 0, 0); }
  50% { color: #fff; text-shadow: 0 0 16px rgba(255, 101, 0, 0.25); }
}

@media (max-width: 1120px) {
  :root { --header-height: 90px; }

  .header-shell { width: min(100% - 28px, 1080px); }
  .site-header.is-scrolled .header-shell { width: min(100% - 28px, 1030px); }
}

@media (max-width: 920px) {
  .header-shell,
  .site-header.is-scrolled .header-shell {
    width: calc(100% - 24px);
  }

  .header-shell > .main-nav {
    position: absolute;
    z-index: 78;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    border-color: rgba(255, 125, 49, 0.18);
    border-radius: 23px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 101, 0, 0.022)),
      rgba(9, 9, 10, 0.95);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.54), inset 0 1px rgba(255, 255, 255, 0.065);
    -webkit-backdrop-filter: blur(15px) saturate(130%);
    backdrop-filter: blur(15px) saturate(130%);
  }

  .case-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav a::after { display: block; }
  .main-nav a:hover { background: transparent; }
}

@media (max-width: 680px) {
  :root { --header-height: 70px; }

  .site-header,
  .site-header.is-scrolled {
    padding-top: 9px;
  }

  .page-progress {
    top: 3px;
    width: calc(100% - 74px);
  }

  .header-shell,
  .site-header.is-scrolled .header-shell {
    width: calc(100% - 18px);
    height: 62px;
    padding: 7px 8px 7px 11px;
    border-radius: 22px;
  }

  .header-shell::before {
    border-radius: 20px;
    clip-path: inset(0 round 20px);
  }

  .brand { gap: 7px; padding-inline: 2px 7px; }
  .brand-mark { width: 32px; }
  .brand-name { font-size: 13px; }

  .lang-switch,
  .menu-button,
  .motion-switch {
    width: 40px;
    height: 40px;
  }

  .header-shell > .main-nav {
    top: calc(100% + 9px);
    border-radius: 21px;
  }

  .case-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .pricing-notes {
    grid-template-columns: 1fr 1fr;
  }

  .contact-copy {
    min-height: 0;
  }

  .hero-actions {
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button-text {
    width: 100%;
  }

  .hero-visual {
    border-radius: 28px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .visual-blob { filter: none; }
  .energy-core { width: 92%; height: 66%; }
  .ambient-blob { width: min(115vw, 620px); }
}

@media (prefers-contrast: more) {
  .header-shell,
  .hero-visual,
  .button-text {
    border-color: rgba(255, 255, 255, 0.32);
    background-color: #111;
  }
}

/* V8 — cohesive dark surface system */
:root {
  --surface: #0d0c0d;
  --surface-strong: #121011;
  --surface-hover: #151112;
  --text-soft: #b5aaa3;
  --text-muted: #948982;
  --line: rgba(255, 226, 207, 0.075);
  --line-strong: rgba(255, 216, 190, 0.14);
}

body {
  background: #070708;
}

.hero-title .text-muted { color: #918983; }

main {
  position: relative;
  isolation: isolate;
}

.section,
.skills-section,
.pricing-section {
  background: transparent;
}

.services-section {
  border-top: 0;
}

.ambient-field {
  background:
    radial-gradient(ellipse 62% 44% at 84% 3%, rgba(255, 101, 0, 0.062), transparent 72%),
    radial-gradient(ellipse 48% 34% at 8% 46%, rgba(255, 151, 91, 0.028), transparent 74%),
    radial-gradient(ellipse 56% 38% at 78% 86%, rgba(255, 101, 0, 0.032), transparent 76%),
    linear-gradient(135deg, #070708 0%, #090808 48%, #070708 100%);
}

.ambient-blob-one { opacity: 0.38; }
.ambient-blob-two { opacity: 0.3; }
.ambient-blob-three { opacity: 0.24; }
.ambient-wash { opacity: 0.14; }

/* Transparent liquid-glass navigation; motion is autonomous, never cursor-driven. */
.header-shell,
.site-header.is-scrolled .header-shell {
  border-color: rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 11, 0.54);
  box-shadow:
    0 22px 65px rgba(0, 0, 0, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.13),
    inset 0 -1px rgba(255, 120, 44, 0.035);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

.site-header.is-scrolled .header-shell {
  border-color: rgba(255, 129, 55, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 101, 0, 0.012)),
    rgba(9, 9, 10, 0.61);
}

.header-shell::before {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.09), transparent 24% 70%, rgba(255, 136, 64, 0.035));
  opacity: 0.82;
}

.header-shell::after {
  background: radial-gradient(ellipse, rgba(255, 101, 0, 0.065), transparent 68%);
  opacity: 0.2;
}

.header-refraction::before {
  width: 22%;
  opacity: 0.1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), rgba(255, 138, 68, 0.08), transparent);
}

.header-refraction::after {
  position: absolute;
  top: -85%;
  right: -8%;
  width: 38%;
  height: 270%;
  border-radius: 47% 53% 58% 42% / 56% 44% 56% 44%;
  content: "";
  opacity: 0.42;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.09), rgba(255, 126, 54, 0.025) 42%, transparent 70%);
  filter: blur(15px);
  animation: header-liquid 12s ease-in-out infinite alternate;
}

.main-nav {
  background: rgba(0, 0, 0, 0.19);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Seamless conveyor belt */
.marquee {
  border-color: rgba(255, 123, 48, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 101, 0, 0.016), rgba(255, 151, 91, 0.035) 50%, rgba(255, 101, 0, 0.016)),
    rgba(7, 7, 8, 0.76);
}

.marquee-track {
  color: #cdbbae;
}

/* About */
.about-bento {
  grid-template-rows: minmax(310px, auto) minmax(210px, auto);
  gap: 18px;
}

.bento-card {
  border-color: rgba(255, 255, 255, 0.075);
  background: linear-gradient(145deg, rgba(13, 12, 13, 0.96), rgba(7, 7, 8, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 28px 80px rgba(0, 0, 0, 0.16);
}

.bento-card::after,
.skill-card::after,
.service-card::after {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 126, 48, 0.52), transparent);
  opacity: 0.42;
  transform: scaleX(0.44);
  transition: opacity 0.45s ease, transform 0.65s var(--motion-ease);
}

.bento-card:hover::after,
.skill-card:hover::after,
.service-card:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.bento-card-main {
  border-color: rgba(255, 125, 47, 0.15);
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 101, 0, 0.105), transparent 30%),
    linear-gradient(145deg, rgba(17, 12, 10, 0.98), rgba(7, 7, 8, 0.95));
}

.bento-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 225, 205, 0.075), transparent 38%),
    linear-gradient(145deg, #0c0c0e, #070708);
}

.bento-card-accent {
  border-color: rgba(255, 120, 41, 0.17);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 101, 0, 0.135), transparent 42%),
    linear-gradient(145deg, #110c09, #070708);
}

.bento-card-wide {
  background:
    linear-gradient(105deg, rgba(255, 101, 0, 0.055), transparent 38%),
    #09090a;
}

.bento-card-stat p,
.card-index,
.mini-label {
  color: #93857c;
}

.bento-card h3 {
  color: #f6efeb;
}

.bento-visual {
  position: relative;
  display: grid;
  width: min(230px, 72%);
  aspect-ratio: 1;
  margin: 18px auto 24px;
  place-items: center;
}

.bento-visual::before {
  position: absolute;
  inset: 22%;
  border-radius: 34% 66% 58% 42% / 55% 42% 58% 45%;
  content: "";
  background: radial-gradient(circle, rgba(255, 101, 0, 0.13), transparent 68%);
  filter: blur(7px);
}

.bento-orbit {
  position: absolute;
  border: 1px solid rgba(255, 139, 72, 0.16);
  border-radius: 50%;
}

.bento-orbit::before {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #ff7930;
  box-shadow: 0 0 14px rgba(255, 101, 0, 0.62);
}

.bento-orbit-one { inset: 10%; }
.bento-orbit-two { inset: 23%; border-style: dashed; opacity: 0.65; }

.bento-icon {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: 0;
}

.bento-visual > span {
  position: absolute;
  bottom: 0;
  color: #8e7e73;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.17em;
}

/* Skills */
.skill-card {
  --skill-color: #ff7627;
  --skill-rgb: 255, 118, 39;
  border-color: rgba(var(--skill-rgb), 0.14);
  background:
    radial-gradient(circle at 88% 3%, rgba(var(--skill-rgb), 0.105), transparent 38%),
    linear-gradient(150deg, rgba(13, 12, 13, 0.98), rgba(6, 7, 8, 0.97));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 26px 70px rgba(0, 0, 0, 0.15);
}

.skill-card:nth-child(2) {
  --skill-color: #ffad78;
  --skill-rgb: 255, 173, 120;
}

.skill-card:nth-child(3) {
  --skill-color: #e9c7b2;
  --skill-rgb: 233, 199, 178;
}

.skill-card:hover {
  border-color: rgba(var(--skill-rgb), 0.34);
  background:
    radial-gradient(circle at 84% 4%, rgba(var(--skill-rgb), 0.16), transparent 42%),
    linear-gradient(150deg, #100d0c, #070708);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 32px 80px rgba(0, 0, 0, 0.24);
}

.skill-card .icon-box {
  border-color: rgba(var(--skill-rgb), 0.2);
  background: rgba(var(--skill-rgb), 0.075);
  color: var(--skill-color);
}

.skill-card .skill-number {
  color: rgba(var(--skill-rgb), 0.58);
}

.skill-card h3 { color: #f6efeb; }
.skill-card p { color: #a99b92; }

.skill-tags span {
  border-color: rgba(255, 133, 61, 0.105);
  background: rgba(10, 9, 9, 0.7);
  color: #94877f;
}

/* Project case */
.case-card {
  display: grid;
  overflow: visible;
  grid-template-columns: 1fr;
  gap: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-preview {
  padding: clamp(18px, 2.8vw, 34px);
  border: 1px solid rgba(255, 125, 46, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 101, 0, 0.09), transparent 34%),
    linear-gradient(145deg, #0f0c0b, #070708 62%);
}

.case-preview::before {
  opacity: 0.16;
  background-size: 52px 52px;
}

.browser-frame {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #0b0b0d;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.055);
  transform: none;
}

.case-preview:hover .browser-frame {
  box-shadow: 0 48px 115px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 122, 43, 0.08);
  transform: translateY(-4px) scale(1.004);
}

.browser-toolbar {
  height: 42px;
  grid-template-columns: 1fr 2fr 1fr;
  padding-inline: 15px;
  border-color: rgba(255, 255, 255, 0.065);
  background: linear-gradient(180deg, #1a1a1d, #121214);
}

.browser-dots { gap: 7px; }
.browser-dots i { width: 9px; height: 9px; box-shadow: inset 0 -1px rgba(0, 0, 0, 0.22); }

.browser-title {
  overflow: hidden;
  color: #b9b5b1;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-case-id {
  justify-self: end;
  color: #8f8984;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.browser-addressbar {
  display: grid;
  height: 42px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: 9px 12px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.38);
  color: #87827e;
  font-size: 10px;
}

.browser-addressbar svg { width: 14px; height: 14px; color: #89827d; }
.browser-addressbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-addressbar i { color: #ff8641; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: 0.12em; }

.project-shot {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #0d0f12;
}

.project-shot-image {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.8s var(--motion-ease);
}

.browser-frame.has-project-image .project-shot-image { opacity: 1; }
.browser-frame.has-project-image:hover .project-shot-image { transform: scale(1.012); }

.shot-fallback {
  height: 100%;
  padding: 20px 25px 0;
  background:
    radial-gradient(circle at 76% 36%, rgba(174, 128, 70, 0.28), transparent 25%),
    linear-gradient(145deg, #0e1116, #17191d 54%, #0c0e12);
  transition: opacity 0.35s ease;
}

.browser-frame.has-project-image .shot-fallback { opacity: 0; }

.case-hover-icon {
  top: auto;
  right: clamp(30px, 4vw, 56px);
  bottom: clamp(30px, 4vw, 56px);
  left: auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 129, 56, 0.36);
  background: rgba(8, 8, 9, 0.78);
  color: #ff7d34;
  opacity: 1;
  transform: translateY(0) scale(1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.case-preview:hover .case-hover-icon {
  transform: translate(3px, -3px) scale(1.04);
}

.case-info {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1.35fr) minmax(190px, 0.5fr);
  grid-template-areas:
    "top copy tags"
    "top copy link";
  align-items: start;
  gap: 22px 38px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(255, 101, 0, 0.035), transparent 34%),
    rgba(9, 9, 10, 0.82);
}

.case-topline {
  grid-area: top;
  flex-direction: column;
  gap: 9px;
}

.case-topline span:last-child { color: #ff7c32; }
.case-info > div:nth-child(2) { grid-area: copy; }
.case-tags { grid-area: tags; justify-content: flex-end; }
.case-info > .text-link { grid-area: link; align-self: end; justify-self: end; }

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.case-facts div {
  display: grid;
  gap: 4px;
}

.case-facts dt {
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-facts dd {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

/* Experience */
.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 30px;
  border-top: 0;
}

.timeline::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 6px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, #ff762b, rgba(255, 101, 0, 0.16) 65%, transparent);
}

.timeline-item {
  min-height: 0;
  grid-template-columns: 38px minmax(118px, 0.3fr) minmax(0, 1fr);
  align-items: center;
  padding: 30px 34px 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(255, 101, 0, 0.032), transparent 34%),
    rgba(8, 8, 9, 0.78);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.4s var(--motion-ease);
}

.timeline-item:hover {
  border-color: rgba(255, 123, 47, 0.2);
  background: linear-gradient(110deg, rgba(255, 101, 0, 0.065), transparent 38%), rgba(9, 9, 10, 0.9);
  transform: translateX(5px);
}

.timeline-item:first-child { border-color: rgba(255, 121, 43, 0.16); }
.timeline-marker { transform: translateX(-35px); }
.timeline-marker::after { display: none; }

.timeline-marker span {
  width: 13px;
  height: 13px;
  border: 3px solid #0a0909;
  background: #ff762b;
  box-shadow: 0 0 0 5px rgba(255, 101, 0, 0.11), 0 0 20px rgba(255, 101, 0, 0.24);
}

.timeline-date {
  padding: 0;
  color: #f3e9e3;
  font-family: inherit;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: none;
}

.timeline-item:first-child .timeline-date { color: #ff7b31; }

.timeline-content {
  grid-template-columns: minmax(140px, 0.36fr) minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
}

.timeline-content > span { grid-row: 1 / span 2; padding-top: 5px; color: #8c817a; }
.timeline-content h3 { grid-column: 2; }
.timeline-content p { grid-column: 2; margin-top: 4px; }

/* Services and pricing */
.service-card {
  --service-rgb: 255, 112, 32;
  border-color: rgba(var(--service-rgb), 0.13);
  background:
    radial-gradient(circle at 85% 7%, rgba(var(--service-rgb), 0.105), transparent 36%),
    linear-gradient(150deg, #0d0b0b, #070708);
}

.service-card:nth-child(2) { --service-rgb: 255, 157, 96; }
.service-card:nth-child(3) { --service-rgb: 232, 195, 171; }

.service-card:hover {
  border-color: rgba(var(--service-rgb), 0.28);
  background:
    radial-gradient(circle at 82% 6%, rgba(var(--service-rgb), 0.16), transparent 40%),
    linear-gradient(150deg, #100d0c, #070708);
}

.service-card .icon-box {
  border-color: rgba(var(--service-rgb), 0.2);
  background: rgba(var(--service-rgb), 0.07);
  color: rgb(var(--service-rgb));
}

.service-card h3 { color: #f6efeb; }
.service-card > p,
.service-card li { color: #aa9d95; }

.pricing-offer {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: -30px 0 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 124, 46, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(100deg, rgba(255, 101, 0, 0.09), transparent 44%),
    rgba(8, 8, 9, 0.8);
}

.pricing-offer > span,
.pricing-offer > i {
  color: #94867d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-offer strong { color: #ff7a30; font-size: 28px; line-height: 1; }
.pricing-offer p { color: #c0b2aa; font-size: 12px; }

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pricing-notes li {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.pricing-notes strong {
  color: var(--text);
  font-size: 12px;
}

.pricing-notes span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.4;
}

.price-card {
  border-color: rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 148, 81, 0.055), transparent 35%),
    linear-gradient(150deg, #0c0b0c, #070708);
}

.price-card:hover {
  border-color: rgba(255, 127, 50, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.price-card-featured {
  border-color: rgba(255, 120, 42, 0.22);
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 101, 0, 0.12), transparent 40%),
    linear-gradient(150deg, #120d0a, #080809 62%);
}

.price-card-featured::after { display: none; }

.popular-badge {
  border: 1px solid rgba(255, 126, 48, 0.24);
  border-top: 0;
  background: rgba(18, 12, 9, 0.96);
  color: #ff8540;
}

.price-saving {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #877a72;
  font-size: 9px;
}

.price-saving del { color: #8a7d75; }
.price-saving span { color: #ff8a48; }

.price-card .button {
  border-color: rgba(255, 127, 49, 0.2);
  background: #0d0d0f;
  color: #f5ede8;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 12px 30px rgba(0, 0, 0, 0.18);
}

.price-card .button:hover {
  border-color: rgba(255, 127, 49, 0.42);
  background: #120e0c;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.065), 0 16px 34px rgba(255, 83, 0, 0.07);
}

.price-card .button-primary,
.price-card .button-primary:hover {
  border-color: rgba(255, 185, 126, 0.38);
  background: linear-gradient(180deg, rgba(255, 237, 216, 0.28), rgba(255, 101, 0, 0.08)), #ff6500;
  color: #180a03;
  box-shadow: inset 0 1px rgba(255, 245, 233, 0.4), 0 14px 34px rgba(255, 86, 0, 0.2);
}

.price-card .button-primary:hover {
  border-color: rgba(255, 214, 173, 0.6);
  background: linear-gradient(180deg, rgba(255, 244, 231, 0.38), rgba(255, 101, 0, 0.12)), #ff7a1a;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 16px 38px rgba(255, 86, 0, 0.28);
}

/* Reviews */
.review-panel {
  border-color: rgba(255, 126, 50, 0.16);
  background:
    radial-gradient(ellipse 48% 78% at 88% 22%, rgba(255, 101, 0, 0.105), transparent 62%),
    radial-gradient(ellipse 42% 58% at 8% 92%, rgba(255, 166, 108, 0.04), transparent 70%),
    linear-gradient(145deg, #100d0c, #080809 64%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 34px 90px rgba(0, 0, 0, 0.24);
}

.review-panel::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 149, 86, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 149, 86, 0.13) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 84% 38%, #000, transparent 54%);
}

.review-panel::after {
  border-color: rgba(255, 139, 72, 0.075);
  box-shadow: 0 0 0 55px rgba(255, 101, 0, 0.022), 0 0 0 110px rgba(255, 255, 255, 0.008);
}

.review-symbol {
  border-color: rgba(255, 125, 47, 0.2);
  background: rgba(255, 101, 0, 0.055);
}

.review-proof {
  margin: -18px -18px -18px 0;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 22px;
  background: rgba(4, 4, 5, 0.32);
}

/* Contact */
.contact-shell {
  overflow: visible;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-copy,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 28px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 30px 80px rgba(0, 0, 0, 0.17);
}

.contact-copy {
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 18% 100%, rgba(255, 101, 0, 0.09), transparent 36%),
    linear-gradient(145deg, #0f0c0b, #080809);
}

.contact-form {
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 143, 76, 0.055), transparent 32%),
    #09090a;
}

.telegram-card {
  border-color: rgba(255, 128, 52, 0.14);
  background: rgba(7, 7, 8, 0.5);
}

.telegram-icon {
  border: 1px solid rgba(255, 126, 48, 0.25);
  background: rgba(255, 101, 0, 0.08);
  color: #ff7c32;
}

.contact-note { color: #998c84; }

.reply-signal {
  position: relative;
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 126, 48, 0.24);
  border-radius: 6px;
  background: rgba(255, 101, 0, 0.06);
  transform: rotate(45deg);
}

.reply-signal i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #ff7b31;
  box-shadow: 0 0 12px rgba(255, 101, 0, 0.62);
}

.field input,
.field textarea,
.select-trigger {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(4, 4, 5, 0.46);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 118, 38, 0.35);
  background: rgba(255, 101, 0, 0.025);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, 0.045);
}

.field select.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
}

.custom-select {
  position: relative;
  min-width: 0;
}

.select-trigger {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  outline: 0;
  color: #ebe3de;
  font-size: 13px;
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-trigger svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #8c8179;
  transition: transform 0.35s var(--motion-spring), color 0.25s ease;
}

.custom-select.is-open .select-trigger,
.select-trigger:focus-visible {
  border-color: rgba(255, 118, 38, 0.38);
  background: rgba(255, 101, 0, 0.035);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, 0.045);
}

.custom-select.is-open .select-trigger svg {
  color: #ff7a30;
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 250px;
  gap: 3px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(255, 126, 48, 0.16);
  border-radius: 14px;
  background: rgba(10, 10, 11, 0.96);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.055);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(0.985);
  transform-origin: 50% 0;
  transition: opacity 0.22s ease, transform 0.3s var(--motion-spring), visibility 0.22s ease;
  visibility: hidden;
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.custom-select.opens-up .select-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: 50% 100%;
}

.custom-select.is-open .select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.select-option {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b8aca4;
  font-size: 12px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.select-option:hover,
.select-option.is-focused {
  background: rgba(255, 101, 0, 0.07);
  color: #f7eee9;
}

.select-option.is-selected {
  background: rgba(255, 101, 0, 0.105);
  color: #ff9458;
}

.select-option.is-selected::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: #ff7a30;
  box-shadow: 0 0 10px rgba(255, 101, 0, 0.5);
}

.field.has-error .select-trigger { border-color: rgba(255, 96, 80, 0.6); }

.field textarea {
  min-height: 126px;
  max-height: 360px;
  resize: none;
  overflow-y: auto;
  transition: height 0.24s var(--motion-ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.submit-button {
  min-width: 210px;
  border-color: rgba(255, 185, 126, 0.38);
  background: linear-gradient(180deg, rgba(255, 237, 216, 0.28), rgba(255, 101, 0, 0.08)), #ff6500;
  color: #180a03;
}

.submit-button:hover {
  border-color: rgba(255, 214, 173, 0.6);
  background: linear-gradient(180deg, rgba(255, 244, 231, 0.38), rgba(255, 101, 0, 0.12)), #ff7a1a;
}

/* Footer */
.site-footer {
  border-top-color: rgba(255, 124, 47, 0.1);
  background: linear-gradient(180deg, transparent, rgba(255, 101, 0, 0.022));
}

.footer-top {
  grid-template-columns: minmax(0, 1.25fr) minmax(160px, 0.48fr) minmax(220px, 0.62fr);
  align-items: start;
  gap: clamp(38px, 7vw, 100px);
  min-height: 0;
  padding-block: 62px;
}

.footer-intro {
  display: grid;
  justify-items: start;
  gap: 17px;
}

.footer-brand {
  padding: 5px 9px 5px 4px;
  background: transparent;
}

.footer-brand:hover {
  background: rgba(255, 255, 255, 0.025);
  transform: none;
}

.footer-intro > p {
  max-width: 500px;
  color: #a89c94;
  font-size: 14px;
  line-height: 1.7;
}

.footer-availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9a8e86;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-availability > i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #ff7a30;
  box-shadow: 0 0 11px rgba(255, 101, 0, 0.48);
  transform: rotate(45deg);
}

.footer-links,
.footer-contact {
  display: grid;
  justify-items: start;
  gap: 11px;
}

.footer-links > span,
.footer-contact > span {
  margin-bottom: 6px;
  color: #8c817a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  color: #a99e97;
  font-size: 12px;
  transition: color 0.25s ease, transform 0.3s var(--motion-spring);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #f5ece7;
  transform: translateX(3px);
}

.footer-contact > a:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8643;
  font-size: 14px;
  font-weight: 700;
}

.footer-contact svg { width: 16px; height: 16px; }

.footer-up {
  justify-self: auto;
  margin-top: 8px;
}

@keyframes header-liquid {
  from { transform: translate3d(0, -3%, 0) rotate(-4deg) scale(0.92); }
  to { transform: translate3d(-56%, 5%, 0) rotate(8deg) scale(1.14); }
}

@keyframes about-orbit {
  to { transform: rotate(360deg); }
}

@keyframes about-orbit-reverse {
  to { transform: rotate(-360deg); }
}

.motion-enabled .bento-orbit-one { animation: about-orbit 13s linear infinite; }
.motion-enabled .bento-orbit-two { animation: about-orbit-reverse 18s linear infinite; }
.motion-enabled .reply-signal i { animation: reply-breathe 2.4s ease-in-out infinite; }

@keyframes reply-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.76); }
  50% { opacity: 1; transform: scale(1.18); }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header-shell,
  .site-header.is-scrolled .header-shell { background-color: rgba(10, 10, 11, 0.93); }
}

@media (max-width: 980px) {
  .case-info {
    grid-template-columns: 130px minmax(0, 1fr);
    grid-template-areas:
      "top copy"
      "tags tags"
      "link link";
  }

  .case-tags { justify-content: flex-start; }
  .case-info > .text-link { justify-self: start; }

  .timeline-content { grid-template-columns: 1fr; }
  .timeline-content > span { grid-row: auto; grid-column: 1; }
  .timeline-content h3,
  .timeline-content p { grid-column: 1; }

  .contact-shell { grid-template-columns: 1fr; }
  .contact-copy { min-height: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.075); }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.5fr);
  }

  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .header-shell,
  .site-header.is-scrolled .header-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 101, 0, 0.012)), rgba(9, 9, 10, 0.7);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
  }

  .about-bento { grid-template-rows: auto; }
  .bento-visual { width: min(210px, 78%); }

  .case-preview { padding: 9px; border-radius: 20px; }
  .browser-frame { border-radius: 13px; }
  .browser-toolbar { height: 36px; padding-inline: 10px; }
  .browser-dots { gap: 5px; }
  .browser-dots i { width: 7px; height: 7px; }
  .browser-title { font-size: 8px; }
  .browser-case-id { display: none; }
  .browser-addressbar { height: 36px; margin: 7px; }
  .shot-fallback { padding: 12px 12px 0; }
  .case-info {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "copy" "tags" "link";
    padding: 24px;
  }
  .case-topline { flex-direction: row; }

  .timeline { padding-left: 22px; }
  .timeline::before { left: 4px; }
  .timeline-item {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 24px 20px 24px 0;
  }
  .timeline-marker { grid-row: 1 / span 2; transform: translateX(-27px); }
  .timeline-date { grid-column: 2; font-size: 28px; }
  .timeline-content { grid-column: 2; }

  .pricing-offer {
    grid-template-columns: auto 1fr;
    margin-top: -18px;
  }
  .pricing-offer p { grid-column: 1 / -1; }
  .pricing-offer > i { display: none; }

  .review-proof { margin: 0; min-height: 230px; }

  .contact-copy,
  .contact-form { border-radius: 22px; }
  .contact-copy { min-height: 0; }
  .skill-card,
  .skill-card:last-child { min-height: 0; }
  .skill-card h3,
  .skill-card:last-child h3 { margin-top: 70px; }
  .ambient-blob,
  .ambient-wash,
  .visual-caustic,
  .bento-orbit-one,
  .bento-orbit-two,
  .reply-signal i { animation: none; }
  .visual-caustic { display: none; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; }
  .form-submit p { max-width: none; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 46px;
  }
  .footer-contact { grid-column: auto; }
}

@media (prefers-contrast: more) {
  .header-shell,
  .contact-copy,
  .contact-form,
  .bento-card,
  .skill-card,
  .service-card,
  .price-card { border-color: rgba(255, 255, 255, 0.3); }
}
