/* ===========================================================
   Fledge Media — static rebuild
   Design tokens follow the Fledge OS brand spec (CLAUDE.md):
   navy #13222B, blue #1413EF (primary), azure #0097FF,
   cyan #1FB8F2 (accent only, never text on white). Inter headings and body.
   =========================================================== */

:root {
  /* System colours */
  --navy:       #13222B;   /* Brand navy: text, headings, dark surfaces */
  --primary:    #1413EF;   /* Brand blue */
  --azure:      #0097FF;   /* Brand azure */
  --cyan:       #1FB8F2;   /* Brand cyan: accents only, not for text on white */
  --secondary:  var(--navy);
  --text:       var(--navy);
  --white:      #FFFFFF;

  /* Custom colours */
  --surface:      #F6F8FB;              /* Custom > Surface - BG */
  --stroke:       rgba(0, 0, 0, 0.05);  /* Custom > Stroke */

  /* Footer — dark variant */
  --footer-bg:        var(--navy);
  --footer-text:      rgba(255, 255, 255, 0.68);
  --footer-heading:   #ffffff;
  --footer-stroke:    rgba(255, 255, 255, 0.1);

  /* Derived — not in the panel, needed for hover/rules/gradients */
  --ink-muted:     rgba(19, 34, 43, 0.68);
  --primary-dark:  #100fc4;
  --overlay-dark:  rgba(0, 0, 0, 0.4);

  /* Type */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — use these tokens, never raw sizes */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-stat: 2.5rem;

  --shell: 1120px;
  --gutter: 24px;
  --radius: 12px;
}

/* ---------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
h4 { font-size: var(--fs-lg); font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding: 80px 0; }
.section-tight { padding: 64px 0; }
.section-surface { background: var(--surface); }
.section-primary { background: var(--primary); color: var(--white); }
.section-primary h1, .section-primary h2, .section-primary h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-primary .eyebrow { color: rgba(255,255,255,0.75); }

.lede {
  font-size: var(--fs-md);
  color: var(--ink-muted);
  max-width: 620px;
}
.center { text-align: center; margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--text); border-color: rgba(19,34,43,0.16); }
.btn-outline:hover { border-color: var(--text); }

/* ---------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); }
.brand img { height: 28px; width: auto; }

.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: capitalize;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.main-nav a[aria-current="page"] { color: var(--primary); }
.main-nav .mobile-cta { display: none; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--primary);
  transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { min-height: 44px; padding: 13px 26px; font-size: var(--fs-sm); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 0; top: 69px; background: var(--white); padding: 28px var(--gutter); display: none; overflow-y: auto; }
  .main-nav[data-open="true"] { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: var(--fs-md); border-bottom: 1px solid var(--stroke); }
  .main-nav .mobile-cta { display: block; margin-top: 20px; }
  .header-cta .btn { display: none; }
  .main-nav .mobile-cta a { color: var(--white); background: var(--primary); text-align: center; border-radius: var(--radius); padding: 14px; font-weight: 500; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 130px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: var(--fs-md); max-width: 560px; margin-inline: auto; }

/* ---------------------------------------------------------- trust strip */

/* ---------------------------------------------------------- cards */

.icon-card {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 34px 28px;
  height: 100%;
}
.icon-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--primary);
  margin-bottom: 18px;
}
.icon-card .icon svg { width: 22px; height: 22px; }
.icon-card h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.icon-card p { color: var(--ink-muted); font-size: var(--fs-base); }

.service-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 36px;
  height: 100%;
}
.service-card h3 { font-size: var(--fs-lg); margin-bottom: 10px; }
.service-card p { color: var(--ink-muted); margin-bottom: 18px; }
.service-card ul { list-style: none; display: grid; gap: 8px; }
.service-card li { font-size: var(--fs-sm); color: var(--text); padding-left: 22px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; background: var(--primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.service-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(20,19,239,0.08); color: var(--primary); margin-bottom: 18px; }
.service-card .icon svg { width: 24px; height: 24px; }

.industry-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.industry-card:hover img { transform: scale(1.05); }
.industry-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,34,43,0.55) 0%, rgba(19,34,43,0.78) 45%, rgba(19,34,43,0.94) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  color: var(--white);
}
.industry-card__overlay h3 { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.4); font-size: var(--fs-lg); margin-bottom: 8px; }
.industry-card__overlay p { color: rgba(255,255,255,0.95); text-shadow: 0 1px 6px rgba(0,0,0,0.4); font-size: var(--fs-sm); margin: 0; }

