/* ==========================================================================
   Vital Care Home Clinic
   Blue is the foundation, white gives clarity, red is reserved for the
   moments that need attention: accent words, the booking action, the cross.
   Editorial structure (hairlines, sharp corners, measured columns) with
   layered imagery.
   ========================================================================== */

:root {
  --blue: #0e538e;
  --blue-deep: #0a3a66;
  --blue-ink: #08294a;
  --blue-soft: #edf3f9;
  --blue-line: rgba(14, 83, 142, 0.16);
  --red: #d7141f;
  --red-deep: #b10f18;
  --white: #ffffff;
  --ink: #12243a;
  --muted: #55657a;
  --line: rgba(18, 36, 58, 0.12);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --radius: 2px;
  --h2-size: clamp(1.75rem, 2.8vw, 2.3rem);
  --h3-size: 1.2rem;
  --p-size: 1.0625rem;
  --p-lh: 1.75;
  --header-h: 92px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
main p { font-size: var(--p-size); line-height: var(--p-lh); font-weight: 400; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 200; background: var(--blue); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.accent { color: var(--red); }

/* Medical cross — the logo's mark, used as a recurring accent */
.plus {
  position: relative;
  display: inline-block;
  width: 12px; height: 12px;
  flex: none;
}
.plus::before, .plus::after {
  content: '';
  position: absolute;
  background: var(--red);
}
.plus::before { left: 4px; top: 0; width: 4px; height: 12px; }
.plus::after { top: 4px; left: 0; width: 12px; height: 4px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Arrow used in links and buttons */
.arrow {
  position: relative;
  display: inline-block;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover .arrow { width: 24px; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--blue-ink); color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 40px; }
.topbar-links { display: flex; gap: 1.75rem; }
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(8, 41, 74, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 72px; }
.brand img { width: 88px; height: 88px; object-fit: contain; transition: width 0.3s var(--ease), height 0.3s var(--ease); }
.site-header.is-scrolled .brand img { width: 60px; height: 60px; }

.main-nav { display: flex; align-items: center; gap: 2.25rem; }
.main-nav > a:not(.btn), .nav-item > a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.35rem 0;
}
.main-nav > a:not(.btn)::after, .nav-item > a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.3s var(--ease);
}
.main-nav > a:not(.btn):hover::after, .nav-item > a:hover::after, .main-nav a.is-active::after { right: 0; }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { cursor: pointer; user-select: none; }
.dropdown-toggle { display: inline-flex; background: none; border: 0; padding: 0.4rem; margin-left: 0.1rem; cursor: pointer; color: var(--ink); }
.caret { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.dropdown-toggle[aria-expanded="true"] .caret { transform: translateY(1px) rotate(-135deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: -1.5rem;
  min-width: 300px;
  padding: 0.5rem 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(8, 41, 74, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -1.2rem; height: 1.2rem; }
.has-dropdown:hover .dropdown-menu, .has-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 0.7rem 1.5rem; font-size: 0.86rem; font-weight: 500; transition: background 0.2s, color 0.2s, padding 0.2s; }
.dropdown-menu a:hover { background: var(--blue-soft); color: var(--blue); padding-left: 1.8rem; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--blue); transition: transform 0.25s, opacity 0.25s; }

/* ==========================================================================
   Hero — original layout, photo as full-width background
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - var(--header-h) - 40px), 720px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 35%;
  z-index: -2;
}
/* White fade from the left keeps the copy legible over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 32%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 57%);
}
.hero-copy {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
.hero-copy > * { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--blue-ink);
  margin: 1.4rem 0 1.8rem;
  max-width: 11ch;
}
.hero h1 .accent { display: block; }
.hero-blurb {
  max-width: 38ch;
  font-size: var(--p-size);
  line-height: var(--p-lh);
  font-weight: 500;
  color: var(--ink);
  padding-left: 1.3rem;
  border-left: 2px solid var(--red);
}
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-phone { display: flex; flex-direction: column; line-height: 1.25; padding-left: 2rem; border-left: 1px solid var(--line); }
.hero-phone-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.hero-phone-number { font-size: 1.2rem; font-weight: 800; color: var(--blue-ink); transition: color 0.2s; }
.hero-phone:hover .hero-phone-number { color: var(--red); }


/* ==========================================================================
   Statement — editorial columns divided by hairlines
   ========================================================================== */
.statement { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-media { overflow: hidden; border-radius: var(--radius); min-height: 420px; }
.statement-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 0.8s var(--ease); }
.statement-media:hover img { transform: scale(1.03); }
.statement-body { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding-left: clamp(1.5rem, 3vw, 2.75rem); border-left: 1px solid var(--line); }
.statement h2 { font-size: var(--h2-size); color: var(--blue-ink); }
.statement .lead { padding-top: 1.5rem; border-top: 2px solid var(--red); }
.statement-body p { color: var(--muted); max-width: 52ch; }
.statement-body .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ==========================================================================
   Founder — full-bleed blue band, image with offset frame
   ========================================================================== */
.founder { background: var(--blue); color: var(--white); padding: clamp(4.5rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.founder::before {
  /* fine vertical rule pattern on the right — editorial texture, very quiet */
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px);
  pointer-events: none;
}
.founder-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.founder-media { position: relative; }
.founder-media::before {
  content: '';
  position: absolute;
  top: -1.25rem; left: -1.25rem; right: 1.25rem; bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}
.founder-media::after {
  content: '';
  position: absolute;
  right: -10px; bottom: -10px;
  width: 22%; height: 10px;
  background: var(--red);
}
.founder-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: center bottom; padding: 2.5rem 2rem 0; background: linear-gradient(180deg, var(--white) 0%, var(--blue-soft) 100%); border-radius: var(--radius); }
.founder-body h2 { font-size: var(--h2-size); margin-bottom: 1.8rem; }
.founder-body h2 .accent { display: block; color: #ff4550; }
.founder-body > p { color: rgba(255, 255, 255, 0.82); max-width: 54ch; }
.founder-body strong { color: var(--white); font-weight: 600; }
.founder-quote { margin: 2.2rem 0 2.6rem; padding: 1.6rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); max-width: 54ch; }
.founder-quote p { color: rgba(255, 255, 255, 0.82); }

/* ==========================================================================
   Why recover at home — layered images, divided points
   ========================================================================== */
.why { background: var(--blue-soft); padding: clamp(4.5rem, 8vw, 7rem) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.why-body { order: -1; }
.why-body h2 { font-size: var(--h2-size); color: var(--blue-ink); margin-bottom: 2.4rem; }
.why-points li { padding: 1.75rem 0; border-top: 1px solid var(--blue-line); }
.why-points li:last-child { border-bottom: 1px solid var(--blue-line); }
.why-points p { color: var(--muted); }

.why-media { position: relative; padding: 0 0 18% 12%; }
.why-img-main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% center; border-radius: var(--radius); }
.why-img-inset {
  position: absolute;
  left: 0; bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% center;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  box-shadow: 0 26px 50px -26px rgba(8, 41, 74, 0.45);
}
.why-media::after {
  content: '';
  position: absolute;
  right: -1.25rem; top: 12%;
  width: 4px; height: 34%;
  background: var(--red);
}

/* ==========================================================================
   Services — hairline grid, not cards
   ========================================================================== */
.services { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  padding-bottom: 2.8rem;
}
.services-head h2 { font-size: var(--h2-size); color: var(--blue-ink); }
.services-head p { color: var(--muted); max-width: 48ch; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 2.2rem 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}
.service::before {
  content: '';
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:not(.service--cta):hover { background: var(--blue-soft); }
.service:not(.service--cta):hover::before { transform: scaleX(1); }
.service-icon { width: 78px; height: 78px; object-fit: contain; margin-bottom: 2rem; transition: transform 0.45s var(--ease); }
.service:hover .service-icon { transform: translateY(-3px); }
.service h3 { font-size: var(--h3-size); letter-spacing: -0.015em; line-height: 1.3; color: var(--blue-ink); margin-bottom: 0.8rem; }
.service p { color: var(--muted); margin-bottom: 1.8rem; }
.service-link { margin-top: auto; align-self: flex-start; }
.service-link::after { content: ''; position: absolute; inset: 0; } /* whole tile clickable */
.service:hover .service-link { background: var(--red-deep); border-color: var(--red-deep); }
.service:hover .service-link .arrow { width: 24px; }

.service--cta { background: var(--blue); color: var(--white); justify-content: space-between; gap: 2rem; border-color: var(--blue); }
.cta-contact { margin: 0; display: grid; gap: 1.4rem; }
.cta-contact div { padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.cta-contact dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin-bottom: 0.3rem; }
.cta-contact dd { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.cta-contact a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.service--cta .btn { align-self: flex-start; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--blue-ink); color: rgba(255, 255, 255, 0.72); padding: clamp(4rem, 7vw, 5.5rem) 0 2rem; font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-logo { display: inline-block; background: var(--white); padding: 0.4rem; border-radius: var(--radius); margin-bottom: 1.6rem; }
.footer-logo img { width: 96px; height: 96px; object-fit: contain; }
.footer-brand p { max-width: 38ch; }
.footer-heading { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.7rem; }
.footer-heading::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.footer-contact { margin: 0; display: grid; gap: 1rem; }
.footer-contact dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.footer-contact dd { margin: 0.15rem 0 0; color: rgba(255, 255, 255, 0.85); }
.footer-links { display: grid; gap: 0.85rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.footer-nav { display: flex; gap: 1.6rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav { gap: 1.6rem; }
  .topbar-address { display: none; }
  .topbar-inner { justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand img, .site-header.is-scrolled .brand img { width: 58px; height: 58px; }
  .site-header.is-scrolled .header-inner { height: var(--header-h); }

  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), visibility 0.35s;
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; padding: 0.5rem var(--gutter) 1.5rem; box-shadow: 0 20px 30px -20px rgba(8, 41, 74, 0.3); }
  .main-nav > a:not(.btn), .nav-item { border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.btn), .nav-item > a { font-size: 1rem; padding: 1rem 0; }
  .main-nav > a:not(.btn)::after, .nav-item > a::after { display: none; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; }
  .nav-item > a { flex: 1; }
  .dropdown-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .dropdown-menu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease), visibility 0.3s;
  }
  .dropdown-menu::before { display: none; }
  .has-dropdown:hover .dropdown-menu { visibility: hidden; }
  .has-dropdown.is-open .dropdown-menu { visibility: visible; max-height: 24rem; padding-bottom: 0.75rem; }
  .dropdown-menu a { padding: 0.65rem 0 0.65rem 1rem; border-left: 2px solid var(--blue-line); }
  .dropdown-menu a:hover { padding-left: 1.2rem; border-left-color: var(--red); }
  .nav-cta { margin-top: 1.25rem; }

  /* Hero: photo at the top, white fade down into the copy */
  .hero { align-items: flex-end; min-height: 0; }
  .hero-bg { height: 420px; object-position: 72% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 260px, var(--white) 420px); }
  .hero-copy { padding-top: 340px; padding-bottom: 3.5rem; }
  .hero h1 { max-width: 15ch; }

  /* Tablet portrait: keep the two-column sections, tighter gaps */
  .statement-grid { gap: 1.75rem; padding: 2.5rem 0; }
  .statement-media { min-height: 0; aspect-ratio: 4 / 5; align-self: center; }
  .founder-grid { gap: 2.5rem; }
  .why-grid { gap: 2.5rem; }

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

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Large phones / small tablets: sections stack */
@media (max-width: 720px) {
  .statement-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .statement-body { padding-left: 0; border-left: 0; }
  .statement-media { min-height: 0; aspect-ratio: 16 / 10; order: 1; }

  .founder-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .founder-media { max-width: 520px; margin-left: 1.25rem; }
  .founder::before { width: 60%; }
  .founder-media img { aspect-ratio: 1 / 1; padding-top: 1.75rem; }

  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-media { max-width: 600px; }
  .why-media::after { right: 0; }
  .why-body { order: 0; } /* image above text on mobile */
}

@media (max-width: 640px) {
  .topbar-links { gap: 1rem; }
  .topbar-links a:first-child { display: none; }
  .topbar { font-size: 0.74rem; }

  .hero-bg { height: 320px; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 200px, var(--white) 320px); }
  .hero-copy { padding-top: 250px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .hero-actions .btn { width: 100%; }
  .hero-phone { padding-left: 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 0.75rem; justify-content: center; }

  .statement { padding-top: 1rem; }
  .statement-grid { padding: 2.25rem 0; gap: 2rem; }

  .founder-media { margin-left: 0.75rem; }
  .founder-media::before { top: -0.75rem; left: -0.75rem; right: 0.75rem; bottom: 0.75rem; }

  .why-media { padding: 0 0 22% 8%; }
  .why-img-inset { width: 56%; border-width: 5px; }

  /* Services become a compact list: icon beside text */
  .service-grid { grid-template-columns: 1fr; border-left: 0; }
  .service { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding: 1.9rem 0; border-right: 0; }
  .service::before { left: 0; right: 0; }
  .service:not(.service--cta):hover { background: none; }
  .service-icon { width: 56px; height: 56px; margin: 0; grid-row: 1 / span 3; }
  .service p { margin-bottom: 1rem; }
  .service--cta { display: flex; padding: 2rem 1.5rem; margin-top: 1.5rem; border: 0; }
  .service--cta .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

/* Avily "designed by" credit (templates/designed-by-avily.html) */
.avily-credit { margin: 0; }
.avily-credit .avily-link { color: inherit; text-decoration: none; }
.avily-credit .avily-link:hover { text-decoration: underline; }
.avily-credit img { height: 1em; width: auto; vertical-align: middle; margin: 0 4px; }
.footer-nav { flex-wrap: wrap; }
