/* ============================================================
   ONEWAY OPS — Shared Stylesheet
   Brand: Signal #00C3FF | Background #080808 | Text #EFEFEF
   Font: Inter 900 headings / Inter 400–500 body
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── TOKENS ── */
:root {
  --bg:       #080808;
  --bg-c:     #0C0C0C;
  --bg-e:     #111111;
  --bd:       #1C1C1C;
  --bd-s:     #141414;
  --t1:       #EFEFEF;
  --t2:       #888888;
  --t3:       #3A3A3A;
  --signal:   #00C3FF;
  --signal-d: rgba(0,195,255,.08);
  --signal-b: rgba(0,195,255,.22);

  --radius:   12px;
  --radius-s: 8px;
  --nav-h:    64px;
  --wrap:     1000px;
  --wrap-n:   1100px;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--t1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.wrap   { max-width: var(--wrap);   margin: 0 auto; padding: 0 40px; }
.wrap-n { max-width: var(--wrap-n); margin: 0 auto; padding: 0 40px; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--t3);
}
.eyebrow-signal {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--signal);
}
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

/* ── NAV ── */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd-s);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-mark svg { display: block; }
.nav-wordmark {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--t1);
}

/* ── MOBILE MENU ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--t1);
}
.nav-hamburger svg { display: block; }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  bottom: 0;
  background: rgba(8,8,8,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--t2);
  padding: 16px 0;
  border-bottom: 1px solid var(--bd-s);
  transition: color .15s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--t1); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  text-align: center;
}
.mobile-menu .mobile-lang {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--t1); }
.nav-links a.active { color: var(--t1); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-toggle .lang-sep { color: var(--t3); }
.lang-opt { color: var(--t2); text-decoration: none; transition: color 0.15s; }
.lang-opt:hover { color: var(--t1); }
.lang-opt.active { color: var(--signal); pointer-events: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: 10px 20px;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--signal);
  color: #050E14;
}
.btn-primary:hover { opacity: .88; }

.btn-ghost {
  background: transparent;
  color: var(--t1);
  border: 1px solid var(--bd);
}
.btn-ghost:hover { border-color: #3A3A3A; background: rgba(255,255,255,.03); }

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
}

.btn-xl {
  font-size: 16px;
  padding: 16px 36px;
  border-radius: var(--radius);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  overflow: hidden;
  text-align: center;
}

/* Cursor-reactive ambient glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at var(--mx, 50%) var(--my, 50%),
    rgba(0,195,255,.04) 0%,
    transparent 65%
  );
  pointer-events: none;
  transition: background .1s;
}

/* Premium bloom — fires on page load */
.hero-bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 48% at 50% 52%,
      rgba(255,255,255,.06) 0%, rgba(255,255,255,.018) 40%, transparent 68%),
    radial-gradient(ellipse 44% 28% at 50% 50%,
      rgba(255,255,255,.04) 0%, transparent 55%);
  opacity: 0;
  animation: bloomGlow 3.4s cubic-bezier(.4,0,.2,1) .3s forwards;
}

@keyframes bloomGlow {
  0%   { opacity: 0; }
  14%  { opacity: 1; }
  52%  { opacity: .9; }
  100% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  opacity: 0;
  animation: contentArrive 1.6s cubic-bezier(.25,.46,.45,.94) .64s forwards;
}

@keyframes contentArrive {
  0%   { opacity: 0; filter: blur(4px); transform: translateY(14px); }
  60%  { opacity: 1; filter: blur(0);   transform: translateY(0); }
  100% { opacity: 1; filter: blur(0);   transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 20px;
  opacity: .8;
}

.hero-hl {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--t1);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--t2);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--t3);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  animation: fadeUp .6s 2.2s both;
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--t3));
  animation: scrollPulse 2s 2.5s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50% { opacity: .8; }
}

/* ── SECTION BASE ── */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--bd-s);
}
.section:first-of-type { border-top: none; }

.section-hdr {
  margin-bottom: 56px;
}
.section-hdr .eyebrow {
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--t2);
  max-width: 480px;
  line-height: 1.7;
}
.section-hdr.centered { text-align: center; }
.section-hdr.centered .section-sub { margin: 0 auto; }

