/* =========================
   THEME VARIABLES
   ========================= */
:root {
  --page-bg: #0b0b12;

  --bottom-bar-bg:
    linear-gradient(90deg, rgba(220, 104, 60, 0.18), rgba(220, 104, 60, 0.24), rgba(220, 104, 60, 0.3)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent 60%);

  --bar-bg:
    linear-gradient(90deg,
    rgba(220, 225, 235, 0.10),
    rgba(140, 150, 165, 0.08),
    rgba(220, 225, 235, 0.10)
  ),
    linear-gradient(to bottom,
    rgba(255, 255, 255, 0.06),
    rgba(0, 0, 0, 0.35) 70%
  );

  --label: rgb(255, 255, 255);
  --divider: rgba(255, 255, 255, 0.6);

  --font-brand: "Space Grotesk", sans-serif;
  --font-nav: "BBH Bogle", sans-serif;
  --font-p: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --preview-border: rgba(255, 214, 165, 0.22);
  --screen-glow-a: rgba(255, 214, 165, 0.12);
  --screen-glow-b: rgba(242, 166, 90, 0.10);

  --text-main: rgba(255, 255, 255, 0.96);
  --text-muted: rgba(255, 255, 255, 0.68);

  --field-border: rgba(255, 214, 165, 0.18);
  --field-inner-line: rgba(255, 255, 255, 0.06);
  --field-bg-a: rgba(255, 255, 255, 0.12);
  --field-bg-b: rgba(255, 120, 80, 0.10);
  --field-bg-c: rgba(0, 0, 0, 0.08);

  --focus-border: rgba(255, 0, 0, 0.40);
  --focus-ring: rgba(255, 0, 0, 0.10);
  --focus-inner: rgba(255, 0, 0, 0.18);

  --submit-border: rgba(255, 0, 0, 0.28);
  --submit-band-a: rgba(255, 90, 0, 0.25);
  --submit-band-b: rgba(255, 0, 0, 0.4);
  --submit-glaze: rgba(131, 0, 0, 0.537);

  --submit-hover-border: rgba(0, 76, 255, 0.5);
  --submit-hover-glow: rgba(255, 120, 60, 0.55);

  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.35);
  --shadow-deep: 0 12px 30px rgba(0, 0, 0, 0.97);

  --workflow-card-bg:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 35%),
    rgba(9, 12, 18, 0.88);
  --workflow-card-border: 1px solid rgba(78, 223, 255, 0.18);
  --workflow-card-highlight: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  --workflow-card-shadow: 0 0 60px rgba(34, 211, 238, 0.08);

  --vignette-a: rgba(0, 0, 0, 0.32);
  --vignette-warm: rgba(255, 80, 40, 0.34);
  
  --project-card-width: clamp(280px, 38vw, 520px);
}

/* =========================
   RESET + BASE
   ========================= */
* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: var(--font-p);
  overflow-x: hidden;
  position: relative;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    width 220ms ease,
    height 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 235, 220, 0.92);
  box-shadow:
    0 0 16px rgba(255, 124, 92, 0.42),
    0 0 28px rgba(255, 70, 28, 0.18);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 134, 102, 0.5);
  background: radial-gradient(circle, rgba(255, 134, 102, 0.5), rgba(255, 134, 102, 0.05));
  box-shadow:
    0 0 0 1px rgba(255, 204, 182, 0.05) inset,
    0 0 18px rgba(255, 74, 30, 0.12);
  filter: saturate(1.04);
}