/* ---------------------------------------------------------- case study grid */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 40px; }
.filter-bar button {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--white);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-bar button[aria-pressed="true"] { background: var(--primary); color: var(--white); border-color: var(--primary); }
.filter-bar button:hover { border-color: var(--primary); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 748/512;
  background: var(--surface);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover img { transform: scale(1.06); }
.case-card__body {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(19,34,43,0.75) 52%, rgba(19,34,43,0.96) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
}
.case-card__body h3 { color: var(--white); font-size: var(--fs-md); margin: 0; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------- process */

.process-list { display: grid; gap: 28px; }
.process-step { display: flex; gap: 20px; }
.process-step .num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
}
.process-step h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.process-step p { color: var(--ink-muted); margin: 0; }

/* ---------------------------------------------------------- stats */

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 20px 0; }
.stat .num { font-family: var(--font-heading); font-size: var(--fs-stat); font-weight: 700; color: var(--primary); display: block; }
.stat .label { font-size: var(--fs-sm); color: var(--ink-muted); }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------- CTA */

.cta-band {
  position: relative;
  background: var(--text);
  color: var(--white);
  text-align: center;
  border-radius: 28px;
  padding: 80px var(--gutter);
  overflow: hidden;
}
.cta-band__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); margin-bottom: 28px; }

/* ---------------------------------------------------------- footer */

.site-footer { font-weight: 400; background: var(--footer-bg); border-top: 1px solid var(--footer-stroke); padding: 80px 0 28px; color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: var(--fs-sm); }
.footer-col h4 { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-base); color: var(--footer-heading); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; font-size: var(--fs-sm); }
.footer-col a { font-size: inherit; }
.footer-col a:hover { color: var(--white); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--footer-stroke);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-text);
}
.social-row a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.social-row svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--footer-stroke); font-size: var(--fs-xs); flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 76vh; }
}

/* ---------------------------------------------------------- forms */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-sm); font-weight: 500; }
.form-field input, .form-field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); }
.form-status { font-size: var(--fs-sm); margin-top: 12px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- case study detail */

.case-hero {
  min-height: 78vh;
  display: flex; align-items: flex-end;
  color: var(--white);
  position: relative;
  padding: 60px 0 70px;
  background-size: cover;
  background-position: center;
}
.case-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,34,43,0.82), rgba(19,34,43,0.25) 55%); }
.case-hero__inner { position: relative; z-index: 1; }
.case-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.case-meta-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.case-meta-row div { font-size: var(--fs-sm); }
.case-meta-row .k { text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); display: block; margin-bottom: 4px; }
.case-meta-row .v { color: var(--white); font-weight: 500; }

.case-section { max-width: 760px; margin: 0 auto; }
.case-section + .case-section { margin-top: 0; }
.case-section h2 { font-size: var(--fs-xl); }
.case-section p { color: var(--ink-muted); font-size: var(--fs-base); line-height: 1.75; }
.case-full-image { border-radius: 20px; overflow: hidden; margin: 0 auto; max-width: 1000px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin: 24px 0 0; text-align: left; }
@media (max-width: 560px) { .case-results { grid-template-columns: 1fr 1fr; } }
.case-results .num { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-stat); color: var(--primary); display: block; margin-bottom: 6px; }
.case-results .label { font-size: var(--fs-sm); color: var(--ink-muted); }

