/* ============================================================
   TrueNorth Direct — Design Tokens
   Bold, warm-blue system: near-white paper, near-black ink,
   True-North blue as the primary accent, warm yellow + coral
   as secondary chip colors. Condensed-bold display (Archivo)
   + grotesk body (Manrope).
   ============================================================ */

:root {
  --paper: #f5f7fb;
  --paper-dim: #e9edf7;
  --paper-line: rgba(15, 23, 42, 0.12);
  --paper-line-strong: rgba(15, 23, 42, 0.22);

  --ink: #10131f;
  --ink-soft: #1a1f33;
  --ink-line: rgba(245, 247, 251, 0.16);
  --ink-line-strong: rgba(245, 247, 251, 0.28);

  --accent: #2f5fe0;
  --accent-dim: #1c46b8;
  --accent-tint: #dde6fb;
  --accent-on-dark: #86a4f7;

  --yellow: #ffcf3f;
  --yellow-dim: #e0a900;
  --yellow-tint: #fff3d1;
  --coral: #ff6b57;
  --coral-tint: #ffe1da;
  --teal: #16b3a3;
  --teal-tint: #d7f3ef;
  --purple: #7c5cff;
  --purple-tint: #e7e1ff;

  --muted: #5b6478;
  --muted-strong: #333a4d;
  --muted-on-dark: #a7b0c9;

  --radius-sm: 999px;
  --radius-md: 16px;
  --serif: "Archivo", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Archivo", monospace;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.01em;
}

.italic { font-style: normal; color: var(--accent); }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.section--dark .italic,
.hero .italic,
.page-hero .italic,
.confirm-hero .italic { color: var(--accent-on-dark); }

p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(56px, 9vw, 108px) 0;
}
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--compact-cat { padding: clamp(28px, 3.5vw, 44px) 0; }
.section--compact-cat .eyebrow-block { margin-bottom: 10px; }
.section--compact-cat .service-grid { margin-top: 24px; }
.section--compact-cat + .section--compact-cat { border-top: 1px solid var(--paper-line); }
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dim { background: var(--paper-dim); }

.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- soft section frame ---------- */
.framed {
  position: relative;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding-top: 40px;
  padding-bottom: 40px;
}
.section--dark .framed { border-color: var(--ink-line); }

/* ---------- eyebrow tag: soft pill + dot ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dim);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 7px 14px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.section--dark .eyebrow,
.page-hero .eyebrow,
.confirm-hero .eyebrow {
  color: var(--accent-on-dark);
  background: rgba(47, 95, 224, 0.16);
}
.eyebrow__num { display: none; }

/* ---------- headline scale ---------- */
.h-display {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h-1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.06; }
.h-2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.12; }
.h-3 { font-size: 1.28rem; line-height: 1.25; }

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--muted-strong);
  line-height: 1.55;
  max-width: 52ch;
}
.section--dark .lede { color: var(--muted-on-dark); }

.eyebrow-block { margin-bottom: 18px; }
.eyebrow-block .h-display,
.eyebrow-block .h-1 { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--accent-dim); }
.btn--ghost { border-color: var(--paper-line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost {
  border-color: var(--ink-line-strong);
  color: var(--paper);
  background: rgba(16, 19, 31, 0.4);
  backdrop-filter: blur(6px);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover { border-color: var(--paper); }
.btn--on-dark { background: var(--paper); color: var(--ink); }
.btn--on-dark:hover { background: var(--accent); color: var(--paper); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
  transition: background 0.2s ease;
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
}
.nav__brand svg { width: 30px; height: 30px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav__brand:hover svg { transform: rotate(28deg); }
.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}
.nav__links a {
  color: var(--muted-strong);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); border-color: var(--accent); }
.nav__cta { flex-shrink: 0; }
.nav__burger { display: none; position: relative; }
.nav__burger-icon { display: block; color: var(--ink); }
.nav__burger-icon--close { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nav__burger[aria-expanded="true"] .nav__burger-icon--open { display: none; }
.nav__burger[aria-expanded="true"] .nav__burger-icon--close { display: block; }
.nav__mobile-panel { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--paper-line-strong);
    border-radius: var(--radius-sm);
    background: none;
  }
  .nav__cta { display: none; }

  .nav__mobile-panel.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px var(--pad) 22px;
    border-top: 1px solid var(--paper-line);
    background: var(--paper);
  }
  .nav__mobile-panel a {
    padding: 13px 4px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--muted-strong);
    border-bottom: 1px solid var(--paper-line);
  }
  .nav__mobile-panel a:hover, .nav__mobile-panel a.is-active { color: var(--ink); }
  .nav__mobile-panel .btn { width: 100%; justify-content: center; margin-top: 12px !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--ink);
  background-image: url("/static/images/photos/nsb-aerial-hero.jpg");
  background-size: cover;
  background-position: center 60%;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(47, 95, 224, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(16, 19, 31, 0.86) 0%, rgba(16, 19, 31, 0.82) 55%, rgba(16, 19, 31, 0.92) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(48px, 7vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink-line-strong);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--accent-on-dark); font-weight: 800; }