body.custom-cursor-ready .cursor-dot,
body.custom-cursor-ready .cursor-ring {
  opacity: 1;
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active .project-card,
body.custom-cursor-active .project-action,
body.custom-cursor-active .projects-arrow,
body.custom-cursor-active .submit,
body.custom-cursor-active .dropdown-toggle,
body.custom-cursor-active input,
body.custom-cursor-active textarea,
body.custom-cursor-active label,
body.custom-cursor-active summary {
  cursor: none !important;
}

body.custom-cursor-hover .cursor-ring {
  width: 45px;
  height: 45px;
  border-color: rgba(142, 224, 255, 0.68);
  background: radial-gradient(circle, rgba(142, 224, 255, 0.5), rgba(142, 224, 255, 0.2));
  box-shadow:
    0 0 0 1px rgba(212, 247, 255, 0.07) inset,
    0 0 24px rgba(80, 190, 255, 0.24);
}

body.custom-cursor-hover .cursor-dot {
  background: rgba(255, 241, 212, 0.98);
  box-shadow:
    0 0 20px rgba(80, 190, 255, 0.55),
    0 0 32px rgba(52, 124, 255, 0.28);
}

body.custom-cursor-text .cursor-ring {
  width: 18px;
  height: 42px;
  border-radius: 12px;
  border-color: rgba(142, 224, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(196, 243, 255, 0.16), rgba(120, 214, 255, 0.06)),
    rgba(18, 34, 46, 0.24);
  box-shadow:
    0 0 0 1px rgba(212, 247, 255, 0.06) inset,
    0 0 18px rgba(92, 194, 255, 0.22);
}

body.custom-cursor-text .cursor-dot {
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: rgba(224, 250, 255, 0.98);
  box-shadow:
    0 0 14px rgba(92, 194, 255, 0.5),
    0 0 26px rgba(52, 124, 255, 0.2);
}

/* =========================
   SUBTLE RED GRID BACKGROUND
   ========================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(to right, rgba(160, 10, 10, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(160, 10, 10, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 50% 40%, rgba(120, 0, 0, 0.14), transparent 60%);

  background-size: 64px 64px, 64px 64px, auto;
  opacity: 0.8;
}

/* =========================
   TOPBAR (FIXED HEADER)
   ========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000; /* Higher than vignette and timeline */
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 3vw, 36px);
  height: clamp(68px, 8vh, 92px);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.94), rgba(18, 18, 24, 0.82));
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.topnav {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  font-size: clamp(18px, 3.4vw, 24px);
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--label);
  opacity: 0.95;
  transition: opacity 160ms ease, transform 160ms ease;
}

.brand::before {
  content: "";
  width: clamp(40px, 4.4vw, 52px);
  height: clamp(40px, 4.4vw, 52px);
  flex: 0 0 auto;
  border-radius: 10px;
  background: center / contain no-repeat url("../Assets/Images/thoughts-media-mark-new.svg");
  filter: drop-shadow(0 0 10px rgba(201, 66, 36, 0.14));
}

.brand:hover { 
  opacity: 1; 
  transform: translateY(-1px); 
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  position: relative;
}

.nav-link,
.dropdown-toggle {
  font-size: clamp(12px, 1.1vw, 14px);
  font-family: var(--font-p);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--label);
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  position: relative;
  transition: opacity 160ms ease, transform 160ms ease;
  border-radius: 10px;
}

.nav-link:hover,
.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  opacity: 1;
}

.nav-link.active,
.mobile-menu a.active {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* =========================
   DROPDOWNS
   ========================= */
.nav-dropdown { 
  position: relative; 
  display: inline-block; 
}

.caret {
  display: inline-block;
  font-size: 12px;
  opacity: 0.9;
  transform-origin: 50% 55%;
  transform: rotate(90deg);
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.nav-dropdown.is-open .caret { 
  transform: rotate(0deg);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(18, 18, 24, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1),
    visibility 0s linear 220ms;
}

.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), visibility 0s;
}

.dropdown-menu::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background-color: rgba(6, 10, 18, 0.45);
  background-image: var(--glass-bg);
  border-left: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border);
  transform: rotate(45deg);
  border-top-left-radius: 3px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 180ms ease;
  opacity: 0.95;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  outline: none;
}

.icon-img { 
  width: 26px; 
  height: 26px; 
  display: block; 
}

/* =========================
   MOBILE NAV
   ========================= */
.hamburger-toggle, 
.mobile-menu { 
  display: none;  
}

.hamburger-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.hamburger-lines {
  width: 18px;
  height: 2px;
  background: var(--label);
  position: relative;
  display: inline-block;
  border-radius: 2px;
}

.hamburger-lines::before,
.hamburger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--label);
  border-radius: 2px;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), top 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.hamburger-lines::before { top: -6px; }
.hamburger-lines::after  { top:  6px; }

.topnav.is-menu-open .hamburger-lines { background: transparent; }
.topnav.is-menu-open .hamburger-lines::before { top: 0; transform: rotate(45deg); }
.topnav.is-menu-open .hamburger-lines::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(180px, 70vw);
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(18, 18, 24, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1),
    visibility 0s linear 220ms;
}

.topnav.is-menu-open .mobile-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), visibility 0s;
}

.mobile-menu::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background-color: rgba(6, 10, 18, 0.45);
  background-image: var(--glass-bg);
  border-left: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border);
  transform: rotate(45deg);
  border-top-left-radius: 3px;
}

.mobile-menu a {
  font-size: 15px;
  font-family: var(--font-p);
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--label);
  padding: 10px;
  border-radius: 10px;
}
.mobile-menu a:hover { 
  background: rgba(255, 255, 255, 0.06); 
}

.nav-dropdown--mobile .dropdown-menu {
  right: 0;
  top: calc(100% + 10px);
  width: max-content;
  min-width: 170px;
}

