/* ============================================================
   Go Stay Digital — Design System
   Concept: "Go fast. Stay found."
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand — light blue */
  --paper:      #F5F9FF;
  --paper-2:    #FFFFFF;
  --sky-soft:   #E6F2FF;
  --sky-100:    #CFE7FF;
  --sky:        #3BA9FF;   /* primary brand */
  --sky-600:    #1E88E5;
  --sky-700:    #0B6CC2;
  --ink:        #0A2540;   /* deep navy */
  --ink-2:      #3B5670;   /* muted text */
  --ink-3:      #6B819A;
  --line:       rgba(10, 37, 64, .10);
  --line-2:     rgba(10, 37, 64, .06);
  --coral:      #FF6B4A;   /* single warm accent — 2-day highlight only */
  --coral-soft: #FFE7E0;
  --glow:       rgba(59, 169, 255, .35);

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Space & shape */
  --r:    16px;
  --r-sm: 10px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .06);
  --shadow:    0 14px 40px rgba(10, 37, 64, .10);
  --shadow-lg: 0 30px 70px rgba(10, 37, 64, .16);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; }
p  { color: var(--ink-2); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky-700);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--sky);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 56ch; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .95rem 1.6rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .3s var(--ease); }
.btn-primary {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 10px 24px var(--glow);
}
.btn-primary:hover { background: var(--sky-600); transform: translateY(-3px); box-shadow: 0 16px 34px var(--glow); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky-700); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-lg { --pad: 1.1rem 2rem; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding-block: 1.1rem;
}
.nav.scrolled {
  background: rgba(245, 249, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding-block: .65rem;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sky), var(--sky-700));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px var(--glow);
  position: relative; overflow: hidden;
}
.brand__mark span { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; position: relative; z-index: 1; }
.brand em { color: var(--sky); font-style: normal; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .96rem; font-weight: 500; color: var(--ink-2); position: relative; padding-block: .3rem; transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--sky); transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

/* Dropdown submenu (Resources) */
.nav__links li { position: relative; list-style: none; }
.nav__links .sub-menu {
  position: absolute; top: 100%; left: -.7rem; min-width: 212px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow); padding: .45rem; margin-top: .55rem; list-style: none;
  display: grid; gap: .1rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 60;
}
.nav__links li:hover > .sub-menu, .nav__links li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__links .sub-menu a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .93rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.nav__links .sub-menu a::after { display: none; }
.nav__links .sub-menu a:hover { background: var(--sky-soft); color: var(--sky-700); }
.nav__links .menu-item-has-children > a { padding-right: 1.25em; }
.nav__links .menu-item-has-children > a::before {
  content: ""; position: absolute; right: .15em; top: 46%; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: .65; transition: transform .25s var(--ease);
}
.nav__links .menu-item-has-children:hover > a::before { transform: translateY(-30%) rotate(225deg); }

.nav__cta { display: flex; align-items: center; gap: .9rem; }

.nav__menu { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* rotating word */
.rotator { color: var(--sky); position: relative; display: inline-grid; }
.rotator__track { display: inline-grid; }
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(.5em) rotateX(-40deg);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transform-origin: bottom;
  white-space: nowrap;
}
.rotator__word.is-in { opacity: 1; transform: translateY(0) rotateX(0); }
.rotator__word.is-out { opacity: 0; transform: translateY(-.5em) rotateX(40deg); }

