/* ==================================================================
   NIMOZE — Design system
   Palette: neutral + navy + one blue accent. No other hues.
   Fonts: Cormorant Garamond (display italic emphasis) + DM Sans
   ================================================================== */

/* ---------- 2.2 Tokens ---------- */
:root {
  --ink: #0a1520;
  --ink-2: #1d2a36;
  --muted: #66717c;
  --faint: #9aa4ae;
  --line: #e8ebee;
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --navy: #06121f;
  --navy-2: #0a1b2e;
  --blue: #c74e00;
  --blue-soft: #fdefe4;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  /* 2.3 */
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(9, 28, 50, .06);
  --shadow-md: 0 12px 34px rgba(9, 28, 50, .10);
  --shadow-lg: 0 24px 60px rgba(9, 28, 50, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

button, input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: rgba(199, 78, 0, .18); }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 400;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; color: #fff; }

.text-center { text-align: center; }

/* ---------- 1. Full-width architecture ---------- */
.section { width: 100%; position: relative; }
.section-inner { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: clamp(64px, 8vw, 112px) 0; }
.section-pad-sm { padding: clamp(48px, 5vw, 76px) 0; }
.bg-paper-2 { background: var(--paper-2); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, .7); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

/* ---------- 2.1 Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em, h4 em, .display-em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.04em;
  letter-spacing: -.01em;
}

.bg-navy h1 em, .bg-navy h2 em, .bg-navy h3 em,
.hero h1 em, .page-hero h1 em, .cta-band h2 em, .site-footer h2 em { color: inherit; }

.h-hero {
  font-size: clamp(44px, 6vw, 84px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 400;
}

.h-section {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.h-page {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 400;
}

.h-card { font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 15px; line-height: 1.75; color: var(--muted); }
.body-sm { font-size: 13px; line-height: 1.7; }

.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-head .lead { max-width: 560px; margin: 14px auto 0; }
.section-head.is-left .lead { margin-inline: 0; }

/* Eyebrow pill — 2.1 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--paper-2); color: var(--muted);
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; line-height: 1.6;
  border: 1px solid transparent; margin-bottom: 18px;
}
.eyebrow--dark {
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .75);
  border-color: rgba(255, 255, 255, .14);
}

/* ---------- 2.4 Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 26px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, color .2s ease,
              border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 26px rgba(199, 78, 0, .3);
}
.btn-primary:hover { background: #a34000; color: #fff; }

.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(2, 15, 29, .18); }
.btn-light:hover { background: #f2f5f7; color: var(--navy); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }

.btn-outline-light {
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn-sm { min-height: 38px; padding: 0 18px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 34px; font-size: 14px; }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; transform: none; }

.btn-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .7s linear infinite; display: none;
}
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading .btn-label { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--blue);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / navigation — Section 4 ---------- */
.site-header {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 200;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-fixed {
  position: fixed;
  background: rgba(6, 18, 31, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.header-inner {
  width: min(1400px, calc(100% - 48px)); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.wordmark {
  font-family: var(--font-body); font-size: 22px; font-weight: 600;
  letter-spacing: -.05em; color: #fff; line-height: 1;
}
.wordmark span { color: #ffab5e; }
.site-footer .wordmark, .wordmark.is-dark { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-link {
  position: relative; font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, .82); padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: #fff; }
.nav-link:hover::after, .nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; position: relative; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: background .2s ease;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: transform .3s var(--ease);
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 18, 31, .98);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: calc(var(--header-h) + 20px) 24px 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, visibility .28s ease, transform .28s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 21px; font-weight: 500; letter-spacing: -.03em;
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.mobile-menu a.mm-link:hover { color: #ffab5e; }
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }
.mm-close {
  position: absolute; top: 14px; right: 18px;
  width: 44px; height: 44px; border: 0; background: transparent;
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: inline-flex; }
}

/* ---------- Hero — Section 5 ---------- */
.hero {
  position: relative; width: 100%;
  min-height: clamp(560px, 82vh, 940px);
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden; isolation: isolate; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 27, 53, .38) 0%, rgba(4, 28, 52, .05) 42%, rgba(2, 15, 29, .62) 100%);
}
.hero-content { width: min(760px, calc(100% - 48px)); margin-inline: auto; text-align: center; color: #fff; }
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content p {
  max-width: 560px; margin: 0 auto 30px;
  font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .88);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 760px) {
  .hero { min-height: clamp(500px, 78vh, 760px); padding-bottom: 64px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* ---------- Page hero — Section 8.1 ---------- */
.page-hero {
  position: relative; width: 100%;
  min-height: clamp(320px, 46vh, 480px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(34px, 5vw, 56px);
  overflow: hidden; isolation: isolate; background: var(--navy);
}
.page-hero .hero-bg { z-index: -2; }
.page-hero .hero-overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 27, 53, .42), rgba(2, 15, 29, .66));
}
.page-hero h1 { color: #fff; margin: 12px 0 10px; }
.breadcrumb { font-size: 11px; color: rgba(255, 255, 255, .62); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: rgba(255, 255, 255, .62); }
.breadcrumb a:hover { color: #fff; }
.page-hero .sub { max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 14px; margin: 0; }

/* ---------- Trust bar — 7.1 ---------- */
.trust-bar {
  width: 100%; background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px) 0;
}
/* Cards are centred as a group: auto-fit sizes the columns to however
   many items the CMS returns, justify-content centres the block. */
.trust-row {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
  justify-content: center;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 13px; min-width: 0; padding: 24px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dfe4e8; }
.icon-chip {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-chip--sq { border-radius: 12px; }
.icon-chip--44 { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
/* Fixed box, icon optically centred inside it. */
.trust-icon {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 17px;
  transition: transform .3s var(--ease);
}
.trust-icon svg { display: block; flex: 0 0 auto; }
.trust-item:hover .trust-icon { transform: scale(1.08) rotate(-5deg); }
.trust-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.trust-sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1024px) { .trust-row { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Service card — 7.2 ---------- */
.service-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #dfe4e8; }
.service-card .icon-chip { margin-bottom: 18px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.025em; }
.service-card p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Slider — 7.3 (required behaviour) ---------- */
.slider { position: relative; }
.slider:focus-visible { outline-offset: 6px; }
.slider-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.slide { flex: 0 0 auto; scroll-snap-align: start; min-width: 0; }

.slider--cards .slide { flex-basis: calc((100% - 60px) / 4); }
@media (max-width: 1100px) { .slider--cards .slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 760px) { .slider--cards .slide { flex-basis: 86vw; } }

.slider-controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: clamp(24px, 3vw, 36px);
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.slider-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.slider-btn:disabled { opacity: .4; cursor: not-allowed; }
.slider-dots { display: flex; align-items: center; gap: 9px; }
.slider-dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  background: #d4dade; border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.slider-dot[aria-current="true"] { background: var(--blue); transform: scale(1.35); }
.slider-dot:focus-visible { outline-offset: 4px; }

/* ---------- Work card — 7.3 ---------- */
.work-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  color: inherit;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(6, 18, 31, .78); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
}
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-body h3 { font-size: 16.5px; margin: 0; letter-spacing: -.02em; }
.work-metric { font-size: 12px; color: var(--muted); margin: 0; }
.work-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
}
.work-client { font-size: 13px; font-weight: 700; color: var(--ink); }

/* Filters — /work */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(26px, 3vw, 40px); }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Process — 7.4 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 34px); }
.process-step { position: relative; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: calc(-1 * clamp(10px, 1.5vw, 17px));
  width: 1px; height: 46px; background: var(--line);
}
.process-num {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 64px; line-height: 1; color: var(--blue-soft);
  text-shadow: 1.5px 1.5px 0 var(--blue);
  display: block; margin-bottom: 14px;
}
.process-step h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.process-step p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band — 7.5 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 40px); }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat b {
  display: block; font-size: clamp(40px, 4vw, 56px); font-weight: 600;
  letter-spacing: -.04em; color: #fff; line-height: 1.05;
}
.stat span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.stat-bar { height: 4px; border-radius: 999px; background: #e3e7ea; margin-top: 16px; overflow: hidden; }
.stat-bar i {
  display: block; height: 100%; width: var(--w, 100%);
  background: var(--blue); border-radius: 999px;
  transition: width 1.2s var(--ease) .18s;
}
.js .stat:not(.is-in) .stat-bar i { width: 0; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Editorial split — 7.6 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { max-width: 480px; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.check-list li::before { content: "—"; color: var(--blue); font-weight: 700; flex: 0 0 auto; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-body { max-width: none; }
}

/* ---------- Meta ads spotlight — 7.7 ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.spotlight-copy h2 { color: #fff; }
.spotlight-copy p { color: rgba(255, 255, 255, .72); font-size: 14px; }
.proof-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; }
.proof-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.proof-list .icon-chip { width: 30px; height: 30px; flex-basis: 30px; background: rgba(255, 171, 94, .14); color: #ffab5e; }
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ad-chip {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
}
.ad-chip img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .35s ease, transform .35s ease; }
.ad-chip:hover img { opacity: 1; transform: scale(1.05); }
.ad-chip figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(6, 18, 31, 0), rgba(6, 18, 31, .92));
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .04em;
}
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ad-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials — 7.8 ---------- */
.review-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); height: 100%;
}
.slider--reviews .slide { flex-basis: min(420px, 86%); }
@media (max-width: 760px) { .slider--reviews .slide { flex-basis: 86vw; } }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; line-height: 1; }
.review-card blockquote { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.review-meta b { display: block; font-size: 13px; color: var(--ink); }
.review-meta span { display: block; font-size: 11px; color: var(--muted); }

/* ---------- Pricing — 7.9 ---------- */
.price-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-featured { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .72); position: relative; }
.price-card.is-featured h3, .price-card.is-featured .price { color: #fff; }
.price-card.is-featured .check-list li { color: rgba(255, 255, 255, .84); }
.popular-pill {
  position: absolute; top: 18px; right: 18px;
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 17px; margin-bottom: 12px; }
.price { font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.price small { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--faint); margin-top: 6px; }
.price-card .check-list { margin: 22px 0 26px; flex: 1; }
.check-list .tick { color: #1d9e5f; font-weight: 700; margin-right: 8px; }
.price-card.is-featured .tick { color: #4ade9a; }

/* ---------- Journal — 7.10 ---------- */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  color: inherit;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: inherit; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.post-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); }
.post-body h3 { font-size: 18px; margin: 0; letter-spacing: -.025em; }
.post-body p { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.post-meta { margin-top: auto; padding-top: 12px; font-size: 11.5px; color: var(--faint); }

/* ---------- CTA band — 7.11 ---------- */
.cta-band {
  position: relative; width: 100%; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; isolation: isolate;
  background: var(--navy); text-align: center;
}
.cta-band .hero-bg { z-index: -2; }
.cta-band .hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 15, 29, .8), rgba(2, 15, 29, .45) 55%, rgba(2, 15, 29, .8));
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 520px; margin: 0 auto 28px; font-size: 14px; }

