/* ============================================
   MASTER BRAND CREATORS — DESIGN SYSTEM
   ============================================ */

/* Typography system: General Sans throughout (Neue Montreal-adjacent geometric
   grotesque — used in place of Neue Montreal, which has no free/CDN license).
   One family, full weight range, used for display, body and label type alike. */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500,600,700&display=swap');

:root {
  /* Colors */
  --bg: #6C8F73;
  --bg-2: #628264;
  --card: #7BA184;
  --card-hover: #89AD91;
  --accent: #D8F2CD;
  --accent-2: #C5EAB6;
  --accent-deep: #A8D999;
  --accent-soft: rgba(216, 242, 205, 0.16);
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.75);
  --text-3: rgba(255, 255, 255, 0.55);
  --success: #D8F2CD;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Light neumorphic (soft-UI) — scoped ONLY to cards/boxes (see
     NEOMORPHIC CARD SYSTEM near the end of this file). The
     rest of the site keeps the original palette above.
     Base surface is #90EE90; light/dark shadow tones are tints
     of that same color so cards read as "extruded from" it,
     matching a light soft-UI reference (light source top-left). */
  --neo-dark: #65A765;
  --neo-light: #BBFFBB;
  --neo-dark-soft: #65A765;
  --neo-text: #1D4620;
  --neo-text-2: rgba(29, 70, 32, 0.7);

  /* Type — single family site-wide, weight/spacing/case do the differentiating */
  --font-display: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(72px, 9vw, 150px);
  --gutter: clamp(24px, 6vw, 80px);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  /* Layout grid — premium editorial container.
     Content edges align to a shared max-width across every
     section, the navbar and the footer once the viewport grows
     past the container width; below that it falls back to the
     normal fluid gutter so nothing ever feels cramped. */
  --container-max: 1440px;
  --edge-pad: max(var(--gutter), calc((100% - var(--container-max)) / 2));

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { background: var(--bg); }

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Default stays visible; JS opts into the custom cursor only once
     it has actually initialized (see html.custom-cursor-ready below).
     Previously this was hard-set to `none`, so if any CDN script
     (GSAP, Three.js, etc.) failed or loaded slowly, the cursor JS
     never ran and the page was left with no visible cursor at all. */
}

html.custom-cursor-ready body {
  cursor: none;
}

