:root {
  /* Logo-derived corporate palette */
  --blue: #2f6fa0;
  --blue-mid: #4881b4;
  --blue-deep: #1e4f74;
  --blue-soft: #e8f1f7;
  --yellow: #e8c93a;
  --yellow-hot: #f5d76e;
  --sage: #9cb28d;
  --sage-deep: #7fa87f;
  --grey-50: #f4f6f8;
  --grey-100: #e6eaee;
  --grey-300: #c5ccd4;
  --grey-600: #5c6773;
  --grey-900: #1c2430;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(30, 79, 116, 0.12);
  --radius: 4px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

.motion-disabled,
.motion-disabled * {
  scroll-behavior: auto !important;
}

.motion-disabled [data-reveal],
.motion-disabled [data-fade],
.motion-disabled [data-stagger] > *,
.motion-disabled [data-reveal-section] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.motion-disabled .ticker__track,
.motion-disabled [data-orbit],
.motion-disabled .hero__scroll i {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: #0b1622;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 3px solid #f5d76e;
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid rgba(245, 215, 110, 0.85);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--grey-900);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 160, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 201, 58, 0.16), transparent 55%),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 251, 0.88);
  border-bottom: 1px solid rgba(197, 204, 212, 0.55);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.06);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.site-header {
  transition: box-shadow 0.25s ease, transform 0.35s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand__logo {
  width: clamp(180px, 32vw, 260px);
  height: auto;
}

.brand__logo--footer {
  width: 200px;
  background: transparent;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--grey-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav__cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.7rem;
  border: 1px solid var(--grey-300);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 80;
}

.nav-toggle__box {
  position: relative;
  width: 1.15rem;
  height: 0.85rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--grey-900);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, width 0.35s ease;
}

.nav-toggle__label {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(0.325rem) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-0.325rem) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow-hot), var(--yellow));
  color: var(--grey-900);
  border-color: #d4b52a;
}

.btn--primary:hover {
  color: var(--grey-900);
  background: linear-gradient(135deg, #ffe56d, var(--yellow-hot));
}

.btn--ghost {
  background: transparent;
  color: var(--blue-deep);
  border-color: rgba(47, 111, 160, 0.35);
}

.btn--ghost:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}

.text-link::after {
  content: " →";
}

/* Hero — full-bleed, GSAP-ready */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 48, 72, 0.94) 16%, rgba(30, 79, 116, 0.78) 46%, rgba(47, 111, 160, 0.4) 100%),
    linear-gradient(180deg, transparent 42%, rgba(15, 30, 45, 0.58) 100%),
    linear-gradient(160deg, #1a3d5c 0%, var(--blue) 55%, var(--blue-mid) 100%);
  will-change: transform, opacity;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1' d='M0 80h160M80 0v160'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.9;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__glow--yellow {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  right: -6%;
  top: 12%;
  background: rgba(245, 215, 110, 0.38);
}

.hero__glow--sage {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  left: 8%;
  bottom: 8%;
  background: rgba(156, 178, 141, 0.28);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(15, 28, 40, 0.45));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 40rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--yellow-hot);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 24ch;
}

.hero__highlights {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hero__highlights li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--yellow-hot);
  box-shadow: 0 0 0 3px rgba(245, 215, 110, 0.2);
}

.hero__rating {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__rating strong {
  color: var(--yellow-hot);
  font-size: 1.25rem;
}

.hero__orbit {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  right: -12%;
  top: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orbit::before,
.hero__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--yellow-hot);
  box-shadow: 0 0 24px rgba(245, 215, 110, 0.55);
}

.hero__orbit::before {
  width: 10px;
  height: 10px;
  top: 12%;
  left: 50%;
}

.hero__orbit::after {
  width: 7px;
  height: 7px;
  bottom: 18%;
  left: 18%;
  background: var(--sage);
}