.related-nav { display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; gap: 20px; flex-wrap: wrap; }
.related-nav a { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.related-nav a:hover { color: var(--primary); }
.related-nav svg { width: 18px; height: 18px; flex: none; }
.related-nav__prev svg { transform: scaleX(-1); }

/* ---------------------------------------------------------- misc pages */

.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { margin-top: 2em; font-size: var(--fs-xl); }
.legal-body p, .legal-body li { color: var(--ink-muted); }
.legal-body ul { padding-left: 1.3em; margin-bottom: 1.2em; }


/* ---------------------------------------------------------- contact page */

.page-hero--compact { padding: 120px 0 104px; }
.contact-section { padding: 64px 0 96px; background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.contact-form-card { background: var(--white); border-radius: 18px; padding: 40px; border: 1px solid var(--stroke); }
.contact-form-card h2, .contact-side h2 { font-size: var(--fs-xl); margin-bottom: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.contact-form .optional { font-weight: 400; color: var(--ink-muted); }
.contact-form .btn { align-self: flex-start; }
.contact-form .form-status { min-height: 1.4em; color: var(--ink-muted); }
.contact-form textarea { resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

.chip-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-field legend { padding: 0; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 500; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 16px; border: 1px solid rgba(0,0,0,0.14); border-radius: 999px; font-size: var(--fs-sm); background: var(--white); transition: background .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.contact-side h2 { margin-top: 8px; }
.contact-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--stroke); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; transition: border-color .15s, transform .15s; }
.contact-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.contact-card .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(20,19,239,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-card .icon svg { width: 18px; height: 18px; }
.contact-card small, .contact-social small { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); margin-bottom: 2px; }
.contact-card strong { font-weight: 500; font-size: var(--fs-base); overflow-wrap: anywhere; }
.contact-social { margin-top: 28px; }
.social-row--light a { border-color: var(--stroke); color: var(--text); background: var(--white); }
.social-row--light a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.contact-social .social-row { margin-top: 10px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .contact-section { padding: 40px 0 64px; }
  .contact-form-card { padding: 24px 20px; }
  .contact-card { padding: 16px; gap: 14px; }
  .contact-card strong { font-size: var(--fs-sm); }
  .contact-card strong.is-email { word-break: break-all; }
  .contact-form .btn { align-self: stretch; justify-content: center; }
}

/* ---------------------------------------------------------- conversion additions */

.btn-whatsapp { background: #128C4A; color: var(--white); }
.btn-whatsapp:hover { background: #0E7339; }
.btn-whatsapp svg { width: 17px; height: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.reply-line { font-size: var(--fs-sm); color: var(--ink-muted); margin: 10px 0 0; }

.mobile-cta a + a { margin-top: 10px; }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #128C4A; color: var(--white); font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22); transition: transform .15s, background .15s;
}
.wa-float:hover { background: #0E7339; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; } }

.proof-strip { background: var(--white); border-bottom: 1px solid var(--stroke); padding: 40px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-item { display: flex; flex-direction: column; gap: 4px; text-align: center; padding: 8px 12px; border-radius: var(--radius); transition: background .15s; }
.proof-item:hover { background: var(--surface); }
.proof-item .num { font-size: var(--fs-stat); font-weight: 700; color: var(--primary); line-height: 1.1; }
.proof-item .what { font-weight: 500; }
.proof-item .who { font-size: var(--fs-sm); color: var(--ink-muted); }
@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; gap: 12px; } .proof-item .num { font-size: 2rem; } }

.case-card__result { color: rgba(255,255,255,0.88); font-size: var(--fs-sm); margin: 6px 0 0; line-height: 1.4; }
.filter-label { text-align: center; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin: 20px 0 10px; }
.filter-empty { text-align: center; color: var(--ink-muted); margin-top: 40px; }

.quote-card { margin: 0; background: var(--white); border: 1px solid var(--stroke); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote-card blockquote { margin: 0; font-size: var(--fs-md); line-height: 1.5; }
.quote-card figcaption { display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--ink-muted); }
.quote-card figcaption strong { color: var(--text); }
.plan-card { background: var(--white); border: 1px solid var(--stroke); border-radius: 16px; padding: 28px; }
.plan-price { font-size: var(--fs-xl); font-weight: 700; color: var(--primary); margin: 4px 0 8px; }
.plan-for { color: var(--ink-muted); }
.plan-card ul { padding-left: 1.2em; margin: 16px 0 0; }
.team-card img { border-radius: 16px; width: 100%; height: auto; margin-bottom: 12px; }
.team-card h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.team-card p { color: var(--ink-muted); margin: 0; }

.hire-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hire-layout { grid-template-columns: 1fr; gap: 40px; } }
.form-field .optional { font-weight: 400; color: var(--ink-muted); }
.contact-card--wa .icon { background: rgba(18,140,74,0.12); color: #128C4A; }
.call-expect { margin-top: 28px; background: var(--white); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px 22px; }
.call-expect h3 { font-size: var(--fs-md); margin-bottom: 10px; }
.call-expect ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-muted); }
.industry-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--white); font-weight: 600; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.industry-link svg { width: 14px; height: 14px; }

.case-card__body { padding: 18px 20px; }
.case-card__body h3 { font-size: var(--fs-base); }
.case-card__result { font-size: var(--fs-xs); }

/* ---------------------------------------------------------- faq */

.faq-list { margin-top: 32px; border-top: 1px solid var(--stroke); }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 500; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.faq-item p { color: var(--ink-muted); padding-right: 36px; margin: 0 0 20px; }

/* ---------------------------------------------------------- agency homepage */

.hero--agency { display: block; text-align: left; min-height: 0; background: var(--navy); padding: 96px 0 104px; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 70% at 85% 10%, rgba(20,19,239,0.55), transparent 60%),
  radial-gradient(40% 50% at 10% 100%, rgba(0,151,255,0.22), transparent 60%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 7px 16px; margin-bottom: 28px; }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: block; }
.hero--agency h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero__accent { color: var(--cyan); }
.hero--agency .hero__copy > p { color: rgba(255,255,255,0.78); font-size: var(--fs-md); max-width: 520px; margin: 0 0 36px; }
.hero--agency .hero__actions { justify-content: flex-start; }
.hero--agency .reply-line { color: rgba(255,255,255,0.6); text-align: left; }
.hero__visual { position: relative; }
.hero__frame { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__stat { position: absolute; left: -36px; bottom: 36px; max-width: 240px; background: var(--white); color: var(--navy); border-radius: 16px; padding: 18px 20px; display: grid; gap: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-size: var(--fs-sm); font-weight: 500; }
.hero__stat small { color: var(--ink-muted); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__stat strong { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.hero__stat .go { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); margin-top: 8px; }
.hero__stat .go svg { width: 14px; height: 14px; }

.logo-band { background: var(--white); padding: 40px 0 28px; }
.logo-band p { text-align: center; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 20px; }

/* results strip: quiet, light, shares the white block with the logos */
.proof-strip { background: var(--white); border: 0; border-bottom: 1px solid var(--stroke); padding: 8px 0 56px; }
.proof-grid { gap: 0; }
.proof-item { text-align: left; padding: 4px 32px; border-radius: 0; border-left: 1px solid var(--stroke); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item:hover { background: transparent; }
.proof-item:hover .num { color: var(--primary-dark); }
.proof-item .num { color: var(--primary); font-size: clamp(1.6rem, 2.6vw, 2.25rem); white-space: nowrap; letter-spacing: -0.03em; transition: color .2s; }
.proof-item .what { color: var(--text); font-size: var(--fs-base); }
.proof-item .who { color: var(--ink-muted); }

/* section head + service rows */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-head h2 { max-width: 640px; margin: 0; }
.service-rows { border-top: 1px solid rgba(19,34,43,0.12); }
.service-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(19,34,43,0.12); }
.service-row h3 { margin: 0; font-size: var(--fs-md); letter-spacing: -0.01em; line-height: 1.25; }
.service-row p { margin: 0; color: var(--ink-muted); max-width: 560px; }

@media (max-width: 900px) {
  .hero--agency { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__frame { aspect-ratio: 16/11; }
  .hero__stat { left: 16px; bottom: -24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .service-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 700px) {
  .proof-item { border-left: 0; padding: 14px 0; border-top: 1px solid var(--stroke); }
  .proof-item:first-child { border-top: 0; }
  .proof-strip { padding: 0 0 40px; }
}
@media (prefers-reduced-motion: reduce) { .service-row, .proof-item .num { transition: none; } }

.price-from { margin: 20px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.price-from small { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.price-from strong { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--primary); line-height: 1.1; }

.hero__copy .reply-line { margin-top: 16px; }

/* Logo slider: two identical sets side by side, track slides by exactly one set */
.logo-marquee { max-width: 720px; margin-inline: auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; width: max-content; animation: logo-scroll 50s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.logo-marquee__set img { height: 36px; width: auto; max-width: 140px; object-fit: contain; flex: none; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .logo-marquee__track { animation: none; }
  .logo-marquee__set[aria-hidden="true"] { display: none; }
}

/* calm pass: one primary action, quiet secondary links */
.link-quiet { color: rgba(255,255,255,0.85); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 4px; padding: 12px 4px; }
.link-quiet:hover { color: var(--white); }
.link-quiet--dark { color: var(--ink-muted); }
.link-quiet--dark:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--fs-sm); color: var(--primary); white-space: nowrap; }
.link-arrow svg { width: 14px; height: 14px; }
.price-line { margin: 28px 0 0; color: var(--ink-muted); }
.price-line strong { color: var(--text); }
.hero--agency .hero__actions { align-items: center; }
.hero--agency .hero__copy > p { margin-bottom: 28px; }

.wa-float { min-height: 0; width: 52px; height: 52px; padding: 0; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.2); transition: transform .15s, opacity .25s, background .15s; }
.wa-float span { display: none; }
.wa-float--late { opacity: 0; pointer-events: none; transform: translateY(8px); }

.close-section { padding-top: 24px; }
.close-band { background: var(--navy); color: var(--white); border-radius: 20px; padding: 56px 32px; text-align: center; }
.close-band h2 { color: var(--white); margin-bottom: 10px; }
.close-band p { color: rgba(255,255,255,0.75); margin: 0 0 24px; }
.close-band .hero__actions { justify-content: center; }

/* results: one quiet row, navy numbers, equal columns */
.proof-strip { padding: 8px 0 64px; }
.proof-strip .shell { border-top: 1px solid var(--stroke); padding-top: 40px; }
.proof-item .num { color: var(--text); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 600; }
.proof-item:hover .num { color: var(--primary); }
.proof-item .what { font-size: var(--fs-base); color: var(--text); }
.proof-item .who { font-size: var(--fs-sm); }

/* case cards: photo fills the card, just a title and one result line over a soft fade */
.case-grid { gap: 28px; margin-top: 40px; }
.case-card { position: relative; display: block; aspect-ratio: 4 / 4.6; border: 0; border-radius: 18px; overflow: hidden; background: var(--navy); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19,34,43,0.18); }
.case-card__img { position: absolute; inset: 0; aspect-ratio: auto; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__img img { transform: scale(1.04); }
.case-card__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; background: linear-gradient(180deg, transparent 38%, rgba(19,34,43,0.78) 70%, rgba(19,34,43,0.95) 100%); }
.case-card__body h3 { color: var(--white); font-size: var(--fs-lg); margin: 0; line-height: 1.25; }
.case-card__result { color: rgba(255,255,255,0.86); font-size: var(--fs-sm); line-height: 1.5; margin: 0; }
@media (prefers-reduced-motion: reduce) { .case-card, .case-card__img img { transition: none; } .case-card:hover { transform: none; } .case-card:hover .case-card__img img { transform: none; } }

/* footer alignment: logo flush with the text edge, brand copy level with the link columns */
.brand img { margin-left: -7px; }
.footer-brand img { height: 30px; margin: 0 0 12px -8px; display: block; }
.footer-col h4 { line-height: 30px; margin: 0 0 12px; }
.footer-col ul { gap: 10px; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-col li { line-height: 1.5; }
.footer-grid { gap: 40px; margin-bottom: 48px; align-items: start; }
.site-footer { padding: 72px 0 28px; }

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }

/* bottom-of-page request form */


/* ---------------------------------------------------------- inner pages: same language as the home page */
.page-hero { background: var(--navy); text-align: left; padding: 72px 0 64px; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 90% at 90% 0%, rgba(20,19,239,0.5), transparent 60%),
  radial-gradient(40% 60% at 0% 100%, rgba(0,151,255,0.18), transparent 60%); }
.page-hero .shell { position: relative; }
.page-hero .hero__tag { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.12; margin-bottom: 12px; }
.page-hero p { margin: 0; max-width: 560px; }
.page-hero .btn { margin-top: 24px; }
.page-hero--compact { padding: 72px 0 64px; }

.svc-list { border-top: 1px solid rgba(19,34,43,0.12); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0; border-bottom: 1px solid rgba(19,34,43,0.12); align-items: start; }
.svc-row h3 { margin: 0 0 8px; font-size: var(--fs-lg); }
.svc-row p { margin: 0; color: var(--ink-muted); max-width: 460px; }
.svc-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-row li { font-size: var(--fs-sm); padding-left: 22px; position: relative; }
.svc-row li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); opacity: .85; }
.svc-row--plain { grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; align-items: baseline; }
.svc-row--plain h3 { font-size: var(--fs-md); margin: 0; }
@media (max-width: 760px) { .svc-row, .svc-row--plain { grid-template-columns: 1fr; gap: 14px; } .page-hero, .page-hero--compact { padding: 48px 0 44px; } }