@media (max-width: 900px) {
  html.custom-cursor-ready body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* Large editorial display — the one <h1> per page (hero / page-hero) */
h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* Section titles */
h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

h3, h4 {
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin-top: 18px;
}

.section-head p {
  color: var(--text-2);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  margin-top: 20px;
  max-width: 560px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-ring.is-active {
  width: 70px;
  height: 70px;
  border-color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  .cursor, .cursor-ring { display: none; }
}

/* ============================================
   LOADER
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  overflow: hidden;
}

.loader-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.loader-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 64px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  overflow: hidden;
  display: flex;
}

.loader-mark span {
  display: inline-block;
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.loader-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: #fff;
}

/* ============================================
   NAVBAR — floating premium glass nav
   ============================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 22px var(--edge-pad) 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), padding 0.4s var(--ease-out);
}

.navbar-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(216, 242, 205, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  transition:
    background 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    backdrop-filter 0.5s var(--ease-out),
    padding 0.4s var(--ease-out);
}

.navbar.nav-hidden {
  transform: translateY(-140%);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.navbar .nav-logo {
  position: relative;
  padding: 4px;
}

.nav-logo .mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(216, 242, 205, 0.25));
  transition: filter 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}

.nav-logo:hover .mark {
  filter: drop-shadow(0 0 22px rgba(77, 220, 145, 0.55));
  transform: scale(1.06) rotate(-2deg);
}

.footer-brand .nav-logo .mark { width: 46px; height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.35s var(--ease-out), background 0.35s var(--ease-out), letter-spacing 0.35s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transition: left 0.4s var(--ease-out), right 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
}

.nav-links a:hover::after {
  left: 16px; right: 16px;
  opacity: 1;
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(216, 242, 205, 0.8);
}

.nav-links a.active::after {
  left: 16px; right: 16px;
  opacity: 1;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta-wrap .btn {
  padding: 11px 22px;
  font-size: 13.5px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-label {
  position: relative;
  height: 15px;
  width: 42px;
  overflow: hidden;
  text-align: right;
}

.nav-toggle-label span {
  position: absolute;
  right: 0; top: 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-2);
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}

.nav-toggle-label .label-close { transform: translateY(120%); opacity: 0; }

.nav-toggle.open .nav-toggle-label .label-open { transform: translateY(-120%); opacity: 0; }
.nav-toggle.open .nav-toggle-label .label-close { transform: translateY(0); opacity: 1; }

.nav-toggle-box {
  position: relative;
  width: 20px;
  height: 12px;
  flex-shrink: 0;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 100%; }

.nav-toggle.open .nav-toggle-box span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav-toggle.open .nav-toggle-box span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .navbar { padding: 16px var(--gutter) 0; }
  .navbar-inner { padding: 10px 10px 10px 18px; }
  .nav-links, .nav-cta-wrap .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================
   MOBILE MENU — fullscreen premium overlay
   ============================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: rgba(108, 143, 115, 0.72);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  padding: 110px var(--gutter) 48px;
  clip-path: circle(0% at calc(100% - 48px) 48px);
  pointer-events: none;
  overflow: hidden;
}

.mobile-menu.open {
  pointer-events: auto;
  clip-path: circle(150% at calc(100% - 48px) 48px);
  transition: clip-path 0.6s var(--ease-in-out);
}

body.menu-open .mobile-menu {
  pointer-events: auto;
}

.mobile-menu.open .mobile-menu-links a,
.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
}

.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 50px);
  font-weight: 600;
  color: var(--text);
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.mobile-menu-links a .mm-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  transition: color 0.4s var(--ease-out);
}

.mobile-menu-links a .mm-text {
  position: relative;
  transition: color 0.4s var(--ease-out);
}

.mobile-menu-links a .mm-arrow {
  margin-left: auto;
  font-size: 0.55em;
  opacity: 0;
  transform: translateX(-10px);
  color: var(--accent);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mobile-menu-links a:hover .mm-text,
.mobile-menu-links a.active .mm-text { color: var(--accent); }
.mobile-menu-links a:hover .mm-index,
.mobile-menu-links a.active .mm-index { color: var(--accent); }
.mobile-menu-links a:hover .mm-arrow { opacity: 1; transform: translateX(0); }

.mobile-menu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-top: 36px;
  opacity: 0;
}

.mobile-menu-footer .mm-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.mobile-menu-contact { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu-contact a { font-size: 16px; color: var(--text-2); transition: color 0.3s; }
.mobile-menu-contact a:hover { color: var(--accent); }

.mobile-menu-socials .mm-social-links { display: flex; gap: 18px; flex-wrap: wrap; }
.mobile-menu-socials a { font-size: 14px; color: var(--text-2); position: relative; transition: color 0.3s; }
.mobile-menu-socials a::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0%; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.mobile-menu-socials a:hover { color: var(--text); }
.mobile-menu-socials a:hover::after { width: 100%; }

@media (max-width: 520px) {
  .mobile-menu { padding: 96px 24px 40px; }
  .mobile-menu-links a { font-size: 30px; padding: 13px 2px; }
  .mobile-menu-footer { gap: 28px; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: #6C8F73;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(216, 242, 205, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.magnetic-target { position: relative; }

/* ============================================
   HERO
   ============================================ */

.hero {
  /* Fallback chain: 100vh first for browsers without dvh/svh support,
     then dvh/svh override it where available. Declaring all three (rather
     than svh alone) is what prevents black gaps above/below the video on
     mobile browsers that don't understand the newer viewport units --
     an unsupported value is ignored, so without a plain-vh fallback
     min-height fell through to auto and the hero (and the absolutely
     positioned video inside it) shrank to fit its content instead of
     filling the screen. */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(216, 242, 205, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 600;
  letter-spacing: -0.04em;
  overflow: hidden;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero h1 .line span {
  display: inline-block;
}

.hero h1 .line span.accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 24px rgba(216, 242, 205, 0.45), 0 0 60px rgba(216, 242, 205, 0.18);
}

.hero-sub {
  margin-top: 32px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--text-2);
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(108, 143, 115, 0.6);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  pointer-events: auto;
  transition: transform 0.15s var(--ease-out), border-color 0.3s, color 0.3s;
  will-change: transform;
}

.floater:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.f1 { top: 18%; right: 12%; }
.f2 { top: 38%; right: 4%; }
.f3 { top: 58%; right: 16%; }
.f4 { top: 76%; right: 6%; }

@media (max-width: 900px) {
  .hero-floaters { display: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 44px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.scroll-cue-line {
  width: 1px;
  height: 46px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollCue 2s var(--ease-in-out) infinite;
}

@keyframes scrollCue {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 80px;
}

.marquee-track span::after {
  content: '\2022';
  color: var(--accent);
  margin-left: 80px;
  font-size: 16px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   TECH MARQUEE (secondary carousel, opposite direction)
   ============================================ */

.tech-marquee-section {
  overflow: hidden;
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 72px;
  animation: marqueeReverse 30s linear infinite;
}

.tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 72px;
  width: 72px;
  opacity: 1;
  transition: transform 0.3s var(--ease-out);
}

.tech-logo:hover {
  transform: translateY(-4px);
}

.tech-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes marqueeReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 900px) {
  .tech-marquee-track { gap: 56px; }
  .tech-logo { height: 56px; width: 56px; }
}

@media (max-width: 520px) {
  .tech-marquee-track { gap: 40px; animation-duration: 22s; }
  .tech-logo { height: 44px; width: 44px; }
}

/* ============================================
   SECTION SHELL
   ============================================ */

section {
  padding: var(--section-pad) var(--edge-pad);
  position: relative;
}

/* Hero keeps its own full-bleed padding — untouched by the
   shared container system below (see .hero rule). */

.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================
   SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
}

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
}

.service-card {
  background: var(--card);
  padding: 44px 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.service-card:hover {
  background: var(--card-hover);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--accent);
  color: #6C8F73;
}

.service-card h3 {
  font-size: 24px;
  margin-top: 40px;
  font-weight: 500;
}

.service-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-top: 12px;
  max-width: 90%;
}

.service-card-arrow {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SERVICE CATEGORIES (services.html) — Branding / Marketing / Printing
   ============================================ */

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

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  padding: 44px 38px 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(216, 242, 205, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  isolation: isolate;
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.category-card::before {
  /* diagonal sweep gradient overlay, brightens on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216, 242, 205, 0.16) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: -1;
}

.category-card:hover {
  border-color: rgba(216, 242, 205, 0.35);
}

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

.category-card:active {
  transform: scale(0.98);
  transition: transform 0.15s var(--ease-out);
}

.category-card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.category-card-icon {
  width: 64px; height: 64px;
  margin-top: 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(216, 242, 205, 0.22);
  transition: transform 0.5s var(--ease-out), background 0.4s, color 0.4s;
}

.category-card:hover .category-card-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--accent);
  color: #6C8F73;
  box-shadow: 0 0 34px rgba(216, 242, 205, 0.5);
}

.category-card h3 {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 26px;
}

.category-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 34ch;
}

.category-card-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card-list span {
  font-size: 12px;
  color: var(--text-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px;
}

.category-card-cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.category-card-cta .btn-arrow {
  transition: transform 0.35s var(--ease-out);
}

.category-card:hover .category-card-cta .btn-arrow {
  transform: translateX(6px);
}

/* ---------- Category carousel (services.html / pricing.html) ---------- */
.category-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.category-carousel-track.category-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-carousel-track.category-grid::-webkit-scrollbar { display: none; }

.category-carousel-track .category-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    transform 0.25s var(--ease-out), opacity 0.3s var(--ease-out), color 0.35s var(--ease-out);
}

.carousel-arrow svg { width: 20px; height: 20px; }

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #6C8F73;
  box-shadow: 0 8px 26px rgba(216, 242, 205, 0.35);
}

.carousel-arrow:active { transform: scale(0.9); }

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 900px) {
  .category-carousel-track .category-card { flex: 0 0 calc((100% - 24px) / 2); min-height: 420px; }
  .carousel-arrow { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
  .category-carousel { gap: 10px; }
  .category-carousel-track .category-card { flex: 0 0 86%; min-height: 400px; padding: 34px 28px 30px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow svg { width: 16px; height: 16px; }
}

/* ============================================
   SUB-SERVICE GRID (branding.html / marketing.html / printing.html)
   ============================================ */

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

@media (max-width: 1000px) {
  .subservice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .subservice-grid { grid-template-columns: 1fr; }
}

.subservice-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.15s var(--ease-out);
}

.subservice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at 20% 0%, rgba(216, 242, 205, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.subservice-card:hover {
  border-color: rgba(216, 242, 205, 0.3);
}

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

.subservice-card:active { transform: scale(0.98); }

.subservice-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out), background 0.4s, color 0.4s;
}

