/* ============================================================
   Shomi Technologies — stylesheet (v4)
   Balanced spacing · richer visuals · mobile-first responsive
   Theme: Maroon / White / Gray / Black + warm cream
   ============================================================ */

:root {
  --maroon:        #7a1226;
  --maroon-bright: #a01d33;
  --maroon-deep:   #4d0a17;
  --black:         #0d0d0d;
  --ink:           #16181c;
  --gray-700:      #3a3d44;
  --gray-500:      #6b7280;
  --gray-400:      #9aa0a8;
  --gray-300:      #d8dce1;
  --gray-200:      #e6e9ed;
  --gray-100:      #eef0f3;
  --cream:         #f8f4ee;
  --cream-2:       #f2e9dd;
  --white:         #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-head:    "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 22px 48px -26px rgba(29,10,15,.32);
  --shadow-sm: 0 12px 30px -20px rgba(29,10,15,.4);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    -webkit-text-size-adjust: 100%; 
    scroll-padding-top: 84px; 
}
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--white); line-height: 1.65; overflow-x: hidden; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 34px 0; position: relative; }

/* section header */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--maroon); margin-bottom: 8px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; display: inline-block; }
.section-head { margin-bottom: 28px; }
.section-head.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: flex-end; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 18ch; }
.section-head .intro { color: var(--gray-500); font-size: .98rem; max-width: 40ch; margin: 0 0 4px; line-height: 1.6; }
.text-maroon { color: var(--maroon); font-style: italic; }
/* Services section: compact heading so the full 12-row list fits on screen */
#services.section { padding-top: 22px; padding-bottom: 28px; }
#services .section-head { margin-bottom: 18px; }
#services .section-head.split { grid-template-columns: 1.6fr .9fr; gap: 32px; }
#services .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; max-width: 26ch; }
#services .section-head .intro { font-size: .92rem; line-height: 1.5; margin: 0; }
.text-cream { color: #f0d9c9; font-style: italic; }
.muted { color: var(--gray-500); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .01em; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 14px 30px -14px rgba(122,18,38,.7); }
.btn-primary:hover { background: var(--maroon-bright); transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(122,18,38,.8); }
.btn-ghost { background: transparent; border: 1.5px solid var(--gray-300); color: var(--ink); }
.btn-ghost:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); }
.btn-block { width: 100%; justify-content: center; padding: 16px; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 3000; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease, visibility .7s ease; }
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Particles assemble, then dissolve as this crisp logo fades in — clean, no dots behind it. */
.loader-logo { position: relative; z-index: 1; width: min(150px, 34vw); height: auto;
  opacity: 0; transform: scale(.92); animation: loaderLogoIn .8s 1.45s var(--ease) forwards; }
@keyframes loaderLogoIn { to { opacity: 1; transform: none; } }
.loader-text { position: absolute; top: calc(50% + 128px); left: 0; right: 0; text-align: center;
  font-family: var(--font-head); font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gray-500); opacity: 0; transform: translateY(10px);
  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.loader-text.in { opacity: 1; transform: none; }

#loadbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--maroon), var(--maroon-bright)); transition: width .1s linear; }
.topline { height: 4px; background: var(--maroon); }

/* ============================================================
   Header / nav
   ============================================================ */
header.nav { position: sticky; top: 0; z-index: 1200; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(0,0,0,.05); transition: box-shadow .3s; }
header.nav.scrolled { box-shadow: 0 12px 34px -22px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 50px; width: auto; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-family: var(--font-head); font-weight: 500; font-size: 13.5px; letter-spacing: .04em; color: var(--gray-700); position: relative; padding: 6px 0; text-transform: uppercase; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--maroon); transition: width .3s var(--ease); }
.nav-menu a:hover { color: var(--maroon); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; z-index: 1300; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); border-radius: 2px; }
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 30px 0 84px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -260px; right: -220px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(160,29,51,.13), transparent 62%); z-index: -1; }
.hero::after { content: ""; position: absolute; bottom: -200px; left: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(122,18,38,.06), transparent 60%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin-bottom: 22px; }
.hero-tag span { width: 28px; height: 2px; background: var(--maroon); }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.025em; }
.hero h1 .rot { color: var(--maroon); font-style: italic; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--gray-700); max-width: 50ch; margin: 24px 0 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 14px; color: var(--gray-500); }
.hero-trust .stars { color: #e0a92e; letter-spacing: 2px; font-size: 15px; }
.hero-trust b { color: var(--ink); font-weight: 600; }

.hero-visual { position: relative; height: 440px; display: grid; place-items: center; perspective: 1000px; }
.hero-orbits { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; will-change: transform; }
.hero-visual::before { content: ""; position: absolute; top: 50%; left: 50%; width: 82%; height: 82%; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(122,18,38,.18), rgba(122,18,38,.05) 55%, transparent 70%); }
.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; z-index: 1; }
/* o1 stays a circle (stable outer frame); o2–o4 are ellipses that spin at
   different rates + directions, so the lines keep crossing inside like an eclipse. */