/* ── PROBLEM SECTION ── */
.problem-statement {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 48px;
  max-width: 600px;
}
.problem-list {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 640px;
}
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--bd-s);
  font-size: 15px;
  color: var(--t2);
  line-height: 1.5;
}
.problem-list li:first-child { border-top: 1px solid var(--bd-s); }
.problem-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--t3);
  min-width: 24px;
  padding-top: 2px;
}
.problem-close {
  margin-top: 40px;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
  line-height: 1.3;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.service-card:hover { border-color: #2A2A2A; }
.service-card-icon {
  width: 40px;
  height: 40px;
  background: var(--signal-d);
  border: 1px solid var(--signal-b);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card-icon svg { color: var(--signal); }
.service-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--t1);
}
.service-card-body {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: -.01em;
}

/* ── CASE STUDY CARDS ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.case-card {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s;
}
.case-card:hover { border-color: #2A2A2A; }
.case-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-d);
  border: 1px solid var(--signal-b);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}
.case-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--t1);
  line-height: 1.25;
}
.case-body {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
  flex: 1;
}
.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-stack-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--t3);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bd);
  padding: 3px 9px;
  border-radius: 4px;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  transition: color .15s;
}
.case-link:hover { color: var(--t1); }

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  padding: 32px 28px;
  border-left: 1px solid var(--bd-s);
  position: relative;
}
.process-step:first-child { border-left: none; padding-left: 0; }
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--signal);
  margin-bottom: 12px;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
  margin-bottom: 10px;
  line-height: 1.2;
}
.step-body {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 120px 40px;
  border-top: 1px solid var(--bd-s);
}
.cta-section .section-title {
  max-width: 560px;
  margin: 16px auto;
}
.cta-section .section-sub {
  margin: 0 auto 40px;
}
.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--t3);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--bd-s);
  padding: 48px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .nav-wordmark { font-size: 14px; margin-bottom: 8px; }
.footer-tagline {
  font-size: 12px;
  color: var(--t3);
  letter-spacing: .06em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--t2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--t1); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--bd-s);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--t3); }
.footer-legal { font-size: 12px; color: var(--t3); text-decoration: none; }
.footer-legal:hover { color: var(--t2); }
.footer-email { font-size: 12px; color: var(--t2); }
.footer-email:hover { color: var(--t1); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  border-bottom: 1px solid var(--bd-s);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: 16px;
  color: var(--t2);
  max-width: 500px;
  line-height: 1.65;
}

/* ── SERVICES PAGE ── */
.service-tier {
  padding: 56px 0;
  border-bottom: 1px solid var(--bd-s);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.service-tier:last-of-type { border-bottom: none; }
.tier-meta { }
.tier-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-d);
  border: 1px solid var(--signal-b);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.tier-name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.tier-desc {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 24px;
}
.tier-price {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--t1);
  margin-bottom: 4px;
}
.tier-delivery {
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 24px;
}
.tier-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.5;
}
.tier-includes li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}
.faq-item {
  border-bottom: 1px solid var(--bd-s);
}
.faq-item:first-child { border-top: 1px solid var(--bd-s); }
.faq-q {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color .15s;
}
.faq-q:hover { color: var(--signal); }
.faq-q::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--t3);
  transition: transform .2s, color .15s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.faq-open .faq-q::after {
  content: '−';
  color: var(--signal);
}
.faq-a {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
  padding: 0 0 0 0;
}
.faq-item.faq-open .faq-a {
  max-height: 200px;
  opacity: 1;
  padding: 0 0 20px 0;
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.about-photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.about-intro { font-size: 17px; color: var(--t2); line-height: 1.7; }
.about-intro p { margin-bottom: 20px; }
.about-intro p:last-child { margin-bottom: 0; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.stack-pill {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: -.01em;
  text-align: center;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.value-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--bd-s);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}
.value-item:first-child { border-top: 1px solid var(--bd-s); }
.value-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
  padding-top: 2px;
}
.value-text {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.65;
}

/* ── BOOK PAGE ── */
.book-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  padding-top: 40px;
}
.book-sidebar h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.book-sidebar p {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 32px;
}
.book-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.5;
}
.book-points li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.calendly-box {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  overflow: hidden;
}
.calendly-inline-widget {
  border-radius: var(--radius);
}

/* ── SCROLL REVEAL SYSTEM ── */

/* Base: hidden until revealed */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
  will-change: opacity, transform;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