/* signal field background */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55;
  animation: drift 16s var(--ease) infinite alternate;
}
.hero__blob.b1 { width: 420px; height: 420px; background: radial-gradient(circle, #8FD0FF, transparent 70%); top: -120px; right: -60px; }
.hero__blob.b2 { width: 360px; height: 360px; background: radial-gradient(circle, #BFE3FF, transparent 70%); bottom: -140px; left: -80px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(30px, 40px) scale(1.12); } }

/* hero visual card */
.hero__visual { position: relative; }
.speed-card {
  background: var(--paper-2); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2); position: relative; overflow: hidden;
}
.speed-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--sky), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.speed-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.speed-card__dot { display: inline-flex; gap: 6px; }
.speed-card__dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.speed-card__dot i:first-child { background: var(--coral); }
.speed-card__tag { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .1em; }
.speed-card__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.speed-card__big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: .4rem; }
.speed-card__big b { color: var(--coral); font-weight: 700; }
.speed-card__big small { font-size: 1rem; color: var(--ink-3); font-family: var(--font-body); }
.speed-bar { height: 8px; border-radius: 99px; background: var(--sky-soft); overflow: hidden; margin-top: 1.2rem; }
.speed-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--sky-700)); }
.reveal.in .speed-bar i { width: 92%; transition: width 1.6s var(--ease) .3s; }
.speed-card__foot { display: flex; justify-content: space-between; margin-top: 1rem; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.speed-card__foot b { color: var(--sky-700); }

.float-tag {
  position: absolute; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .5rem .9rem; font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: .45rem;
  animation: bob 4s ease-in-out infinite;
}
.float-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.float-tag.t1 { top: -18px; left: -22px; }
.float-tag.t2 { bottom: 34px; right: -28px; animation-delay: -2s; }
.float-tag.t2 i { background: var(--coral); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Trust strip / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { padding: 1.6rem 1.2rem; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line-2); text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat__num .unit { color: var(--sky); }
.stat__label { font-size: .9rem; color: var(--ink-2); margin-top: .5rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 2.4rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.3rem); color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 2.4rem; opacity: .85; }
.marquee__item::after { content: "✦"; color: var(--sky); font-size: .7em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.sec-head { max-width: 640px; margin-bottom: 3rem; }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head p { margin-top: 1rem; }

/* ---------- Services groups + grid ---------- */
.svc-groups { display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); }
.svc-group__head { margin-bottom: 1.5rem; }
.svc-group__head .eyebrow { margin-bottom: .7rem; }
.svc-group__head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 1.9rem 1.7rem; border-radius: var(--r); background: var(--paper-2);
  border: 1px solid var(--line-2); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--sky), var(--sky-700)); transition: width .45s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-100); }
.svc:hover::after { width: 100%; }

