/* ── Self-hosted web fonts ── */
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin-ext-2 */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Bigg — site design system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0D0F14;
  --ink-light: #3A4150;
  --muted: #414755;
  --subtle: #8A909C;
  --border: #F0F1F4;
  --border-mid: #ECEEF2;
  --cloud: #F2F4F8;
  --mist: #E6EBFF;
  --blue: #FF7A66;
  --lime: #FF7A66;
  --dark: #0D0F14;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scroll reveal (hidden only after js-ready body class added) ── */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
}
.js-ready .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Animations ── */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ── Hero brand accents (subtle floating blobs, inner-page heroes) ── */
.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; z-index: 1; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: clamp(130px, 13vw, 200px);
  aspect-ratio: 1;
  background: var(--mist);
  top: -38px;
  right: -30px;
  animation: floaty 6s ease-in-out infinite;
}
.hero::after {
  width: clamp(46px, 5.5vw, 82px);
  aspect-ratio: 1;
  background: var(--lime);
  top: 26%;
  right: 6.5%;
  animation: floaty 5s ease-in-out infinite .6s;
}
@media (max-width: 700px) {
  .hero::after { display: none; }
}
.hero--home::before { top: 60px; opacity: 0.35; }
.hero--home::after  { top: 38%; }

/* ── Section brand accents (subtle corner blobs, punctuate scroll) ── */
.deco { position: relative; overflow: hidden; }
.deco > * { position: relative; z-index: 1; }
.deco::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  animation: floaty 7s ease-in-out infinite;
}
.deco--blue::after { background: var(--mist); width: clamp(150px, 16vw, 270px); }
.deco--lime::after { background: var(--lime); width: clamp(120px, 12vw, 210px); }
.deco--tr::after { top: clamp(-100px, -6vw, -50px); right: clamp(-100px, -6vw, -50px); }
.deco--bl::after { bottom: clamp(-110px, -7vw, -55px); left: clamp(-100px, -6vw, -50px); }
@media (max-width: 700px) {
  .deco::after { width: 150px !important; }
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease;
}
.site-nav.is-scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-nav__inner {
  max-width: calc(1320px + clamp(48px,10vw,144px));
  margin: 0 auto;
  padding: 20px clamp(24px,5vw,72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.site-nav__logo img {
  height: 36px;
  width: auto;
}
img.site-nav__logo--white { display: none; }
.site-nav--dark:not(.is-scrolled) img.site-nav__logo--black { display: none; }
.site-nav--dark:not(.is-scrolled) img.site-nav__logo--white { display: block; }
.site-nav__links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-light);
}
.site-nav__links a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--blue);
}