.hero .lede { margin-top: 24px; color: var(--muted-on-dark); max-width: 46ch; font-size: 1.12rem; }
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero__fine { margin-top: 18px; font-size: 13px; color: var(--muted-on-dark); opacity: 0.8; }

/* staggered hero entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__eyebrow, .hero h1, .hero .lede, .hero__cta, .hero__fine, .hero .trust-strip,
.page-hero .eyebrow, .page-hero h1, .page-hero .lede, .page-hero .hero__cta {
  animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__eyebrow, .page-hero .eyebrow { animation-delay: 0.05s; }
.hero h1, .page-hero h1 { animation-delay: 0.16s; }
.hero .lede, .page-hero .lede { animation-delay: 0.3s; }
.hero__cta, .page-hero .hero__cta { animation-delay: 0.42s; }
.hero__fine { animation-delay: 0.5s; }
.hero .trust-strip { animation-delay: 0.58s; }

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}
.hero__eyebrow .dot { animation: pulseDot 2.2s ease-in-out infinite; }

/* ============================================================
   CONNECTS ROW ("marketing that connects")
   ============================================================ */
.connects__head { max-width: 62ch; margin: 0 auto; text-align: center; }
.connects__head .h-1 { font-weight: 800; }

.connects__stem {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 34px;
}
.connects__stem-line {
  width: 1px;
  height: 40px;
  background: var(--paper-line-strong);
}
.connects__stem-label {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
}

.connects__row {
  display: flex;
  margin-top: 34px;
  border-top: 1px solid var(--paper-line);
  position: relative;
}
.connects__item {
  position: relative;
  flex: 1;
  padding: 28px 20px 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.connects__item + .connects__item { border-left: 1px solid var(--paper-line); }
.connects__row.reveal.is-visible .connects__item { opacity: 1; transform: none; }
.connects__row.reveal.is-visible .connects__item:nth-child(2) { transition-delay: 0.06s; }
.connects__row.reveal.is-visible .connects__item:nth-child(3) { transition-delay: 0.12s; }
.connects__row.reveal.is-visible .connects__item:nth-child(4) { transition-delay: 0.18s; }
.connects__row.reveal.is-visible .connects__item:nth-child(5) { transition-delay: 0.24s; }
.connects__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.connects__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.connects__icon svg { width: 18px; height: 18px; }
.connects__num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.connects__item h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.connects__item p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}
.connects__icon--blue { background: var(--accent); }
.connects__icon--coral { background: var(--coral); }
.connects__icon--teal { background: var(--teal); }
.connects__icon--purple { background: var(--purple); }
.connects__icon--yellow { background: var(--yellow-dim); }
@media (max-width: 900px) {
  .connects__row { flex-wrap: wrap; }
  .connects__item { flex: 0 0 50%; border-left: none !important; border-top: 1px solid var(--paper-line); }
  .connects__item:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 520px) {
  .connects__item { flex: 0 0 100%; }
  .connects__item:nth-child(2) { border-top: 1px solid var(--paper-line); }
}

/* ============================================================
   FACET SPLIT (Marketing vs AI Infrastructure)
   ============================================================ */
.facet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 820px) { .facet-grid { grid-template-columns: 1fr; } }