/* ---------- Footer — 7.12 ---------- */
.site-footer { width: 100%; background: var(--navy); color: #fff; padding: clamp(54px, 6vw, 84px) 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 54px); padding-bottom: clamp(38px, 4vw, 58px);
}
.footer-col .footer-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer-col p, .footer-col li, .footer-col a { font-size: 12px; color: #8795a5; }
.footer-blurb { max-width: 300px; line-height: 1.75; margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { color: #8795a5; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.social:hover { background: #fff; color: var(--navy); }
.contact-line { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; }
.contact-line a { color: #8795a5; }
.contact-line a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: #8795a5;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: #8795a5; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Newsletter pill form (footer) */
.newsletter { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 150px; min-width: 0; min-height: 40px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(199, 78, 0, .3); }
.newsletter .btn { min-height: 40px; padding: 0 20px; font-size: 12px; }
.form-msg { font-size: 12px; margin-top: 10px; min-height: 1em; }
.form-msg.is-error { color: #ff9b9b; }
.form-msg.is-success { color: #4ade9a; }

/* ---------- Forms — Section 9 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366717c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(199, 78, 0, .16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d43c3c; }
.field-error { font-size: 11.5px; color: #d43c3c; margin-top: 6px; min-height: 0; }
.field-hint { font-size: 11.5px; color: var(--faint); margin-top: 6px; }

.form-banner {
  border-radius: var(--radius); padding: 14px 18px; font-size: 13px;
  margin-bottom: 20px; display: none;
}
.form-banner.is-visible { display: block; }
.form-banner.is-success { background: #e9f9ef; color: #1d7a3e; }
.form-banner.is-error { background: #fdeeee; color: #b32b2b; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Pill chips multi-select */
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  position: relative; display: inline-flex;
}
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--ink-2); background: var(--paper);
  transition: all .18s ease; user-select: none;
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink-2); }

/* ---------- FAQ (details/summary) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 0;
  position: relative; font-size: 14px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 40px 18px 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- WhatsApp float — 7.13 ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Cookie consent — 7.14 ---------- */
.cookie-card {
  position: fixed; left: 20px; bottom: 20px; z-index: 250;
  width: min(420px, calc(100% - 40px));
  background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 22px; border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.cookie-card.is-visible { transform: none; }
.cookie-card h2 { font-size: 15px; margin-bottom: 8px; }
.cookie-card p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.cookie-actions .btn { min-height: 38px; padding: 0 16px; font-size: 12px; }

/* ---------- Article / case-study ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; letter-spacing: -.035em; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.prose ul, .prose ol { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); padding-left: 20px; }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 12px; color: var(--faint); margin-top: 10px; }
.prose blockquote {
  margin: 30px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--blue);
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  line-height: 1.5; color: var(--ink);
}
.article-meta { font-size: 12px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.meta-bar { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 48px); margin-bottom: 34px; }
.meta-bar div { min-width: 120px; }
.meta-bar dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.meta-bar dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

.next-project {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: border-color .2s ease, transform .2s ease;
}
.next-project:hover { border-color: var(--ink); transform: translateY(-3px); color: inherit; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-rows { display: grid; gap: 20px; margin-top: 26px; }
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-row .icon-chip { width: 40px; height: 40px; flex-basis: 40px; }
.contact-row .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.contact-row .value { font-size: 14px; color: var(--ink); font-weight: 500; }
.contact-row .value:hover { color: var(--blue); }

/* ---------- Search ---------- */
.search-hero { background: var(--paper-2); padding: clamp(46px, 6vw, 80px) 0 0; }
.search-bar { display: flex; gap: 10px; max-width: 640px; margin: 22px auto 0; }
.search-bar input {
  flex: 1; min-height: 50px; padding: 13px 22px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}
.search-bar input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(199, 78, 0, .16); }
.result-group { margin-bottom: 40px; }
.result-group h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.result-item { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.result-item b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 600; }
.result-item span { font-size: 13px; color: var(--muted); }
.result-item:hover b { color: var(--blue); }
.empty-state { text-align: center; padding: 40px 0; }
.suggest-row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 18px; }
.suggest-row a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-2); }
.suggest-row a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Error pages — 8.9 ---------- */
.error-page { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.error-code {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--blue-soft);
  display: block; margin-bottom: 12px;
}
.error-page h1 { margin-bottom: 12px; }

