:root {
  --section-dark-alpha: 0.572;
  --section-darker-alpha: 0.677;
  --section-glow-alpha: 0.039;
  --section-glow-soft-alpha: 0.028;
  --section-bright-glow-alpha: 0.12;
  --section-bright-glow-soft-alpha: 0.091;
  --section-bottom-lift-alpha: 0.101;
  --section-separator-opacity: 1;
  --hero-image-opacity: 0.9;
  --bg-dark: rgba(5, 12, 23, var(--section-dark-alpha));
  --bg-darker: rgba(2, 8, 17, var(--section-darker-alpha));
  --orange: #e87010;
  --orange-hover: #cc5f00;
  --white: #ffffff;
  --border: rgba(126, 168, 215, 0.22);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --glass-rgb: 18, 22, 29;
  --glass-main-alpha: 0.276;
  --glass-sheen-alpha: 0.199;
  --glass-shade-alpha: 0.127;
  --glass-blur: 8px;
  --glass-fallback: rgba(18, 22, 29, 0.86);
  --glass-edge: rgba(255, 255, 255, 0.2);
  --glass-inner: rgba(92, 148, 205, 0.13);
  --glass-shadow: rgba(0, 0, 0, 0.42);
  --glass-filter: blur(var(--glass-blur)) saturate(1.45) contrast(0.98) brightness(0.9);
  --line: rgba(255, 255, 255, 0.17);
  --accent: #5c94cd;
  --accent-2: #7fa8d7;
  --accent-rgb: 92, 148, 205;
  --control-bg: rgba(11, 14, 19, 0.52);
  --shadow: 0 24px 76px var(--glass-shadow);
  --radius: 4px;
}

body.theme-light {
  --bg-dark: rgba(235, 241, 242, var(--section-dark-alpha));
  --bg-darker: rgba(216, 226, 235, var(--section-darker-alpha));
  --ink: #181d22;
  --muted: rgba(24, 29, 34, 0.68);
  --glass-rgb: 247, 248, 247;
  --glass-fallback: rgba(247, 248, 247, 0.84);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-inner: rgba(50, 105, 158, 0.11);
  --glass-shadow: rgba(20, 28, 33, 0.2);
  --glass-filter: blur(var(--glass-blur)) saturate(1.35) contrast(0.96) brightness(1.02);
  --line: rgba(22, 32, 39, 0.14);
  --accent: #32699e;
  --accent-2: #477eb6;
  --accent-rgb: 50, 105, 158;
  --control-bg: rgba(255, 255, 255, 0.52);
}

body.palette-red {
  --glass-inner: rgba(255, 65, 63, 0.13);
  --accent: #f04444;
  --accent-2: #36b7c4;
  --accent-rgb: 240, 68, 68;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  background: #010713;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.triangle-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#header,
main,
footer,
.floating-controls {
  position: relative;
  z-index: 1;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(126, 168, 215, 0.18);
  background: rgba(12, 16, 21, 0.84);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform-origin: left center;
  transition: transform 0.28s ease, color 0.28s ease, text-shadow 0.28s ease;
}

.logo:hover,
.logo:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.32);
  transform: scale(1.075);
}

.logo-fox {
  color: var(--orange);
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.logo:hover .logo-fox,
.logo:focus-visible .logo-fox {
  color: #ff8a21;
  text-shadow: 0 0 16px rgba(232, 112, 16, 0.42);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-icon {
  margin-right: 4px;
  color: var(--orange);
  font-size: 1rem;
  vertical-align: middle;
}

#nav {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform-origin: center;
  transition: color 0.22s ease, transform 0.22s ease, text-shadow 0.22s ease;
}

.nav-links a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--orange);
  text-shadow: 0 0 16px rgba(232, 112, 16, 0.28);
  transform: translateY(-2px) scale(1.055);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: 0;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: 0.3s;
}