.subservice-card:hover .subservice-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--accent);
  color: #6C8F73;
}

.subservice-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-top: 22px;
}

.subservice-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

/* ---------- Interactive subservice cards (inline pricing accordion) ---------- */
button.subservice-card {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: block;
}

.subservice-card.has-pricing { cursor: pointer; }

.subservice-card.has-pricing:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.subservice-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.subservice-card.has-pricing .subservice-price { margin-top: 0; }

.subservice-toggle-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-in-out);
}
.subservice-toggle-icon::before, .subservice-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.subservice-toggle-icon::before { width: 10px; height: 1.5px; }
.subservice-toggle-icon::after { width: 1.5px; height: 10px; }

.subservice-card.has-pricing:hover .subservice-toggle-icon { border-color: var(--accent); }

.subservice-card.has-pricing.is-open .subservice-toggle-icon {
  background: var(--accent);
  border-color: var(--accent);
}
.subservice-card.has-pricing.is-open .subservice-toggle-icon::before,
.subservice-card.has-pricing.is-open .subservice-toggle-icon::after { background: #6C8F73; }
.subservice-card.has-pricing.is-open .subservice-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.subservice-card.has-pricing.is-open { border-color: var(--accent); }

.service-pricing-panel {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.5s var(--ease-in-out), opacity 0.35s var(--ease-out), transform 0.4s var(--ease-out);
}

.service-pricing-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.service-pricing-panel-inner {
  padding: 6px 2px 4px;
}

.service-pricing-panel .pricing-grid { margin-top: 0; }

@media (max-width: 640px) {
  .service-pricing-panel-inner { padding: 4px 0 2px; }
}

/* ---------- Category page hero back-link ---------- */
.category-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: color 0.3s, gap 0.3s;
}
.category-back:hover { color: var(--accent); gap: 12px; }

/* ============================================
   STATS / WHY US
   ============================================ */

.stats-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .stats-wrap { grid-template-columns: 1fr; gap: 56px; }
}

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

.stat-item {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-label {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 8px;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.why-item .why-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--success);
  color: var(--success);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 4px;
}

.why-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
}

.why-item p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ============================================
   FEATURED WORK
   ============================================ */

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.work-item:nth-child(even) {
  grid-template-columns: 1.4fr 0.9fr;
}

.work-item:nth-child(even) .work-media { order: 2; }
.work-item:nth-child(even) .work-info { order: 1; }

@media (max-width: 900px) {
  .work-item, .work-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .work-item:nth-child(even) .work-media,
  .work-item:nth-child(even) .work-info { order: unset; }
}

.work-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--card);
}

.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.9s var(--ease-out);
}

.work-item:hover .work-media img {
  transform: scale(1);
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-info h3 {
  font-size: clamp(28px, 3vw, 42px);
  margin-top: 16px;
  font-weight: 500;
}

.work-info p {
  color: var(--text-2);
  margin-top: 16px;
  max-width: 420px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-strong);
}

/* ============================================
   PROCESS
   ============================================ */

.process-list {
  border-top: 1px solid var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease-out);
}

.process-item:hover {
  padding-left: 12px;
}

@media (max-width: 800px) {
  .process-item { grid-template-columns: 60px 1fr; }
  .process-item p { grid-column: 2; }
}

.process-index {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-3);
}

.process-item h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
}

.process-item p {
  color: var(--text-2);
  font-size: 15px;
  align-self: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s var(--ease-in-out);
}

.testimonial-slide {
  min-width: 100%;
  padding-right: 40px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.3;
  max-width: 900px;
}

.testimonial-author {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { color: var(--text-2); font-size: 13.5px; }

.testimonial-nav {
  display: flex;
  gap: 14px;
  margin-top: 48px;
}

.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s, width 0.3s;
}

.testimonial-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 4px;
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
  position: relative;
  border-radius: var(--radius-lg);
  margin: 0 var(--edge-pad) var(--section-pad);
  padding: clamp(60px, 10vw, 130px) clamp(24px, 6vw, 80px);
  background: var(--bg-2);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(242,169,59,0.16), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(36px, 6vw, 76px);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section p {
  color: var(--text-2);
  margin: 24px auto 0;
  max-width: 480px;
  position: relative;
}

.cta-section .btn {
  margin-top: 44px;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 80px var(--edge-pad) 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

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

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-brand p {
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 20px;
}

.footer-col a, .footer-col span {
  display: block;
  color: var(--text-2);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--accent); }

