/* =========================================================
   Inteople — Modern marketing site
   Single stylesheet, no framework. Clean light theme, 2026.
   ========================================================= */

:root {
  /* Brand — deep slate-navy + warm coral accent */
  --brand: #2b3a55; /* slate navy (primary) */
  --brand-2: #3f5575; /* lighter navy */
  --brand-light: #6b80a3;
  --accent: #ff6a50; /* warm coral */
  --accent-2: #ff8a73;
  --accent-soft: #ffe6e0;

  /* Surfaces — cool near-white */
  --bg: #f7f9fc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --line: #e2e8f2;
  --line-strong: #d3dcea;

  /* Ink */
  --ink: #1f2a3d;
  --muted: #5d6b82;
  --muted-2: #8a96ab;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(36, 52, 84, 0.22);
  --shadow-soft: 0 8px 24px -18px rgba(36, 52, 84, 0.16);

  --container: 1180px;

  --font:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.bg-alt {
  background: var(--bg-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(255, 106, 80, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #f4553b;
  box-shadow: 0 16px 32px -16px rgba(255, 106, 80, 0.6);
}
.btn-ghost {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand-light);
}
.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 var(--line),
    0 10px 30px -22px rgba(36, 52, 84, 0.3);
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand span {
  color: var(--brand);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    background: var(--surface);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .nav-toggle {
    display: inline-flex;
    z-index: 100;
  }
  .nav-cta .btn:not(.nav-toggle) {
    display: none;
  }
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}
.grad-text {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 18vh, 200px) 0 clamp(70px, 10vw, 120px);
  overflow: hidden;
  background: var(--surface);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    rgba(43, 58, 85, 0.05) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 28%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 28%, #000, transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.hero .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 80, 0.18);
}
.hero h1 span {
  color: var(--accent);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  color: var(--muted-2);
  font-size: 0.9rem;
}
.hero-trust b {
  color: var(--ink);
}

.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.hero-card .row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-card .row:last-child {
  border-bottom: 0;
}
.hero-card .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.hero-card .ic svg {
  width: 22px;
  height: 22px;
}
.hero-card .row b {
  display: block;
  font-size: 0.95rem;
}
.hero-card .row small {
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
}

/* ---------- Logo strip ---------- */
.strip {
  padding: 32px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip p {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.4rem;
  color: var(--muted);
  font-weight: 600;
}
.strip-items span {
  font-size: 1.05rem;
}

/* Grouped technologies */
.tech-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem 1.4rem;
}
.tech-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
}
.tech-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tags span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.tech-tags span:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}
@media (max-width: 900px) {
  .tech-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tech-groups {
    grid-template-columns: 1fr;
  }
}

/* ---------- Generic card grid ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.span-2 {
  grid-column: span 2;
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-2 {
    grid-column: span 1;
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--brand);
}
.card .ic svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

/* Industry cards have a tinted icon */
.industry .ic {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}
.industry .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.industry .tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* ---------- Products ---------- */
.product {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
}
.product .top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.product .badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 106, 80, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.product .arrow {
  color: var(--accent);
  font-weight: 700;
  margin-top: 0.4rem;
  transition: transform 0.25s;
}
.product:hover .arrow {
  transform: translateX(5px);
}

/* ---------- Media product cards (uniform, no column spanning) ----------
   Image banner on top + flex body so footers (arrow/CTA) align across the row.
   All three healthtech cards share this shape → equal columns → never any gaps. */
.product-media {
  padding: 0;
  overflow: hidden;
  gap: 0;
  height: 100%; /* fill grid track so cards in a row match height */
}
.product-media .pm-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  overflow: hidden;
}
.product-media .pm-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.product-media .pm-media img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-media:hover .pm-media img {
  transform: scale(1.04);
}

/* Designed marketing graphic (not a screenshot) — show it whole instead of
   cropping. The artwork has a white background, so a white backdrop makes the
   letterbox invisible. */
.product-media .pm-media--contain {
  background: #fff;
}
.product-media .pm-media--contain img {
  height: 100%;
  object-fit: contain;
}

/* Scene image whose key content sits at the top — anchor the cover crop to the
   top so trimming happens at the bottom instead of clipping the top. */
.product-media .pm-media--top img {
  object-position: top center;
}

/* "Featured" ribbon on the image */
.product-media .pm-ribbon {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(255, 106, 80, 0.7);
}

/* Body wrapper: everything below the image grows to equal height */
.product-media .pm-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem 1.7rem 1.7rem;
}
.product-media .top {
  margin: 0;
}
.product-media .pm-body > h3 {
  font-size: 1.2rem;
  margin: 0.9rem 0 0;
}
.product-media .pm-body > p {
  margin-top: 0.5rem;
}
.product-media .brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