.facet-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(16, 19, 31, 0.05);
  padding: clamp(30px, 4vw, 48px);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, opacity 0.5s ease;
}
.reveal.is-visible .facet-card { opacity: 1; transform: none; }
.reveal.is-visible .facet-card:nth-child(2) { transition-delay: 0.1s; }
.facet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -24px rgba(16, 19, 31, 0.35);
  z-index: 2;
}
.facet-card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink-line); }
.facet-card--dark:hover { box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.55); }
.facet-card__num { display: none; }
.facet-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-dim);
  background: var(--accent-tint);
  padding: 7px 13px;
  border-radius: 999px;
  margin-top: 20px;
}
.facet-card__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.facet-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.facet-card--dark .facet-card__tag { color: var(--accent-on-dark); }
.facet-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  margin-bottom: 16px;
}
.facet-card p { color: var(--muted-strong); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.facet-card--dark p { color: var(--muted-on-dark); }
.facet-card__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--muted-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.facet-card--dark .facet-card__list { color: var(--muted-on-dark); }
.facet-card__list li {
  border: 1px solid var(--paper-line-strong);
  border-radius: 999px;
  padding: 5px 12px;
}
.facet-card--dark .facet-card__list li { border-color: var(--ink-line-strong); }
.facet-card__cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.facet-card__cta svg { transition: transform 0.18s ease; }
.facet-card:hover .facet-card__cta svg { transform: translateX(4px); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 44px;
}
@media (max-width: 760px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
.process-grid.reveal.is-visible .process-step,
.reveal.is-visible .process-step {
  opacity: 1;
  transform: none;
}
.reveal.is-visible .process-step:nth-child(2) { transition-delay: 0.1s; }
.reveal.is-visible .process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:hover .process-step__num { transform: scale(1.08); }
.process-step__num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent-dim);
  background: var(--accent-tint);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.section--dark .process-step__num { color: var(--accent-on-dark); background: rgba(47, 95, 224, 0.18); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: var(--muted-strong); font-size: 14.5px; line-height: 1.6; }
.section--dark .process-step p { color: var(--muted-on-dark); }
.process-step__meta {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--paper-line);
  padding-top: 12px;
}
.section--dark .process-step__meta { color: var(--muted-on-dark); border-color: var(--ink-line); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(16, 19, 31, 0.05);
  padding: 28px 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: background 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.45s ease;
}
.service-grid.reveal.is-visible .service-card { opacity: 1; transform: none; }
.service-grid.reveal.is-visible .service-card:nth-child(1) { transition-delay: 0.02s; }
.service-grid.reveal.is-visible .service-card:nth-child(2) { transition-delay: 0.07s; }
.service-grid.reveal.is-visible .service-card:nth-child(3) { transition-delay: 0.12s; }
.service-grid.reveal.is-visible .service-card:nth-child(4) { transition-delay: 0.17s; }
.service-grid.reveal.is-visible .service-card:nth-child(5) { transition-delay: 0.22s; }
.service-grid.reveal.is-visible .service-card:nth-child(6) { transition-delay: 0.27s; }
.service-grid.reveal.is-visible .service-card:nth-child(7) { transition-delay: 0.32s; }
.service-grid.reveal.is-visible .service-card:nth-child(8) { transition-delay: 0.37s; }
.service-grid.reveal.is-visible .service-card:nth-child(9) { transition-delay: 0.42s; }
.service-card:hover { background: var(--paper-dim); border-color: var(--accent); box-shadow: 0 14px 30px -20px rgba(16, 19, 31, 0.25); transform: translateY(-3px); }
.service-card__icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease;
}
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--paper);
  transform: scale(1.1) rotate(-6deg);
}
.service-card__icon svg { width: 19px; height: 19px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 13.8px; color: var(--muted-strong); line-height: 1.55; }