.lang-dropdown {
  position: relative;
  margin-left: 4px;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 5px 3px 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: border-color 0.2s, color 0.2s;
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn[aria-expanded="true"] {
  border-color: var(--orange);
  color: var(--orange);
}

.lang-arrow {
  color: inherit;
  font-size: 1rem !important;
  transition: transform 0.2s;
}

.lang-dropdown-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  background: #111;
  z-index: 999;
}

.lang-dropdown-btn[aria-expanded="true"] + .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: block;
  padding: 5px 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.lang-option:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
}

.floating-controls {
  position: fixed;
  top: 124px;
  right: clamp(18px, 4vw, 42px);
  z-index: 1200;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(280px, calc(100vw - 36px));
  max-height: calc(100vh - 148px);
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.58) transparent;
}

.floating-controls.is-collapsed {
  width: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.floating-controls.is-collapsed .theme-switch,
.floating-controls.is-collapsed .palette-switch,
.floating-controls.is-collapsed .glass-controls {
  display: none;
}

.controls-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    var(--control-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 42px rgba(0, 0, 0, 0.26);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.03em;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.controls-toggle .material-symbols-outlined {
  color: var(--accent-2);
  font-size: 1.08rem;
}

.controls-toggle:hover,
.controls-toggle:focus-visible {
  transform: translateY(-2px) scale(1.025);
  border-color: rgba(232, 112, 16, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(232, 112, 16, 0.16),
    0 16px 44px rgba(0, 0, 0, 0.3);
}

.theme-switch,
.palette-switch,
.glass-controls {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--control-bg);
  box-shadow: 0 14px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.theme-switch,
.palette-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
}

.glass-controls {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
}

.theme-button,
.palette-button {
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 820;
}

.theme-button.active,
.palette-button.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.22);
}

.slider-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.slider-field span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.slider-field strong {
  color: var(--ink);
}

.slider-field output {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.slider-field input {
  width: 100%;
  accent-color: var(--accent-2);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 7, 17, 0.3), rgba(1, 7, 17, 0.08)),
    rgba(1, 7, 17, 0.32);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(1, 7, 17, 0.12), rgba(1, 7, 17, 0.02)),
    url("Hero_THEAFOX_new.png");
  background-position: center right;
  background-size: cover;
  content: "";
  filter: saturate(0.98) contrast(1.04);
  opacity: var(--hero-image-opacity);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(580px circle at 72% 42%, rgba(var(--accent-rgb), 0.14), transparent 58%),
    linear-gradient(105deg, rgba(1, 7, 17, 0.86) 0%, rgba(4, 16, 30, 0.64) 44%, rgba(6, 20, 36, 0.16) 100%);
  mix-blend-mode: normal;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(118deg, rgba(var(--accent-rgb), 0.12) 0%, transparent 31%),
    linear-gradient(298deg, transparent 54%, rgba(255, 255, 255, 0.08) 55%, transparent 56%),
    linear-gradient(118deg, transparent 62%, rgba(var(--accent-rgb), 0.08) 63%, transparent 76%);
  content: "";
  opacity: 0.62;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 82px 40px;
  text-align: left;
}

.hero-tags {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.25vw, 3.35rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 22px 62px rgba(0, 0, 0, 0.44);
}

.hero-sub {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  font-weight: 400;
  line-height: 1.76;
  letter-spacing: 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  border: 1px solid rgba(232, 112, 16, 0.92);
  background: linear-gradient(180deg, #f07c16, var(--orange-hover));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 42px rgba(232, 112, 16, 0.2);
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(var(--glass-rgb), 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 36px rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(7px) saturate(1.15);
  -webkit-backdrop-filter: blur(7px) saturate(1.15);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  transform: translateY(-2px) scale(1.025);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: #ff8a21;
  background: linear-gradient(180deg, #ff8a21, #d76805);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 20px 48px rgba(232, 112, 16, 0.28);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(232, 112, 16, 0.7);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 24px rgba(232, 112, 16, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.28);
}

.section-dark,
.section-darker {
  position: relative;
  border-top: 0;
  isolation: isolate;
}

.section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(var(--accent-rgb), var(--section-bright-glow-alpha)) 0,
      rgba(var(--accent-rgb), var(--section-bright-glow-soft-alpha)) 240px,
      rgba(var(--accent-rgb), var(--section-bottom-lift-alpha)) 100%
    ),
    var(--bg-dark);
}

.section-darker {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 220px),
    linear-gradient(180deg, rgba(var(--accent-rgb), var(--section-glow-soft-alpha)), transparent 260px),
    var(--bg-darker);
}