[data-reveal="left"] {
  transform: translateX(-28px) translateY(0);
}
[data-reveal="left"].in-view {
  transform: translateX(0) translateY(0);
}

/* Slide from right */
[data-reveal="right"] {
  transform: translateX(28px) translateY(0);
}
[data-reveal="right"].in-view {
  transform: translateX(0) translateY(0);
}

/* Scale up */
[data-reveal="scale"] {
  transform: scale(.96);
}
[data-reveal="scale"].in-view {
  transform: scale(1);
}

/* Stagger delays (used on child elements within a grid/list) */
[data-stagger] [data-reveal]:nth-child(1) { transition-delay: 0ms; }
[data-stagger] [data-reveal]:nth-child(2) { transition-delay: 80ms; }
[data-stagger] [data-reveal]:nth-child(3) { transition-delay: 160ms; }
[data-stagger] [data-reveal]:nth-child(4) { transition-delay: 240ms; }
[data-stagger] [data-reveal]:nth-child(5) { transition-delay: 320ms; }

/* Progressive enhancement: CSS scroll-driven animations */
@supports (animation-timeline: view()) {
  [data-reveal] {
    transition: none;
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
  [data-reveal="left"] {
    animation-name: reveal-left;
  }
  [data-reveal="right"] {
    animation-name: reveal-right;
  }
  [data-reveal="scale"] {
    animation-name: reveal-scale;
  }

  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes reveal-left {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes reveal-right {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes reveal-scale {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
  }
}

/* Card hover glow effect */
.service-card,
.case-card {
  transition: border-color .2s, box-shadow .3s;
}
.service-card:hover,
.case-card:hover {
  border-color: #2A2A2A;
  box-shadow: 0 0 40px rgba(0,195,255,.04);
}

/* Section divider glow (replaces flat border) */
.section {
  border-top: 1px solid var(--bd-s);
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,195,255,.12), transparent);
  pointer-events: none;
}

/* ── PREMIUM VISUAL LAYER ── */

/* Subtle dot grid pattern for hero depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Alternating section backgrounds for visual rhythm */
.section:nth-of-type(even) {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(12,12,12,1) 50%, var(--bg) 100%);
}
.section:nth-of-type(odd) {
  background: var(--bg);
}

/* Elevated card style */
.service-card {
  background: var(--bg-c);
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(0,195,255,.12);
  box-shadow: 0 4px 32px rgba(0,0,0,.3), 0 0 40px rgba(0,195,255,.04);
}

/* Case card premium treatment */
.case-card {
  background: var(--bg-c);
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,195,255,.15), transparent);
  pointer-events: none;
}
.case-card:hover {
  border-color: rgba(0,195,255,.12);
  box-shadow: 0 4px 32px rgba(0,0,0,.3), 0 0 40px rgba(0,195,255,.04);
}

/* Process timeline connector */
.process-steps::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--signal), rgba(0,195,255,.3), rgba(0,195,255,.1), transparent);
  z-index: 1;
}
.process-step .step-num {
  position: relative;
  z-index: 2;
}
.process-step .step-num::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--signal);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(0,195,255,.4);
}

/* CTA section premium gradient background */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(0,195,255,.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 40%, rgba(0,195,255,.02) 0%, transparent 50%);
  pointer-events: none;
}

/* Stats strip styling */
.stats-strip {
  padding: 48px 0;
  border-top: 1px solid var(--bd-s);
  border-bottom: 1px solid var(--bd-s);
  position: relative;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,195,255,.12), transparent);
  pointer-events: none;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .stat-accent {
  color: var(--signal);
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t3);
}

/* Case metric highlight */
.case-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--bd-s);
}
.case-metric-value {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--signal);
  line-height: 1;
}
.case-metric-label {
  font-size: 13px;
  color: var(--t2);
  font-weight: 500;
}

/* Enhanced section divider */
.section::before {
  width: min(500px, 70%);
  background: linear-gradient(90deg, transparent, rgba(0,195,255,.18), transparent);
}

/* Smoother card transitions */
.service-card,
.case-card {
  transition: border-color .3s ease, box-shadow .4s ease, transform .3s ease;
}