.footer-newsletter-inline form {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.footer-newsletter-inline input {
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  flex: 1;
  padding: 8px 0;
}

.footer-newsletter-inline input::placeholder { color: var(--text-3); }

.footer-newsletter-inline button {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.footer-newsletter-inline {
  margin-top: 28px;
  max-width: 300px;
}

.footer-newsletter-inline h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.footer-address p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.footer-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 320px;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
}

@media (max-width: 900px) {
  .footer-map { max-width: 100%; }
}

@media (max-width: 560px) {
  .footer-newsletter-inline { max-width: 100%; }
  .footer-map iframe { height: 180px; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a { color: var(--text-2); }
.footer-socials a:hover { color: var(--accent); }

.back-to-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-4px);
}

/* ============================================
   REVEAL UTILITY
   ============================================ */

.reveal {
  /* Cards/content must remain visible even if ScrollTrigger/GSAP is delayed,
     blocked, or misses a viewport refresh on mobile/tablet. */
  opacity: 1;
  transform: none;
}

/* Grid reveal targets get JS-driven GSAP animation; this is the fallback/initial state only */

/* ============================================
   SHARED PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 160px var(--edge-pad) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg-glow { top: -30%; right: -10%; }

/* ---------- Page-hero eagle watermark ---------- */
.page-hero-mark {
  position: absolute;
  top: 50%;
  right: clamp(-160px, -6vw, -40px);
  width: clamp(360px, 34vw, 620px);
  height: auto;
  transform: translateY(-50%) rotate(0deg);
  opacity: 0.1;
  filter: drop-shadow(0 0 60px rgba(77, 220, 145, 0.45)) saturate(0.9);
  pointer-events: none;
  z-index: 0;
  animation: markFloat 16s ease-in-out infinite, markGlow 6s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes markFloat {
  0%, 100% { transform: translateY(-50%) rotate(-2deg) scale(1); }
  50% { transform: translateY(-53%) rotate(2deg) scale(1.04); }
}
@keyframes markGlow {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.16; }
}
@media (max-width: 900px) {
  .page-hero-mark { width: clamp(260px, 60vw, 420px); right: -18vw; opacity: 0.08; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-mark { animation: none; }
}

.page-hero .eyebrow { margin-bottom: 20px; position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-hero p.lead {
  color: var(--text-2);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-top: 24px;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================
   ABOUT PAGE
   ============================================ */

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

@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.story-grid p {
  color: var(--text-2);
  margin-bottom: 18px;
  font-size: 16px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }

.mv-card {
  background: var(--card);
  padding: 48px;
}

.mv-card .eyebrow { margin-bottom: 16px; }

.mv-card p { color: var(--text-2); margin-top: 12px; }

.timeline {
  border-top: 1px solid var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 700px) { .timeline-item { grid-template-columns: 80px 1fr; } }

.timeline-year {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
}

.timeline-item h4 { font-size: 18px; font-weight: 700; }
.timeline-item p { color: var(--text-2); margin-top: 8px; font-size: 14.5px; max-width: 520px; }

.achv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) { .achv-grid { grid-template-columns: repeat(2, 1fr); } }

.achv-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.achv-card .stat-num { justify-content: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out);
}

.team-card:hover { transform: translateY(-8px); }

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.06); }

.team-info { padding: 20px; }
.team-info h4 { font-size: 16px; font-weight: 700; }
.team-info span { color: var(--text-2); font-size: 13px; }

.team-socials { display: flex; gap: 12px; margin-top: 14px; }
.team-socials a { font-size: 12px; color: var(--text-3); }
.team-socials a:hover { color: var(--accent); }

.office-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
}

.office-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   SERVICES PAGE
   ============================================ */

.service-detail-list { display: flex; flex-direction: column; }

.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.service-detail:hover { background: rgba(255,255,255,0.02); }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 50px 1fr; }
  .service-detail .service-desc, .service-detail .service-detail-cta { grid-column: 2; }
}

.service-detail .service-num { font-family: var(--font-mono); color: var(--text-3); font-size: 14px; }
.service-detail h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; }
.service-desc { color: var(--text-2); font-size: 14.5px; }

.service-detail-cta {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, border-color 0.3s;
}

.service-detail:hover .service-detail-cta {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   PORTFOLIO / MASONRY
   ============================================ */

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  color: var(--text-2);
  transition: all 0.3s;
}

.filter-btn:hover { border-color: var(--accent); color: var(--text); }

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #6C8F73;
  font-weight: 600;
}

.masonry {
  columns: 3 260px;
  column-gap: 24px;
}

@media (max-width: 900px) { .masonry { columns: 2 220px; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

.masonry-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--card);
}

.masonry-item img { width: 100%; display: block; transition: transform 0.6s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.06); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(108, 143, 115,0.85), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay .work-tag { color: var(--accent); }
.masonry-overlay h4 { font-size: 18px; margin-top: 6px; font-weight: 600; }
.masonry-overlay .work-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  max-width: 46ch;
}
.masonry-overlay .btn {
  margin-top: 14px;
  padding: 8px 18px;
  font-size: 13px;
  align-self: flex-start;
}
.masonry-overlay .btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

/* ============================================
   PORTFOLIO / LOGO BROWSER (Logo tab)
   ============================================ */

.logo-portfolio { margin-top: 8px; }

.logo-breadcrumb { flex-wrap: wrap; }

.lp-crumb {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
  transition: color 0.25s;
}
.lp-crumb:hover { color: var(--accent); }

.lp-crumb-current { color: var(--text); }

.lp-sep { color: var(--text-3); }

.lp-back {
  margin-bottom: 28px;
  padding: 10px 20px;
  font-size: 13px;
}

.logo-portfolio .logo-industry-grid {
  margin-top: 4px;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.logo-portfolio .logo-industry-grid[hidden],
.logo-category-grid[hidden],
.logo-gallery-grid[hidden] {
  /* These elements set their own `display: grid`, which (per the CSS
     cascade) otherwise overrides the browser's default `[hidden]{display:none}`
     rule even though the specificity looks tied — author styles always win
     over user-agent styles. Without this override, every industry/category/
     gallery panel would render simultaneously, stacked one below another,
     instead of only the currently selected one. */
  display: none !important;
}

@media (max-width: 1080px) {
  .logo-portfolio .logo-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 480px) {
  .logo-portfolio .logo-industry-grid { grid-template-columns: 1fr; }
}

.logo-industry-card { min-height: 380px; padding: 36px 28px 30px; }

@media (max-width: 1080px) {
  .logo-industry-card { min-height: 340px; }
}

.logo-category-grid + .logo-category-grid,
.logo-category-grid { margin-bottom: 0; }

.logo-category-card h3 { font-size: 17px; }

.logo-count-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
}

.logo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

.logo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: #F5F6F4;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.logo-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(216, 242, 205, 0.18);
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .logo-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .logo-tile { padding: 12px; }
}

/* ============================================
   CASE STUDY PAGE
   ============================================ */