.hero__lede {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero__status {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.site-header__badge {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

/* Before GSAP runs, keep content readable if JS fails */
.page--gsap [data-gsap="hero-brand"],
.page--gsap [data-gsap="hero-title"],
.page--gsap [data-gsap="hero-lede"],
.page--gsap [data-gsap="hero-actions"] {
  opacity: 1;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tint {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(197, 204, 212, 0.45);
}

.section__intro {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section__intro h2,
.page-hero h1,
.cta-band h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section__intro p {
  margin: 0;
  color: var(--grey-600);
}

.section__more {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero p {
  margin: 0;
  color: var(--grey-600);
  max-width: 40rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem !important;
}

.section--services .section__intro {
  max-width: 42rem;
}

.pillar-list {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar {
  padding-top: 0.25rem;
  border-top: 3px solid var(--blue);
}

.pillar:nth-child(2) {
  border-top-color: var(--yellow);
}

.pillar:nth-child(3) {
  border-top-color: var(--sage);
}

.pillar__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 1rem 0 0.85rem;
  background: var(--blue);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.pillar__icon--website,
.pillar__icon--software {
  background: var(--blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3C/svg%3E");
}

.pillar__icon--seo,
.pillar__icon--marketing {
  background: var(--yellow);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.pillar__icon--app {
  background: var(--sage-deep);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

.pillar__icon--ecommerce {
  background: var(--blue-mid);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 12h9.6l2-8H7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 12h9.6l2-8H7'/%3E%3C/svg%3E");
}

.pillar__icon--cloud {
  background: var(--blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M7 18h10a4 4 0 0 0 0-8 5 5 0 0 0-9.5-1.5A3.5 3.5 0 0 0 7 18z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M7 18h10a4 4 0 0 0 0-8 5 5 0 0 0-9.5-1.5A3.5 3.5 0 0 0 7 18z'/%3E%3C/svg%3E");
}

.pillar__icon--automation {
  background: var(--sage);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1'/%3E%3C/svg%3E");
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 0.5rem;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  line-height: 1.1;
}

.stat__label {
  margin: 0.35rem 0 0;
  color: var(--grey-600);
  max-width: 16ch;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq-item {
  border-top: 2px solid var(--blue-soft);
  padding: 0.85rem 0 0.35rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.65rem 0 0.35rem;
  color: var(--grey-600);
}

.contact-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  background: var(--grey-100);
}

.social-links {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.contact-note .btn + .btn {
  margin-left: 0.65rem;
}

.pillar__tagline {
  margin: 0 0 0.55rem !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}

.pillar--tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.service-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
}

.service-chips li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--grey-100);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(197, 204, 212, 0.55);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  white-space: nowrap;
}

.ticker__track.is-running {
  animation: ticker-move 32s linear infinite;
}

.ticker__item {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
}

.ticker__item::before {
  content: "◆";
  margin-right: 2.5rem;
  color: var(--yellow);
  font-size: 0.7em;
}

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

.quote-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-top: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.7);
}

.quote-card p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--grey-900);
}

.quote-card footer {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--grey-600);
}

.quote-card strong {
  color: var(--blue-deep);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-step {
  border-top: 3px solid var(--blue);
  padding-top: 1rem;
}

.process-step:nth-child(2) { border-top-color: var(--yellow); }
.process-step:nth-child(3) { border-top-color: var(--sage); }

.process-step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.process-step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  color: var(--grey-600);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--grey-900);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 111, 160, 0.35);
  border-color: var(--blue);
}

/* Split text helpers */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  perspective: 600px;
}

.split-word__inner {
  display: inline-block;
  will-change: transform, opacity;
}

.cta-band {
  background-size: 200% 200%;
}

.prose details {
  margin: 0.75rem 0;
  border-top: 1px solid var(--grey-100);
  padding-top: 0.65rem;
}

.prose summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
}

.js-motion .hero__brand,
.js-motion .hero__title,
.js-motion .hero__eyebrow {
  /* prevent flash before split animation settles */
}

.motion-fallback [data-reveal],
.motion-fallback [data-fade],
.motion-fallback [data-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
}