/* Problem section accent */
.problem-num {
  color: var(--signal);
  opacity: .5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion: disable all scroll animations */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].in-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ── AUTOMATION CARDS (What We Automate) ── */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.auto-card {
  background: var(--bg-c);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .4s;
}
.auto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  pointer-events: none;
}
.auto-card:hover {
  border-color: rgba(0,195,255,.12);
  box-shadow: 0 4px 32px rgba(0,0,0,.3), 0 0 40px rgba(0,195,255,.03);
}
.auto-card-icon {
  width: 44px;
  height: 44px;
  background: var(--signal-d);
  border: 1px solid rgba(0,195,255,.15);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--signal);
}
.auto-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
  margin-bottom: 8px;
}
.auto-card-body {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.65;
}

/* ── TECH STACK STRIP (Homepage) ── */
.stack-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 28px;
  background: var(--bg-c);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  min-width: 140px;
  text-align: center;
  transition: border-color .2s;
}
.stack-item:hover {
  border-color: rgba(255,255,255,.1);
}
.stack-item-icon {
  color: var(--signal);
  opacity: .7;
}
.stack-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -.01em;
}
.stack-item-role {
  font-size: 11px;
  color: var(--t3);
  letter-spacing: .04em;
}

/* ── CASE STUDIES COMING SOON ── */
.cs-coming-soon {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 0;
}
.cs-coming-icon {
  color: var(--signal);
  opacity: .5;
  margin-bottom: 24px;
}
.cs-coming-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--t1);
  margin-bottom: 16px;
}
.cs-coming-body {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cs-coming-what {
  padding-top: 24px;
  border-top: 1px solid var(--bd-s);
}
.cs-coming-what-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 14px;
}
.cs-coming-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.cs-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bd);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: -.01em;
}

/* ── MEANWHILE CARDS (Case Studies page) ── */
.meanwhile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.meanwhile-card {
  background: var(--bg-c);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: border-color .3s, box-shadow .4s, transform .3s;
}
.meanwhile-card:hover {
  border-color: rgba(0,195,255,.12);
  box-shadow: 0 4px 32px rgba(0,0,0,.3), 0 0 40px rgba(0,195,255,.03);
  transform: translateY(-2px);
}
.meanwhile-icon {
  width: 44px;
  height: 44px;
  background: var(--signal-d);
  border: 1px solid rgba(0,195,255,.15);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
}
.meanwhile-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
}
.meanwhile-body {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.65;
  flex: 1;
}
.meanwhile-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  opacity: .7;
  transition: opacity .15s;
}
.meanwhile-card:hover .meanwhile-link { opacity: 1; }

/* ── APPROACH FLOW (About page) ── */
.approach-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 16px 0;
}
.approach-step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}
.approach-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--signal);
  margin-bottom: 10px;
}
.approach-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t1);
  margin-bottom: 6px;
}
.approach-desc {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.5;
}
.approach-connector {
  color: var(--t3);
  padding-top: 20px;
  flex-shrink: 0;
}

/* ── ABOUT BODY (without photo grid) ── */
.about-body {
  max-width: 680px;
}
.about-body .about-intro {
  font-size: 17px;
  color: var(--t2);
  line-height: 1.7;
}
.about-body .about-intro p { margin-bottom: 20px; }
.about-body .about-intro p:last-child { margin-bottom: 0; }

