/* ============================================================
   Sixth Sense Solutions — site stylesheet
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0B2545;
  --body: #4B5768;
  --muted: #697583;
  --teal: #2EC4B6;
  --teal-deep: #1C8278;
  --blue: #2F6FD1;
  --line: #E1E6EA;
  --surface: #F6F8F9;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

img, svg { max-width: 100%; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Site header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(6px);
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.site-logo__mark {
  display: block;
  height: 46px;
  width: 46px;
  flex-shrink: 0;
  border-radius: 50%;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.site-logo__name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-logo__tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
}
.site-nav .sh-btn {
  margin-left: 8px;
}

/* Services dropdown: hover-driven on desktop, always-expanded inline on mobile */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--body);
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color .15s ease, color .15s ease;
}
.nav-dropdown__trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease;
}
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown:focus-within .nav-dropdown__trigger,
.nav-dropdown__trigger[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
}
.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown:focus-within .nav-dropdown__trigger::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.nav-dropdown__panel a {
  display: block;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  border-radius: 8px;
  white-space: normal;
}
.nav-dropdown__panel a:hover { background: var(--surface); color: var(--ink); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
  cursor: pointer;
}
@media (min-width: 901px) {
  .nav-dropdown__panel {
    padding: 14px 8px 8px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(11,37,69,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    pointer-events: none;
  }
  .nav-dropdown:hover .nav-dropdown__panel,
  .nav-dropdown:focus-within .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 8px; }
  .site-nav .sh-btn { margin-left: 0; margin-top: 6px; text-align: center; justify-content: center; }
  .nav-dropdown__panel { padding: 2px 0 4px 14px; }
  .nav-dropdown__panel a { padding: 10px 12px; font-size: 0.86rem; }
}

/* ---------- Page banner (sub-pages) ---------- */
.page-banner {
  background: var(--ink);
  padding: 56px 0;
  margin-bottom: 8px;
}
.page-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--teal);
  margin-bottom: 16px;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 26ch;
}

/* ---------- Main content area ---------- */
main { display: block; }
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.content-wrap--narrow { max-width: 760px; }

/* Gutenberg-style content blocks, restyled */
.wp-block-heading { margin: 2em 0 0.6em; }
.content-wrap > .wp-block-heading:first-child,
.content-wrap > p:first-child { margin-top: 0; }

.wp-block-paragraph, .content-wrap p { margin: 0 0 1.2em; line-height: 1.7; }

.wp-block-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 1.6em 0;
}
.wp-block-column { flex: 1; min-width: 220px; }
.wp-block-column h3 { margin-bottom: 0.5em; font-size: 1.15rem; }

.wp-block-list {
  padding-left: 1.3em;
  margin: 0 0 1.4em;
}
.wp-block-list li { margin-bottom: 0.55em; line-height: 1.6; }

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