/* dark variant used on AI Infrastructure page */
.service-grid--dark .service-card { background: var(--ink-soft); color: var(--paper); border-color: var(--ink-line); }
.service-grid--dark .service-card:hover { background: #2c2519; border-color: var(--accent-on-dark); }
.service-grid--dark .service-card p { color: var(--muted-on-dark); }
.service-grid--dark .service-card__icon { background: rgba(47, 95, 224, 0.18); color: var(--accent-on-dark); }

/* ---------- service category quick-nav ---------- */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.service-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-strong);
  border: 1px solid var(--paper-line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.service-nav a:hover { border-color: var(--accent); color: var(--accent-dim); background: var(--accent-tint); }

/* category anchor targets: clear the sticky nav on jump */
#back-office, #paid-ads, #content-authority, #automation, #web-direct { scroll-margin-top: 92px; }

/* ---------- expandable service cards ---------- */
.service-grid--categorized { align-items: start; }
.service-card--expand { cursor: pointer; }
.service-card--expand:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.service-card__top .service-card__icon { margin-bottom: 0; }
.service-card__toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--paper-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-card__toggle svg { width: 13px; height: 13px; }
.service-card--expand:hover .service-card__toggle { border-color: var(--accent); color: var(--accent); }
.service-card--expand.is-open .service-card__toggle { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: rotate(135deg); }
.service-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card__detail-inner {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--paper-line);
}
.service-card__detail-inner h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.service-card__detail-inner ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.service-card__detail-inner li {
  font-size: 13.3px;
  color: var(--muted-strong);
  line-height: 1.5;
  padding-left: 15px;
  position: relative;
}
.service-card__detail-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.service-card__result { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.service-card__result strong { color: var(--accent-dim); }

/* ---------- VA feature section background photo ---------- */
.va-feature { position: relative; overflow: hidden; }
.va-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/photos/va-hero.webp");
  background-size: cover;
  background-position: center 25%;
  filter: blur(7px) brightness(0.4) saturate(0.9);
  transform: scale(1.08);
}
.va-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 19, 31, 0.78) 0%, rgba(16, 19, 31, 0.9) 55%, var(--ink) 100%);
}
.va-feature .wrap { position: relative; z-index: 2; }