/* Services dropdown (desktop) */
.site-nav__item--dropdown { position: relative; }
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(1,0,39,0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 50;
}
/* hover bridge so the gap below "Services" stays hoverable */
.site-nav__item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.site-nav__dropdown a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-nav__dropdown a:hover {
  background: var(--surface, #f5f5f7);
  color: var(--blue);
}
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FF7A66;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.site-nav__cta:hover { transform: translateY(-2px); }

/* Dark nav variant (pages with dark hero) */
.site-nav--dark:not(.is-scrolled) {
  background: #010027;
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-nav--dark:not(.is-scrolled) .site-nav__links { color: rgba(255,255,255,0.7); }
.site-nav--dark:not(.is-scrolled) .site-nav__links a:hover,
.site-nav--dark:not(.is-scrolled) .site-nav__links a.active { color: #FF7A66; }
.site-nav--dark:not(.is-scrolled) .site-nav__burger span { background: rgba(255,255,255,0.85); }

/* Hamburger */
.site-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
  background: none;
  border: none;
  cursor: pointer;
}
.site-nav__burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
body.menu-open .site-nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .site-nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .site-nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu panel */
.site-mobile {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: #fff;
  padding: clamp(90px, 22vw, 120px) clamp(24px, 7vw, 48px) 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  visibility: hidden;
}
body.menu-open .site-mobile { transform: none; visibility: visible; }
.site-mobile__inner { display: flex; flex-direction: column; gap: 4px; }
.site-mobile__link, .site-mobile__sub a {
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  color: var(--ink);
  text-decoration: none;
}
.site-mobile__link {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.site-mobile__sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 14px 2px;
}
.site-mobile__sub a {
  font-weight: 600;
  font-size: 17px;
  color: var(--muted);
  padding: 7px 0;
}
.site-mobile__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  margin-top: 28px;
  align-self: flex-start;
}
body.menu-open { overflow: hidden; }

/* Mobile nav */
@media (max-width: 700px) {
  .site-nav__links { display: none; }
  .site-nav__cta { display: none; }
  .site-nav__burger { display: flex; }
  .site-nav__inner { gap: 16px; }
}
@media (min-width: 701px) {
  .site-mobile { display: none; }
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: clamp(70px,8vw,100px) clamp(24px,5vw,72px) 48px;
}
.site-footer__grid {
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #1F232C;
}
.site-footer__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.site-footer__tagline {
  font-size: 15px;
  color: #8A909C;
  margin-top: 18px;
  max-width: 280px;
  line-height: 1.5;
}
.site-footer__phone {
  display: inline-block;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  margin-top: 18px;
  font-weight: 600;
}
.site-footer__col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 18px;
}
.site-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  color: #B8BDC8;
}
.site-footer__col-links a {
  color: #B8BDC8;
  text-decoration: none;
  transition: color .2s;
}
.site-footer__col-links a:hover { color: #fff; }
.site-footer__address {
  font-size: 15px;
  color: #B8BDC8;
  line-height: 1.55;
}
.site-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-size: 15px;
  color: #fff;
}
.site-footer__social a {
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity .2s;
}
.site-footer__social a:hover { opacity: 1; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: #5A6170;
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* ── Shared buttons ── */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FF7A66;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.btn-blue:hover { transform: translateY(-3px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid #D5DAE2;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color .3s;
}
.btn-outline:hover { border-color: var(--ink); }

/* ── Form fields ── */
.fld {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid #E1E5EC;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  outline: none;
  background: #fff;
  transition: border-color .2s;
}
.fld:focus { border-color: var(--blue); }
.fld::placeholder { color: #9AA0AB; }

/* ── Chips / tags ── */
.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--mist);
  color: var(--blue);
  padding: 6px 13px;
  border-radius: 100px;
}

/* ── Page hero common ── */
.page-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

/* ── Next case study card ── */
.next-case { display:grid; grid-template-columns: clamp(220px,30vw,340px) 1fr; align-items:stretch; overflow:hidden; }
.next-case > img { width:100%; height:100%; min-height:200px; object-fit:cover; display:block; }
@media (max-width: 700px) {
  .next-case { grid-template-columns: 1fr; }
  .next-case > img { height:200px; min-height:0; }
}

/* ── Grid utils ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: repeat(2,1fr) !important; }
  .grid-4-1 { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr !important; }
}

/* ── Learn article body ── */
.learn-body p {
  font-size: 18px;
  line-height: 1.7;
  color: #3A4150;
  margin: 0 0 1.4em;
}
.learn-body h2 {
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0D0F14;
  margin: 2.2em 0 0.7em;
}
.learn-body h3 {
  font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.015em;
  color: #0D0F14;
  margin: 1.8em 0 0.5em;
}
.learn-body ul, .learn-body ol {
  font-size: 18px;
  line-height: 1.7;
  color: #3A4150;
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.learn-body li { margin-bottom: 0.4em; }
.learn-body strong { color: #0D0F14; }
.learn-body a { color: #FF7A66; }
.learn-body img {
  width: 100%;
  border-radius: 14px;
  margin: 1.5em 0;
}
.learn-body blockquote {
  border-left: 3px solid #FF7A66;
  margin: 2em 0;
  padding: 0.5em 0 0.5em 1.5em;
  font-size: 19px;
  font-style: italic;
  color: #414755;
}

/* ── Testimonial star badge (straddles top edge of card) ── */
.review-card { position: relative; }
.review-stars {
  position: absolute;
  top: 0;
  left: 32px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  background: #0D0F14;
  color: #FF7A66;
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 4px;
  box-shadow: 0 10px 26px rgba(13, 15, 20, 0.14);
}

/* ── Landing page form + grid helpers (PPC/location pages on site.njk) ── */
.lf {
  width: 100%;
  padding: 15px 16px;
  border: 1.5px solid #E1E5EC;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #0D0F14;
  outline: none;
  background: #fff;
  transition: border-color .2s;
}
.lf:focus { border-color: #FF7A66; }
.lf::placeholder { color: #9AA0AB; }
.btn-primary {
  cursor: pointer;
  background: #FF7A66;
  color: #fff;
  border: none;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 17px;
  border-radius: 12px;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  width: 100%;
}
.btn-primary:hover { transform: translateY(-2px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr !important; text-align: left; }
  .why-grid { grid-template-columns: 1fr !important; }
  .included-grid { grid-template-columns: 1fr !important; }
  .form-card { margin-top: 24px; }
}

/* ── Learn article 2-col (body + sidebar) ── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr !important; }
  .article-aside { position: static !important; }
}