/* ---------- Values / team ---------- */
.value-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card h3 { font-size: 17px; margin-bottom: 9px; }
.value-card p { font-size: 13px; color: var(--muted); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 20px; }
.team-card .avatar { width: 72px; height: 72px; flex-basis: 72px; font-size: 24px; margin: 0 auto 16px; }
/* Uploaded founder portrait (Website > Images); initials otherwise. */
.team-card .avatar--photo { object-fit: cover; padding: 0; border: 1px solid var(--line); background: none; }
.team-card b { display: block; font-size: 15px; color: var(--ink); }
.team-card span { font-size: 12.5px; color: var(--muted); }
/* One member only: keep the card a sensible width instead of a lone quarter */
.team-grid.is-single { grid-template-columns: minmax(0, 340px); justify-content: center; }
.founder-note { max-width: 680px; margin: 30px auto 0; text-align: center; }
.founder-note p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.founder-note strong { color: var(--ink); font-weight: 600; }

/* ---------- Misc layout helpers ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row.is-center { justify-content: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.card-note { font-size: 12.5px; color: var(--faint); }
.divider { height: 1px; background: var(--line); border: 0; margin: clamp(34px, 4vw, 56px) 0; }
.price-note {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; font-size: 13px; line-height: 1.7;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .slider-track { scroll-behavior: auto; }
}

/* ---------- Vacancies ---------- */
.job-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.job-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.job-top .eyebrow { margin-bottom: 0; }
.job-pay { text-align: right; line-height: 1.2; }
.job-pay b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.job-pay span { display: block; font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.job-card h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 10px; }
.job-meta { font-size: 12px; color: var(--faint); margin: 0 0 14px; }
.job-summary { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.job-details {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.job-card h4 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 24px 0 12px; }
.job-details h4:first-child { margin-top: 0; }
.job-list { margin-top: 0; gap: 9px; }
.job-list--muted li { color: var(--muted); }
.job-cta { margin-top: 30px; align-self: flex-start; }
.job-hint { font-size: 12px; color: var(--faint); margin: 8px 0 0; line-height: 1.55; }
.how-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-num {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.how-step b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.how-step > span > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.65; }
.job-note {
  margin-top: 30px; padding: 20px 22px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px;
}
.job-note b { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 6px; }
.job-note p { margin: 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 700px) {
  .job-pay { text-align: left; }
}

/* ---------- Entrances & scroll reveal ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes bg-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero > .hero-bg { animation: bg-settle 1.6s var(--ease) both; }
.hero-content > * { animation: rise-in .9s var(--ease) backwards; }
.hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero-content > *:nth-child(2) { animation-delay: .16s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .44s; }

.page-hero .section-inner > *,
.cta-band .section-inner > * { animation: rise-in .8s var(--ease) backwards; }
.page-hero .section-inner > *:nth-child(2),
.cta-band .section-inner > *:nth-child(2) { animation-delay: .12s; }
.page-hero .section-inner > *:nth-child(3),
.cta-band .section-inner > *:nth-child(3) { animation-delay: .24s; }

/* Sibling stagger for anything that reveals together. */
.reveal:nth-child(2) { --d: 90ms; }
.reveal:nth-child(3) { --d: 180ms; }
.reveal:nth-child(4) { --d: 270ms; }
.reveal:nth-child(5) { --d: 360ms; }
.reveal:nth-child(6) { --d: 450ms; }

/* Hidden until site.js marks it visible; the keyframe owns transform so card
   hover transforms keep working once the entrance has finished. */
.js .reveal { opacity: 0; }
.js .reveal.is-in {
  opacity: 1;
  animation: rise-in .7s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}

/* Directional reveals - side entrances for split layouts, a soft pop for
   card clusters. Only the keyframe changes; timing stays on the base rule. */
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-46px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(46px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.86) translateY(22px); }
  to { opacity: 1; transform: none; }
}
.js .reveal--left.is-in { animation-name: slide-in-left; }
.js .reveal--right.is-in { animation-name: slide-in-right; }
.js .reveal--scale.is-in { animation-name: pop-in; animation-duration: .8s; }