.mobile-menu .nav-dropdown--mobile { 
  width: 100%; 
}

.mobile-menu .nav-dropdown--mobile .dropdown-toggle {
  width: 100%;
  text-align: left;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .nav-link, 
  #socials { 
    display: none; 
  }
  .hamburger-toggle { 
    display: grid; 
  }
}

/* =========================
   MAIN CONTENT
   ========================= */
.main-content {
  padding-top: clamp(56px, 7vh, 76px);
  position: relative;
  z-index: 1;
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: clip;
  padding: clamp(32px, 6vh, 64px) clamp(20px, 5vw, 60px);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 110, 64, 0.12), transparent 0 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding-top: clamp(180px, 26vh, 280px);
  animation: fadeInUp 1s ease-out;
}

.hero-title-lockup {
  position: fixed;
  left: 50%;
  top: 42%;
  z-index: 1;
  width: min(calc(100vw - 40px), 980px);
  display: grid;
  justify-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms linear;
}

.hero-title-lockup.is-active {
  opacity: var(--hero-title-overlay-opacity, 1);
}

.hero-title-lockup.is-entering {
  animation: heroTitleFadeIn 900ms ease forwards;
}

.hero-title-top,
.hero-title-bottom {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 82px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.58), rgba(228, 180, 160, 0.5) 42%, rgba(176, 106, 84, 0.3) 76%, rgba(22, 18, 18, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: blur(0.4px);
  text-shadow: 0 0 32px rgba(255, 140, 96, 0.06);
}

.hero-title-top {
  line-height: 0.98;
   font-size: clamp(25px, 7vw, 65px);
  white-space: nowrap;
}

.hero-title-bottom {
  line-height: 0.94;
  font-size: clamp(55px, 8vw, 100px);
}

@keyframes heroTitleFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: var(--hero-title-overlay-opacity, 1);
  }
}

.hero-subtitle {
  font-family: var(--font-p);
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero-description {
  max-width: 60ch;
  margin: 0 auto clamp(28px, 5vh, 40px);
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.7;
}


.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-p);
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 16px);
  letter-spacing: 0.05em;
  transition: transform 160ms ease, box-shadow 180ms ease, opacity 160ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  cursor: pointer;
  border: 1px solid;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(138, 32, 28, 0.98), rgba(102, 18, 20, 0.98));
  border-color: rgba(124, 224, 255, 0.22);
  color: rgba(246, 251, 255, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(36, 186, 255, 0.12),
    0 8px 18px rgba(74, 16, 24, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(156, 40, 34, 0.98), rgba(116, 22, 24, 0.98));
  border-color: rgba(146, 232, 255, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(52, 194, 255, 0.18),
    0 10px 20px rgba(74, 16, 24, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--label);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

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

@keyframes bouncyZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  55% {
    opacity: 1;
    transform: scale(1.06);
  }
  72% {
    transform: scale(0.98);
  }
  88% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   SECTION CONTAINER
   ========================= */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

@media (max-width: 600px) {
  .section-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.section-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: clamp(28px, 4vh, 40px);
}

/* =========================
   ABOUT SECTION
   ========================= */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-content {
  display: grid;
  gap: clamp(20px, 3vh, 28px);
}

.about-text-wrapper {
  display: grid;
  gap: 16px;
  max-width: 64ch;
}

.about-text {
  font-family: var(--font-p);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.about-media {
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  justify-self: end;
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 30%;
}

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

  .about-media {
    max-width: 300px;
    justify-self: center;
  }

  .about-text {
    font-size: clamp(15px, 3vw, 18px);
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
  }
}

.proof-grid {
  margin-top: clamp(22px, 3.5vh, 32px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.proof-grid--within-services {
  margin-top: clamp(22px, 3.2vh, 30px);
  padding-top: clamp(18px, 2.8vh, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.proof-card + .proof-card {
  padding-left: clamp(8px, 1.4vw, 16px);
}

.proof-stat {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(230, 248, 255, 0.96);
}

.proof-card-title {
  margin: 12px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
}

.proof-card-copy {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.64;
  font-size: 14px;
}

/* =========================
   PROJECTS SECTION
   ========================= */
.projects-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
}

.projects-section .section-title {
  text-align: center;
}

.projects-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 16px);
  margin-bottom: clamp(32px, 5vh, 48px);
}

.projects-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--label);
  font-family: var(--font-p);
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  opacity: 0.85;
}

.projects-filter-btn.is-active,
.projects-filter-btn:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.085);
  opacity: 1;
  transform: translateY(-1px);
}

.projects-carousel {
  position: relative;
  width: 100%;
  display: grid;
  align-items: center;
}