.stat-row--three { grid-template-columns: repeat(3, 1fr); text-align: left; margin-top: 28px; gap: 16px; }
.stat-row--three .stat { padding: 8px 0; }
.stat-row--three .stat .num { font-size: 1.75rem; font-weight: 600; color: var(--text); }

.close-section { padding-top: 24px; }
.case-hero { min-height: 56vh; }
@media (max-width: 760px) { .case-hero { min-height: 48vh; padding: 48px 0 48px; } }

.contact-side .reply-line { margin: -2px 0 14px 4px; }

/* services page */
.goal-list { border-top: 1px solid rgba(19,34,43,0.12); }
.goal-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 4px; border-bottom: 1px solid rgba(19,34,43,0.12); transition: background .15s, padding .15s; }
.goal-row:hover { background: var(--surface); padding-inline: 14px; }
.goal-row span { font-size: var(--fs-md); }
.goal-row strong { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; }
.goal-row svg { width: 14px; height: 14px; }
.svc-row { scroll-margin-top: 100px; }
.svc-best { margin-top: 14px !important; font-size: var(--fs-sm); }
.svc-best strong { color: var(--text); font-weight: 600; }
.svc-proof { display: block; margin-top: 20px; padding: 14px 16px; background: var(--white); border: 1px solid var(--stroke); border-radius: 12px; transition: border-color .15s; }
.svc-proof:hover { border-color: var(--primary); }
.svc-proof small { display: block; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; font-weight: 600; }
.svc-proof span { font-size: var(--fs-sm); color: var(--text); }
@media (max-width: 560px) { .goal-row { flex-direction: column; align-items: flex-start; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .goal-row { transition: none; } }

/* services page: compact rows */
.section-surface .svc-list { border-top: 0; }
.svc-row { padding: 26px 0; gap: 40px; }
.svc-row h3 { margin-bottom: 6px; }
.svc-includes { color: var(--text); font-size: var(--fs-sm); line-height: 1.7; margin: 0 0 10px !important; max-width: none !important; }
.svc-row .svc-best { margin: 0 0 10px !important; color: var(--ink-muted); }
.svc-proof-link { display: inline-flex; gap: 8px; align-items: baseline; font-size: var(--fs-sm); color: var(--primary); font-weight: 500; }
.svc-proof-link svg { width: 13px; height: 13px; flex: none; align-self: center; }
.svc-proof-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* case study filters: two small dropdowns on one line */
.filter-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.filter-select { display: inline-flex; align-items: center; gap: 10px; }
.filter-select label { font-size: var(--fs-sm); color: var(--ink-muted); }
.filter-select select { appearance: none; -webkit-appearance: none; font: inherit; font-size: var(--fs-sm); font-weight: 500; color: var(--text); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2313222B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid rgba(19,34,43,0.16); border-radius: 10px; padding: 9px 34px 9px 14px; min-height: 40px; cursor: pointer; }
.filter-select select:hover { border-color: var(--text); }
.filter-select select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------------------------------------------------------- phone fixes (375px) */
@media (max-width: 700px) {
  /* touch targets: at least 44px tall, 8px apart */
  .brand { min-height: 44px; }
  .nav-toggle { width: 44px; height: 44px; }
  .footer-col ul { gap: 0; }
  .footer-col a { display: flex; align-items: center; min-height: 44px; }
  .footer-col li { line-height: 1.3; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
  .link-arrow { min-height: 44px; }
  .industry-link { min-height: 44px; display: inline-flex; align-items: center; }
  .related-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .chip span { padding: 12px 16px; }
  .filter-select select { min-height: 44px; }
  .legal-body a, .booking-note a, .center.lede a { display: inline-block; padding-block: 10px; }

  /* readable small text */
  .eyebrow, .hero__tag, .footer-bottom, .proof-item .who, .filter-select label, .stat .label { font-size: 0.8125rem; }

  /* calls to action: one full-width primary button, the quiet link centred under it */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__actions .link-quiet { text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; }
  .hero--agency .hero__actions { align-items: stretch; }
  .close-band { padding: 40px 20px; }

  /* lists: keep title and text together */
  .svc-row--plain { gap: 4px; padding: 18px 0; }
  .svc-row--plain h3, .svc-row--plain p { margin: 0; }
  .svc-row { gap: 10px; }

  /* contact cards: leave room for the email address */
  .contact-card { gap: 12px; padding: 14px; }
  .contact-card .icon { width: 36px; height: 36px; border-radius: 10px; }
  .contact-card strong.is-email { font-size: 0.8125rem; word-break: normal; overflow-wrap: anywhere; }

  /* keep the last line of the footer clear of the floating WhatsApp button */
  .site-footer { padding-bottom: 88px; }
}
@media (max-width: 900px) {
  .main-nav .mobile-cta a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-bottom: 0; }
  .main-nav .mobile-cta a + a { background: transparent; color: var(--text); border: 1px solid rgba(19,34,43,0.16); margin-top: 10px; }
}
/* the blur on the header makes the open phone menu (position: fixed) size itself to the header,
   so drop it on phones and use a solid white bar */
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .main-nav { z-index: 99; height: calc(100dvh - 69px); }
}
@media (max-width: 700px) {
  .footer-bottom a { padding-inline: 10px; }
  .contact-card small, .hero__stat small, .contact-social small, .form-field .optional, .case-meta-row .k { font-size: 0.8125rem; }
}