.orbit.o1 { width: 460px; height: 460px; border: 1.6px solid rgba(122,18,38,.18); animation: spin 46s linear infinite;         animation-delay: -9s;  }
.orbit.o2 { width: 460px; height: 312px; border: 1.6px solid rgba(122,18,38,.24); animation: spin 26s linear infinite reverse; animation-delay: -18s; }
.orbit.o3 { width: 372px; height: 250px; border: 1.8px solid rgba(122,18,38,.30); animation: spin 19s linear infinite;         animation-delay: -6s;  }
.orbit.o4 { width: 264px; height: 190px; border: 2px solid rgba(122,18,38,.40);   animation: spin 13s linear infinite reverse; animation-delay: -3s;  }
/* glowing nodes riding the orbits */
.orbit > i { position: absolute; top: -6px; left: 50%; margin-left: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--maroon-bright); box-shadow: 0 0 4px rgba(160,29,51,.95), 0 0 14px 3px rgba(160,29,51,.45); }
.orbit.o1 > i.b { top: auto; bottom: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  background: var(--maroon); box-shadow: 0 0 3px rgba(122,18,38,.9), 0 0 10px 2px rgba(122,18,38,.4); }
.orbit.o2 > i { width: 11px; height: 11px; margin-left: -5.5px; top: -6px; }
.orbit.o3 > i { width: 9px; height: 9px; margin-left: -4.5px; top: -5px; background: var(--maroon);
  box-shadow: 0 0 3px rgba(122,18,38,.9), 0 0 9px 2px rgba(122,18,38,.4); }
.orbit.o4 > i { width: 8px; height: 8px; margin-left: -4px; top: -5px; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hero-core { position: relative; width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 0 46px 4px rgba(160,29,51,.16); display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle, rgba(255,255,255,.95) 38%, rgba(255,255,255,.72) 54%, rgba(255,255,255,0) 72%); }
.hero-core::after { content: none; }
.hero-core img { width: 74px; height: 74px; object-fit: contain; animation: floaty 4s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(122,18,38,.30)); }
@keyframes floaty { 0%,100%{transform: translateY(0);} 50%{transform: translateY(-8px);} }
.float-pill { position: absolute; background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); border-radius: 11px; padding: 9px 15px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--ink); z-index: 3; }
.float-pill .d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); margin-right: 7px; }
.fp1 { top: 5%; left: 0; animation: floaty 5s ease-in-out infinite; }
.fp2 { top: 15%; right: -3%; animation: floaty 6s ease-in-out infinite .6s; }
.fp3 { bottom: 15%; left: -3%; animation: floaty 5.5s ease-in-out infinite .3s; }
.fp4 { bottom: 3%; right: 5%; animation: floaty 6.4s ease-in-out infinite .9s; }

/* Build / Launch / Scale strip */
.bls { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; margin-top: 60px; padding: 30px 34px; background: var(--cream); border-radius: var(--radius); }
.bls-words { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,2.6vw,2.1rem); letter-spacing: -.01em; display: flex; align-items: center; gap: 14px; }
.bls-words em { color: var(--gray-300); font-style: normal; }
.bls-words span { color: var(--maroon); animation: pulseWord 2.4s infinite; }
.bls-words span:nth-child(3){ animation-delay: 0.8s; }
.bls-words span:nth-child(5){ animation-delay: 1.6s; }
@keyframes pulseWord { 0%,80%,100%{opacity:.34} 40%{opacity:1} }
.bls-copy { color: var(--gray-700); font-size: .96rem; margin: 0; }

/* ============================================================
   Stats
   ============================================================ */