/* ============================================================
   FOUNDER / ABOUT
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-people { display: flex; gap: 20px; margin: 22px 0 20px; flex-wrap: wrap; }
.founder-person { display: flex; align-items: center; gap: 12px; }
.founder-person img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--paper-line-strong);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}
.founder-person:hover img { transform: scale(1.08); border-color: var(--accent); }
.founder-person strong { display: block; font-size: 14px; }
.founder-person span { display: block; font-size: 12.5px; color: var(--muted); max-width: 22ch; }
.founder-credential { font-size: 14px; color: var(--muted-strong); border-top: 1px solid var(--paper-line); padding-top: 18px; margin-top: 4px; }
.founder-body p { margin-bottom: 16px; font-size: 15.5px; line-height: 1.7; color: var(--muted-strong); }
.founder-body .pull { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 1.4rem; color: var(--accent-dim); line-height: 1.35; margin-bottom: 22px; }
.section--dark .founder-body .pull { color: var(--accent-on-dark); }

.process-photo img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius-md); }

/* ---------- VA task checklist (Marketing Services page) ---------- */
.va-tasks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  align-content: start;
}
@media (max-width: 480px) { .va-tasks { grid-template-columns: 1fr; } }
.va-task__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(47, 95, 224, 0.18);
  color: var(--accent-on-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.va-task__icon svg { width: 17px; height: 17px; }
.va-task h4 { font-size: 14.5px; color: var(--paper); margin-bottom: 6px; }
.va-task p { font-size: 13px; line-height: 1.5; color: var(--muted-on-dark); }

.point-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
  border-top: 1px solid var(--paper-line);
  padding-top: 32px;
}
@media (max-width: 760px) { .point-row { grid-template-columns: 1fr; } }
.section--dark .point-row { border-color: var(--ink-line); }
.point-row > div {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.point-row.reveal.is-visible > div { opacity: 1; transform: none; }
.point-row.reveal.is-visible > div:nth-child(2) { transition-delay: 0.08s; }
.point-row.reveal.is-visible > div:nth-child(3) { transition-delay: 0.16s; }
.point-row strong { display: block; font-size: 15px; margin-bottom: 8px; }
.point-row span { font-size: 13.8px; color: var(--muted-strong); line-height: 1.55; }
.section--dark .point-row span { color: var(--muted-on-dark); }

/* ============================================================
   CASE-STUDY STRIP
   ============================================================ */
.case-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 18px;
  margin-top: 40px;
  scrollbar-width: thin;
}
.case-card {
  flex: 0 0 264px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--paper);
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.45s ease;
  display: flex;
  flex-direction: column;
}
.case-strip.reveal.is-visible .case-card { opacity: 1; transform: none; }
.case-strip.reveal.is-visible .case-card:nth-child(2) { transition-delay: 0.05s; }
.case-strip.reveal.is-visible .case-card:nth-child(3) { transition-delay: 0.1s; }
.case-strip.reveal.is-visible .case-card:nth-child(4) { transition-delay: 0.15s; }
.case-strip.reveal.is-visible .case-card:nth-child(5) { transition-delay: 0.2s; }
.case-strip.reveal.is-visible .case-card:nth-child(6) { transition-delay: 0.25s; }
.case-strip.reveal.is-visible .case-card:nth-child(7) { transition-delay: 0.3s; }
.case-strip.reveal.is-visible .case-card:nth-child(8) { transition-delay: 0.35s; }
.case-strip.reveal.is-visible .case-card:nth-child(9) { transition-delay: 0.4s; }
.case-strip.reveal.is-visible .case-card:nth-child(10) { transition-delay: 0.45s; }
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 36px -22px rgba(16, 19, 31, 0.3);
}
.case-card__logo {
  height: 40px; display: flex; align-items: center; margin-bottom: 14px;
}
.case-card__logo img { max-height: 34px; width: auto; filter: grayscale(1); opacity: 0.82; transition: filter 0.3s ease, opacity 0.3s ease; }
.case-card:hover .case-card__logo img { filter: grayscale(0); opacity: 1; }
/* dark-background source logos (e.g. black jpg lockups) get a matching dark chip instead of floating on cream */
.case-card__logo--dark {
  height: auto;
  background: var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  width: fit-content;
}
.case-card__logo--dark img { max-height: 26px; filter: none; opacity: 1; }
/* square illustrated art (e.g. podcast cover) stays full color, shown as a tile not a wordmark */
.case-card__logo--art {
  height: 56px;
  width: 56px;
  border-radius: 8px;
  overflow: hidden;
}
.case-card__logo--art img { height: 100%; width: 100%; max-height: none; object-fit: cover; filter: none; opacity: 1; }
.case-card__industry { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.case-card__location { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.case-card h4 { font-size: 1.02rem; margin: 8px 0 10px; }
.case-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.case-card--more {
  background: var(--ink);
  border-color: var(--ink-line);
  color: var(--paper);
  justify-content: center;
}
.case-card--more h4 { color: var(--paper); font-size: 1.08rem; }
.case-card--more p { color: var(--muted-on-dark); margin-bottom: 16px; }
.case-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}
.case-card__chips span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted-strong);
  border: 1px solid var(--paper-line-strong);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 60px); }
@media (max-width: 820px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-item {
  border-top: 1px solid var(--paper-line);
}
.faq-item:last-child { border-bottom: 1px solid var(--paper-line); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.25s ease, color 0.25s ease;
}
.faq-item__q:hover { padding-left: 8px; color: var(--accent-dim); }
.faq-item__q svg { flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); color: var(--accent); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.is-open .faq-item__a { max-height: 240px; padding-bottom: 20px; }
.faq-item__a p { font-size: 14.5px; color: var(--muted-strong); line-height: 1.6; max-width: 56ch; }

/* ============================================================
   ISOMETRIC DIAGRAM (AI Infrastructure page)
   ============================================================ */
.section--diagram {
  background: radial-gradient(120% 90% at 50% 8%, #0c1830 0%, #060d1c 45%, #010409 100%);
}
.section--diagram .framed { border-color: rgba(134, 164, 247, 0.14); }
.diagram-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px) 0;
}
.diagram-wrap svg,
.diagram-wrap img { width: 100%; max-width: 620px; height: auto; border-radius: var(--radius-md); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 104px) 0 clamp(44px, 6vw, 64px);
  text-align: center;
}
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 26ch; margin-left: auto; margin-right: auto; }
.page-hero h1 em { font-style: normal; color: var(--accent-on-dark); }
.page-hero .lede { margin-top: 20px; color: var(--muted-on-dark); margin-left: auto; margin-right: auto; }

/* ============================================================
   LEGAL CONTENT
   ============================================================ */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 10px; font-family: var(--sans); font-weight: 700; color: var(--ink); }