.section-dark::before,
.section-darker::before {
  position: absolute;
  top: 0;
  left: max(20px, calc((100vw - 1200px) / 2 + 40px));
  right: max(20px, calc((100vw - 1200px) / 2 + 40px));
  z-index: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(var(--accent-rgb), 0.15) 8%,
      rgba(var(--accent-rgb), 0.72) 30%,
      rgba(255, 255, 255, 0.28) 52%,
      rgba(232, 112, 16, 0.48) 74%,
      transparent
    );
  box-shadow:
    0 0 22px rgba(var(--accent-rgb), 0.2),
    0 8px 34px rgba(0, 0, 0, 0.22);
  content: "";
  opacity: var(--section-separator-opacity);
  pointer-events: none;
}

.section-dark > .container,
.section-darker > .container {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
}

.section-title {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.65vw, 2.12rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.section-title.orange {
  color: var(--orange);
}

.section-sub {
  max-width: 820px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0;
  text-transform: none;
}

.cards-grid,
.features-grid,
.team-grid,
.product-grid,
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.feature-box,
.team-card,
.product-card,
.service-item,
.agency-card,
.process-step,
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, var(--glass-sheen-alpha)), transparent 38%),
    linear-gradient(180deg, rgba(var(--glass-rgb), var(--glass-shade-alpha)), transparent 62%),
    rgba(var(--glass-rgb), var(--glass-main-alpha));
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 0 0 1px var(--glass-inner),
    inset 0 -20px 46px rgba(var(--accent-rgb), 0.04),
    var(--shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.card,
.feature-box,
.team-card,
.product-card,
.service-item,
.agency-card,
.process-step {
  position: relative;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.card:hover,
.feature-box:hover,
.team-card:hover,
.product-card:hover,
.service-item:hover,
.agency-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 112, 16, 0.7);
}

.card,
.agency-card,
.team-card {
  border-left: 3px solid rgba(232, 112, 16, 0.78);
}

.card::before,
.agency-card::before,
.team-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(232, 112, 16, 0.095) 0%,
      rgba(232, 112, 16, 0.052) 18%,
      rgba(var(--accent-rgb), 0.028) 54%,
      rgba(var(--accent-rgb), 0.012) 100%
    );
  content: "";
  opacity: 0.74;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.card:hover::before,
.agency-card:hover::before,
.team-card:hover::before {
  opacity: 1;
}

.card-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
  transform: translateZ(0);
  transition: transform 0.62s ease, filter 0.62s ease;
}

.card-img::after {
  position: absolute;
  inset: -24% -64%;
  background:
    linear-gradient(
      108deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0.34) 47%,
      rgba(var(--accent-rgb), 0.42) 51%,
      rgba(255, 255, 255, 0.13) 56%,
      transparent 66%
    );
  content: "";
  opacity: 0;
  transform: translateX(-72%) skewX(-16deg);
  pointer-events: none;
}

.card:hover .card-img {
  filter: saturate(1.12) brightness(1.06);
  transform: scale(1.045);
}

.card:hover .card-img::after {
  animation: card-image-wave 0.74s ease-out;
}

@keyframes card-image-wave {
  0% {
    opacity: 0;
    transform: translateX(-72%) skewX(-16deg);
  }

  18% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(72%) skewX(-16deg);
  }
}

.card-body {
  padding: 20px;
}

.card-client {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
}

.card-project {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.9rem;
}

