/* =========================================================
   Techmedia — Hi-Fi Redesign
   Design tokens lifted from the Figma design system:
   ink #141416 · brand #C8141A · bright #ED1F24 · coral #F36F73
   light #F6F6F7 · border #E7E7EA
   Type: Anton (display) · Archivo (headings) · Hanken Grotesk (body)
   ========================================================= */

:root {
  --ink: #141416;
  --ink-2: #1c1c20;
  --brand: #C8141A;
  --bright: #ED1F24;
  --coral: #F36F73;
  --bg-light: #F6F6F7;
  --border: #E7E7EA;
  --muted: #5A5E66;
  --muted-2: #9AA0A8;
  --line-dark: #2C2E35;
  --maxw: 1180px;
  --display: 'Anton', sans-serif;
  --head: 'Archivo', sans-serif;
  --body: 'Hanken Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Motion identity ---------------------------------------------
   Scroll-reveal: elements rise + fade once. Stagger is set per-item in JS
   via --rd (reveal delay). Everything resolves instantly under
   prefers-reduced-motion (see block at the end of this file). ---------- */
.reveal { opacity: 0; }
.reveal.in {
  animation: reveal-rise .72s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms) both;
  will-change: opacity, transform;
}
/* Once the rise finishes JS swaps to .shown and drops .in, so the animation's
   fill state can't pin `transform` and override component hover lifts. */