.legal-content p, .legal-content li { font-size: 15px; color: var(--muted-strong); line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin: 0 0 14px; }
.legal-content a { color: var(--accent-dim); text-decoration: underline; }
.legal-content strong { color: var(--ink); }
.legal-content__updated { font-size: 13px; color: var(--muted); margin-bottom: 36px; }

/* ============================================================
   PHOTOGRAPHY
   ============================================================ */
.page-hero--photo { position: relative; overflow: hidden; }
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(0.5) sepia(0.25) contrast(1.05) brightness(0.55);
}
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 19, 31, 0.5) 0%, rgba(16, 19, 31, 0.88) 75%, var(--ink) 100%);
}
.page-hero--photo .wrap { position: relative; z-index: 2; }
.page-hero--photo-marketing::before { background-image: url("/static/images/photos/hvac-technician.jpg"); }
.page-hero--photo-ai::before {
  background-image: url("/static/images/photos/ai-hero-network.webp");
  background-position: center 40%;
  filter: blur(6px) brightness(0.55) saturate(1.1);
  transform: scale(1.08);
}
.page-hero--photo-ai::after { background: linear-gradient(180deg, rgba(16, 19, 31, 0.55) 0%, rgba(16, 19, 31, 0.82) 70%, var(--ink) 100%); }

.photo-band {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 8;
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.25) sepia(0.12) contrast(1.05);
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 19, 31, 0) 45%, rgba(16, 19, 31, 0.4) 100%);
}
.photo-band__caption {
  position: absolute;
  left: clamp(20px, 3vw, 32px);
  bottom: clamp(16px, 2.5vw, 24px);
  z-index: 2;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 34ch; margin: 0 auto 22px; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   EMBED SHELL (booking page placeholders)
   ============================================================ */
.embed-shell {
  border: 1.5px dashed var(--paper-line-strong);
  border-radius: var(--radius-md);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: var(--paper-dim);
}
.section--dark .embed-shell,
.embed-shell--dark { border-color: var(--ink-line-strong); background: var(--ink-soft); }
.embed-shell__inner { max-width: 36ch; }
.embed-shell__icon {
  width: 42px; height: 42px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--paper-line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.section--dark .embed-shell__icon,
.embed-shell--dark .embed-shell__icon { border-color: var(--ink-line-strong); color: var(--muted-on-dark); }
.embed-shell strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.section--dark .embed-shell strong,
.embed-shell--dark strong { color: var(--paper); }
.embed-shell p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.section--dark .embed-shell p,
.embed-shell--dark p { color: var(--muted-on-dark); }
.embed-shell code {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted-strong);
  border: 1px solid var(--paper-line-strong);
}
.section--dark .embed-shell code,
.embed-shell--dark code { background: var(--ink); color: var(--muted-on-dark); border-color: var(--ink-line-strong); }

/* ============================================================
   THANK-YOU PAGE
   ============================================================ */
.confirm-nav-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--paper-line-strong);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.confirm-nav-indicator .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: pulseDot 2.2s ease-in-out infinite; }

.confirm-hero {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(56px, 8vw, 90px) 0 clamp(44px, 6vw, 64px);
}
.confirm-badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-on-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-on-dark);
  margin: 0 auto 22px;
}
.confirm-hero .eyebrow { justify-content: center; }
.confirm-hero h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.confirm-hero .lede { margin: 20px auto 0; text-align: center; }

.step-card {
  border-top: 1px solid var(--paper-line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
}
.step-card:last-child { border-bottom: 1px solid var(--paper-line); }
.step-card__num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent-dim);
  background: var(--accent-tint);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}
.step-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--paper-line-strong);
  color: var(--muted-strong);
  margin-bottom: 10px;
}
.step-card__badge--important { color: var(--accent-dim); border-color: var(--accent); background: var(--accent-tint); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.step-card p { font-size: 14.5px; color: var(--muted-strong); line-height: 1.65; margin-bottom: 12px; max-width: 62ch; }
.step-card p:last-of-type { margin-bottom: 0; }
.step-card strong { color: var(--ink); }

.note-box {
  display: flex;
  gap: 12px;
  border: 1px solid var(--paper-line-strong);
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted-strong);
  line-height: 1.6;
}
.note-box svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.note-box strong { color: var(--ink); }