.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) { .cs-meta-grid { grid-template-columns: repeat(2, 1fr); } }

.cs-meta-grid dt { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; color: var(--text-3); letter-spacing: 0.06em; }
.cs-meta-grid dd { font-size: 15px; margin-top: 8px; }

.cs-hero-media { border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; aspect-ratio: 16/8; position: relative; z-index: 1; }
.cs-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.cs-block { max-width: 760px; margin: 0 auto; }
.cs-block + .cs-block { margin-top: var(--section-pad); }
.cs-block h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cs-block p { color: var(--text-2); margin-top: 20px; font-size: 16.5px; }

.cs-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 700px) { .cs-gallery { grid-template-columns: 1fr; } }
.cs-gallery img { border-radius: var(--radius-md); width: 100%; }

.cs-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 700px) { .cs-results { grid-template-columns: 1fr; } }

/* ============================================
   PRICING PAGE
   ============================================ */

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

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.price-card:hover { transform: translateY(-6px); }

.price-card.featured {
  background: var(--card);
  border-color: var(--accent);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--accent);
  color: #6C8F73;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
}

.price-card h3 { font-size: 22px; font-weight: 600; }
.price-card .price-tag {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 48px);
  margin-top: 16px;
}
.price-card .price-tag span { font-size: 15px; color: var(--text-2); font-family: var(--font-body); }

.price-card p.price-desc { color: var(--text-2); margin-top: 10px; font-size: 14px; }

.price-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  align-items: flex-start;
}

.price-features li::before {
  content: '\2713';
  color: var(--success);
  flex-shrink: 0;
}

.price-card .btn { margin-top: 32px; justify-content: center; }

/* ---------- Pricing sub-pages (category → service → packages) ---------- */
.subservice-price {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  border: 1px solid rgba(216, 242, 205, 0.28);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 14px;
}

.pricing-jump-section { padding-top: 0; padding-bottom: 0; }

.pricing-jumpnav { margin-bottom: 0; }
.pricing-jumpnav .filter-btn { text-decoration: none; display: inline-block; }

.pricing-block { scroll-margin-top: 110px; }

.pricing-block-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.pricing-block-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.pricing-block-head p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 56ch;
}

.pricing-block + .pricing-block { border-top: 1px solid var(--border); }

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list { border-top: 1px solid var(--border); max-width: 800px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
}

.faq-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; transition: transform 0.3s var(--ease-out); }

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-in-out);
}

.faq-answer p { color: var(--text-2); padding-bottom: 26px; font-size: 15px; max-width: 640px; }

/* ============================================
   BLOG PAGE
   ============================================ */

.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 72px;
}

@media (max-width: 900px) { .featured-post { grid-template-columns: 1fr; } }

.featured-post img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.featured-post-body { padding: 40px; }
.featured-post-body h3 { font-size: clamp(24px, 3vw, 34px); margin-top: 14px; }
.featured-post-body p { color: var(--text-2); margin-top: 16px; }

.blog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.search-input {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  color: var(--text);
  min-width: 260px;
  font-size: 14px;
}

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

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out);
}

.blog-card:hover { transform: translateY(-6px); }
.blog-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body .work-tag { color: var(--accent); }
.blog-card-body h4 { font-size: 18px; margin-top: 10px; font-weight: 600; }
.blog-card-body p { color: var(--text-2); font-size: 14px; margin-top: 10px; }
.blog-card-meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12.5px; color: var(--text-3); }

/* ============================================
   CONTACT PAGE
   ============================================ */

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

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 24px; }

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--accent);
  outline: none;
}

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

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--card);
}

.contact-info-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--text-3); letter-spacing: 0.06em; }
.contact-info-item p, .contact-info-item a { margin-top: 8px; font-size: 15.5px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  aspect-ratio: 16/9;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-body {
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 { font-size: 26px; margin-top: 48px; margin-bottom: 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 15.5px; margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body strong { color: var(--text); }
.legal-updated { color: var(--text-3); font-family: var(--font-mono); font-size: 13px; margin-bottom: 40px; display: block; }

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--gutter);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(100px, 22vw, 280px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
}

.error-page h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 8px; }
.error-page p { color: var(--text-2); margin-top: 16px; max-width: 420px; }
.error-page .btn { margin-top: 36px; }

/* ============================================
   AWWWARDS UPGRADE LAYER
   Glass, glow, 3D tilt, text-split reveals,
   scroll progress, portfolio lightbox, cinematic polish.
   ============================================ */

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 10002;
  background: transparent;
  pointer-events: none;
}
.scroll-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 60%, #dcfff0);
  box-shadow: 0 0 12px rgba(216, 242, 205, 0.6);
  transition: width 0.08s linear;
}

/* ---------- Nav CTA button polish (scoped to navbar only) ---------- */
.nav-cta-wrap .btn-primary { position: relative; overflow: hidden; }

/* ---------- "Let's Create" nav CTA — premium toggle-style upgrade ---------- */
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nav-cta-label,
.nav-cta .btn-arrow {
  position: relative;
  z-index: 1;
}