.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.svc__code { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--ink-3); transition: color .35s; }
.svc:hover .svc__code { color: var(--sky-700); }
.svc__icon {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: linear-gradient(150deg, var(--sky-soft), #fff);
  color: var(--sky-700); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--sky-100), 0 6px 16px rgba(59, 169, 255, .14);
  transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.svc:hover .svc__icon {
  background: linear-gradient(150deg, var(--sky), var(--sky-700));
  color: #fff; transform: translateY(-2px) rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 26px var(--glow);
}
.svc h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.svc p { font-size: .95rem; flex: 1 0 auto; }
.svc__more {
  margin-top: 1.35rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700;
  color: var(--sky-700); display: inline-flex; align-items: center; gap: .5rem;
}
.svc__more svg { transition: transform .3s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(5px); }

.svc.is-feature { grid-column: span 2; background: linear-gradient(140deg, var(--ink), #0d3358); color: #fff; }
.svc.is-feature::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(59,169,255,.28), transparent 70%); filter: blur(30px); top: -140px; right: -100px; pointer-events: none; }
.svc.is-feature h3 { color: #fff; }
.svc.is-feature .svc__code { color: rgba(255, 255, 255, .55); }
.svc.is-feature p { color: rgba(255, 255, 255, .78); }
.svc.is-feature .svc__icon {
  background: rgba(255, 255, 255, .1); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.svc.is-feature:hover .svc__icon { background: var(--sky); box-shadow: 0 12px 26px var(--glow); }
.svc.is-feature .badge2 { margin-top: 1.35rem; align-self: flex-start; }
.svc.is-feature .svc__more { color: #8FD0FF; }

/* Service "why us" strip */
.why-strip { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .why-strip { grid-template-columns: 1fr; } }

/* Service detail hero icon */
.service-hero__icon {
  width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 1.3rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--sky), var(--sky-700));
  box-shadow: 0 12px 26px var(--glow);
}

.badge2 { display: inline-flex; align-items: center; gap: .5rem; background: var(--coral); color: #fff; font-weight: 700; font-size: .82rem; padding: .4rem .8rem; border-radius: 999px; font-family: var(--font-mono); letter-spacing: .04em; }
.badge2 svg { width: 15px; height: 15px; }

/* ---------- Feature / 2-day band ---------- */
.band { background: linear-gradient(135deg, var(--ink), #0c2c4d); color: #fff; border-radius: var(--r-lg); padding: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; }
.band__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(59,169,255,.4), transparent 70%); filter: blur(40px); top: -180px; right: -120px; pointer-events: none; }
.band__grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--sky); }
.band p { color: rgba(255,255,255,.8); margin-top: 1rem; max-width: 48ch; }
.band__num { font-family: var(--font-display); text-align: center; }
.band__num b { display: block; font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: #fff; }
.band__num b em { color: var(--coral); font-style: normal; }
.band__num span { font-family: var(--font-mono); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: rgba(255,255,255,.7); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step__n { font-family: var(--font-mono); font-size: .8rem; color: var(--sky-700); letter-spacing: .1em; }
.step::before { content: ""; position: absolute; top: 6px; left: 0; width: 100%; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; top: 2px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.step h3 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.step p { font-size: .93rem; }

/* ---------- Feature rows (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.flip .split__media { order: 2; }
.media-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); background: var(--paper-2); padding: 1.6rem; }
.value-list { display: grid; gap: 1rem; }
.value { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.value__ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--sky-soft); color: var(--sky-700); display: grid; place-items: center; }
.value h4 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: .2rem; }
.value p { font-size: .92rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-family: var(--font-mono); font-size: .8rem; padding: .4rem .85rem; border-radius: 999px; background: var(--sky-soft); color: var(--sky-700); border: 1px solid var(--sky-100); }

/* ---------- Testimonial ---------- */
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--font-display); font-size: 4rem; color: var(--sky); line-height: .5; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); margin: 1rem 0 1.6rem; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--ink-2); }
.quote cite b { color: var(--ink); font-family: var(--font-display); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .band { text-align: center; }
.cta-final .band__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-final .band p { margin-inline: auto; }
.cta-final .hero__actions { justify-content: center; margin-top: 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.info-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-row__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-700); display: grid; place-items: center; }
.info-row h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: .15rem; }
.info-row a, .info-row p { font-size: .95rem; color: var(--ink-2); }
.info-row a:hover { color: var(--sky-700); }