/* ---------- Ambient loops (homepage) ---------- */
/* Rotating word in the hero headline: stacked words cycle on a 9.6s loop. */
.hero-rot {
  display: inline-grid; overflow: hidden; vertical-align: bottom;
  padding: .06em 0 .16em; margin: -.06em 0 -.16em;
}
.hero-rot > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(72%);
  animation: rot-word 9.6s cubic-bezier(.65, .05, .35, 1) infinite;
  white-space: nowrap;
}
.hero-rot > span:nth-child(2) { animation-delay: 2.4s; }
.hero-rot > span:nth-child(3) { animation-delay: 4.8s; }
.hero-rot > span:nth-child(4) { animation-delay: 7.2s; }
@keyframes rot-word {
  0% { opacity: 0; transform: translateY(72%); }
  4%, 21% { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(-72%); }
}

/* Two slow drifting light orbs behind the hero copy. */
.hero-orb {
  position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(64px); pointer-events: none;
  animation: orb-drift 17s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-orb--1 {
  width: clamp(220px, 34vw, 420px); aspect-ratio: 1;
  top: -8%; right: 6%;
  background: radial-gradient(circle, rgba(11, 130, 232, .55), transparent 70%);
}
.hero-orb--2 {
  width: clamp(170px, 26vw, 320px); aspect-ratio: 1;
  bottom: 2%; left: 5%;
  background: radial-gradient(circle, rgba(255, 171, 94, .42), transparent 70%);
  animation-duration: 23s; animation-delay: -7s;
}
@keyframes orb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-34px, 30px, 0) scale(1.09); }
  100% { transform: translate3d(28px, -22px, 0) scale(.95); }
}