/* Process / structure diagrams supplementing page content */
.pflow { display: flex; justify-content: space-between; gap: 16px; position: relative; margin: 28px 0 8px; padding-top: 4px; }
.pflow::before { content: ''; position: absolute; top: 38px; left: 68px; right: 68px; border-top: 2px dotted var(--line); z-index: 0; }
.pflow__step { flex: 1; text-align: center; position: relative; z-index: 1; }
.pflow__badge { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 2px solid var(--teal-deep); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.pflow__badge--final { background: var(--ink); border-color: var(--ink); color: var(--teal); }
.pflow__title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.pflow__sub { font-size: 12.5px; color: var(--body); margin-top: 4px; line-height: 1.4; }
.pflow-pills { display: flex; justify-content: center; }
.pflow-pill { background: var(--ink); color: #fff; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; margin: 0 0 20px; }
.pflow-pill--end { background: rgba(46,196,182,0.12); color: var(--teal-deep); margin: 22px 0 8px; }

.phier { margin: 28px 0 8px; }
.phier__top { max-width: 340px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; text-align: center; }
.phier__connector { position: relative; height: 30px; }
.phier__connector::before { content: ''; position: absolute; top: 0; left: 50%; height: 14px; border-left: 2px dotted var(--line); }
.phier__connector::after { content: ''; position: absolute; top: 14px; left: 16.6%; right: 16.6%; border-top: 2px dotted var(--line); }
.phier__row { display: flex; gap: 16px; }
.phier__col { flex: 1; position: relative; padding-top: 18px; }
.phier__col::before { content: ''; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px dotted var(--line); }
.phier__card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; }
.phier__icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(46,196,182,.08); border: 1.5px solid var(--teal-deep); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.phier__title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.phier__sub { font-size: 12px; color: var(--body); margin-top: 4px; }

.pnest { margin: 28px 0 8px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pnest__label { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.pnest__inner1 { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.pnest__inner2 { border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.pnest__core { background: rgba(46,196,182,.08); border: 1.5px solid var(--teal-deep); border-radius: 8px; padding: 18px; text-align: center; max-width: 260px; margin: 0 auto; }
.pnest__core-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }

@media (max-width: 560px) {
  .pflow, .phier__row { flex-direction: column; gap: 20px; }
  .pflow::before, .phier__connector, .phier__col::before { display: none; }
  .phier__col { padding-top: 0; }
}

.wp-block-pullquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 3px solid var(--teal);
  background: var(--surface);
}
.wp-block-pullquote blockquote { margin: 0; }
.wp-block-pullquote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  font-style: normal;
  margin: 0 !important;
  line-height: 1.5;
}

.wp-block-buttons { display: flex; gap: 12px; margin: 1.6em 0; flex-wrap: wrap; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink) !important;
  transition: background-color .18s ease;
}
.wp-block-button__link:hover { background: #57d8ca; }

.has-text-align-center { text-align: center; }
.has-medium-font-size { font-size: 1.1rem; }

/* framework tag pills (inline spans used in service pages) */
.content-wrap span[style*="border-left:3px solid"] {
  border-radius: 3px;
}

/* Services overview grid (site/services/index.html) */
.services-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Hero (dark panel, homepage) ---------- */
.sh-hero-wrap { padding: 40px 0 0; }
.sh-hero {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 28px;
  background: radial-gradient(130% 160% at 12% 10%, #163a63 0%, var(--ink) 48%, #071a33 100%);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}
.sh-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.sh-hero h1 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.14; max-width: 15ch; }
.sh-hero__lede { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.65; margin: 20px 0 30px; max-width: 44ch; }
.sh-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.sh-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
}
.sh-btn--primary { background: var(--teal); color: var(--ink); }
.sh-btn--primary:hover { background: #57d8ca; }
.sh-btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; background: none; }
.sh-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.sh-diagram { width: 100%; height: auto; }
.sh-diagram text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; }

/* Hero diagram animation: centre dot appears, lines draw outward to meet
   the node edges, then nodes pop in staggered — the whole sequence lands
   around 1.4s. After that, everything but the centre dot stays put; it
   alone keeps a slow, subtle breathing pulse. */
.sh-line {
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  animation: sh-draw 0.45s ease-out forwards;
}
.sh-node-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation:
    sh-dot-in 0.3s ease-out 0.05s forwards,
    sh-centre-pulse 3.6s ease-in-out 1.4s infinite;
}
.sh-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: sh-pop 0.4s ease-out forwards;
}
@keyframes sh-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes sh-dot-in {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sh-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sh-centre-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-line, .sh-node-dot, .sh-node {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

/* ---------- Frameworks strip ---------- */
.sh-frameworks-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
}
.sh-frameworks-strip span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.sh-frameworks-strip span:first-child { border-left: none; }

/* ---------- Practices directory ---------- */
.sh-practices { padding: 56px 0 8px; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sh-practices__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.sh-practices__head p { max-width: 56ch; margin: 14px 0 8px; font-size: 1rem; line-height: 1.6; }

.sh-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 16px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background-color .18s ease;
}
.sh-row:last-of-type { border-bottom: 1px solid var(--line); }
.sh-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--row-accent, var(--teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s ease;
}
.sh-row:hover, .sh-row:focus-visible { background: var(--surface); }
.sh-row:hover::before, .sh-row:focus-visible::before { transform: scaleY(1); }
.sh-row__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--row-accent, var(--teal));
  padding-top: 4px;
}
.sh-row h3 { font-size: 1.15rem; margin: 0 0 6px; }
.sh-row p { margin: 0; font-size: 0.94rem; line-height: 1.55; max-width: 62ch; }
.sh-row:hover h3, .sh-row:focus-visible h3 {
  text-decoration: underline;
  text-decoration-color: var(--row-accent, var(--teal));
  text-underline-offset: 4px;
}
.sh-row--blue { --row-accent: var(--blue); }