.card-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.78;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 0.2s;
}

.card-link .material-symbols-outlined {
  font-size: 1rem;
}

.card-link:hover {
  gap: 9px;
}

.section-action {
  margin-top: 48px;
  text-align: left;
}

.product-section .section-sub {
  max-width: 900px;
}

.product-intake-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 900px;
  margin: -22px 0 34px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-left: 3px solid rgba(232, 112, 16, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(232, 112, 16, 0.08), transparent 44%),
    rgba(var(--glass-rgb), 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 18px 46px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(7px) saturate(1.2);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
}

.product-intake-note span {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.product-intake-note p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.66;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px 24px 24px;
  border-left: 3px solid rgba(232, 112, 16, 0.78);
}

.product-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.process-range-card {
  display: block;
  padding: 30px 28px 28px;
  background:
    linear-gradient(110deg, rgba(232, 112, 16, 0.09), rgba(var(--accent-rgb), 0.026) 42%, transparent 76%),
    linear-gradient(145deg, rgba(255, 255, 255, var(--glass-sheen-alpha)), transparent 38%),
    linear-gradient(180deg, rgba(var(--glass-rgb), var(--glass-shade-alpha)), transparent 62%),
    rgba(var(--glass-rgb), var(--glass-main-alpha));
}

.process-range-card h3 {
  max-width: 760px;
}

.process-range-card > .product-text {
  max-width: 820px;
}

.process-range-card .product-meta {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-range-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-range-list > div {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 52%),
    rgba(3, 15, 28, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card::before,
.service-item::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(232, 112, 16, 0.105) 0%,
      rgba(232, 112, 16, 0.062) 18%,
      rgba(var(--accent-rgb), 0.034) 54%,
      rgba(var(--accent-rgb), 0.018) 100%
    );
  content: "";
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-card:hover::before,
.service-item:hover::before {
  opacity: 1;
}

.product-index,
.service-number {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3,
.service-item h3,
.agency-card h3 {
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.42;
  text-transform: uppercase;
}

.product-text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  line-height: 1.78;
}

.product-meta {
  display: grid;
  gap: 16px;
  margin: 22px 0 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta p,
.service-item p,
.agency-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.72;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: gap 0.2s ease, color 0.2s ease;
}

.product-link .material-symbols-outlined {
  font-size: 1rem;
}

.product-link:hover {
  gap: 10px;
  color: #ff9a3b;
}

.product-conversion-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-left: 3px solid rgba(232, 112, 16, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(232, 112, 16, 0.1), rgba(var(--accent-rgb), 0.026) 48%, transparent 76%),
    rgba(var(--glass-rgb), 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px) saturate(1.18);
  -webkit-backdrop-filter: blur(8px) saturate(1.18);
}

.product-conversion-cta h3 {
  margin: 8px 0 8px;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.36;
  text-transform: uppercase;
}

.product-conversion-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.72;
}

.product-conversion-cta .btn-submit {
  flex: 0 0 auto;
}

.product-extension {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.16);
}

.product-extension-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.92fr);
  gap: 12px 28px;
  align-items: end;
  margin-bottom: 22px;
}

.product-extension-head .process-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.product-extension-head h3 {
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.28;
  text-transform: uppercase;
}

.product-extension-head p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.68;
}

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

.service-item {
  min-height: 100%;
  padding: 22px 20px;
  border-left: 3px solid rgba(232, 112, 16, 0.78);
}

.service-item-wide {
  grid-column: span 3;
}

.agency-card {
  min-height: 100%;
  padding: 28px 24px;
}

.agency-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 2.2rem;
}

.agency-card h3 {
  margin-bottom: 12px;
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.client-logo img {
  width: auto;
  max-height: 50px;
  opacity: 1;
  filter: none;
  transition: transform 0.25s ease;
}

.client-logo:hover img {
  transform: scale(1.15);
}

.why-headline {
  margin-bottom: 50px;
  max-width: 840px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.96rem, 1.45vw, 1.08rem);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0;
}

