/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --paper: #f7f7f3;
  --paper-dim: #efefe8;
  --white: #ffffff;
  --ink: #14171f;
  --ink-soft: #454a54;
  --mute: #585c64;
  --line: #dedfd8;
  --indigo: #2440ff;
  --indigo-dark: #1b31cc;
  --indigo-tint: #eaedff;
  --amber: #f5a623;
  --amber-tint: #fceacb;
  --green: #1f9d55;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1160px;
  --radius-s: 6px;
  --radius-m: 10px;
  --nav-h: 76px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: var(--radius-s);
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.section {
  padding: 3% 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 36px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
}

.link-inline {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--indigo);
  white-space: nowrap;
}
.link-inline:hover {
  text-decoration: underline;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-small {
  padding: 9px 18px;
  font-size: 13.5px;
}
.btn-large {
  padding: 17px 36px;
  font-size: 16px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  /* position: sticky; */
  position: fixed;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 247, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-right: auto;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-cursor {
    animation: none;
  }
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-link {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link.active {
  color: var(--ink);
  border-color: var(--indigo);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-cta-mobile {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 64px;
  padding-bottom: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 18px 0 24px;
}
.mark {
  background: linear-gradient(
    to bottom,
    transparent 62%,
    var(--amber-tint) 62%
  );
  padding: 0 2px;
}
.hero-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- AI widget (signature element) ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}
.ai-widget {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  box-shadow: 0 24px 48px -24px rgba(20, 23, 31, 0.18);
}
.ai-widget-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  min-height: 46px;
}
.search-icon {
  width: 17px;
  height: 17px;
  color: var(--mute);
  flex-shrink: 0;
}
.query-text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
.type-cursor {
  width: 2px;
  height: 15px;
  background: var(--indigo);
  display: inline-block;
  animation: blink 0.9s step-end infinite;
}
@media (prefers-reduced-motion: reduce) {
  .type-cursor {
    animation: none;
  }
}

.answer-card {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--indigo);
  background: var(--indigo-tint);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  min-height: 118px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.answer-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.answer-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  background: var(--amber);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.answer-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.answer-text sup {
  color: var(--indigo);
  font-weight: 600;
}
.citation-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--indigo);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--white);
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 4px;
}

/* ---- Stats band ---- */
.stats-band {
  border-top: 1px solid var(--line);
  padding: 48px 24px 64px;
  margin: 0 -24px;
  text-align: center;
}
.stats-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  max-width: 640px;
  margin: 0 auto 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-number,
.stat-number-static {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  color: var(--indigo);
}
.stat-label {
  font-size: 13px;
  color: var(--mute);
}

/* ============================================================
   ABOUT / SERVICES / PROCESS / TOOLS / TIMELINE / AUDIENCE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: start;
}
@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}
.about-photo-frame {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.about-photo-badge {
  position: absolute;
  left: -14px;
  bottom: 14px;
  background: var(--ink);
  border-radius: var(--radius-s);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  z-index: 10;
}
.about-photo-badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}
.about-photo-badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #c7c9d6;
  margin-top: 2px;
}
.about-text-col {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--indigo);
  width: fit-content;
  padding-top: 4px;
  border-bottom: 1px solid transparent;
}
.about-linkedin:hover {
  border-color: var(--indigo);
}

.services-band {
  /* background: var(--paper-dim); */
  margin: 84px -24px 0;
  padding: 4px 24px 8px;
}

.services-head {
  max-width: 620px;
}
.services-intro {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -22px rgba(20, 23, 31, 0.22);
  border-color: var(--indigo);
}
.service-card-featured {
  border: 2px solid var(--indigo);
  background: var(--indigo-tint);
}
.service-card-featured:hover {
  border-color: var(--indigo-dark);
}
.service-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}
.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: 18px;
}
.service-card-featured .service-icon {
  background: var(--white);
}
.service-icon svg {
  width: 20px;
  height: 20px;
}
.service-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--indigo);
  margin-bottom: 8px;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.5;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list li {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper-dim);
  border-radius: 999px;
  padding: 5px 10px;
}
.service-card-featured .tag-list li {
  background: var(--white);
}