/* header: Log in sits quietly beside the Get started button */
.header-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.header-login:hover { color: var(--primary); }
@media (max-width: 900px) { .header-login { display: none; } }
.header-login { border: 1px solid rgba(19,34,43,0.22); border-radius: var(--radius); padding: 0 22px; min-height: 44px; transition: border-color .15s, color .15s; }
.header-login:hover { border-color: var(--primary); color: var(--primary); }
.header-login:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.header-cta { align-items: stretch; }
@media (max-width: 900px) { .header-cta { align-items: center; } }
@media (min-width: 901px) { .header-login, .header-cta .btn { width: 132px; justify-content: center; text-align: center; padding-inline: 0; } }
@media (min-width: 901px) { .header-login, .header-cta .btn { width: 108px; min-height: 40px; padding-block: 0; font-size: 0.8125rem; } .header-cta { align-items: center; } }
@media (min-width: 901px) { .header-cta { gap: 8px; } }

/* footer: region switch */
.region-switch { color: var(--footer-text); }
.region-switch strong { color: var(--white); font-weight: 600; }
.region-switch a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.region-switch a:hover { color: var(--white); }

/* footer headings are h2 now (no skipped levels); same look as before */
.footer-col .footer-title { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-base); line-height: 30px; color: var(--footer-heading); margin: 0 0 12px; letter-spacing: 0; }