.why-text-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
}

.why-text-head {
  position: sticky;
  top: 152px;
  max-width: 430px;
  padding-top: 6px;
}

.why-lead {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.92rem, 1.25vw, 1rem);
  line-height: 1.78;
  letter-spacing: 0;
}

.why-copy {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 820px;
  padding-left: 28px;
}

.why-copy::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background:
    linear-gradient(
      180deg,
      rgba(var(--accent-rgb), 0.64),
      rgba(232, 112, 16, 0.28) 54%,
      transparent
    );
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.2);
  content: "";
}

.why-statement {
  padding: 0 0 24px;
}

.why-statement + .why-statement {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.why-statement:last-child {
  padding-bottom: 0;
}

.why-statement h3 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.42;
  text-transform: uppercase;
}

.why-statement p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.78;
}

.feature-box {
  display: block;
  padding: 30px 24px;
}

.feature-icon {
  margin-bottom: 18px;
}

.feature-icon .material-symbols-outlined {
  display: block;
  color: var(--orange);
  font-size: 2.4rem;
}

.feature-box h3,
.team-card h3,
.step-content h3 {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-box h3 {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.feature-box p,
.team-card p,
.step-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.78;
}

.feature-more {
  margin-top: 12px;
  color: var(--orange) !important;
  font-family: var(--font-heading);
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 76px);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 152px;
  max-width: 430px;
  padding-top: 6px;
}

.process-intro .section-sub {
  margin-bottom: 22px;
}

.process-kicker {
  margin-bottom: 16px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.process-note {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.86rem;
  line-height: 1.72;
}

.process-list {
  position: relative;
  display: grid;
  gap: 14px;
}

.process-list::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 38px;
  width: 1px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(var(--accent-rgb), 0.5) 12%,
      rgba(232, 112, 16, 0.36) 52%,
      rgba(var(--accent-rgb), 0.28) 88%,
      transparent
    );
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.22);
  content: "";
  pointer-events: none;
}

.process-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  padding: 22px 24px 22px 0;
  border-bottom-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.06),
    0 18px 46px rgba(0, 0, 0, 0.18);
}

.step-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  min-width: 76px;
  height: 54px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(232, 112, 16, 0.22);
}