.nav-cta-fill {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: rgba(108, 143, 115, 0.32);
  transform: translateX(-26px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-cta:hover .nav-cta-fill {
  transform: translateX(calc(100% + 34px));
  opacity: 1;
  transition: transform 0.6s var(--ease-out) 0.02s, opacity 0.25s var(--ease-out);
}

.nav-cta:active .nav-cta-fill {
  transition: transform 0.18s var(--ease-out), opacity 0.15s var(--ease-out);
}

.nav-cta .btn-arrow {
  transition: transform 0.4s var(--ease-out);
}

.nav-cta:hover .btn-arrow {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta-fill { transition: none; display: none; }
}

/* ---------- Mobile menu — lock page scroll while open ---------- */
body.menu-open { overflow: hidden; }

/* ---------- Buttons: shimmer sweep + ripple ---------- */
.btn { overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn-ghost::before { background: linear-gradient(115deg, transparent 20%, rgba(216, 242, 205, 0.25) 50%, transparent 80%); }

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleOut 0.7s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}

/* ============================================
   SECTION BASE
   ============================================ */
main > section,
main ~ footer {
  position: relative;
  background: var(--bg);
}

/* ---------- Hero 3D logo animation background ---------- */
.hero-3d {
  display: block;
  position: absolute;
  /* top/right/bottom/left instead of the `inset` shorthand: functionally
     identical on modern browsers, but explicit offsets keep the canvas
     pinned edge-to-edge on older mobile browser/WebView engines that
     never picked up the `inset` shorthand, avoiding a strip of unfilled
     space on the side(s) they fail to apply. */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 0;
  pointer-events: none;
}
.hero-content, .hero-floaters, .scroll-cue { z-index: 2; }
.hero-bg-glow, .hero-grid-lines { z-index: 1; }

/* ---------- Text-split reveal (SplitType) ---------- */
.split-line { overflow: hidden; display: block; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-word, .split-char {
  will-change: transform, opacity, filter;
}
.reveal-heading {
  opacity: 1;
}
.reveal-heading .word,
.reveal-heading .char {
  display: inline-block;
}

/* ---------- Generic section reveal (clip-path) ---------- */
.section-mask {
  clip-path: inset(0 0 0 0);
}

/* ---------- 3D tilt / glass card layer ---------- */
/* Applied via JS (adds .tilt-init) to: .service-card, .work-item, .masonry-item,
   .price-card, .blog-card, .achv-card, .mv-card, .team-card, .contact-info-card */
.tilt-init {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  will-change: transform;
}
.tilt-init::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 242, 205, 0.55), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
}
.tilt-init::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}
.tilt-init:hover::before,
.tilt-init:hover::after { opacity: 1; }
.tilt-init:hover {
  box-shadow: 0 24px 60px -20px rgba(108, 143, 115, 0.6), 0 0 0 1px rgba(216, 242, 205, 0.18);
}
@media (max-width: 900px) {
  .tilt-init { transform: none !important; }
}

/* ---------- Image premium hover ---------- */
.work-media, .masonry-item, .blog-card img, .team-photo {
  overflow: hidden;
}
.work-media img,
.blog-card img,
.masonry-item img {
  transition: transform 0.8s var(--ease-out), filter 0.6s var(--ease-out);
}
.work-item:hover .work-media img { transform: scale(1.07) rotate(0.3deg); }

/* ---------- Portfolio modal ---------- */
.mbc-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(108, 143, 115, 0.82);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mbc-modal.open { opacity: 1; pointer-events: auto; }
.mbc-modal-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.45s var(--ease-out);
}
.mbc-modal.open .mbc-modal-inner { transform: scale(1) translateY(0); }
.mbc-modal-inner img { width: 100%; display: block; max-height: 60vh; object-fit: cover; }
.mbc-modal-body { padding: 28px 32px 32px; }
.mbc-modal-body h3 { font-size: 24px; margin-bottom: 8px; }
.mbc-modal-body p { color: var(--text-2); font-size: 14.5px; }
.mbc-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(108, 143, 115, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s;
  z-index: 3;
}
.mbc-modal-close:hover { border-color: var(--accent); transform: rotate(90deg); }
.masonry-item { cursor: pointer; }

/* ---------- Logo lightbox ---------- */
.logo-tile { cursor: pointer; }

.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(108, 143, 115, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.logo-lightbox.open { opacity: 1; pointer-events: auto; }
.logo-lightbox-inner {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-out);
}
.logo-lightbox.open .logo-lightbox-inner { transform: scale(1) translateY(0); }
.logo-lightbox-inner img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}
.logo-lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(108, 143, 115, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s;
  z-index: 3;
}
.logo-lightbox-close:hover { border-color: var(--accent); transform: rotate(90deg); }

@media (max-width: 640px) {
  .logo-lightbox-inner { padding: 28px; max-width: 100%; }
}

/* ---------- Testimonial progress ---------- */
.testimonial-progress {
  max-width: 340px;
  margin: 28px auto 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.testimonial-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Loader: cinematic glow ---------- */
.loader {
  overflow: hidden;
}
.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(216, 242, 205, 0.16), transparent 60%);
  animation: loaderPulse 2.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.loader-mark, .loader-bar { position: relative; z-index: 1; }
.loader-percent {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

/* ---------- Cursor glow ---------- */
.cursor-ring.is-active {
  box-shadow: 0 0 24px rgba(216, 242, 205, 0.35);
}

/* ---------- Back to top: magnetic glow ---------- */
.back-to-top {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.back-to-top:hover {
  box-shadow: 0 0 24px rgba(216, 242, 205, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .tilt-init { transform: none !important; }
  .hero-3d { display: none; }
}

/* ---------- Contact form: glow focus + validation ---------- */
.form-field { position: relative; }
.form-field label { transition: color 0.3s; }
.form-field input, .form-field textarea, .form-field select {
  transition: border-color 0.3s, box-shadow 0.35s var(--ease-out), background 0.3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 24px rgba(216, 242, 205, 0.18);
  background: var(--card-hover);
}
.form-field input:focus + label,
.form-field:focus-within label { color: var(--accent); }
.form-field.field-invalid input,
.form-field.field-invalid textarea {
  animation: fieldShake 0.4s var(--ease-in-out);
  border-color: #e5604d;
}
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.contact-form button[type="submit"].is-success {
  background: var(--accent);
}
.contact-form button[type="submit"].is-success::after {
  content: '\2713';
  margin-left: 4px;
}

/* ============================================
   PREMIUM INTERACTION PASS
   Purely additive polish for buttons, cards, and
   images. No layout, color, typography, hero,
   navbar, or content changes — feel only.
   ============================================ */

/* ---------- Buttons: scale, press, glow, spinning edge ---------- */
@property --edge-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.btn {
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out),
    background 0.32s var(--ease-out), border-color 0.32s var(--ease-out);
}
.btn:hover { transform: translateY(-2px) scale(1.035); }
.btn:active { transform: translateY(0) scale(0.955); transition-duration: 0.15s; }

.btn-primary { position: relative; }
.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(216, 242, 205, 0.4), 0 0 0 1px rgba(216, 242, 205, 0.2);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(216, 242, 205, 0.55);
  opacity: 0;
  transition: opacity 0.35s, box-shadow 0.35s;
  pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; box-shadow: 0 0 28px 3px rgba(216, 242, 205, 0.35); }

.btn-ghost {
  position: relative;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out), background 0.32s var(--ease-out);
}
.btn-ghost:hover {
  box-shadow: 0 10px 30px rgba(216, 242, 205, 0.15), inset 0 0 0 1px rgba(216, 242, 205, 0.35);
}
.btn-ghost::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--edge-angle), transparent 0 62%, var(--accent) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  animation: edgeSpin 2.6s linear infinite;
  animation-play-state: paused;
}
.btn-ghost:hover::after { opacity: 1; animation-play-state: running; }
@keyframes edgeSpin { to { --edge-angle: 360deg; } }