/* Scroll cue - a looping dot inside a phone-style pill. */
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 1;
  width: 24px; height: 38px; margin-left: -12px;
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px;
  pointer-events: none;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px;
  background: #fff;
  animation: scroll-dot 1.9s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (max-width: 760px) { .hero-scroll { display: none; } }

/* Endless ticker strip - the track is two identical groups, so -50% loops
   seamlessly. Pauses on hover for readability. */
.ticker {
  width: 100%; overflow: hidden; background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 15px 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex: 0 0 auto; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); white-space: nowrap;
}
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #ffab5e; flex: 0 0 auto; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* Reduced motion: entrances and UI transitions go instant, but the
   ambient homepage loops (hero word, orbs, scroll cue, ticker) keep
   running - no content is hidden behind them, and the studio wants
   the page alive for everyone. These re-statements also beat the
   blanket .001ms rule above. */
@media (prefers-reduced-motion: reduce) {
  .hero-rot > span {
    animation-duration: 9.6s !important;
    animation-iteration-count: infinite !important;
  }
  .hero-orb {
    animation-duration: 17s !important;
    animation-iteration-count: infinite !important;
  }
  .hero-orb--2 { animation-duration: 23s !important; }
  .hero-scroll::after {
    animation-duration: 1.9s !important;
    animation-iteration-count: infinite !important;
  }
  .ticker-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ---------- Nimoze AI chat widget ---------- */
.chatw {
  position: fixed;
  right: 20px;
  bottom: 86px; /* stacked above the WhatsApp float */
  z-index: 260;
  font-family: var(--font-body);
}
.chatw-fab {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(6, 18, 31, .35);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.chatw-fab:hover { transform: translateY(-2px); background: var(--blue); }
.chatw-fab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.chatw-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(360px, calc(100vw - 40px));
  height: min(480px, calc(100vh - 230px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg, 0 24px 60px rgba(6, 18, 31, .25));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatw-in .18s var(--ease);
}
.chatw-panel[hidden] { display: none; }
@keyframes chatw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chatw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: var(--navy);
  color: #fff;
}
.chatw-id { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.chatw-id b { font-size: 15px; font-weight: 600; }
.chatw-id small { grid-column: 2; font-size: 11.5px; opacity: .72; line-height: 1.3; }
.chatw-dot { width: 8px; height: 8px; border-radius: 50%; background: #39d98a; grid-row: 1 / span 2; }
.chatw-x { background: none; border: 0; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; opacity: .75; padding: 0 2px; }
.chatw-x:hover { opacity: 1; }
.chatw-log {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper-2);
}
.chatw-msg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.chatw-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chatw-msg--ai { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.chatw-msg a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.chatw-msg--user a { color: #fff; }
.chatw-msg--typing { letter-spacing: .3em; animation: chatw-blink 1.1s infinite; }
@keyframes chatw-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.chatw-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 12px 0; background: var(--paper); }
.chatw-chips button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.chatw-chips button:hover { border-color: var(--blue); color: var(--blue); }
.chatw-form { display: flex; gap: 8px; padding: 12px; background: var(--paper); border-top: 1px solid var(--line); }
.chatw-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}
.chatw-form input:focus { border-color: var(--navy); }
.chatw-form button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.chatw-form button:hover { background: var(--blue); }
.chatw-form.is-busy button { opacity: .5; cursor: wait; }
@media (max-width: 480px) {
  .chatw { right: 20px; bottom: 84px; }
  .chatw-panel { position: fixed; left: 12px; right: 12px; bottom: 78px; width: auto; height: min(72vh, 540px); }
}
@media (prefers-reduced-motion: reduce) {
  .chatw-panel { animation: none; }
  .chatw-msg--typing { animation: none; }
}

/* ---------------- Smart Order builder ---------------- */
.so-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .so-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.so-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 18px; background: #fff; }
.so-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .so-grid { grid-template-columns: 1fr 1fr; } .so-grid .field:first-child { grid-column: 1 / -1; } }
.so-group { border: 0; padding: 0; margin: 16px 0 0; }
.so-group legend { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 9px; text-transform: capitalize; }
.so-muted { color: var(--faint); font-size: 13px; }
.so-opt { color: var(--faint); font-weight: 400; }
.so-loading { color: var(--faint); }
.field-help { font-size: 12px; color: var(--faint); margin: 5px 0 0; }
.so-estimate-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--paper-2); position: sticky; top: 84px; }
.so-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.so-total { display: flex; justify-content: space-between; font-size: 17px; margin: 14px 0 4px; }
.so-included-t { font-size: 13px; margin: 16px 0 0; }
.so-mobilebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 18px; z-index: 5; }
.so-mobilebar span { font-weight: 700; }
@media (min-width: 1024px) { .so-mobilebar { display: none; } }