/* ---------- Callout ---------- */
.sh-callout {
  margin: 64px auto 72px;
  max-width: 1180px;
  background: var(--ink);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-left: 4px solid var(--teal);
}
.sh-callout h2 { color: #fff; font-size: 1.5rem; margin: 0 0 8px; }
.sh-callout p { color: rgba(255,255,255,.72); margin: 0; max-width: 44ch; font-size: 0.96rem; line-height: 1.6; }
.sh-callout .sh-btn--primary { background: var(--teal); color: var(--ink); }
.sh-callout .sh-btn--primary:hover { background: #5cd6ca; }
.sh-callout--insights { border-left-color: #1fb6a8; }
.sh-callout--insights .sh-btn--primary { background: #1fb6a8; }
.sh-callout--insights .sh-btn--primary:hover { background: #3fd0c2; }

/* ---------- Insights hub (whitepaper cards + request form) ---------- */
.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  color: #12857c;
  margin: 0 0 8px;
}
.btn-pill {
  display: inline-block;
  background: #1fb6a8;
  color: #081d30;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease;
}
.btn-pill:hover { background: #3fd0c2; }
.btn-pill:disabled { opacity: .6; cursor: not-allowed; }
.btn-pill--block { width: 100%; }

.insights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 36px 0 12px;
}
.insight-card {
  background: #fff;
  border: 1px solid #dbe4e4;
  border-top: 3px solid #1fb6a8;
  border-radius: 12px;
  padding: 28px;
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}
.insight-card__kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: .04em;
  color: #12857c;
  margin: 0 0 10px;
}
.insight-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: #0b2942;
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.insight-card p {
  color: #5b6b78;
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 0 20px;
}
.insight-card .btn-pill { align-self: flex-start; }

.whitepaper-section { background: #f4f8f8; padding: 64px 24px; }
.whitepaper-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.whitepaper-copy h2 { font-family: 'Space Grotesk', sans-serif; color: #0b2942; font-size: 28px; line-height: 1.25; margin: 0 0 16px; }
.whitepaper-points { padding-left: 20px; color: #334; }
.whitepaper-points li { margin-bottom: 8px; }
.whitepaper-card { background: #fff; border: 1px solid #dbe4e4; border-radius: 12px; padding: 28px; }
.whitepaper-card label { display: block; font-size: 13px; font-weight: 600; color: #0b2942; margin: 14px 0 4px; }
.whitepaper-card label:first-of-type { margin-top: 0; }
.whitepaper-card input, .whitepaper-card select { width: 100%; padding: 10px 12px; border: 1px solid #cfd8d8; border-radius: 8px; font-size: 14px; font-family: 'Open Sans', sans-serif; }
.whitepaper-consent { font-size: 12px; color: #5b6b78; margin: 16px 0; }
.whitepaper-consent a { color: #12857c; }
#wp-status { font-size: 13px; margin-top: 12px; min-height: 18px; }
#wp-status[data-state="error"] { color: #b3261e; }
#wp-status[data-state="ok"] { color: #12857c; }

/* Compact Insights teaser (Services page) */
.insights-teaser { background: #f4f8f8; padding: 48px 24px; margin-top: 8px; }
.insights-teaser__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.insights-teaser__copy h2 { font-family: 'Space Grotesk', sans-serif; color: #0b2942; font-size: 1.4rem; margin: 0 0 10px; }
.insights-teaser__copy p { color: #5b6b78; margin: 0; max-width: 60ch; line-height: 1.6; }
.insights-teaser__cta { flex-shrink: 0; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 1.6em 0;
}
.contact-grid__form { flex: 1.4; min-width: 280px; }
.contact-grid__side {
  flex: 1;
  min-width: 260px;
  background: var(--ink);
  padding: 32px 28px;
  color: #fff;
  align-self: flex-start;
}
.contact-grid__side a { color: #fff; }
.contact-grid__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.contact-grid__rule { height: 1px; background: rgba(255,255,255,0.15); margin: 22px 0; }

.contact-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form .field { margin-bottom: 1.2em; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid #C7CFD6;
  border-radius: 6px;
  font-family: inherit;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hp-field { position: absolute; left: -9999px; }
.contact-form button[type="submit"] {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease;
}
.contact-form button[type="submit"]:hover { background: #57d8ca; }

/* FAQ accordion */
.faq-list { margin: 8px 0 0; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 4px; }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--teal-deep);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 12px 0 0; color: var(--body); font-size: 0.95rem; line-height: 1.6; }

/* Calendly callout */
.book-call {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.book-call a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 40px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.site-footer nav a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sh-hero { grid-template-columns: 1fr; padding: 48px 32px; }
  .sh-diagram { max-width: 280px; margin: 0 auto; }
  .sh-row { grid-template-columns: 48px 1fr; padding: 22px 4px; }
  .whitepaper-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sh-hero { padding: 40px 22px; border-radius: 20px; }
  .sh-callout { flex-direction: column; align-items: flex-start; }
  .content-wrap { padding: 32px 20px 20px; }
  .insights-teaser__inner { flex-direction: column; align-items: flex-start; }
  .insight-card { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
}