@media (min-width: 1200px) {
  :root {
    --project-card-width: clamp(520px, 50vw, 900px);
  }

  .projects-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.projects-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(12px, 2vw, 20px) 0;
  padding-left: calc((100vw - var(--project-card-width)) / 2);
  padding-right: calc((100vw - var(--project-card-width)) / 2);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-left: calc((100vw - var(--project-card-width)) / 2);
  scroll-padding-right: calc((100vw - var(--project-card-width)) / 2);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 214, 165, 0.3) transparent;
  width: 100%;
}

.projects-track::-webkit-scrollbar {
  height: 6px;
}

.projects-track::-webkit-scrollbar-track {
  background: transparent;
}

.projects-track::-webkit-scrollbar-thumb {
  background: rgba(255, 214, 165, 0.3);
  border-radius: 3px;
}

.projects-track::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 214, 165, 0.5);
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: var(--project-card-width);
  border-radius: 20px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
  scroll-snap-align: center;
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease, filter 220ms ease;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  filter: blur(0);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.04) 28%, rgba(0,0,0,0.68)),
    linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,120,80,0.05), rgba(0,0,0,0.12));
  z-index: 1;
}

.project-card-media {
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  overflow: hidden;
  z-index: 0;
}

.project-card-media video,
.project-card-media img,
.project-card-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  pointer-events: none;
}

.project-card--vertical-video .project-card-media {
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.project-card--vertical-video .project-card-media video {
  position: relative;
  z-index: 1;
  object-fit: contain;
}

.project-card--has-video::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55));
}

.project-card-content {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 3vw, 26px);
  width: 100%;
}

.project-card-label {
  font-size: clamp(11px, 1.5vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 10px;
  font-weight: 600;
}

.project-card-title {
  font-family: var(--font-brand);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--label);
  margin-bottom: 10px;
}

.project-card-desc {
  font-size: clamp(13px, 1.6vw, 15px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  opacity: 1;
}

.project-card.is-active {
  opacity: 1;
  transform: scale(1);
}

.project-card.is-side {
  opacity: 0.62;
  transform: scale(0.965);
  filter: saturate(0.84);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 20px 42px rgba(0, 0, 0, 0.42);
}

.projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 5vw, 60px);
  height: clamp(90px, 18vh, 180px);
  background: rgba(12, 12, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--label);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(6px);
  box-shadow: none;
  transition: transform 180ms ease, opacity 160ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  opacity: 0.85;
}

.projects-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.03);
  background: rgba(18, 18, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.projects-arrow--prev { 
  left: clamp(10px, 2vw, 20px); 
}

.projects-arrow--next { 
  right: clamp(10px, 2vw, 20px); 
}

.projects-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 36px);
}

.projects-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 3vh, 32px);
}

.services-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 4vh, 38px);
}

.projects-more .btn,
.services-actions .btn {
  padding: 17px 34px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-color: rgba(124, 224, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(138, 32, 28, 0.98), rgba(102, 18, 20, 0.98));
  color: rgba(246, 251, 255, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(36, 186, 255, 0.12),
    0 8px 18px rgba(74, 16, 24, 0.24);
}

.projects-more .btn:hover,
.projects-more .btn:focus-visible,
.services-actions .btn:hover,
.services-actions .btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(146, 232, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(156, 40, 34, 0.98), rgba(116, 22, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(52, 194, 255, 0.18),
    0 10px 20px rgba(74, 16, 24, 0.28);
}

@media (min-width: 1200px) and (max-width: 1600px) and (max-height: 1000px) {
  .projects-more .btn,
  .services-actions .btn {
    padding: 18px 52px;
    font-size: clamp(16px, 2.6vw, 20px);
  }
}

.projects-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 165, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(255, 214, 165, 0.15);
  cursor: pointer;
  padding: 0;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
  opacity: 0.65;
}

.projects-dot.is-active {
  opacity: 1;
  transform: scale(1.35);
  background: rgba(255, 0, 0, 0.263);
}

/* =========================
   PROJECTS ARCHIVE PAGE
   ========================= */
.projects-page .main-content {
  padding-top: clamp(72px, 10vh, 96px);
}

.projects-archive {
  min-height: 100vh;
  padding: clamp(40px, 8vh, 80px) 0 clamp(60px, 10vh, 120px);
}

.projects-archive .section-title {
  text-align: center;
  animation: fadeInUp 1s ease-out both;
}

.projects-filters--archive {
  margin-bottom: clamp(32px, 6vh, 56px);
}

.projects-page .projects-filter-btn {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  transform: none;
  opacity: 0;
  transform: scale(0.86);
}

.projects-page .projects-filter-btn.is-active,
.projects-page .projects-filter-btn:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.projects-page .projects-filter-btn.is-revealed {
  animation: bouncyZoomIn 650ms cubic-bezier(0.2, 1.1, 0.4, 1) both;
  transform-origin: center;
  opacity: 1;
  transform: scale(1);
}

.projects-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--label);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.projects-page .project-tile {
  opacity: 0;
  transform: scale(0.86);
}