.step-number::before {
  position: absolute;
  inset: 8px 12px;
  z-index: -1;
  border: 1px solid rgba(232, 112, 16, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 42%),
    rgba(var(--glass-rgb), 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 18px rgba(var(--accent-rgb), 0.12);
  content: "";
}

.step-content {
  padding-top: 3px;
}

.step-content h3 {
  margin-bottom: 8px;
  font-size: 0.96rem;
  letter-spacing: 0.045em;
}

.step-content p {
  max-width: 720px;
  font-size: 0.91rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 28px 32px;
  text-align: center;
}

.team-photo-img {
  width: clamp(148px, 15vw, 186px);
  height: clamp(148px, 15vw, 186px);
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 8px rgba(var(--accent-rgb), 0.055),
    0 18px 44px rgba(0, 0, 0, 0.32);
  transform: translateZ(0);
}

.team-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card:hover .team-photo-img img {
  filter: saturate(1.08) brightness(1.06);
  transform: scale(1.055);
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orange);
  font-size: 1.7rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item a,
.contact-text span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--orange);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form textarea::-webkit-resizer {
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M9 1L1 9M9 4L4 9M9 7L7 9' stroke='white' stroke-opacity='0.4' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}

.btn-submit {
  display: inline-block;
  align-self: flex-start;
  padding: 14px 32px;
  border: 0;
  border-radius: 3px;
  background-color: var(--orange);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  background-color: var(--orange-hover);
}

footer {
  position: relative;
  z-index: 1;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  background-color: rgba(6, 8, 11, 0.88);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

footer a:hover {
  color: var(--orange);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-social,
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(var(--glass-rgb), 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.social-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(232, 112, 16, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(232, 112, 16, 0.16), rgba(var(--accent-rgb), 0.1)),
    rgba(var(--glass-rgb), 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(232, 112, 16, 0.12),
    0 0 22px rgba(232, 112, 16, 0.22);
  color: #fff;
}

.social-icon-linkedin:hover,
.social-icon-linkedin:focus-visible {
  color: #8ec1f4;
}

.social-icon-youtube:hover,
.social-icon-youtube:focus-visible {
  color: #ffefe9;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card,
  .feature-box,
  .team-card,
  .product-card,
  .service-item,
  .agency-card,
  .process-step,
  .contact-form input,
  .contact-form textarea {
    background: var(--glass-fallback);
  }
}

@media (max-width: 1024px) {
  .cards-grid,
  .features-grid,
  .team-grid,
  .product-grid,
  .agency-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-intro {
    position: relative;
    top: auto;
    max-width: 760px;
  }

  .why-text-head {
    position: relative;
    top: auto;
  }

  .why-text-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-text-head,
  .why-copy {
    max-width: 820px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-extension-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .header-top {
    padding: 12px 20px;
  }

  .phone {
    font-size: 0.82rem;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0;
  }

  .header-top {
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
  }

  .phone {
    display: none;
  }

  #nav {
    justify-content: flex-end;
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(26, 28, 30, 0.95);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .floating-controls {
    position: static;
    width: min(100% - 36px, 360px);
    margin: 20px 18px 0 auto;
    grid-template-columns: 1fr;
  }

  .glass-controls {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero-content {
    padding: 52px 20px;
  }

  .hero-tags {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    letter-spacing: 0.01em;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: min(100%, 340px);
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
    white-space: normal;
  }

  .container {
    padding: 50px 20px;
  }

  .product-intake-note {
    grid-template-columns: 1fr;
    margin-top: -18px;
  }

  .cards-grid,
  .features-grid,
  .team-grid,
  .product-grid,
  .agency-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item-wide {
    grid-column: auto;
  }

  .product-card-wide {
    grid-column: auto;
  }

  .process-range-list {
    grid-template-columns: 1fr;
  }

  .product-conversion-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .product-conversion-cta .btn-submit {
    width: 100%;
    text-align: center;
  }

  .why-copy {
    padding-left: 18px;
  }

  .why-statement {
    padding-bottom: 20px;
  }

  .why-statement + .why-statement {
    padding-top: 20px;
  }

  .process-list::before {
    left: 28px;
  }

  .process-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 18px 20px 0;
  }

  .step-number {
    width: 56px;
    min-width: 56px;
    height: 46px;
    font-size: 1.18rem;
  }

  .clients-row {
    gap: 12px;
  }

  .btn-submit {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .phone {
    display: none;
  }

  .logo {
    font-size: 1.34rem;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ── Project detail pages: sticky media column ── */
@media (min-width: 901px) {
  .project-layout > div:first-child {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

/* ── Project detail hero ── */
.project-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(1,7,17,0.3), rgba(1,7,17,0.08)), rgba(1,7,17,0.32);
}

.project-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(580px circle at 72% 42%, rgba(var(--accent-rgb), 0.12), transparent 58%),
    linear-gradient(105deg, rgba(1,7,17,0.88) 0%, rgba(4,16,30,0.62) 44%, rgba(6,20,36,0.14) 100%);
}

.project-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 72px;
}

.project-hero h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.25vw, 3.35rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 22px 62px rgba(0,0,0,0.44);
}

.project-hero .breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 20px;
}

.project-hero .breadcrumb a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 0.2s;
}

.project-hero .breadcrumb a:hover {
  color: var(--orange);
}

@media (max-width: 700px) {
  .project-hero {
    min-height: 340px;
  }

  .project-hero .hero-content {
    padding: 100px 20px 56px;
  }

  .project-hero h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    letter-spacing: 0.01em;
  }
}

/* ── Lightbox: click image to close ── */
#tf-lightbox img {
  cursor: zoom-out;
}