.confirm-close {
  border: 1px solid var(--paper-line-strong);
  border-radius: var(--radius-md);
  background: var(--paper-dim);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
@media (max-width: 620px) { .confirm-close { grid-template-columns: 1fr; text-align: left; } }
.confirm-close p { font-size: 15.5px; color: var(--muted-strong); line-height: 1.65; margin-bottom: 14px; }
.confirm-close p:last-of-type { margin-bottom: 0; font-family: var(--sans); font-weight: 700; color: var(--accent-dim); font-size: 1.15rem; }
.confirm-close__person { text-align: center; flex-shrink: 0; }
.confirm-close__person img {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--paper-line-strong);
  margin: 0 auto 10px;
}
.confirm-close__person strong { display: block; font-size: 14px; }
.confirm-close__person span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.confirm-footer {
  padding: 28px 0;
  border-top: 1px solid var(--paper-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}
.confirm-footer a { color: var(--muted-strong); font-weight: 600; }
.confirm-footer a:hover { color: var(--accent); }
.confirm-footer__links { display: flex; gap: 24px; }

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.booking-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 31, 0.66);
  backdrop-filter: blur(3px);
}
.booking-modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 760px;
  max-height: min(88vh, 820px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.booking-modal.is-open .booking-modal__panel { transform: none; opacity: 1; }
.booking-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--paper-line-strong);
  background: var(--paper);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.booking-modal__close:hover { background: var(--accent); color: var(--paper); transform: rotate(90deg); }
.booking-modal__head { max-width: 46ch; margin-bottom: 24px; padding-right: 40px; }
.booking-modal .embed-shell { min-height: 320px; }

/* ---------- how-it-works step list (inside booking-modal shell) ---------- */
.modal-steps { display: flex; flex-direction: column; gap: 22px; }
.modal-step { display: flex; gap: 16px; align-items: flex-start; }
.modal-step__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
}
.modal-step h4 { font-size: 15px; margin-bottom: 4px; }
.modal-step p { font-size: 13.8px; color: var(--muted-strong); line-height: 1.55; }
body.modal-open { overflow: hidden; }

/* ---------- survey ---------- */
.survey__progress { height: 4px; background: var(--paper-line); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
.survey__progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

.survey__step { display: none; }
.survey__step.is-active { display: block; animation: surveyStepIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes surveyStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.survey__question { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.survey__hint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

.survey__options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.survey__options--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .survey__options--grid { grid-template-columns: 1fr; } }

.survey__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--paper-line-strong);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.survey__option:hover { border-color: var(--accent); background: var(--paper-dim); }
.survey__option:has(input:checked) { border-color: var(--accent); background: rgba(47, 95, 224, 0.08); }
.survey__option input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.survey__option span { font-weight: 600; font-size: 14.5px; color: var(--ink); display: block; }
.survey__option small { font-weight: 400; font-size: 12.5px; color: var(--muted); display: block; margin-top: 3px; }

.survey__select {
  width: 100%;
  margin-top: 20px;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid var(--paper-line-strong);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
}

.survey__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
@media (max-width: 560px) { .survey__fields { grid-template-columns: 1fr; } }
.survey__field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.survey__field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--paper-line-strong);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
}
.survey__field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 95, 224, 0.15); }

.survey__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.survey__actions--left { justify-content: flex-start; }
.survey__back {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.survey__back:hover { color: var(--ink); }

.calendar-embed__crop {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.calendar-embed__crop iframe {
  position: absolute;
  top: -52px;
  left: 0;
  width: 100%;
  border: none;
}

.booking-aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--paper-line);
}
@media (max-width: 760px) { .booking-aside { grid-template-columns: 1fr; } }
.booking-aside strong { display: block; font-size: 14.5px; margin-bottom: 6px; }
.booking-aside span { font-size: 13.5px; color: var(--muted-strong); line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; color: var(--paper); margin-bottom: 14px; }
.footer__brand svg { width: 26px; height: 26px; }
.footer p.footer__tag { font-size: 13.5px; max-width: 30ch; line-height: 1.6; }
.footer h5 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; font-family: var(--sans); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 13.8px; }
.footer ul a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom a { text-decoration: underline; }
.footer__bottom a:hover { color: var(--paper); }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