.form-card { background: var(--paper-2); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--paper); font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(59,169,255,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .85rem; color: var(--ink-3); margin-top: .5rem; display: flex; align-items: center; gap: .5rem; }
.form-ok { display: none; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--sky-soft); color: var(--sky-700); font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; border: 1px solid var(--sky-100); }
.form-ok.show { display: block; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(9rem, 18vh, 12rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 16ch; margin-inline: auto; }
.page-hero p { margin: 1.4rem auto 0; }
.crumbs { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--sky-700); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer__grid p { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 34ch; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__grid ul { display: grid; gap: .7rem; }
.footer__grid a { font-size: .93rem; color: rgba(255,255,255,.65); transition: color .25s, padding-left .25s; }
.footer__grid a:hover { color: var(--sky); padding-left: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .85rem; color: rgba(255,255,255,.5); gap: 1rem; flex-wrap: wrap; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--sky); transform: translateY(-3px); }

/* ---------- Reveal animation (gated on .js so content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 440px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc.is-feature { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.flip .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: block;
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 6rem 1.5rem 2rem;
    background: var(--paper); box-shadow: var(--shadow-lg);
    transform: translateY(-110%); transition: transform .4s var(--ease); z-index: 90;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu .nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .nav__menu .nav__links a { font-size: 1.3rem; font-family: var(--font-display); }
  .nav__menu .btn { margin-top: 1rem; }
  /* Submenu shows inline (expanded) on mobile */
  .nav__menu .nav__links .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; background: transparent; padding: .4rem 0 .2rem .9rem; margin: .4rem 0 0; min-width: 0; gap: .7rem;
  }
  .nav__menu .nav__links .sub-menu a { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; }
  .nav__menu .nav__links .menu-item-has-children > a::before { display: none; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc.is-feature { grid-column: span 1; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__blob { animation: none; }
}

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* Accessible skip link */
.screen-reader-shortcut {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--sky); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.screen-reader-shortcut:focus { left: 0; }

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-100); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--sky); background: linear-gradient(150deg, var(--sky-soft), #fff); }
/* Auto-generated branded cover (fallback when no featured image) */
.gsd-cover { display: block; width: 100%; height: auto; }
.post-card__media .gsd-cover { height: 100%; }
.post-single__hero .gsd-cover { border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 720 / 460; height: auto; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .8rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: .8rem; }
.post-card__cat { color: var(--sky-700); background: var(--sky-soft); border: 1px solid var(--sky-100); padding: .2rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .1em; }
.post-card__body h3 { font-size: 1.2rem; margin-bottom: .5rem; line-height: 1.2; }
.post-card__body h3 a { color: inherit; transition: color .25s; }
.post-card__body h3 a:hover { color: var(--sky-700); }
.post-card__body p { font-size: .93rem; flex: 1 0 auto; }
.post-card .svc__more { margin-top: 1.2rem; }

/* Pagination */
.gsd-pagination { margin-top: 2.6rem; display: flex; justify-content: center; }
.gsd-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem;
  margin: 0 .25rem; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font-weight: 600; color: var(--ink-2); transition: all .25s var(--ease);
}
.gsd-pagination .page-numbers:hover { border-color: var(--sky); color: var(--sky-700); }
.gsd-pagination .page-numbers.current { background: var(--sky); border-color: var(--sky); color: #fff; }
.gsd-pagination .dots { border: none; }

/* Single post / page reading layout */
.post-single { max-width: 760px; margin-inline: auto; }
.post-single__meta { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; margin-top: 1rem; }
.post-single__hero { max-width: 960px; margin: 1.5rem auto 0; }
.post-single__hero img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.post-single__cta { margin-top: 3rem; }

/* Rich text (posts, pages, Elementor/Gutenberg content) */
.single .entry-content { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.single .entry-content > * + * { margin-top: 1.3rem; }
.single .entry-content h2, .single .entry-content h3, .single .entry-content h4 { color: var(--ink); margin-top: 2.4rem; }
.single .entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.single .entry-content h3 { font-size: 1.4rem; }
.single .entry-content a { color: var(--sky-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.single .entry-content a:hover { color: var(--sky-600); }
.single .entry-content ul, .single .entry-content ol { padding-left: 1.3rem; }
.single .entry-content ul { list-style: disc; }
.single .entry-content ol { list-style: decimal; }
.single .entry-content li + li { margin-top: .5rem; }
.single .entry-content li::marker { color: var(--sky); }
.single .entry-content img { border-radius: var(--r); height: auto; }
.single .entry-content blockquote {
  border-left: 3px solid var(--sky); padding: .4rem 0 .4rem 1.4rem; margin-left: 0;
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: var(--ink);
}
.single .entry-content code { font-family: var(--font-mono); font-size: .9em; background: var(--sky-soft); padding: .15em .4em; border-radius: 6px; }
.single .entry-content pre { background: var(--ink); color: #dfeeff; padding: 1.2rem 1.4rem; border-radius: var(--r); overflow-x: auto; }
.single .entry-content pre code { background: none; padding: 0; color: inherit; }
.single .entry-content figure { margin: 0; }
.single .entry-content figcaption { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: .6rem; }
.single .entry-content table { width: 100%; border-collapse: collapse; }
.single .entry-content th, .single .entry-content td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.single .entry-content th { background: var(--sky-soft); font-family: var(--font-display); }
.single .entry-content hr { border: none; border-top: 1px solid var(--line); }
/* Wide / full alignment (Gutenberg) */
.single .entry-content .alignwide { width: min(960px, 92vw); margin-inline: calc(50% - min(480px, 46vw)); max-width: none; }
.single .entry-content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.single .entry-content .aligncenter { text-align: center; margin-inline: auto; }
.page-links { margin-top: 2rem; font-family: var(--font-mono); font-size: .85rem; }

/* Full-width template (Elementor / blocks) */
main.is-full-width { padding-top: 74px; } /* clear the fixed nav */

/* ============================================================
   CASE STUDIES
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-100); }
.work-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(150deg, var(--ink), #0d3358); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 2.4rem; color: #fff; letter-spacing: -.02em; opacity: .85; }
.work-card__stat {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px);
  border-radius: 999px; padding: .4rem .8rem; font-size: .82rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.work-card__stat b { color: var(--sky-700); font-family: var(--font-display); }
.work-card__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-card__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-700); margin-bottom: .5rem; }
.work-card__body h3 { font-size: 1.25rem; line-height: 1.2; }
.work-card__client { font-size: .9rem; color: var(--ink-3); margin-top: .3rem; }
.work-card .svc__more { margin-top: 1.2rem; }

@media (max-width: 980px) {
  .post-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .post-grid, .work-grid { grid-template-columns: 1fr; }
  .single .entry-content .alignwide, .single .entry-content .alignfull { width: 100%; margin-inline: 0; }
}


/* Hide theme page-hero on standard pages — page content provides its own hero (added by Claude) */
body.page-template-default main > section.page-hero { display: none !important; }
body.page-template-default main > section:not([class]) { padding: 0 !important; }


/* Logo image + contact topbar (added by Claude) */
.brand__logo { height: 40px; width: auto; display: inline-block; vertical-align: middle; margin-right: .55rem; }
.footer .brand__logo { height: 36px; }
.topbar { background: #0a2540; font-size: .8rem; position: relative; z-index: 60; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 1.6rem; padding: .45rem 0; }
.topbar a { color: #ffffff; text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; }
@media (max-width: 640px) { .topbar__inner { justify-content: center; gap: 1rem; } }


/* UI/UX fixes (added by Claude) */
/* Case-study grid: center cards when fewer than a full row */
.work-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 400px)) !important; justify-content: center; }
/* Keep the menu toggle tappable above the open mobile menu */
.nav__toggle { position: relative; z-index: 200; }
/* Offset the fixed header below the WP admin bar (logged-in views only) */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
/* Breathing room around the scrolling ticker on small screens */
@media (max-width: 640px) { .marquee { margin: .9rem 0; } }

/* Separation before the Selected Work section */
section:has(> .wrap .work-grid), section:has(.work-grid) { padding-top: 3.5rem; }

/* Inner pages: let injected full-bleed sections span the page (theme capped content at 760px) */
body.page-template-default .wrap.post-single { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }


/* Fluent Forms styled to match the design (added by Claude) */
.form-card .fluentform .ff-el-form-control { width: 100%; background: #f4f8fc; border: 1px solid #dbe7f2; border-radius: 12px; padding: .8rem 1rem; font-family: inherit; font-size: .95rem; color: #0a2540; transition: border-color .2s, box-shadow .2s; }
.form-card .fluentform .ff-el-form-control:focus { outline: none; border-color: #3ba9ff; box-shadow: 0 0 0 3px rgba(59,169,255,.18); }
.form-card .fluentform .ff-el-input--label label { font-weight: 600; font-size: .85rem; color: #0a2540; }
.form-card .fluentform .ff-el-group { margin-bottom: 1.1rem; }
.form-card .fluentform textarea.ff-el-form-control { min-height: 130px; resize: vertical; }
.form-card .fluentform .ff-btn-submit { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, #3ba9ff, #0b6cc2); color: #fff; border: none; border-radius: 999px; padding: .95rem 1.9rem; font-weight: 700; font-family: inherit; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 24px rgba(59,169,255,.35); transition: transform .2s, box-shadow .2s; }
.form-card .fluentform .ff-btn-submit:hover { transform: translateY(-2px); }
.form-card .fluentform .ff-message-success { border-radius: 12px; margin-top: 1rem; }
@media (min-width: 720px) {
  .form-card .frm-fluent-form > fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; border: none; padding: 0; margin: 0; }
  .form-card .frm-fluent-form > fieldset > legend,
  .form-card .frm-fluent-form > fieldset > div.ff-el-group:nth-of-type(n+5) { grid-column: 1 / -1; }
}