/* ── ENHANCED FOOTER ── */
.footer-brand .footer-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--t3);
  letter-spacing: .02em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 72px;
  }

  .wrap, .wrap-n { padding: 0 20px; }

  /* Mobile nav: bigger logo, hamburger menu */
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-right .lang-toggle { display: none; }
  .nav-hamburger { display: block; }

  .nav-logo { gap: 10px; }
  .nav-mark svg { width: 36px; height: 36px; }
  .nav-wordmark { font-size: 16px; letter-spacing: -.01em; }

  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }

  .hero-scroll {
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-hl { font-size: clamp(28px, 8vw, 42px); margin-bottom: 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .page-hero-title { font-size: clamp(26px, 6vw, 40px); }

  .services-grid { grid-template-columns: 1fr; }
  .cases-grid    { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-left: none;
    border-top: 1px solid var(--bd-s);
    padding: 24px 0;
  }
  .process-step:first-child { border-top: none; }

  .service-tier {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo-placeholder { aspect-ratio: 16/9; }

  .book-layout { grid-template-columns: 1fr; gap: 32px; }
  .calendly-inline-widget { height: 680px !important; min-width: 0 !important; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .cta-section { padding: 80px 20px; }

  .section { padding: 64px 0; }

  .section-title { font-size: clamp(22px, 6vw, 34px); }
  .section-sub { font-size: 14px; }

  .problem-statement { font-size: clamp(20px, 6vw, 30px); }

  .value-item { grid-template-columns: 1fr; gap: 8px; }

  /* Mobile responsive for premium visual layer */
  .stats-inner { gap: 32px; }
  .stat-num { font-size: 28px; }
  .process-steps::before { display: none; }
  .process-step .step-num::before { display: none; }

  /* Automation cards */
  .auto-grid { grid-template-columns: 1fr; }

  /* Meanwhile cards */
  .meanwhile-grid { grid-template-columns: 1fr; }

  /* Stack strip */
  .stack-strip { gap: 8px; }
  .stack-item { min-width: 120px; padding: 16px 20px; }

  /* Approach flow */
  .approach-flow { flex-direction: column; align-items: center; gap: 8px; }
  .approach-connector { transform: rotate(90deg); padding: 0; }
  .approach-step { max-width: 280px; }
}


/* ============================================================
   LEGAL PAGES — Privacy Policy & Terms of Service
   Corporate standard: Vercel / Shopify / Apple legal reference
   ============================================================ */

main.legal-page {
  padding: 130px 0 100px;
}
main.legal-page .wrap {
  max-width: 680px;
}

/* Title */
main.legal-page h1.legal-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--t1);
}

/* Effective date */
main.legal-page .legal-meta {
  color: var(--t3);
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

/* Key points summary box */
main.legal-page .legal-summary {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 48px;
}
main.legal-page .legal-summary p.legal-summary-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--t3);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
main.legal-page .legal-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
main.legal-page .legal-summary li {
  font-size: 13px;
  font-weight: 400;
  color: var(--t2);
  line-height: 1.55;
  letter-spacing: 0;
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
}
main.legal-page .legal-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
}

/* Section headings — small uppercase labels */
main.legal-page .legal-body h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  line-height: 1.4;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bd-s);
}
main.legal-page .legal-body h2:first-child {
  margin-top: 0;
}

/* Body text */
main.legal-page .legal-body p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--t2);
  margin-bottom: 12px;
}
main.legal-page .legal-body ul {
  padding-left: 16px;
  margin: 8px 0 16px;
}
main.legal-page .legal-body li {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--t2);
  margin-bottom: 6px;
}
main.legal-page .legal-body a {
  color: var(--signal);
  text-decoration: none;
}
main.legal-page .legal-body a:hover {
  text-decoration: underline;
}
main.legal-page .legal-body strong {
  color: var(--t1);
  font-weight: 600;
}

/* Divider */
main.legal-page .legal-divider {
  border: none;
  border-top: 1px solid var(--bd);
  margin: 40px 0;
}

/* Contact box */
main.legal-page .legal-contact-box {
  background: var(--bg-c);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 360px;
  margin-top: 10px;
}
main.legal-page .legal-contact-box p {
  margin: 3px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--t2);
}
main.legal-page .legal-contact-box strong {
  color: var(--t1);
  font-weight: 600;
}

/* Footer note */
main.legal-page .legal-footer-note {
  font-size: 11px;
  color: var(--t3);
  line-height: 1.6;
}

/* ── LEGAL MOBILE ── */
@media (max-width: 600px) {
  main.legal-page {
    padding: 96px 0 64px;
  }
  main.legal-page .wrap {
    padding: 0 20px;
  }
  main.legal-page h1.legal-title {
    font-size: 20px;
  }
  main.legal-page .legal-meta {
    margin-bottom: 28px;
    font-size: 11px;
  }
  main.legal-page .legal-summary {
    padding: 16px 18px;
    margin-bottom: 32px;
  }
  main.legal-page .legal-summary p.legal-summary-label {
    font-size: 10px;
  }
  main.legal-page .legal-summary li {
    font-size: 12px;
    line-height: 1.5;
  }
  main.legal-page .legal-body h2 {
    font-size: 10px;
    margin: 28px 0 10px;
  }
  main.legal-page .legal-body p,
  main.legal-page .legal-body li {
    font-size: 12px;
    line-height: 1.6;
  }
  main.legal-page .legal-contact-box {
    padding: 14px 16px;
  }
  main.legal-page .legal-contact-box p {
    font-size: 11px;
  }
  main.legal-page .legal-footer-note {
    font-size: 10px;
  }
}