.projects-page .project-tile.is-revealed {
  animation: bouncyZoomIn 700ms cubic-bezier(0.2, 1.1, 0.4, 1) both;
  transform-origin: center top;
  opacity: 1;
  transform: scale(1);
}

.project-tile {
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  border-radius: 22px;
  padding: clamp(16px, 3vw, 22px);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
  display: grid;
  gap: 16px;
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.3);
}

.project-thumb {
  position: relative;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-thumb-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.project-thumb--video-blur {
  background: rgba(0, 0, 0, 0.45);
}

.project-thumb--video-blur .project-thumb-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  filter: blur(28px) saturate(120%);
  transform: scale(1.08);
  opacity: 0.9;
}

.project-thumb--video-blur .project-thumb-media {
  z-index: 1;
  object-fit: contain;
}

.project-thumb--motion {
  background:
    radial-gradient(circle at 35% 35%, rgba(120, 190, 255, 0.45), transparent 55%),
    linear-gradient(140deg, rgba(40, 80, 140, 0.6), rgba(10, 10, 30, 0.9));
}

.project-thumb--talking {
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 210, 160, 0.45), transparent 55%),
    linear-gradient(140deg, rgba(60, 40, 30, 0.8), rgba(10, 10, 20, 0.95));
}

.project-thumb--social {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 160, 190, 0.45), transparent 55%),
    linear-gradient(140deg, rgba(80, 40, 90, 0.7), rgba(10, 10, 25, 0.95));
}

.project-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  background: rgba(10, 10, 14, 0.78);
  color: var(--label);
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
}

.project-title {
  font-family: var(--font-p);
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.02em;
  color: var(--label);
  line-height: 1.35;
}

.project-desc {
  font-family: var(--font-p);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.project-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.projects-page .project-client {
  display: none;
}

.projects-page .project-meta {
  display: block;
}

.projects-page .project-action {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
}

.project-client {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.client-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(196, 58, 28, 0.7));
  box-shadow: 0 0 10px rgba(196, 58, 28, 0.18);
}

.project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--label);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.project-action:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* =========================
   PROJECT DETAIL PAGES
   ========================= */
.project-detail-page .main-content {
  padding-top: clamp(72px, 10vh, 96px);
}

.project-detail-page .reveal-card {
  opacity: 0;
  transform: scale(0.86);
}

.project-detail-page .reveal-card.is-revealed {
  animation: bouncyZoomIn 700ms cubic-bezier(0.2, 1.1, 0.4, 1) both;
  transform-origin: center top;
  opacity: 1;
  transform: scale(1);
}

.workflow-page .reveal-card {
  opacity: 0;
  transform: scale(0.86);
}

.workflow-page .reveal-card.is-revealed {
  animation: bouncyZoomIn 700ms cubic-bezier(0.2, 1.1, 0.4, 1) both;
  transform-origin: center top;
  opacity: 1;
  transform: scale(1);
}

.project-hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: clamp(32px, 6vh, 56px) 0 clamp(40px, 8vh, 72px);
}