.reveal.shown { opacity: 1; }
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  margin: 0;
  background: #fff;
  font-family: var(--body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow label (red square + tracked uppercase) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow .tick {
  width: 9px; height: 9px;
  background: var(--brand);
  display: block;
  flex-shrink: 0;
}
.eyebrow.light .tick { background: var(--bright); }
.eyebrow.white .tick { background: #fff; }
.eyebrow.on-dark { color: #C7CCD3; }
.eyebrow.on-light { color: var(--muted); }
.eyebrow.on-red { color: #FFDADB; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; padding: 14px 22px; }
.btn-primary:hover { background: var(--bright); }
.btn-outline-light {
  color: #fff; padding: 13px 21px;
  box-shadow: inset 0 0 0 1.5px #5A5E66;
}
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline-dark {
  color: var(--ink); padding: 11px 18px; font-size: 14px;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn span { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; border-radius: 2px; }

/* ---------- Section helpers ---------- */
.section { padding: 88px 0; }
.section-dark { background: var(--ink); }
.section-light { background: var(--bg-light); }
.section-red { background: var(--brand); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 42px;
}
h1, h2, h3 { margin: 0; }
.h-display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: #fff;
}
.h-section {
  font-family: var(--head);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.12;
  color: var(--ink);
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,20,22,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; flex-shrink: 0;
}
.brand-logo .brand-img { height: 32px; width: auto; display: block; }
.site-footer .brand-logo .brand-img { height: 30px; }
@media (max-width: 620px) { .brand-logo .brand-img { height: 28px; } }
.brand-logo .mark { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.brand-logo .bar { display: block; width: 46px; height: 4px; background: var(--bright); }
.brand-logo .tech {
  font-family: var(--display); font-size: 25px; line-height: 1;
  letter-spacing: 0.02em; color: #fff;
}
.brand-logo .media {
  font-family: var(--body); font-weight: 500; font-size: 14px;
  color: #C9CCD1; margin-bottom: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative;
  font-family: var(--body); font-weight: 500; font-size: 14.5px;
  color: #C7CCD3; text-decoration: none;
  padding-bottom: 3px;
  transition: color .15s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px; cursor: pointer; color: #fff; font-size: 18px;
}
.mobile-menu {
  display: none;
  flex-direction: column; gap: 20px;
  padding: 24px 32px 32px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--head); font-weight: 700; font-size: 20px;
  color: #fff; text-decoration: none;
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-burger { display: inline-flex !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero .container { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 96px; }

/* Ambient: a faint signal grid drifting under a soft red glow — the
   "control room" the agency works in. Purely atmospheric, behind content. */
.hero-atmos { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-atmos .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 72% 18%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 72% 18%, #000 0%, transparent 72%);
  animation: grid-drift 26s linear infinite;
}
.hero-atmos .glow {
  position: absolute; top: -22%; right: -8%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(237,31,36,0.30) 0%, rgba(200,20,26,0.10) 38%, transparent 70%);
  filter: blur(8px);
  animation: glow-pulse 7s ease-in-out infinite;
}
.hero-atmos .glow.b {
  top: auto; bottom: -30%; right: auto; left: -12%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(243,111,115,0.16) 0%, transparent 68%);
  animation-duration: 9s;
}
@keyframes grid-drift { to { background-position: 46px 46px, 46px 46px; } }
@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.07); }
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.h-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-copy h1 { font-size: 58px; max-width: 600px; }
.hero-copy p {
  margin: 0; max-width: 540px;
  font-size: 17.5px; line-height: 1.65; color: #C8CCD3;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(150deg,#1d1d20,#26262b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 30px 70px rgba(0,0,0,0.5);
  padding: 16px;
}
.hero-visual .frame img {
  border-radius: 14px;
  width: 100%; height: auto;
  display: block;
}
.hero-badge {
  position: absolute; right: -10px; bottom: -18px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 2px;
  animation: badge-float 5.5s ease-in-out infinite;
}
.hero-badge .num {
  font-family: var(--head); font-weight: 900; font-size: 28px;
  color: var(--brand); line-height: 1;
}
.hero-badge .lbl { font-size: 12px; color: var(--muted); }

/* =========================================================
   SERVICES BENTO
   ========================================================= */
.bento { display: flex; flex-direction: column; gap: 20px; }
.bento-2 { display: grid; grid-template-columns: 1.52fr 1fr; gap: 20px; }
.bento-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.svc-feature {
  text-decoration: none;
  border-radius: 14px;
  padding: 30px;
  min-height: 236px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .15s ease;
}
.svc-feature.dark { background: var(--ink); }
.svc-feature.dark:hover { background: var(--ink-2); }
.svc-feature.red { background: var(--brand); }
.svc-feature.red:hover { background: var(--bright); }
.svc-feature .idx { font-family: var(--head); font-weight: 900; font-size: 15px; letter-spacing: 0.06em; }
.svc-feature.dark .idx { color: var(--coral); }
.svc-feature.red .idx { color: #fff; }
.svc-feature .title { display: block; font-family: var(--head); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 10px; }
.svc-feature .desc { display: block; font-size: 15px; line-height: 1.5; max-width: 520px; }
.svc-feature.dark .desc { color: var(--muted-2); }
.svc-feature.red .desc { color: #FFDADB; max-width: 380px; }
.svc-feature .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14px; color: #fff; }

.svc-card {
  text-decoration: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
  padding: 24px;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: box-shadow .15s ease, transform .15s ease;
}
.svc-card:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.svc-card .idx { font-family: var(--head); font-weight: 900; font-size: 12.5px; letter-spacing: 0.06em; color: var(--brand); }
.svc-card .title { display: block; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.svc-card .desc { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* =========================================================
   STATS BAND
   ========================================================= */
.stat-row {
  display: flex; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-family: var(--head); font-weight: 900; font-size: 40px; color: #fff; line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--muted-2); }

/* =========================================================
   WORK / PORTFOLIO CARDS
   ========================================================= */
.work-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.work-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.work-card {
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--border);
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.work-card .thumb { position: relative; height: 220px; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92); border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--head); font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.work-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.work-card .body .name { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); }
.work-card .body .desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.work-card .body .metric { font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* Portfolio filter chips */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  font-family: var(--body); font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--border);
  transition: all .15s ease;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.active { background: var(--ink); color: #fff; box-shadow: none; }

/* =========================================================
   CONTACT CTA / FORMS
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact-copy h2 { font-size: 46px; max-width: 560px; }
.contact-copy p { margin: 0; max-width: 500px; font-size: 17px; line-height: 1.6; color: #FFE2E3; }
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-info .row { display: flex; flex-direction: column; gap: 2px; }
.contact-info .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #FFB9BB; }
.contact-info .v { font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; }

.form-card { background: #fff; border-radius: 22px; padding: 30px; }
.form-card h3 { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--body); font-size: 15px;
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid #E0E3E8; outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 84px; }
.field .err { color: var(--brand); font-size: 12.5px; font-weight: 500; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--brand); }
.field.invalid .err { display: block; }
.form .submit { margin-top: 4px; border-radius: 8px; padding: 15px; font-size: 15px; justify-content: center; }
.form-success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 30px 0; }
.form-success .t { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); }
.form-success .s { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero { background: var(--ink); }
.page-hero .container { padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-size: 50px; max-width: 760px; }
.page-hero p { margin: 14px 0 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: #C8CCD3; }

/* Process steps (Services) */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--head); font-weight: 900; font-size: 13px; color: var(--brand); letter-spacing: .06em; }
.step .t { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.step .d { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Value cards (About) */
.value-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { border-radius: 14px; padding: 28px; background: var(--bg-light); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: 10px; }
.value-card .t { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); }
.value-card .d { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); padding: 70px 0 40px; }
.site-footer .inner { display: flex; flex-direction: column; gap: 44px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 16px; }
.foot-col.intro { max-width: 340px; }
.foot-col.intro p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.foot-col.intro .tag { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--coral); }
.foot-col .head { font-family: var(--head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.foot-col a, .foot-col .line { font-size: 14px; color: var(--muted-2); text-decoration: none; line-height: 1.5; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-rule { height: 1px; background: var(--line-dark); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom .copy { font-size: 13px; color: #6B7079; }
.foot-bottom .social { font-weight: 500; font-size: 13px; color: var(--muted-2); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .h-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento-2, .bento-3, .work-3, .value-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: 44px; }
  .h-section { font-size: 30px; }
  .contact-copy h2 { font-size: 36px; }
  .page-hero h1 { font-size: 38px; }
  .hero-badge { right: 10px; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .stat .num { font-size: 32px; }
}

/* =========================================================
   CAPABILITY TICKER — the signature moving band
   ========================================================= */
.ticker {
  background: var(--brand);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 6px;
}
.ticker-sep {
  display: inline-block;
  width: 7px; height: 7px;
  background: rgba(255,255,255,0.55);
  margin: 0 26px;
  transform: rotate(45deg);
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* count-up numbers stay metrically stable while animating */
.stat .num { font-variant-numeric: tabular-nums; }

/* =========================================================
   CREDO BAND (replaces fabricated stats — truthful brand line)
   ========================================================= */
.credo { background: var(--ink); padding: 86px 0; }
.credo-inner { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.credo .eyebrow { justify-content: center; }
.credo h2 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1.06; letter-spacing: .01em; color: #fff; }
.credo p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--muted-2); }

/* =========================================================
   PROSE — corporate body copy for service / job detail
   ========================================================= */
.prose { max-width: 720px; color: #2b2d33; font-size: 16.5px; line-height: 1.75; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--brand); }
.prose h3 { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); margin: 30px 0 12px; }

/* =========================================================
   SERVICE DETAIL
   ========================================================= */
.detail-hero { background: var(--ink); }
.detail-hero .container { padding-top: 70px; padding-bottom: 70px; }
.detail-hero .idx { font-family: var(--head); font-weight: 900; font-size: 14px; letter-spacing: .08em; color: var(--coral); }
.detail-hero h1 { font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1.05; color: #fff; margin: 12px 0 0; max-width: 760px; }
.detail-hero p { margin: 16px 0 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: #C8CCD3; }
.detail-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; }

.svc-list-aside { display: flex; flex-direction: column; gap: 4px; }
.svc-list-aside a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; box-shadow: inset 0 0 0 1px var(--border); transition: all .15s; }
.svc-list-aside a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc-list-aside a.current { background: var(--ink); color: #fff; box-shadow: none; }
.svc-list-aside a .i { font-family: var(--head); font-weight: 900; font-size: 12px; opacity: .7; }

/* =========================================================
   PRICING PLANS
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.plan-card { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan-card.featured { background: var(--ink); box-shadow: none; }
.plan-card.featured * { color: #fff; }
.plan-card .pname { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.plan-card.featured .pname { color: #fff; }
.plan-card .price { font-family: var(--head); font-weight: 900; font-size: 32px; color: var(--ink); line-height: 1; }
.plan-card.featured .price { color: #fff; }
.plan-card .period { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan-card.featured .period { color: var(--muted-2); }
.plan-card .blurb { font-size: 14px; line-height: 1.5; color: var(--muted); }
.plan-card.featured .blurb { color: var(--muted-2); }
.plan-card .pdivider { height: 1px; background: var(--border); }
.plan-card.featured .pdivider { background: rgba(255,255,255,.14); }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-card ul li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: #3a3d44; }
.plan-card.featured ul li { color: #D4D7DD; }
.plan-card ul li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; background: var(--brand); }
.plan-card.featured ul li::before { background: var(--bright); }
.plan-tag { display: inline-block; align-self: flex-start; font-family: var(--head); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: #FBE3E4; padding: 4px 10px; border-radius: 999px; }
.plan-card.featured .plan-tag { color: var(--ink); background: #fff; }

/* =========================================================
   CAREERS
   ========================================================= */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; padding: 26px 28px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); text-decoration: none; transition: box-shadow .18s, transform .18s; }
.job-card:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.job-card .jtitle { font-family: var(--head); font-weight: 700; font-size: 21px; color: var(--ink); }
.job-card .jmeta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.job-card .jsum { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.chip-static { font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: var(--bg-light); box-shadow: inset 0 0 0 1px var(--border); }
.job-card .go { font-weight: 600; font-size: 14.5px; color: var(--brand); white-space: nowrap; }
.job-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.apply-card { background: var(--bg-light); border-radius: 22px; padding: 28px; box-shadow: inset 0 0 0 1px var(--border); position: sticky; top: 96px; }
.apply-card h3 { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink); margin: 0 0 4px; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.work-card[data-lightbox] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(12,12,14,0.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: lb-fade .2s ease; }
.lightbox-stage { position: relative; z-index: 1; margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; gap: 14px; animation: lb-pop .24s cubic-bezier(.2,.7,.2,1); }
.lightbox-stage img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #0E1013; }
.lightbox-stage figcaption { display: flex; flex-direction: column; gap: 3px; color: #fff; }
.lightbox-stage .lb-cat { font-family: var(--head); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.lightbox-stage .lb-title { font-family: var(--head); font-weight: 700; font-size: 19px; }
.lightbox-close { position: absolute; top: 22px; right: 26px; z-index: 2; width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .15s; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .15s; }
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .plans, .plans.two { grid-template-columns: 1fr; max-width: none; }
  .credo h2 { font-size: 32px; }
  .detail-hero h1 { font-size: 34px; }
  .job-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .apply-card { position: static; }
  .job-card { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .detail-layout > aside { display: none; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}

/* =========================================================
   DEPTH PASS
   Adds dimensionality within the existing system — same palette,
   type and layout; only deeper shadows, layering and interaction
   feedback. Every transform/animation here is neutralised in the
   reduced-motion block at the very end of this file.
   ========================================================= */

/* ---- Nav gains elevation + a hairline of brand light on scroll ---- */
.site-nav { transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.site-nav.scrolled {
  background: rgba(15,15,17,0.93);
  box-shadow: 0 16px 44px -16px rgba(0,0,0,0.6);
  border-bottom-color: rgba(237,31,36,0.22);
}

/* ---- Services dropdown ---- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--body); font-weight: 500; font-size: 14.5px;
  color: #C7CCD3; text-decoration: none; padding-bottom: 3px; cursor: pointer;
  transition: color .15s;
}
.nav-trigger::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-item:hover .nav-trigger,
.nav-item.open .nav-trigger,
.nav-trigger.active { color: #fff; }
.nav-item:hover .nav-trigger::after,
.nav-item.open .nav-trigger::after,
.nav-trigger.active::after { transform: scaleX(1); }
.nav-trigger .caret {
  width: 7px; height: 7px; margin-bottom: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .65;
  transition: transform .25s ease, opacity .15s;
}
.nav-item:hover .nav-trigger .caret,
.nav-item.open .nav-trigger .caret { transform: rotate(-135deg); opacity: 1; }

.nav-menu {
  position: absolute; top: 100%; left: 50%;
  width: 360px; margin-top: 14px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(22,22,25,0.97);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  box-shadow: 0 34px 80px -24px rgba(0,0,0,0.78), inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.7,.2,1), visibility .2s;
  z-index: 120;
}
/* invisible bridge so hover survives the gap between trigger and panel */
.nav-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
/* pointer notch */
.nav-menu::after {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: rgba(22,22,25,0.97);
  border-left: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid rgba(255,255,255,0.09);
}
.nav-item:hover .nav-menu,
.nav-item.open .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu-grid { display: flex; flex-direction: column; gap: 2px; max-height: 64vh; overflow-y: auto; }
.nav-menu-link {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 11px 13px; border-radius: 10px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.nav-menu-link:hover { background: rgba(255,255,255,0.06); }
.nav-menu-link .nm-idx {
  flex-shrink: 0; min-width: 26px; padding-top: 2px;
  font-family: var(--head); font-weight: 900; font-size: 12px;
  letter-spacing: .04em; color: var(--coral);
}
.nav-menu-link .nm-body { display: flex; flex-direction: column; gap: 2px; }
.nav-menu-link .nm-title { font-family: var(--head); font-weight: 700; font-size: 14.5px; color: #fff; }
.nav-menu-link .nm-desc {
  font-size: 12.5px; line-height: 1.45; color: var(--muted-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nav-menu-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px; padding: 12px 14px; border-radius: 10px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: 13.5px;
  transition: background .15s ease;
}
.nav-menu-foot:hover { background: var(--bright); }
.nav-menu-foot span { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.nav-menu-foot:hover span { transform: translateX(4px); }

/* mobile submenu under the Services link */
.mobile-sub {
  display: flex; flex-direction: column; gap: 14px;
  padding: 2px 0 6px 16px; margin-top: -6px;
  border-left: 2px solid rgba(255,255,255,0.12);
}
.mobile-sub a {
  font-family: var(--body) !important; font-weight: 500 !important;
  font-size: 15px !important; color: var(--muted-2) !important;
}

/* ---- Cards: lift + layered shadow so they sit above the page ---- */
.svc-card { transition: box-shadow .2s ease, transform .2s ease; }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 22px 44px -22px rgba(20,20,22,0.45);
}
.svc-feature { transition: background .15s ease, transform .2s ease, box-shadow .2s ease; }
.svc-feature:hover { transform: translateY(-4px); box-shadow: 0 28px 54px -26px rgba(0,0,0,0.6); }
.value-card { transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--border), 0 22px 42px -24px rgba(20,20,22,0.4);
}
.plan-card { transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:not(.featured):hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 24px 46px -24px rgba(20,20,22,0.45);
}
.plan-card.featured { box-shadow: 0 32px 64px -32px rgba(200,20,26,0.5); }
.work-card:hover { box-shadow: 0 28px 52px -22px rgba(20,20,22,0.32); }
.svc-list-aside a { transition: color .15s, box-shadow .15s, transform .15s, background .15s; }
.svc-list-aside a:hover { transform: translateX(3px); }
.job-card:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 22px 42px -24px rgba(20,20,22,0.32); }

/* ---- Primary button: a touch of elevation ---- */
.btn-primary { box-shadow: 0 10px 24px -12px rgba(200,20,26,0.65); }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(237,31,36,0.7); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* ---- Hero: a floor gradient + frame that floats on hover ---- */
.hero-atmos .floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.hero-visual .frame { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.hero-visual:hover .frame {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), 0 44px 96px rgba(0,0,0,0.62);
}

/* =========================================================
   WHATSAPP FLOATING BUBBLE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1500;
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-float .wa-btn {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.7), 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease;
}
.wa-float .wa-btn svg { width: 32px; height: 32px; fill: #fff; }
/* expanding ring */
.wa-float .wa-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover .wa-btn {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px -8px rgba(37,211,102,.8), 0 8px 20px rgba(0,0,0,.3);
}
.wa-float .wa-label {
  background: #fff; color: var(--ink);
  font-family: var(--body); font-weight: 600; font-size: 14px;
  padding: 9px 14px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 620px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float .wa-label { display: none; }
  .wa-float .wa-btn { width: 54px; height: 54px; }
}

/* =========================================================
   REDUCED MOTION — resolve everything to its final state
   (kept last so it overrides all motion rules above)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-atmos .grid,
  .hero-atmos .glow,
  .hero-badge,
  .ticker-track { animation: none !important; }
  .work-card:hover { transform: none; }
  .work-card .thumb img { transition: none; }
  .svc-card:hover, .svc-feature:hover, .value-card:hover, .plan-card:hover,
  .job-card:hover, .svc-list-aside a:hover, .btn-primary:hover,
  .hero-visual:hover .frame { transform: none !important; }
  .nav-menu { transition: opacity .15s ease, visibility .15s ease !important; }
  .wa-float .wa-btn::before { animation: none !important; }
  .wa-float:hover .wa-btn { transform: none !important; }
  * { scroll-behavior: auto !important; }
}