/* Feature bullets */
.product-media .pf-points {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.product-media .pf-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.product-media .pf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 80, 0.45);
}
.product-media .pf-points li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 0.58rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Footer (arrow or CTA) pinned to the bottom so all cards align */
.product-media .arrow {
  margin-top: auto;
  padding-top: 1rem;
}
.product-media .pf-cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
}

/* Featured variant — visual prominence without spanning columns */
.product-media--featured {
  border-color: var(--accent);
}
.product-media--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 2;
}

/* ---------- Wide CTA card — "Let's build your next product" ----------
   Spans two columns to fill the trailing gap; gradient panel + split layout. */
.product-cta {
  position: relative;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 2.4rem;
  border-color: rgba(255, 106, 80, 0.35);
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
}
.product-cta .cta-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(
    closest-side,
    rgba(255, 106, 80, 0.18),
    transparent
  );
  pointer-events: none;
}
.product-cta .cta-content {
  position: relative;
  z-index: 1;
  max-width: 60ch;
}
.product-cta .badge {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 106, 80, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.product-cta h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.product-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.product-cta .cta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-cta .cta-chips span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.product-cta .cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.product-cta .cta-note {
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .product-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.8rem;
  }
  .product-cta .cta-action {
    align-items: flex-start;
    width: 100%;
  }
}

/* ---------- Process ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 {
  font-size: 1.1rem;
}
.step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--brand);
  border-block: 1px solid var(--brand);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat .num {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
}
.stat .label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* ---------- Leadership ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.member {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  box-shadow: var(--shadow-soft);
}
.member:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.member .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--accent-soft);
  background: var(--bg-2);
}
.member .avatar.ph {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}
.member h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.member .role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.member .vc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.member .vc-link svg {
  width: 16px;
  height: 16px;
}
.member .vc-link:hover {
  color: var(--accent);
}

/* Two-person leadership grid — centered, not stretched full width */
.team-grid--lead {
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
}
@media (max-width: 520px) {
  .team-grid--lead {
    grid-template-columns: 1fr;
  }
}

/* ---------- Leadership messages ---------- */
.messages {
  gap: 1.6rem;
}
.message {
  position: relative;
  padding-top: 2.4rem;
}
.message .quote-mark {
  position: absolute;
  top: 1.4rem;
  left: 1.6rem;
  width: 30px;
  height: 30px;
  color: var(--accent-soft);
}
.message blockquote {
  margin: 0 0 1.4rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  position: relative;
}
.message figcaption {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.message figcaption .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.message figcaption .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.message figcaption .who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.message figcaption .who b {
  color: var(--ink);
}
.message figcaption .who small {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}
.cta-box {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-box::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(255, 106, 80, 0.28),
    transparent 70%
  );
  pointer-events: none;
}
.cta-content {
  position: relative;
  align-self: center;
  text-align: left;
}
.cta-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.8rem;
}
.cta-box h2 {
  color: #fff;
  position: relative;
  margin-bottom: 0.9rem;
}
.cta-box p {
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  max-width: 460px;
  margin: 0 0 1.8rem;
}
.cta-actions {
  position: relative;
}
.cta-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.55);
}
.cta-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 820px) {
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-content {
    text-align: center;
    order: 2;
  }
  .cta-box p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-media {
    order: 1;
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
}
.cta-box .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45);
}
.cta-box .btn-primary:hover {
  background: #f4553b;
}
.cta-box .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
}
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}
.contact-info .info-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}
.contact-info .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-info .ic svg {
  width: 20px;
  height: 20px;
}
.contact-info b {
  display: block;
}
.contact-info a,
.contact-info span {
  color: var(--muted);
}
form .field {
  margin-bottom: 1rem;
}
form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
form input::placeholder,
form textarea::placeholder {
  color: var(--muted-2);
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 80, 0.16);
}
form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  form .row2 {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 0.8rem;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(34, 197, 140, 0.12);
  border: 1px solid rgba(34, 197, 140, 0.4);
  color: #0f7a55;
}
.form-status.err {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #b91c1c;
}
/* Spam honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 72px) 0 28px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-grid h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-grid a {
  color: var(--muted);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.94rem;
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-brand p {
  color: var(--muted);
  max-width: 320px;
  font-size: 0.94rem;
}
.footer-brand .brand {
  margin-bottom: 1rem;
}
.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.socials a:hover {
  background: var(--accent-soft);
  border-color: transparent;
  transform: translateY(-2px);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
}
.socials a:hover svg {
  fill: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