.process-interactive {
}
.process-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 32px;
}
@media (max-width: 400px) {
  .process-track {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.process-track-line {
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.process-track-fill {
  display: block;
  height: 100%;
  background: var(--indigo);
  width: 0%;
  transition: width 0.3s ease;
}
.process-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 4px 4px 8px;
  border-radius: var(--radius-s);
}
.process-tab-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mute);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.process-tab-label {
  font-size: 13.5px;
  color: var(--mute);
  font-weight: 500;
  transition: color 0.2s ease;
}
.process-tab:hover .process-tab-num {
  border-color: var(--ink);
}
.process-tab.is-active .process-tab-num {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}
.process-tab.is-active .process-tab-label {
  color: var(--ink);
}
.process-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 30px;
}
.process-panel-desc {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.process-panel-outputs {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.5;
}
.process-panel-outputs span:first-child {
  font-family: var(--font-mono);
  color: var(--indigo);
  margin-right: 4px;
}

.tools-grid {
  /* display: flex;
  flex-wrap: wrap;
  gap: 10px; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 1200px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 750px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}
.tool-chip {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 18px;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  gap: 14px;
}
.tool_icon {
  width: 30px;
  height: 30px;
}

.timeline-detailed {
  position: relative;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 24px;
  padding-bottom: 32px;
}
.timeline-entry:last-child {
  padding-bottom: 0;
}
.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: -32px;
  width: 1px;
  background: var(--line);
}
.timeline-entry:last-child .timeline-rail::before {
  display: none;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  margin-top: 5px;
  flex-shrink: 0;
}
.timeline-dot-education {
  background: var(--mute);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--indigo);
  margin-bottom: 6px;
}
.timeline-role-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 4px;
}
.timeline-company {
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 10px;
}
.timeline-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60vw;
}
.timeline-entry-education .timeline-date {
  color: var(--mute);
}
.timeline-content {
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr; */
  /* align-items: center; */
  /* border-top: 1px solid rgb(226, 217, 217);
  padding-top: 30px; */
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}
.audience-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
}
.audience-quote {
  font-size: 14.5px;
  color: var(--mute);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight-card {
  padding: 26px 24px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--line);
}
.insight-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--amber-tint);
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.insight-title {
  font-size: 19px;
  margin-bottom: 10px;
}
.insight-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-m);
  /* max-width: calc(var(--max) - 0px); */
  text-align: center;
  margin-bottom: 40px;
  max-width: 1100px;
}
.contact-inner {
  padding: 20px;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-section .eyebrow {
  color: var(--amber);
}
.contact-section .section-title {
  margin-bottom: 18px;
}
.contact-lead {
  color: #b9bcc5;
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.contact-direct {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.contact-direct a {
  color: #d7d9e2;
}
.contact-direct a:hover {
  color: var(--white);
  text-decoration: underline;
}
.contact-divider {
  color: #565a68;
}
.contact-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8b8fa0;
  margin-top: 22px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--mute);
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-copy {
  font-size: 13px;
  color: var(--mute);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner {
    /* grid-template-columns: 1fr; */
    display: flex;
    flex-direction: column-reverse;
    gap: 44px;
  }
  .hero-visual {
    order: -1;
  }

  .about-photo-frame {
    max-width: 360px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track-line {
    display: none;
  }
  /* .process-tab {
    flex: 0 0 calc(33.33% - 8px);
  } */
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--paper-dim);
  }
  .nav-cta {
    display: none;
  }
  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 14px;
    align-self: flex-start;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 34px 20px;
  }

  .about-photo-frame {
    max-width: 220px;
  }
  .services-band {
    margin: 60px -20px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-tab-label {
    font-size: 12.5px;
    text-align: center;
  }
  .process-panel {
    padding: 22px 20px;
  }
  .timeline-entry {
    grid-template-columns: 14px 1fr;
    gap: 14px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    text-align: center;
  }
  .contact-direct {
    flex-direction: column;
    gap: 6px;
  }
  .contact-divider {
    display: none;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 13px;
  }
  .hero-title {
    font-size: 30px;
  }
  .about-photo-frame {
    max-width: 180px;
  }
  .about-photo-badge {
    padding: 8px 10px;
  }
  .about-photo-badge-num {
    font-size: 17px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .service-card {
    padding: 22px 18px;
  }
}