.nav-cta-wrap .btn { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
  .btn-ghost::after { animation: none; opacity: 0 !important; }
  .btn-primary::after { display: none; }
}

/* ---------- Cards: deeper animated shadow + glass edge on the existing tilt layer ---------- */
.tilt-init {
  transition: transform 0.4s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.tilt-init:hover {
  box-shadow: 0 34px 80px -24px rgba(108, 143, 115, 0.7), 0 0 0 1px rgba(216, 242, 205, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.price-card, .achv-card, .mv-card, .contact-info-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.4s var(--ease-out);
}

/* ---------- Images: sheen sweep + consistent gentle zoom ---------- */
.masonry-item, .work-media, .team-photo {
  position: relative;
}
.masonry-overlay { z-index: 2; }
.masonry-item::after,
.work-media::after,
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.16) 50%, transparent 68%);
  transform: translateX(-140%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.masonry-item:hover::after,
.work-item:hover .work-media::after,
.team-card:hover .team-photo::after {
  transform: translateX(140%);
}

.blog-card img { transition: transform 0.8s var(--ease-out), filter 0.5s; }
.blog-card:hover img { transform: scale(1.08); }
.team-photo img { transition: transform 0.7s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.07); }

.cs-hero-media, .cs-gallery figure, .cs-gallery a { overflow: hidden; }
.cs-hero-media img, .cs-gallery img {
  transition: transform 0.9s var(--ease-out);
}
.cs-hero-media:hover img, .cs-gallery img:hover {
  transform: scale(1.045);
}

@media (max-width: 900px) {
  .masonry-item::after, .work-media::after, .team-photo::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .masonry-item::after, .work-media::after, .team-photo::after { display: none; }
  .blog-card:hover img, .team-card:hover .team-photo img,
  .cs-hero-media:hover img, .cs-gallery img:hover { transform: none; }
}

/* ---------- Pricing explorer (single-page category tabs + service dropdown) ---------- */
.pricing-explorer {
  position: relative;
  margin-top: 20px;
}

.pricing-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.pricing-tab {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  min-height: 112px;
  padding: 20px 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .35s var(--ease-out), transform .2s var(--ease-out), background .35s;
}

.pricing-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at 20% 0%, rgba(216,242,205,.13), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.pricing-tab:hover::before,
.pricing-tab[aria-selected="true"]::before { opacity: 1; }

.pricing-tab:hover { border-color: rgba(216,242,205,.35); transform: translateY(-2px); }

.pricing-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(216,242,205,.09), rgba(255,255,255,.02));
}

.pricing-tab:focus-visible,
.pricing-service-dropdown-toggle:focus-visible,
.pricing-service-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.pricing-tab-index {
  position: absolute;
  top: 15px;
  right: 17px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .08em;
}

.pricing-tab-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
  transition: background .3s, color .3s, transform .3s;
}

.pricing-tab[aria-selected="true"] .pricing-tab-icon {
  background: var(--accent);
  color: #6C8F73;
  transform: translateY(-2px);
}

.pricing-tab-label {
  display: block;
  position: relative;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.pricing-tab-panel[hidden] { display: none; }

.pricing-tab-panel {
  animation: pricingPanelIn .4s var(--ease-out);
}

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

.pricing-category-intro {
  margin-bottom: 22px;
}

.pricing-category-intro h2 {
  margin-top: 8px;
}

.pricing-category-intro p:last-child {
  max-width: 720px;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 10px;
}

.pricing-service-dropdown {
  position: relative;
  z-index: 20;
  margin-bottom: 34px;
}

.pricing-service-dropdown-toggle {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.pricing-service-dropdown.is-open .pricing-service-dropdown-toggle,
.pricing-service-dropdown-toggle:hover {
  border-color: var(--accent);
  background: rgba(216,242,205,.045);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

.pricing-service-dropdown-label {
  font-size: 15px;
  color: var(--text-2);
}

.pricing-service-dropdown.has-selection .pricing-service-dropdown-label {
  color: var(--text);
  font-weight: 500;
}

.pricing-service-dropdown-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease-out), color .3s;
}

.pricing-service-dropdown.is-open .pricing-service-dropdown-icon {
  transform: rotate(225deg) translate(-2px, -2px);
  color: var(--accent);
}

.pricing-service-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(8, 15, 13, .98);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pricing-service-dropdown-menu[hidden] { display: none; }

.pricing-service-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s, padding-left .2s;
}

.pricing-service-option:hover,
.pricing-service-option[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--text);
  padding-left: 19px;
}

.pricing-option-arrow {
  color: var(--accent);
  opacity: .7;
}

.pricing-selected-service {
  min-height: 120px;
}

.pricing-selected-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 180px;
  padding: 30px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.015);
}

.pricing-selected-placeholder h3 {
  margin-top: 17px;
  font-size: 20px;
}

.pricing-selected-placeholder p {
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.6;
}

.pricing-service-panels { display: none; }

.pricing-selected-service > .pricing-service-panel {
  display: block;
  animation: pricingPanelIn .45s var(--ease-out);
}

.pricing-service-panel[hidden] { display: none !important; }

.pricing-custom-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.pricing-custom-card h3 { margin-top: 18px; }
.pricing-custom-card p {
  max-width: 680px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 9px 0 22px;
}