.pillar h2,
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.pillar h2 a,
.pillar h3 a {
  text-decoration: none;
  color: inherit;
}

.pillar h2 a:hover,
.pillar h3 a:hover {
  color: var(--blue);
}

.pillar p {
  margin: 0 0 0.75rem;
  color: var(--grey-600);
}

.work-list {
  display: grid;
  gap: 1.5rem;
}

.work-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--grey-100);
}

.work-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.work-item__meta {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.work-item h2,
.work-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.work-item h2 a,
.work-item h3 a {
  text-decoration: none;
  color: inherit;
}

.work-item p {
  margin: 0;
  color: var(--grey-600);
}

.work-item__metric {
  margin-top: 0.65rem !important;
  color: var(--blue-deep) !important;
  font-weight: 700;
}

.cta-band {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background:
    linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, #3d86b8);
  color: var(--white);
}

.cta-band__inner {
  max-width: 36rem;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn--primary {
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: #152433;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3rem;
}

.site-footer a {
  color: var(--yellow-hot);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer__tag {
  margin: 0.85rem 0 0;
  color: var(--grey-300);
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 0.45rem;
}

.site-footer__address {
  font-style: normal;
  margin: 0 0 0.75rem;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--grey-300);
}

.site-footer__bar p {
  margin: 0;
}

.site-footer__newsletter {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 1.25rem;
}

.newsletter {
  display: grid;
  gap: 0.85rem;
}

.newsletter--footer {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 1fr);
  align-items: end;
  gap: 1rem 1.5rem;
}

.newsletter--panel {
  padding: 1.5rem;
  border: 1px solid rgba(47, 111, 160, 0.2);
  background: rgba(255, 255, 255, 0.55);
}

.newsletter__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-yellow, #e8c93a);
}

.newsletter__title {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: inherit;
}

.newsletter__lede {
  margin: 0;
  color: var(--grey-300);
  font-size: 0.92rem;
}

.newsletter--panel .newsletter__lede {
  color: var(--grey-600);
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.newsletter__field {
  flex: 1 1 180px;
}

.newsletter__field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.newsletter--panel .newsletter__field input {
  border-color: rgba(15, 40, 70, 0.2);
  background: #fff;
  color: #0b1622;
}

.newsletter__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.newsletter__status {
  margin: 0;
  font-size: 0.9rem;
}

.newsletter__status.is-ok {
  color: #b6f0cb;
}

.newsletter__status.is-error {
  color: #ff9b9b;
}

.newsletter__privacy {
  margin: 0.65rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.newsletter__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.prose.legal-copy {
  max-width: 860px;
}

.newsletter--panel .newsletter__status.is-ok {
  color: #1f7a45;
}

.newsletter--panel .newsletter__status.is-error {
  color: #b42318;
}

@media (max-width: 800px) {
  .newsletter--footer {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--grey-600);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  font-style: normal;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--grey-100);
  padding: 1.25rem;
  margin: 0 0 1rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .pillar-list,
  .site-footer__grid,
  .contact-grid,
  .stat-row,
  .process-list,
  .quote-track {
    grid-template-columns: 1fr;
  }

  .contact-note .btn + .btn {
    margin-left: 0;
    margin-top: 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav--desktop {
    display: none;
  }

  .hero__content {
    margin-left: 1.25rem;
  }
}

/* Newsletter thank-you modal */
body.nl-modal-open {
  overflow: hidden;
}
.nl-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.nl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.78);
  backdrop-filter: blur(4px);
}
.nl-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(18, 36, 56, 0.98), rgba(8, 16, 28, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  animation: nl-pop 0.28s ease;
}
.nl-modal__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1622;
  background: #e8c93a;
}
.nl-modal__title {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.25;
}
.nl-modal__body {
  margin: 0;
  color: rgba(198, 214, 228, 0.85);
  line-height: 1.55;
  font-size: 0.95rem;
}
.nl-modal--error .nl-modal__title {
  color: #ffb4b4;
}
@keyframes nl-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