.project-back {
  width: fit-content;
  position: relative;
  z-index: 50;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--label);
  text-decoration: none;
  font-family: var(--font-p);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.project-back:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.project-hero-card {
  position: relative;
  z-index: 1;
  margin-top: clamp(20px, 4vh, 32px);
  padding: clamp(16px, 2.6vw, 20px);
  border-radius: 26px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.project-hero-media {
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(140deg, rgba(60, 80, 120, 0.55), rgba(10, 10, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-media-grid {
  display: block;
}

.project-media-tile {
  display: none;
}

.project-media-tile--wide {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(130deg, rgba(120, 140, 180, 0.7), rgba(15, 20, 35, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.project-media-tile--portrait {
  width: min(100%, 360px);
  max-height: min(72vh, 640px);
  aspect-ratio: 9 / 16;
  margin-left: auto;
  margin-right: auto;
  background: rgba(16, 14, 18, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 14px 32px rgba(0, 0, 0, 0.18);
}

.project-media-tile--portrait .project-media-poster,
.project-media-tile--portrait .project-media-embed,
.project-media-tile--portrait .project-media-video {
  object-fit: cover;
}

.project-media-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-media-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-media-embed {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.project-media-tile--wide.project-media-tile--has-video::before,
.project-media-tile--wide.project-media-tile--has-video::after {
  content: none !important;
}

.project-media-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 18, 26, 0.74);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.project-media-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(20, 24, 34, 0.88);
  border-color: rgba(255, 255, 255, 0.26);
}

.project-media-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.project-media-tile--wide::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: rgba(22, 26, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, background 200ms ease, border-color 200ms ease;
}

.project-media-tile--wide::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-45%, -50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 180ms ease, border-left-color 200ms ease;
}

.project-media-tile--wide:hover::before {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(30, 34, 48, 0.86);
  border-color: rgba(255, 255, 255, 0.5);
}

.project-media-tile--wide:hover::after {
  transform: translate(-45%, -50%) scale(1.08);
  border-left-color: #ffffff;
}

.project-media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: var(--label);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.project-detail-page .project-media-nav {
  display: none;
}

.project-media-nav--prev { left: 16px; }
.project-media-nav--next { right: 16px; }

@media (min-width: 1200px) and (max-width: 1600px) and (max-height: 1000px) {
  .project-detail-page .project-hero-card {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .project-detail-page .project-media-tile--wide {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .project-detail-page .project-media-tile--portrait {
    width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
  }
}

.project-info-card {
  margin-top: clamp(24px, 4vh, 36px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: 26px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.project-info-title {
  font-family: var(--font-p);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0.02em;
  color: var(--label);
  margin-bottom: 12px;
  line-height: 1.18;
}

.project-info-desc {
  color: rgba(255, 255, 255, 0.66);
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
}

.project-info-grid {
  margin-top: clamp(18px, 3vh, 28px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.project-info-block {
  padding: clamp(18px, 2.2vw, 22px);
  border-radius: 22px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.project-info-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 10px;
  font-family: var(--font-p);
}

.project-info-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.project-info-list span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-right: 6px;
}

.project-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.05em;
}

.project-watch {
  margin-top: 28px;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(124, 224, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(138, 32, 28, 0.98), rgba(102, 18, 20, 0.98));
  color: rgba(246, 251, 255, 0.98);
  font-family: var(--font-p);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(36, 186, 255, 0.12),
    0 8px 18px rgba(74, 16, 24, 0.24);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.project-watch::before {
  content: "▶";
  font-size: 11px;
}

.project-watch:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 232, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(156, 40, 34, 0.98), rgba(116, 22, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(52, 194, 255, 0.18),
    0 10px 20px rgba(74, 16, 24, 0.28);
}

.writing-page .project-hero {
  padding-top: clamp(124px, 14vh, 156px);
}

.writing-page-intro {
  margin-top: clamp(18px, 4vh, 32px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 26px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.writing-page-title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(30px, 4.8vw, 52px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  line-height: 1.04;
}

.writing-card + .writing-card {
  margin-top: clamp(22px, 4vh, 34px);
}

.writing-card-body {
  display: grid;
  gap: 18px;
}

.writing-card-body p {
  margin: 0;
  max-width: 74ch;
  font-family: var(--font-p);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.workflow-page .project-hero {
  padding-top: clamp(124px, 14vh, 156px);
}

.workflow-overview-card {
  margin-top: clamp(22px, 4vh, 34px);
  margin-bottom: clamp(24px, 4vh, 36px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.workflow-overview-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--font-p);
}

.workflow-overview-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(30px, 4.8vw, 52px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
  line-height: 1.04;
}

.workflow-overview-desc {
  margin: 18px 0 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: clamp(15px, 1.6vw, 18px);
}

.workflow-pricing-grid,
.workflow-breakdown-grid {
  margin-top: clamp(22px, 3vh, 30px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.workflow-pricing-card,
.workflow-breakdown-card {
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 22px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.workflow-pricing-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.workflow-pricing-title,
.workflow-breakdown-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
}

.workflow-pricing-price {
  margin: 16px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 233, 220, 0.96);
}

.workflow-pricing-list,
.workflow-breakdown-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.workflow-breakdown-copy {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.78;
}

.workflow-diagram-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-system-intro {
  max-width: 760px;
  margin: clamp(34px, 5vw, 52px);
  text-align: center;
}

.workflow-system-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: rgba(102, 233, 255, 0.72);
  font-family: var(--font-p);
}

.workflow-layout-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  justify-items: center;
}

.workflow-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 760px;
  border-radius: 32px;
  border: 1px solid rgba(78, 223, 255, 0.18);
  background: rgba(9, 12, 18, 0.88);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
}

.workflow-panel-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 35%);
}

.workflow-panel-inner {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
}

.workflow-panel-head {
  margin-bottom: 30px;
  text-align: center;
}

.workflow-panel-title {
  margin: 0;
  font-family: var(--font-p);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: rgba(248, 248, 250, 0.96);
}

.workflow-vertical-graph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-vertical-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(34, 211, 238, 0.2);
}

.workflow-stage-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  border: 1px solid rgba(92, 225, 255, 0.2);
  background: rgba(24, 27, 35, 0.82);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.07);
}

.workflow-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workflow-stage-kicker {
  margin: 0 0 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(132, 242, 255, 0.5);
  font-family: var(--font-p);
}

.workflow-stage-title {
  margin: 0;
  font-family: var(--font-p);
  font-size: 30px;
  letter-spacing: -0.03em;
  color: rgba(248, 248, 250, 0.96);
}

.workflow-stage-dot {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 242, 255, 0.4);
  background: rgba(34, 211, 238, 0.2);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
  flex: 0 0 auto;
}

.workflow-stage-items {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-stage-item {
  border-radius: 999px;
  border: 1px solid rgba(92, 225, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 14px;
  font-size: 14px;
  color: rgba(208, 214, 222, 0.9);
}

.workflow-stage-connector {
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(132, 242, 255, 0.55);
}

.workflow-stage-connector div {
  width: 1px;
  height: 18px;
  background: rgba(34, 211, 238, 0.25);
}

.workflow-stage-connector span {
  line-height: 1;
  font-size: 18px;
}

.workflow-principle-card {
  position: relative;
  z-index: 2;
  margin-top: clamp(22px, 4vh, 34px);
  width: 100%;
  max-width: 700px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 18, 24, 0.64);
  padding: clamp(22px, 3vw, 28px);
  text-align: center;
}

.workflow-principle-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-p);
}

.workflow-principle-text {
  margin: 0;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .workflow-pricing-grid,
  .workflow-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .workflow-panel-inner {
    padding: 20px;
  }

  .workflow-stage-card {
    padding: 20px;
  }

  .workflow-stage-title {
    font-size: 26px;
  }

  .project-hero-card {
    padding: 14px;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) and (max-height: 1000px) {
  :root {
    --project-card-width: clamp(320px, 34vw, 520px);
  }
}

@media (max-width: 900px) {
  :root {
    --project-card-width: 85vw;
  }

  .projects-track {
    padding-left: calc((100vw - var(--project-card-width)) / 2);
    padding-right: calc((100vw - var(--project-card-width)) / 2);
    scroll-padding-left: calc((100vw - var(--project-card-width)) / 2);
    scroll-padding-right: calc((100vw - var(--project-card-width)) / 2);
  }

  .project-card {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  :root {
    --project-card-width: 82vw;
  }

  .projects-track {
    padding-left: calc((100vw - var(--project-card-width)) / 2);
    padding-right: calc((100vw - var(--project-card-width)) / 2);
    scroll-padding-left: calc((100vw - var(--project-card-width)) / 2);
    scroll-padding-right: calc((100vw - var(--project-card-width)) / 2);
  }

  .project-card {
    aspect-ratio: 5 / 4;
  }

  .projects-arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* =========================
   CONTACT SECTION
   ========================= */
.contact-section {
  min-height: 100vh;
  display: grid;
  background:
    radial-gradient(circle at 50% 18%, rgba(196, 58, 28, 0.12), transparent 32rem),
    linear-gradient(180deg, rgba(28, 22, 24, 0.98), rgba(22, 18, 20, 1));
  padding-bottom: 0;
}

.timeline-bar {
  background: linear-gradient(180deg, rgba(15, 15, 22, 0.9), rgba(15, 15, 22, 0.8));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  height: clamp(48px, 6vh, 64px);
  margin-bottom: clamp(4px, 1vh, 12px);
  position: sticky;
  top: clamp(56px, 7vh, 76px); /* Stays below header */
  z-index: 100; /* Below topbar (2000) */
}

.timeline-title {
  font-family: var(--font-brand);
  font-weight: bold;
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

.contact-container {
  align-self: end;
  display: grid;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 60px) clamp(8px, 2vh, 16px);
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: grid;
  gap: 25px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  font-family: var(--font-p);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  color: rgba(34, 28, 24, 0.96);
  outline: none;
  font-family: var(--font-p);
  font-size: 15px;
  background:
    linear-gradient(180deg, rgba(248, 243, 236, 0.98), rgba(236, 228, 218, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(214, 198, 182, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(86, 74, 64, 0.52);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 138, 111, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 4px rgba(188, 54, 24, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.22);
}

.field textarea {
  resize: vertical;
  min-height: 300px;
}

.submit {
  width: 100%;
  border: 1px solid rgba(124, 224, 255, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  color: rgba(246, 251, 255, 0.98);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  font-family: var(--font-p);
  background:
    linear-gradient(180deg, rgba(138, 32, 28, 0.98), rgba(102, 18, 20, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(36, 186, 255, 0.12),
    0 8px 18px rgba(74, 16, 24, 0.24);
  transition: transform 120ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.submit:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 232, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(156, 40, 34, 0.98), rgba(116, 22, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(52, 194, 255, 0.18),
    0 10px 20px rgba(74, 16, 24, 0.28);
}

.contact-form-status {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 245, 238, 0.78);
}

.footer-role {
  font-family: var(--font-p);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.4;
}

.footer-contact {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-family: var(--font-p);
  font-size: 14px;
  opacity: 0.92;
  transition: opacity 160ms ease;
}

.footer-contact-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-links-title {
  font-family: var(--font-p);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: var(--label);
  opacity: 0.9;
}

.footer-links-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.footer-links-row a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-p);
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.footer-links-row a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

.social-icon--footer {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.social-icon--footer .icon-img {
  width: 20px;
  height: 20px;
}

/* Contact Footer (inside contact section) */
.contact-footer {
  margin-top: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  background: none;
  box-shadow: none;
  padding: clamp(10px, 2vh, 18px) clamp(20px, 5vw, 60px) clamp(16px, 3vh, 24px);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(200px, 0.8fr) minmax(220px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  text-align: left;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label);
  font-size: clamp(18px, 2.4vw, 24px);
}

.footer-desc {
  font-family: var(--font-p);
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.6;
  max-width: 36ch;
}

.footer-links-block,
.footer-social-block {
  display: grid;
  gap: 12px;
}

.footer-links-social {
  gap: 14px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: clamp(24px, 4vh, 36px) 0 clamp(12px, 2vh, 18px);
}

.footer-copyright {
  font-family: var(--font-p);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form {
    gap: 16px;
  }

  .field input,
  .field textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .submit {
    padding: 12px 14px;
    font-size: 14px;
  }

  .footer-links-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   VIGNETTE OVERLAY
   ========================= */
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 35%,
      var(--vignette-a) 100%
    ),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
      var(--vignette-warm),
      transparent 55%
    );
}

/* =========================
   SMOOTH SCROLLING
   ========================= */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* =========================
   ACCESSIBILITY
   ========================= */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--submit-band-b);
  color: var(--label);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 10000;
}

.skip-to-content:focus {
  top: 0;
}

abbr[title] {
  text-decoration: none;
  color: var(--timeline-red-1);
  font-weight: bold;
}

/* =========================
   ENHANCED HERO
   ========================= */
.hero-description {
  font-family: var(--font-p);
  font-size: clamp(15px, 1.9vw, 18px);
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: clamp(28px, 5vh, 40px);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* =========================
   SERVICES SECTION
   ========================= */
.services-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(255, 110, 64, 0.05), transparent 70%);
}

.services-section .section-title {
  text-align: center;
}

.services-panel {
  margin-top: clamp(18px, 3vh, 28px);
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: 28px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid rgba(78, 223, 255, 0.18);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
  display: grid;
}

.services-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vh, 28px);
}

.services-head-copy {
  flex: 1 1 auto;
}

.services-panel .section-title {
  margin: 0;
  text-align: left;
}

.services-intro {
  max-width: 60ch;
  margin: 12px 0 0;
  text-align: left;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(24px, 4vh, 34px);
}

.service-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.service-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(146, 230, 255, 0.92);
  border: 1px solid rgba(78, 223, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 2px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-title {
  font-family: var(--font-brand);
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--label);
  margin: 0;
}

.service-desc {
  font-family: var(--font-p);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  opacity: 1;
}

.service-copy {
  display: grid;
  gap: 8px;
}

.proof-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(102, 233, 255, 0.72);
  font-family: var(--font-p);
}

.services-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(22px, 3vh, 30px);
}

@media (max-width: 768px) {
  .services-head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .services-panel .section-title {
    text-align: center;
  }

  .services-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .services-actions {
    justify-content: center;
    margin-top: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .proof-card + .proof-card {
    padding-left: 0;
  }

  .service-card {
    padding: 16px 0;
    gap: 12px;
  }

  .service-card + .service-card {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* =========================
   ENHANCED ANIMATIONS
   ========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Pause animations on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    animation: none;
  }
}

/* =========================
   ENHANCED CONTACT ICONS
   ========================= */
.footer-contact-link span {
  margin-right: 8px;
  font-size: 16px;
}

/* =========================
   IMPROVED FOCUS STATES
   ========================= */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 0, 0, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-link:focus-visible,
.dropdown-toggle:focus-visible {
  outline-color: rgba(255, 214, 165, 0.8);
}