@media (max-width: 1000px) {
  .pricing-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-tabs { grid-template-columns: 1fr; gap: 10px; }
  .pricing-tab { min-height: 88px; padding: 16px 17px; }
  .pricing-tab-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .pricing-tab-label { font-size: 15px; }
  .pricing-service-dropdown-menu { max-height: 55vh; }
  .pricing-selected-placeholder,
  .pricing-custom-card { padding: 24px; }
}

/* ============================================
   NEOMORPHIC CARD SYSTEM
   All cards/boxes site-wide → neomorphic (soft-UI, extruded
   from the page surface via dual light/dark shadow instead of
   a glass panel). Navbar, form fields, and the footer newsletter
   are intentionally left OUT — they stay glassmorphic.
   This block is appended last so it wins the cascade over the
   glass rules defined earlier for the same properties.

   Light soft-UI variant (matches the light neumorphic UI-kit
   reference): flat #90EE90 surface, soft light-tint highlight
   top-left, soft dark-tint shadow bottom-right, dark readable
   text instead of the white text used on the rest of the page.
   ============================================ */

:root {
  --neo-surface: #90EE90;
}

.service-card,
.category-card,
.subservice-card,
.mv-card,
.achv-card,
.team-card,
.price-card,
.blog-card,
.contact-info-card,
.pricing-custom-card,
.featured-post,
.pricing-tab,
.mbc-modal-inner,
.logo-lightbox-inner {
  border-radius: 18px !important;
  background: var(--neo-surface) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  color: var(--neo-text) !important;
  box-shadow:
    inset 5px 5px 10px var(--neo-dark),
    inset -5px -5px 10px var(--neo-light) !important;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.4s var(--ease-out) !important;
}

/* readable text/icons on the light surface */
.service-card h1, .service-card h2, .service-card h3, .service-card h4,
.category-card h1, .category-card h2, .category-card h3, .category-card h4,
.subservice-card h1, .subservice-card h2, .subservice-card h3, .subservice-card h4,
.mv-card h1, .mv-card h2, .mv-card h3, .mv-card h4,
.achv-card h1, .achv-card h2, .achv-card h3, .achv-card h4,
.team-card h1, .team-card h2, .team-card h3, .team-card h4,
.price-card h1, .price-card h2, .price-card h3, .price-card h4,
.blog-card h1, .blog-card h2, .blog-card h3, .blog-card h4,
.contact-info-card h1, .contact-info-card h2, .contact-info-card h3, .contact-info-card h4,
.pricing-custom-card h1, .pricing-custom-card h2, .pricing-custom-card h3, .pricing-custom-card h4,
.featured-post h1, .featured-post h2, .featured-post h3, .featured-post h4,
.pricing-tab h1, .pricing-tab h2, .pricing-tab h3, .pricing-tab h4 {
  color: var(--neo-text) !important;
}

.service-card p, .category-card p, .subservice-card p, .mv-card p, .achv-card p,
.team-card p, .price-card p, .blog-card p, .contact-info-card p,
.pricing-custom-card p, .featured-post p, .pricing-tab p,
.service-card span, .category-card span, .subservice-card span,
.team-card span, .blog-card span, .contact-info-card span, .pricing-tab span {
  color: var(--neo-text-2) !important;
}

.service-card svg, .category-card svg, .subservice-card svg, .mv-card svg,
.achv-card svg, .team-card svg, .price-card svg, .blog-card svg,
.contact-info-card svg, .pricing-tab svg {
  color: var(--neo-text) !important;
}

.service-card-arrow {
  color: var(--neo-text) !important;
}

.service-card:hover,
.category-card:hover,
.subservice-card:hover,
.team-card:hover,
.price-card:hover,
.blog-card:hover,
.pricing-tab:hover,
.pricing-tab.is-active {
  background: var(--neo-surface) !important;
  box-shadow:
    inset 5px 5px 10px var(--neo-dark),
    inset -5px -5px 10px var(--neo-light) !important;
}

.price-card.featured {
  box-shadow:
    inset 5px 5px 10px var(--neo-dark),
    inset -5px -5px 10px var(--neo-light),
    0 0 0 1px rgba(29, 70, 32, 0.25) !important;
}

/* kill the glass "edge glow" mask on card elements only —
   .work-item / .masonry-item (photo tiles, not boxes) keep it */
.service-card.tilt-init::before, .service-card.tilt-init::after,
.category-card.tilt-init::before, .category-card.tilt-init::after,
.subservice-card.tilt-init::before, .subservice-card.tilt-init::after,
.mv-card.tilt-init::before, .mv-card.tilt-init::after,
.achv-card.tilt-init::before, .achv-card.tilt-init::after,
.team-card.tilt-init::before, .team-card.tilt-init::after,
.price-card.tilt-init::before, .price-card.tilt-init::after,
.blog-card.tilt-init::before, .blog-card.tilt-init::after,
.contact-info-card.tilt-init::before, .contact-info-card.tilt-init::after {
  display: none !important;
}

.category-card::before,
.subservice-card::before {
  display: none !important;
}

@media (max-width: 900px) {
  .service-card, .category-card, .subservice-card, .mv-card, .achv-card,
  .team-card, .price-card, .blog-card, .contact-info-card,
  .pricing-custom-card, .featured-post, .pricing-tab,
  .mbc-modal-inner, .logo-lightbox-inner {
    box-shadow:
      inset 5px 5px 10px var(--neo-dark),
      inset -5px -5px 10px var(--neo-light) !important;
  }
}

/* ---------- Forms + newsletter: glassmorphic (excluded above) ----------
   Kept deliberately LOW-blur / HIGH-transparency — a thin frosted pane
   you can see through, not a foggy block. The "glass" reads from the
   bright rim + top highlight line, not from blur amount. */
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  backdrop-filter: blur(6px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.03) !important;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--accent) !important;
}

.footer-newsletter-inline form {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  backdrop-filter: blur(6px) saturate(180%);
  -webkit-backdrop-filter: blur(6px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 20px -8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, border-color 0.3s;
}

.footer-newsletter-inline form:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter-inline input {
  padding: 8px 4px;
}

.footer-newsletter-inline button {
  background: var(--accent);
  color: #6C8F73;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.footer-newsletter-inline button:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(216, 242, 205, 0.35);
}