.stats-band { background: var(--maroon); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.stats-band::before { content:""; position:absolute; top:-120px; right:-80px; width:340px; height:340px; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.stat { padding: 22px 16px; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat .num .plus { color: #f0d9c9; }
.stat .label { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   Services
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 32px 28px 28px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 6px 22px -16px rgba(22,24,28,.22);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, background .45s; }
/* accent bar that sweeps in from the left on hover */
.svc-card::before { content:""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--maroon), var(--maroon-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-card:hover::before { transform: scaleX(1); }
/* soft glow that appears on the maroon hover fill */
.svc-card::after { content:""; position: absolute; top: -70px; right: -70px; width: 180px; height: 180px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%); opacity: 0; transition: opacity .45s; }
.svc-card:hover::after { opacity: 1; }
.svc-card:hover { transform: translateY(-8px); border-color: transparent;
  background: linear-gradient(150deg, var(--maroon), var(--maroon-bright));
  box-shadow: 0 30px 60px -22px rgba(122,18,38,.6); }
.svc-num { position: absolute; top: 20px; right: 26px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.75rem; color: var(--gray-200); transition: color .4s; }
.svc-card:hover .svc-num { color: rgba(255,255,255,.9); }
.svc-icon { width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(140deg, rgba(122,18,38,.13), rgba(160,29,51,.05));
  box-shadow: inset 0 0 0 1px rgba(122,18,38,.10);
  display: grid; place-items: center; color: var(--maroon); margin-bottom: 22px;
  transition: background .4s, color .4s, transform .4s, box-shadow .4s; }
.svc-card:hover .svc-icon { background: rgba(255,255,255,.18); color: #fff; transform: rotate(-6deg) scale(1.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: .35em; transition: color .4s; }
.svc-card:hover h3 { color: #fff; }
.svc-card p { color: var(--gray-500); font-size: 14.5px; margin: 0; line-height: 1.6; transition: color .4s; }
.svc-card:hover p { color: rgba(255,255,255,.85); }
.svc-card .more { margin-top: 20px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--maroon); display: inline-flex; align-items: center; gap: 6px; transition: color .4s; }
.svc-card:hover .more { color: #fff; }
.svc-card .more span { transition: transform .3s; }
.svc-card:hover .more span { transform: translateX(5px); }

/* staff-aug highlight */
.svc-highlight { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  margin-top: 22px; padding: 38px 42px; border-radius: var(--radius);
  background: #fff; color: var(--ink); border: 1.5px solid var(--maroon); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-highlight::after { content:""; position:absolute; top:-100px; right:-40px; width:280px; height:280px; border:1px solid rgba(122,18,38,.10); border-radius:50%; }
.svc-highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-highlight .eyebrow { color: var(--maroon); }
.svc-highlight h3 { color: var(--ink); font-size: 1.8rem; margin: 0 0 .3em; }
.svc-highlight p { color: var(--gray-500); margin: 0; max-width: 60ch; font-size: 14.5px; }
.sh-cta { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--maroon); display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border: 1.5px solid var(--maroon); border-radius: 999px; white-space: nowrap; transition: .3s; position: relative; z-index: 2; }
.svc-highlight:hover .sh-cta { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.sh-cta span { transition: transform .3s; }
.svc-highlight:hover .sh-cta span { transform: translateX(4px); }

/* modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,7,10,.62); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 22px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 2500; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: 22px; max-width: 580px; width: 100%; padding: 42px; position: relative; transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); max-height: 90vh; overflow-y: auto; }
.modal-overlay.open .modal { transform: none; }
.modal .m-icon { width: 60px; height: 60px; border-radius: 15px; background: var(--maroon); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.modal .m-icon svg { width: 29px; height: 29px; }
.modal .tag { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.modal h3 { font-size: 2rem; margin: 6px 0 6px; }
.modal .lead { color: var(--gray-500); }
.modal ul { margin-top: 22px; }
.modal ul li { padding: 13px 0 13px 30px; border-top: 1px solid var(--gray-100); position: relative; color: var(--gray-700); }
.modal ul li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--maroon); }
.modal .close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gray-100); font-size: 22px; color: var(--ink); display: grid; place-items: center; transition: .25s; }
.modal .close:hover { background: var(--maroon); color: #fff; }
.modal .modal-cta { margin-top: 26px; }

/* ============================================================
   Tools marquee
   ============================================================ */
.tools { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: #fff; overflow: hidden; }
.tools .eyebrow { color: #f0d9c9; }
.tools h2 { color: #fff; max-width: 20ch; }
.tools .intro { color: rgba(255,255,255,.72); }
.marquee-wrap { position: relative; margin-top: 8px; overflow: hidden; }
.marquee { display: flex; gap: 16px; width: max-content; animation: scrollX 40s linear infinite; }
.marquee.reverse { animation-direction: reverse; margin-top: 16px; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.tool-card { display: inline-flex; align-items: center; gap: 14px; height: 78px; padding: 0 30px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.55); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.marquee-wrap:hover .tool-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -16px rgba(0,0,0,.6); }
.tool-card img { width: 112px; height: auto; max-height: 54px; object-fit: contain; display: block; flex: none; }   /* uniform width; full brand logos, height scales as needed */
.tool-card.wordmark img { width: 112px; max-height: 54px; }
.tool-card .tc-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
@keyframes scrollX { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.marquee-wrap::before, .marquee-wrap::after { content:""; position:absolute; top:0; bottom:0; width:90px; z-index:2; pointer-events:none; }
.marquee-wrap::before { left:0; background: linear-gradient(90deg, var(--maroon-deep), transparent); }
.marquee-wrap::after { right:0; background: linear-gradient(270deg, var(--maroon), transparent); }

/* ============================================================
   Industries
   ============================================================ */
.industries { background: var(--cream); }
.industries h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.ind-marquee-wrap { position: relative; margin-top: 4px; overflow: hidden; }
.ind-marquee { display: flex; gap: 14px; width: max-content; animation: scrollX 48s linear infinite; }
.ind-marquee.reverse { animation-direction: reverse; margin-top: 14px; }
.ind-marquee-wrap:hover .ind-marquee { animation-play-state: paused; }
.ind-pill { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; white-space: nowrap; transition: .3s var(--ease); }
.ind-pill:hover { border-color: var(--maroon); background: var(--maroon); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ind-pill:hover .n, .ind-pill:hover .t { color: #fff; }
.ind-pill .n { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 17px; color: var(--maroon); transition: color .3s; }
.ind-pill .t { font-family: var(--font-head); font-weight: 500; font-size: 14.5px; transition: color .3s; }
.ind-marquee-wrap::before, .ind-marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.ind-marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.ind-marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }

/* ============================================================
   Why Shomi
   ============================================================ */
.why-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.why-intro { position: sticky; top: 100px; align-self: start; }
.why-intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.why-intro h2 .rot { color: var(--maroon); font-style: italic; }
.why-intro p { color: var(--gray-700); font-size: .98rem; }
.why-intro .btn { margin-top: 14px; }
/* --- timeline --- */
.why-timeline { position: relative; }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
/* connecting rail runs through the node centres */
.tl-marker { position: relative; display: flex; justify-content: center; }
.tl-marker::before { content: ""; position: absolute; top: 52px; bottom: -30px; left: 50%; width: 2px; margin-left: -1px;
  background: linear-gradient(var(--maroon), rgba(122,18,38,.18)); }
.tl-item:last-child .tl-marker::before { display: none; }
.tl-node { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--maroon); color: var(--maroon);
  display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 19px;
  position: relative; z-index: 1; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.tl-content { padding-top: 8px; }
.tl-content h4 { font-size: 1.32rem; margin-bottom: 7px; transition: color .3s; }
.tl-content p { color: var(--gray-500); margin: 0; font-size: 14.5px; line-height: 1.62; }
.tl-item:hover .tl-node { background: var(--maroon); color: #fff; transform: scale(1.08); box-shadow: 0 10px 22px -8px rgba(122,18,38,.6); }
.tl-item:hover .tl-content h4 { color: var(--maroon); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--cream); }
.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact-intro h2 .rot { color: var(--maroon); font-style: italic; }
.contact-intro .lead { color: var(--gray-700); font-size: 1.02rem; }
.wa-line { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 20px; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; font-family: var(--font-head); box-shadow: var(--shadow-sm); transition: .3s; }
.wa-line:hover { transform: translateY(-3px); }
.wa-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; flex: none; }
.wa-line small { color: var(--gray-500); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.wa-line { color: var(--ink); font-weight: 600; }
.contact-cities { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.contact-cities .loc { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px;
  border: 1px solid var(--gray-200); border-radius: 999px; color: var(--gray-500); font-size: 14.5px; background: transparent; transition: .25s var(--ease); }
.contact-cities .loc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); flex: none; }
.contact-cities .loc:hover { border-color: var(--maroon); color: var(--ink); }
form.lead-form { background: #fff; border: 1px solid var(--gray-100); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.field label .req { color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--gray-300); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--cream); transition: .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 4px rgba(122,18,38,.1); }
.form-note { font-size: 12.5px; color: var(--gray-500); margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; display: none; text-align: center; }
.form-status.ok { display: block; color: #1a7f37; }
.form-status.err { display: block; color: var(--maroon-bright); }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-band { padding: 20px 0 20px; }
.cta-inner { background: linear-gradient(135deg, var(--maroon), var(--maroon-bright)); border-radius: 28px; padding: 78px 32px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-inner::before { content:""; position:absolute; top:-90px; left:-50px; width:290px; height:290px; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.cta-inner::after { content:""; position:absolute; bottom:-120px; right:-60px; width:360px; height:360px; border:1px solid rgba(255,255,255,.14); border-radius:50%; }
.cta-inner .eyebrow { color: rgba(255,255,255,.82); justify-content: center; }
.cta-inner h2 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.015em; position: relative; }
.cta-inner .btn { margin-top: 22px; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
footer.site { background: #f8f4ee; color: #000; padding: 18px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand img { height: 74px; width: auto; margin-bottom: 20px; opacity: 1;
  /* thin white hairline tracing the maroon logo so it lifts off the black footer */
  filter: drop-shadow(0.5px 0 0 #fff) drop-shadow(-0.5px 0 0 #fff) drop-shadow(0 0.5px 0 #fff) drop-shadow(0 -0.5px 0 #fff); }
.foot-brand p { max-width: 30ch; color: #000; font-size: 14.5px; }
.foot-social { display: flex; gap: 12px; margin-top: 22px; }
.foot-social a { width: 42px; height: 42px; border: 1px solid rgba(0,0,0,.35); border-radius: 50%; display: grid; place-items: center; color: #000; transition: .3s; }
.foot-social a:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: translateY(-3px); }
.foot-col h5 { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #000; margin: 0 0 20px; }
.foot-col a { display: block; padding: 7px 0; color: #000; font-size: 14.5px; transition: .2s; }
.foot-col a:hover { color: var(--maroon); padding-left: 5px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 30px; border-top: 1px solid #22252b; font-size: 13.5px; color: #000; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 42px; }
  .section-head.split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { height: 360px; order: -1; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .why-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .why-intro { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Tablets & landscape phones: switch the nav to the hamburger drawer here
   so the desktop link row never overflows and gets clipped. */
@media (max-width: 900px) {
  /* Drop the nav's backdrop-filter on mobile: it makes the nav the containing
     block for the fixed drawer, so the off-screen (closed) drawer adds
     horizontal scroll width. Without it the drawer is viewport-fixed. */
  header.nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.96); }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); height: 100dvh;
    flex-direction: column; justify-content: center; gap: 6px; background: #fff;
    padding: 40px 34px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); z-index: 1250;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); width: 100%; }
  /* Backdrop must sit BELOW the nav (z-index 1200) so the drawer, which lives
     inside the nav's stacking context, paints above it instead of under it. */
  .nav-backdrop { position: fixed; inset: 0; background: rgba(13,7,10,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1150; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .nav-inner { height: 66px; }
  .brand img { height: 42px; }

  .hero { padding: 18px 0 60px; }
  .hero-visual { height: 300px; }
  .orbit.o1 { width: 300px; height: 300px; } .orbit.o2 { width: 300px; height: 204px; } .orbit.o3 { width: 244px; height: 164px; } .orbit.o4 { width: 174px; height: 125px; }
  .hero-core { width: 100px; height: 100px; } .hero-core img { width: 48px; height: 48px; }
  .float-pill { font-size: 11px; padding: 7px 11px; }
  .fp2 { right: 0; } .fp3 { left: 0; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 6px; }

  .bls { grid-template-columns: 1fr; gap: 16px; padding: 24px; margin-top: 44px; }
  .bls-words { font-size: 1.4rem; gap: 10px; }

  .stats-band { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 18px 12px; }
  .stat:nth-child(5){ grid-column: 1 / -1; }

  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 26px 24px; }
  .svc-num { top: 20px; right: 22px; }
  .svc-highlight { padding: 30px 26px; text-align: left; }
  .svc-highlight h3 { font-size: 1.5rem; }
  .sh-cta { width: 100%; justify-content: center; }

  .ind-pill { padding: 13px 20px; gap: 10px; }
  .ind-pill .t { font-size: 13px; }
  .ind-pill .n { font-size: 15px; }
  .ind-marquee-wrap::before, .ind-marquee-wrap::after { width: 44px; }

  .why-wrap { gap: 34px; }
  .tl-item { grid-template-columns: 46px 1fr; gap: 16px; padding-bottom: 26px; }
  .tl-node { width: 46px; height: 46px; font-size: 17px; }
  .tl-marker::before { top: 46px; bottom: -26px; }

  form.lead-form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .wa-line { width: 100%; }

  .cta-band { padding: 10px 0 60px; }
  .cta-inner { padding: 60px 24px; border-radius: 22px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 8px; margin-top: 44px; }

  .loader-text { letter-spacing: .34em; top: calc(50% + 104px); }
}

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

/* ============================================================
   v24 — Premium motion & polish  (ADDITIVE layer)
   Pure transform/opacity work · GPU-friendly · fully reversible.
   Reuses the existing .reveal / .num[data-count] observers, so
   no changes to the preloader particle effect or hero globe.
   ============================================================ */

/* ---- soft hero parallax (driven by enhance.js; 0 when JS/motion off) */
.hero { --hero-shift: 0px; }
.hero::before { transform: translateY(var(--hero-shift)); }
.hero::after  { transform: translateY(calc(var(--hero-shift) * -0.55)); }

/* ---- richer, cascading reveal (stronger, clearly visible) ------- */
.reveal { will-change: opacity, transform; transform: translateY(44px); transition-duration: .8s; }
.reveal.rv-left  { transform: translateX(-44px); }
.reveal.rv-right { transform: translateX(44px); }
.reveal.rv-zoom  { transform: translateY(30px) scale(.93); }
.reveal.in, .reveal.rv-left.in, .reveal.rv-right.in, .reveal.rv-zoom.in { transform: none; }

/* ---- premium always-on shimmer on the hero accent word --------- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .rot {
    background: linear-gradient(100deg, var(--maroon) 32%, var(--maroon-bright) 50%, var(--maroon) 68%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: rotShine 5.5s linear infinite;
  }
}
@keyframes rotShine { 0% { background-position: 120% 0; } 100% { background-position: -20% 0; } }

/* stagger grid children so a whole section flows in, not pops in */
.svc-grid > .reveal:nth-child(3n+2) { transition-delay: .08s; }
.svc-grid > .reveal:nth-child(3n+3) { transition-delay: .16s; }
.stats-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.stats-grid > .reveal:nth-child(3) { transition-delay: .14s; }
.stats-grid > .reveal:nth-child(4) { transition-delay: .21s; }
.stats-grid > .reveal:nth-child(5) { transition-delay: .28s; }
.why-timeline .tl-item:nth-child(even) { transition-delay: .09s; }

/* ---- premium service cards ------------------------------------- */
/* smoother, deeper resting state + refined easing */
.svc-card {
  --mx: 50%; --my: 0%;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, rgba(122,18,38,.10), rgba(160,29,51,0) 42%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px -22px rgba(22,24,28,.32);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s, background .5s;
}
/* cursor-following spotlight over the maroon hover fill (premium sheen) */
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx) var(--my),
              rgba(255,255,255,.22), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 36px 66px -26px rgba(122,18,38,.62); }
.svc-card:hover::after { opacity: 1; }
/* glassy icon lift */
.svc-icon { transition: background .45s, color .45s, transform .5s var(--ease), box-shadow .45s; }
.svc-card:hover .svc-icon { transform: translateY(-2px) rotate(-6deg) scale(1.08); }

/* plain feature cards (staff-augmentation page) get the same lift + spotlight */
.svc-card:not([data-i]) { cursor: default; }

/* ---- button shine sweep ---------------------------------------- */
.btn-primary, .btn-light { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 60%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn-primary:hover::after, .btn-light:hover::after { left: 150%; }
.btn { will-change: transform; }

/* ---- eyebrow line grows on reveal ------------------------------ */
.reveal .eyebrow::before, .section-head.reveal .eyebrow::before { transition: width .7s .15s var(--ease); }
.reveal:not(.in) .eyebrow::before { width: 0; }

/* ---- section headings: subtle rise already via .reveal --------- */

/* ---- industries + tools pills: gentle float on hover ----------- */
.ind-pill, .tool-card { will-change: transform; }

/* ---- timeline node pulse ring ---------------------------------- */
.tl-node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(122,18,38,.35); opacity: 0; transform: scale(.8);
  transition: opacity .4s, transform .4s var(--ease);
}
.tl-item:hover .tl-node::after { opacity: 1; transform: scale(1); }

/* ============================================================
   Build · Launch · Scale — the 4 content boxes (design doc §1)
   Icon + title + paragraph, sitting under the .bls strip.
   ============================================================ */
.bls-boxes {
  margin-top: 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.bls-boxes > .reveal:nth-child(2) { transition-delay: .1s; }
.bls-boxes > .reveal:nth-child(3) { transition-delay: .2s; }
.bls-boxes > .reveal:nth-child(4) { transition-delay: .3s; }
.bls-box {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 30px 26px 28px; border-radius: 18px; background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 12px 34px -26px rgba(22,24,28,.4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.bls-box::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--maroon), var(--maroon-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.bls-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(122,18,38,.08), transparent 60%);
  transition: opacity .5s var(--ease);
}
.bls-box:hover { transform: translateY(-8px); border-color: transparent;
  box-shadow: 0 32px 60px -30px rgba(122,18,38,.5); }
.bls-box:hover::before { transform: scaleX(1); }
.bls-box:hover::after { opacity: 1; }
.bls-box-ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  color: var(--maroon); margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(122,18,38,.13), rgba(160,29,51,.05));
  box-shadow: inset 0 0 0 1px rgba(122,18,38,.10);
  transition: background .45s, color .45s;
  animation: blsFloat 5s ease-in-out infinite;
}
.bls-box:nth-child(2) .bls-box-ic { animation-delay: .6s; }
.bls-box:nth-child(3) .bls-box-ic { animation-delay: 1.2s; }
.bls-box:nth-child(4) .bls-box-ic { animation-delay: 1.8s; }
.bls-box-ic svg { width: 24px; height: 24px; }
@keyframes blsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.bls-box h4 { font-family: var(--font-display); font-size: 1.16rem; margin: 0 0 .4em; letter-spacing: -.01em; }
.bls-box p { color: var(--gray-500); font-size: 14px; line-height: 1.6; margin: 0; }

@media (max-width: 980px) { .bls-boxes { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { .bls-boxes { grid-template-columns: 1fr; } .bls-box { padding: 24px 22px; } }

/* ---- respect reduced-motion for every new effect --------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.rv-left, .reveal.rv-right, .reveal.rv-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary::after, .btn-light::after { display: none; }
  .svc-card::after, .bls-box::after { display: none; }
  .svc-card:hover, .bls-box:hover, .svc-icon, .tl-node::after { transition: none; }
  .bls-box-ic, .hero h1 .rot { animation: none; }
  .hero h1 .rot { color: var(--maroon); -webkit-text-fill-color: var(--maroon); }
}

/* ============================================================
   v26 — site-wide motion pass (additive)
   ============================================================ */

/* ---- stats band: always-on light sweep + lively "+" signs ------ */
.stats-band { position: relative; }
.stats-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.12) 50%, transparent 66%);
  background-size: 220% 100%; animation: bandShine 6.5s linear infinite;
}
@keyframes bandShine { 0% { background-position: 210% 0; } 100% { background-position: -110% 0; } }
.stats-grid { position: relative; z-index: 2; }

/* ---- service cards + boxes: enable 3D tilt (driven by enhance.js) */
.svc-card, .bls-box { transform-style: preserve-3d; }

/* ---- CTA band: gently shifting gradient ------------------------- */
.cta-inner {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-bright), var(--maroon-deep), var(--maroon-bright));
  background-size: 300% 300%; animation: ctaGrad 12s ease infinite;
}
@keyframes ctaGrad { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---- tools band: slow gradient drift --------------------------- */
.tools { background-size: 200% 200%; animation: ctaGrad 8s ease infinite; }

/* ---- timeline node pops in with its item ----------------------- */
.tl-item .tl-node { transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s; }
.tl-item.reveal:not(.in) .tl-node { transform: scale(.5); }

/* ---- footer social gentle hover already; add reveal support ---- */
.foot-col.reveal, .foot-brand.reveal { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  .stats-band::after, .cta-inner, .tools { animation: none; }
  .tl-item.reveal:not(.in) .tl-node { transform: none; }
}

/* ============================================================
   v28 — clean hero globe: no logo, no glow/shadow behind it,
   a bit larger. Matches the reference's plain look.
   ============================================================ */
.hero-visual { height: 500px; }
@media (max-width: 1024px) { .hero-visual { height: 430px; } }
@media (max-width: 680px)  { .hero-visual { height: 340px; } }

/* ============================================================
   v29 — premium "What We Do" service cards
   ============================================================ */
.svc-card {
  padding: 34px 30px 30px;
  border-radius: 22px;
  box-shadow: 0 16px 44px -30px rgba(22,24,28,.4);
}
/* larger, more elegant number watermark */
.svc-num { top: 24px; right: 28px; font-size: 2.15rem; opacity: .85; }
/* refined icon chip */
.svc-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(122,18,38,.15), rgba(160,29,51,.04));
  box-shadow: inset 0 0 0 1px rgba(122,18,38,.12);
}
.svc-icon svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 1.34rem; letter-spacing: -.01em; }
.svc-card .more { margin-top: 22px; letter-spacing: .02em; }

/* richer, smoother hover fill + deeper lift */
.svc-card:hover {
  transform: translateY(-12px);
  background: linear-gradient(150deg, var(--maroon-deep), var(--maroon-bright) 88%);
  box-shadow: 0 44px 74px -30px rgba(122,18,38,.62);
}
.svc-card:hover .svc-num { opacity: 1; }

/* diagonal light sheen that glides across on hover */
.svc-sheen {
  position: absolute; top: 0; left: -65%; width: 45%; height: 100%; z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-16deg); pointer-events: none; opacity: 0;
}
.svc-card:hover .svc-sheen { animation: svcSheen .95s var(--ease); }
@keyframes svcSheen {
  0% { left: -65%; opacity: 0; }
  18% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .svc-card:hover .svc-sheen { animation: none; } }

@media (max-width: 680px) { .svc-card { padding: 28px 24px; border-radius: 18px; } }

/* ============================================================
   v33 — interactive hover on the stat items
   ============================================================ */
.stat { border-radius: 14px; cursor: default;
  transition: transform .45s var(--ease), background .35s var(--ease); }
.stat .num { display: inline-block; position: relative;
  transition: transform .45s var(--ease), text-shadow .4s var(--ease); }
.stat .num::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px; background: #f0d9c9; transition: width .45s var(--ease);
}
.stat .label { transition: color .3s var(--ease), letter-spacing .3s var(--ease); }
.stat:hover { transform: translateY(-8px); background: rgba(255,255,255,.08); box-shadow: 0 22px 44px -26px rgba(0,0,0,.55); }
.stat:hover .num { transform: scale(1.09); text-shadow: 0 12px 28px rgba(0,0,0,.32); }
.stat:hover .num::after { width: 48px; }
.stat:hover .label { color: #fff; letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) {
  .stat, .stat .num, .stat .num::after, .stat .label { transition: none; }
  .stat:hover { transform: none; }
  .stat:hover .num { transform: none; text-shadow: none; }
  .stat:hover .num::after { width: 0; }
}

/* ============================================================
   v36 — "What We Do" cards: premium circular icon badge + clean index
   ============================================================ */
/* icon is now a filled circular badge with a soft maroon glow + white glyph */
.svc-icon {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--maroon), var(--maroon-bright));
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(122,18,38,.65), inset 0 0 0 1px rgba(255,255,255,.14);
}
.svc-icon svg { width: 27px; height: 27px; stroke-width: 1.85; }
/* on hover the card fills maroon, so the badge inverts to white with a maroon glyph */
.svc-card:hover .svc-icon {
  background: #fff; color: var(--maroon); transform: translateY(-2px) scale(1.08);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.7);
}
/* cleaner, smaller index (head font instead of the large italic) */
.svc-num {
  top: 26px; right: 26px; font-family: var(--font-head); font-style: normal;
  font-weight: 700; font-size: .92rem; letter-spacing: .14em; color: var(--gray-300); opacity: 1;
}
.svc-card:hover .svc-num { color: rgba(255,255,255,.85); }

/* ============================================================
   v37 — extra polish on the service cards (crafted details)
   ============================================================ */
/* crafted ring around the icon badge that expands on hover */
.svc-icon { position: relative; }
.svc-icon::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(122,18,38,.20); pointer-events: none;
  transition: inset .45s var(--ease), border-color .45s var(--ease), opacity .45s;
}
.svc-card:hover .svc-icon::after { inset: -9px; border-color: rgba(255,255,255,.45); }

/* hover fill gains a soft top-light so it reads with depth, not flat */
.svc-card:hover {
  background:
    radial-gradient(130% 100% at 28% -15%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(150deg, var(--maroon-deep), var(--maroon-bright) 88%);
}

/* premium arrow — sits in a circle that nudges + fills on hover */
.svc-card .more { gap: 10px; }
.svc-card .more span {
  display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%;
  border: 1px solid currentColor; font-size: 12px; line-height: 1;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.svc-card:hover .more span { transform: translateX(4px); background: #fff; color: var(--maroon); border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .svc-icon::after, .svc-card .more span { transition: none; }
}

/* ============================================================
   v38 — compact contact form: whole form + submit fit in one view
   ============================================================ */
.contact { padding: 60px 0; }
.contact-wrap { gap: 48px; align-items: center; }
form.lead-form { padding: 26px 26px; border-radius: 18px; }
.lead-form .form-row { gap: 14px; }
.lead-form .field { margin-bottom: 12px; }
.lead-form .field label { margin-bottom: 5px; }
.lead-form input, .lead-form select, .lead-form textarea {
  padding: 10px 13px; font-size: 14.5px; border-radius: 10px;
}
.lead-form textarea { min-height: 76px; }
.lead-form .btn-block { padding: 13px; }
.lead-form .form-note { margin-top: 8px; }
.lead-form .form-status { margin-top: 8px; }
@media (max-width: 680px) {
  .contact { padding: 44px 0; }
  form.lead-form { padding: 22px 18px; }
  .lead-form textarea { min-height: 70px; }
}

/* ============================================================
   What We Do — Editorial Bento Mosaic (services grid, v49)
   Asymmetric tiles in Shomi's maroon/cream brand. Clicking a
   tile still opens the existing service modal (see main.js).
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 18px; }
.bcell { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--gray-200);
  background: #fff; padding: 26px 28px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .35s; }
.bcell:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(122,18,38,.45); border-color: transparent; }
.bcell .b-n { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-style: italic;
  font-weight: 700; font-size: 1.5rem; color: var(--gray-300); transition: color .35s; }
.bcell .b-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); color: var(--maroon);
  display: grid; place-items: center; margin-bottom: auto; transition: transform .45s var(--ease), background .35s, color .35s; }
.bcell .b-ico svg { width: 25px; height: 25px; }
.bcell:hover .b-ico { transform: rotate(-6deg) scale(1.06); }
.bcell h3 { font-size: 1.28rem; margin: 16px 0 .2em; transition: color .35s; }
.bcell p { color: var(--gray-500); font-size: 14px; margin: 0; line-height: 1.55; transition: color .35s; max-width: 34ch; }
.bcell .b-more { margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--maroon);
  display: inline-flex; align-items: center; gap: 7px; opacity: 0; transform: translateY(6px); transition: .35s; }
.bcell .b-more span { transition: transform .3s; }
.bcell:hover .b-more { opacity: 1; transform: none; }
.bcell:hover .b-more span { transform: translateX(4px); }
/* tile sizes */
.b-lg { grid-column: span 2; grid-row: span 2; }
.b-wide { grid-column: span 2; }
/* featured maroon tiles */
.bcell.b-fill { background: linear-gradient(150deg, var(--maroon-deep), var(--maroon-bright) 78%); border-color: transparent; color: #fff; }
.bcell.b-fill::after { content: ""; position: absolute; top: -80px; right: -50px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; }
.bcell.b-fill .b-n { color: rgba(255,255,255,.35); }
.bcell.b-fill .b-ico { background: rgba(255,255,255,.14); color: #fff; }
.bcell.b-fill h3 { color: #fff; }
.bcell.b-fill p { color: rgba(255,255,255,.8); max-width: 42ch; font-size: 14.5px; }
.bcell.b-fill .b-more { color: #fff; }
.bcell.b-lg h3 { font-size: 2rem; max-width: 14ch; }
/* cream accent tile */
.bcell.b-cream { background: var(--cream); border-color: var(--cream-2); }
/* reveal stagger for the mosaic */
.bento > .reveal:nth-child(2) { transition-delay: .05s; }
.bento > .reveal:nth-child(3) { transition-delay: .10s; }
.bento > .reveal:nth-child(4) { transition-delay: .15s; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .b-lg { grid-column: span 2; grid-row: span 1; }
  .b-wide { grid-column: span 2; }
  .bcell.b-lg h3 { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bcell { grid-column: span 1 !important; grid-row: span 1 !important; min-height: 172px; padding: 24px 22px; }
  .bcell.b-lg h3 { font-size: 1.5rem; }
}

/* ============================================================
   What We Do — Interactive Feature Showcase (services, v50)
   List of services (left) + live preview panel (right). Hover or
   tap a row to update the panel. Collapses to an accordion on mobile.
   ============================================================ */
.showcase { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; margin-top: 0; align-items: start; }
.sc-list { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); }
.sc-row { display: flex; align-items: center; gap: 16px; padding: clamp(7px, 1.2vh, 12px) 8px; border: 0; border-bottom: 1px solid var(--gray-200);
  cursor: pointer; position: relative; transition: padding .35s var(--ease), color .3s; background: none; text-align: left; width: 100%; font-family: inherit; }
.sc-row .sc-n { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.05rem; color: var(--gray-400); width: 34px; flex-shrink: 0; transition: color .3s; }
.sc-row .sc-t { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); transition: color .3s; flex: 1; }
.sc-row .sc-a { margin-left: auto; color: var(--gray-300); transition: transform .35s var(--ease), color .3s; font-size: 18px; }
.sc-row::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; border-radius: 3px; background: var(--maroon); transform: scaleY(0); transition: transform .35s var(--ease); }
.sc-row:hover { padding-left: 20px; }
.sc-row.active { padding-left: 20px; }
.sc-row.active::before { transform: scaleY(1); }
.sc-row.active .sc-n { color: var(--maroon); }
.sc-row.active .sc-t { color: var(--maroon); }
.sc-row.active .sc-a { color: var(--maroon); transform: translateX(3px); }

.sc-panel { position: sticky; top: 92px; background: linear-gradient(160deg, var(--cream), #fff 70%); border: 1px solid var(--gray-200);
  border-radius: 24px; padding: 30px 38px 28px; min-height: 0; overflow: hidden; }
.sc-panel::after { content: ""; position: absolute; top: -90px; right: -70px; width: 240px; height: 240px; border: 1px solid rgba(122,18,38,.10); border-radius: 50%; }
.sc-watermark { position: absolute; right: 38px; bottom: 14px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 7rem; line-height: 1; color: rgba(122,18,38,.06); pointer-events: none; user-select: none; }
.sc-ico { width: 54px; height: 54px; border-radius: 15px; background: var(--maroon); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(122,18,38,.7); position: relative; z-index: 2; }
.sc-ico svg { width: 26px; height: 26px; }
.sc-panel h3 { font-size: 1.7rem; margin: 18px 0 .2em; position: relative; z-index: 2; }
.sc-panel .sc-lead { color: var(--gray-500); font-size: .95rem; max-width: 52ch; margin: 0 0 18px; position: relative; z-index: 2; }
.sc-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; position: relative; z-index: 2; }
.sc-points li { display: flex; gap: 11px; align-items: baseline; color: var(--gray-700); font-size: 14px; }
.sc-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); flex-shrink: 0; transform: translateY(-1px); }
.sc-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; background: var(--maroon); padding: 12px 24px; border-radius: 999px; text-decoration: none; position: relative; z-index: 2; transition: .3s; }
.sc-cta:hover { background: var(--maroon-bright); transform: translateY(-2px); }
.sc-cta span { transition: transform .3s; }
.sc-cta:hover span { transform: translateX(4px); }
.sc-fade { animation: scFade .4s var(--ease); }
@keyframes scFade { from { opacity: 0; transform: translateY(10px); } }
.sc-mobile { display: none; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 10px; }
  .sc-panel { display: none; }
  .sc-row { flex-wrap: wrap; }
  .sc-mobile { display: none; flex-basis: 100%; padding: 4px 0 18px 50px; }
  .sc-row.open .sc-mobile { display: block; animation: scFade .35s var(--ease); }
  .sc-row.open .sc-a { transform: rotate(90deg); color: var(--maroon); }
  .sc-row.open .sc-n, .sc-row.open .sc-t { color: var(--maroon); }
  .sc-mobile p { color: var(--gray-500); font-size: 14.5px; margin: 0 0 12px; }
  .sc-mobile ul { margin: 0; padding-left: 18px; color: var(--gray-700); font-size: 14px; }
  .sc-mobile li { margin-bottom: 5px; }
}
@media (min-width: 901px) and (max-height: 820px) {
  #services .section-head h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
  #services .section-head .intro { display: none; }
  .sc-row { padding-top: 6px; padding-bottom: 6px; }
  .sc-row .sc-t { font-size: .95rem; }
  .sc-panel { padding: 24px 32px 22px; }
}
@media (prefers-reduced-motion: reduce) { .sc-fade { animation: none; } }
