/* ==========================================================================
   Lock Doctor Smith — Locksmith Monaghan
   Palette pulled from the logo: navy lock body, teal stethoscope, cream key.
   ========================================================================== */

:root {
  --navy: #16263f;
  --navy-deep: #0c1729;
  --navy-ink: #0a1322;
  --navy-soft: #22385a;
  --teal: #1f8f80;
  --teal-bright: #2cc2ab;
  --teal-glow: rgba(44, 194, 171, 0.35);
  --cream: #f6f4ee;
  --cream-deep: #ece8dd;
  --white: #ffffff;
  --ink: #16263f;
  --muted: #5b6b82;
  --muted-light: #a9b6c8;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-sm: 14px;
  --radius: 28px;
  --radius-lg: 44px;
  --radius-xl: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--teal-bright); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 12px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 8px; }

/* Film grain over everything for a tactile, premium finish */
.grain {
  pointer-events: none;
  position: fixed; inset: -50%;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ==========================================================================
   Header — floating capsule so the transparent logo always sits on cream
   ========================================================================== */

.site-header {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 80;
  padding: 0 var(--gutter);
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-130%); }

.nav-capsule {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(246, 244, 238, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 40px -12px rgba(12, 23, 41, 0.25);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
/* Wordmark set as live text beside the mark so the name stays legible at nav size */
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; line-height: 1; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap; color: var(--navy);
}
/* "SMITH" sits centred between two hairlines that run out to the exact width of "LOCK DOCTOR", so both lines are the same length */
.brand-name small {
  display: flex; align-items: center; gap: 0.65em;
  margin: 6px 0.1em 0 0.11em; /* side margins line the hairlines up with the visible edges of the L and R above */
  font-size: 12px; font-weight: 600; letter-spacing: 0.4em; color: var(--teal);
}
.brand-name small::before,
.brand-name small::after { content: ""; flex: 1; height: 1.5px; border-radius: 1px; background: currentColor; opacity: 0.55; }
.brand-name small::after { margin-left: -0.4em; } /* cancels the letter-spacing after the H */

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover { background: rgba(22, 38, 63, 0.06); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
  transform: translateX(-50%);
}

.nav-cta { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu — circular reveal from the toggle */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: radial-gradient(120% 80% at 80% 0%, var(--navy-soft), var(--navy-deep) 60%);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 48px;
  clip-path: circle(0% at calc(100% - 50px) 44px);
  transition: clip-path 0.8s var(--ease-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 44px); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0 0 40px; padding: 0; }
.mobile-menu li a {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 11vw, 64px); line-height: 1.15; letter-spacing: -0.03em;
}
.mobile-menu li a:hover { color: var(--teal-bright); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --bg: var(--navy);
  --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  /* No transform transition here: GSAP moves buttons, and a CSS transition on the same property leaves them stuck off their resting position */
  transition: box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--teal);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -14px var(--teal-glow); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-teal { --bg: var(--teal); }
.btn-teal::before { background: var(--navy); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22, 38, 63, 0.2); }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover { --fg: var(--white); }
.on-dark .btn-ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.on-dark .btn-ghost::before { background: var(--teal); }
.btn-sm { padding: 12px 20px; font-size: 15px; }

/* The big tap-to-call button with a pulsing ring */
.btn-call {
  --bg: var(--teal);
  padding: 12px 30px 12px 12px;
  gap: 16px;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0;
}
.btn-call::before { background: var(--navy); }
.btn-call .call-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  display: grid; place-items: center;
}
.btn-call .call-icon svg { width: 24px; height: 24px; }
.btn-call .call-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--white);
  animation: ring 2s var(--ease-out) infinite;
}
@keyframes ring {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.btn-call small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.85;
}
.btn-call .call-text { text-align: left; line-height: 1.2; white-space: nowrap; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  padding: 150px 0 70px;
  overflow: hidden;
  background: var(--cream);
}

/* Soft drifting aurora blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; background: #bfe6de; top: -12vw; right: -8vw; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; background: #d9dfeb; bottom: -6vw; left: -10vw; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 22vw; height: 22vw; background: #9fd8cd; top: 40%; left: 38%; opacity: 0.35; animation-duration: 26s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 3vw) scale(1.1); }
  100% { transform: translate(-3vw, 5vw) scale(0.95); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero-title {
  font-size: clamp(54px, 8.6vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 22px 0 26px;
}
/* The clip boxes for the reveal are padded out (and pulled back with equal negative margins) so tight line-heights
   never slice descenders like g/y/p or the edges of letters; layout is unchanged. */
.hero-title .line { display: block; overflow: hidden; padding: 0.1em 0.12em 0.26em; margin: -0.1em -0.12em -0.26em; }
.hero-title .line > span { display: inline-block; }
/* "Your local" sits smaller above the big teal "Locksmith" */
.hero-title .line.lead { font-size: 0.6em; letter-spacing: -0.035em; margin-bottom: -0.4em; }
.hero-title .accent {
  /* gradient text only paints inside its own box, so that box needs the same room */
  padding: 0.1em 0.12em 0.26em; margin: -0.1em -0.12em -0.26em;
  color: transparent;
  background: linear-gradient(100deg, var(--teal) 10%, var(--teal-bright) 50%, var(--navy-soft) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

.hero-sub {
  max-width: 540px;
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 38, 63, 0.08);
  font-size: 14px; font-weight: 500;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(44, 194, 171, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(44, 194, 171, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 194, 171, 0); }
}

/* Brian inside a padlock with a stethoscope shackle — echoing the logo */
.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }

.padlock { position: relative; padding-top: 34%; }
.padlock .shackle {
  position: absolute;
  top: 0; left: 50%;
  width: 62%;
  transform: translateX(-50%);
  overflow: visible;
}
.padlock .shackle path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 14;
  stroke-linecap: round;
}
.padlock .shackle circle { fill: var(--teal); }

.padlock-body {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border-radius: 22% / 20%;
  overflow: hidden;
  background: var(--navy);
  box-shadow:
    0 50px 100px -30px rgba(12, 23, 41, 0.55),
    0 0 0 10px rgba(255, 255, 255, 0.55);
  transform-style: preserve-3d;
}
.padlock-body img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.12);
}
.padlock-body::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.45), transparent 30%, transparent 70%, rgba(12, 23, 41, 0.5));
}

/* Intro cover (see "Hero intro" in main.js). Only shown when the animation can run; removed once the keyhole has opened. */
.lock-cover { display: none; position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); z-index: 1; }
.js .lock-cover { display: block; }
/* Held back until the keyhole has opened; the intro timeline fades them in */
.js .hero-name, .js .hero .float-card { opacity: 0; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(12, 23, 41, 0.35);
  font-size: 14px; line-height: 1.3;
  z-index: 3;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 16px; }
.float-card .fc-icon {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--teal-bright);
}
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card.one { left: -14%; top: 62%; }
.float-card.two { right: -10%; bottom: 6%; }
.float-card.three { right: -8%; top: 44%; }

.hero-name {
  position: absolute;
  left: 30px; bottom: 28px;
  z-index: 2;
  text-align: left;
  color: var(--white);
  font-family: var(--font-display);
}
.hero-name strong { display: block; font-size: 22px; letter-spacing: -0.01em; }
.hero-name span { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-bright); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px;
  border: 1.5px solid rgba(22, 38, 63, 0.3);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 4px;
  background: var(--teal);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ==========================================================================
   Trust strip — endless marquee
   ========================================================================== */

.trust {
  position: relative;
  padding: 26px 0;
  background: var(--cream);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 18px; padding-right: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(22, 38, 63, 0.07);
  font-family: var(--font-display);
  font-weight: 500;
  white-space: nowrap;
}
.chip svg { width: 18px; height: 18px; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Blends — sections melt into each other, no hard edges
   ========================================================================== */

.blend { height: clamp(140px, 18vw, 260px); margin: -1px 0; }
.blend.cream-to-navy { background: linear-gradient(180deg, var(--cream) 0%, #c9d2dc 35%, #3c5170 72%, var(--navy-deep) 100%); }
.blend.navy-to-cream { background: linear-gradient(180deg, var(--navy-deep) 0%, #3c5170 28%, #c9d2dc 65%, var(--cream) 100%); }

.on-dark { color: var(--white); }
.on-dark .muted { color: var(--muted-light); }

section { position: relative; }
.section { padding: clamp(60px, 9vw, 130px) 0; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.04em; margin-top: 16px; }
.section-head p { font-size: 19px; color: var(--muted); max-width: 520px; }
.on-dark .section-head p { color: var(--muted-light); }

/* Split-text reveal helper */
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0.12em 0.26em; margin: -0.1em -0.12em -0.26em; }
.reveal-words .word > span { display: inline-block; }

/* ==========================================================================
   Services
   ========================================================================== */

.services { background: var(--navy-deep); overflow: hidden; }
.services::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  top: 10%; right: -20vw; background: radial-gradient(closest-side, rgba(31, 143, 128, 0.25), transparent);
  pointer-events: none;
}

.svc-tabs {
  display: inline-flex; gap: 6px; padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 36px;
  position: relative;
}
.svc-tab {
  position: relative; z-index: 1;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0; background: transparent;
  color: var(--muted-light);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  cursor: pointer;
  transition: color 0.4s;
}
.svc-tab[aria-selected="true"] { color: var(--navy); }
.svc-tab-pill {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  border-radius: 999px; background: var(--cream);
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out);
}

.svc-panel { display: none; }
.svc-panel.is-active { display: grid; }

.svc-grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc-card {
  position: relative;
  grid-column: span 6;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  color: var(--white);
  transform-style: preserve-3d;
  will-change: transform;
}
.svc-grid[data-count="4"] .svc-card:nth-child(1),
.svc-grid[data-count="4"] .svc-card:nth-child(4) { grid-column: span 7; }
.svc-grid[data-count="4"] .svc-card:nth-child(2),
.svc-grid[data-count="4"] .svc-card:nth-child(3) { grid-column: span 5; }
.svc-grid[data-count="3"] .svc-card:nth-child(1) { grid-column: span 12; min-height: 480px; }

.svc-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 23, 41, 0) 30%, rgba(12, 23, 41, 0.92) 100%);
  transition: opacity 0.6s;
}
.svc-card:hover img { transform: scale(1.12); }
.svc-card .num {
  position: absolute; top: 26px; left: 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}
.svc-card .arrow {
  position: absolute; top: 22px; right: 22px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s, transform 0.6s var(--ease-out);
}
.svc-card .arrow svg { width: 22px; height: 22px; transition: transform 0.6s var(--ease-out); }
.svc-card:hover .arrow { background: var(--teal); transform: rotate(-45deg); }
.svc-card h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.svc-card p { margin: 0; max-width: 420px; color: rgba(255, 255, 255, 0.78); font-size: 16px; }

/* ==========================================================================
   Why choose — big glowing numbers on navy
   ========================================================================== */

.why { background: var(--navy-deep); padding-top: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  position: relative;
  padding: 40px 34px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.why-item::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  top: var(--my, -100px); left: var(--mx, -100px); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(44, 194, 171, 0.22), transparent);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.why-item:hover::after { opacity: 1; }
.why-icon {
  width: 64px; height: 64px; border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(44, 194, 171, 0.12);
  color: var(--teal-bright);
  margin-bottom: 30px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-item h3 { font-size: 28px; margin-bottom: 12px; }
.why-item p { color: var(--muted-light); margin: 0; }
.why-item .big {
  position: absolute; right: 22px; top: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Meet Brian
   ========================================================================== */

.meet { background: var(--cream); overflow: hidden; }
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }

.organic {
  position: relative;
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  overflow: hidden;
  animation: morph 16s ease-in-out infinite alternate;
  box-shadow: 0 60px 120px -40px rgba(12, 23, 41, 0.45);
}
/* Taller than the frame so the scroll parallax (image starts shifted up) never uncovers the bottom */
.organic img { width: 100%; height: 112%; object-fit: cover; }
@keyframes morph {
  0% { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
  50% { border-radius: 44% 56% 58% 42% / 56% 42% 58% 44%; }
  100% { border-radius: 52% 48% 40% 60% / 48% 60% 40% 52%; }
}
.meet-visual { position: relative; }
.meet-visual .organic { aspect-ratio: 4 / 4.6; }
.meet-visual .ring-text {
  position: absolute; right: -4%; top: -4%;
  width: 150px; height: 150px;
  animation: spin 22s linear infinite;
}
.meet-visual .ring-text text {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.3em;
  fill: var(--navy); text-transform: uppercase;
}
.meet-visual .ring-badge {
  position: absolute; right: calc(-4% + 45px); top: calc(-4% + 45px);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); display: grid; place-items: center;
}
.meet-visual .ring-badge img { width: 26px; filter: brightness(0) invert(1); }
@keyframes spin { to { transform: rotate(360deg); } }

.meet h2 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.04em; margin: 16px 0 24px; }
.meet p.lead { font-size: 20px; color: var(--ink); }
.meet p { color: var(--muted); }

/* ==========================================================================
   Service area — landscape melting into the page
   ========================================================================== */

.area { background: var(--navy-deep); overflow: hidden; }
.area-bg {
  position: absolute; inset: 0; z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 60%, transparent 100%);
}
.area-bg img { width: 100%; height: 120%; object-fit: cover; object-position: center; opacity: 0.8; }
.area-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 45%, transparent, rgba(12, 23, 41, 0.7));
}
.area .wrap { position: relative; z-index: 1; }
.area-inner { min-height: min(90vh, 900px); display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 140px 0 120px; }
.area h1, .area h2 { font-size: clamp(44px, 7vw, 110px); letter-spacing: -0.045em; margin: 18px auto 22px; max-width: 14ch; }
.area .lede { max-width: 560px; margin: 0 auto 50px; font-size: 19px; color: rgba(255, 255, 255, 0.82); }
.towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; list-style: none; padding: 0; }
.towns li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(12, 23, 41, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display); font-weight: 500;
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.towns li:hover { background: var(--teal); transform: translateY(-3px); }
.towns li svg { width: 16px; height: 16px; color: var(--teal-bright); }
.towns li:hover svg { color: var(--white); }
.area-more { align-self: center; margin-top: 44px; }

/* Areas page */
.area-page .area-inner { padding-top: 200px; }
.map-box.map-wide { min-height: clamp(420px, 52vw, 640px); border-radius: var(--radius-xl); border: 0; box-shadow: 0 50px 100px -40px rgba(12, 23, 41, 0.6); }
.catchment {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin-top: 28px; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(12, 23, 41, 0.35);
}
.catchment > div { flex: 1 1 320px; }
.catchment h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.catchment p { margin: 0; color: var(--muted); max-width: 60ch; }
.county-grid { grid-template-columns: repeat(6, 1fr); }
.county-card { grid-column: span 3; }
.county-card:first-child { grid-column: span 6; }
.town-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.town-chips li {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--white);
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
.steps li { padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 30px 60px -40px rgba(12, 23, 41, 0.35); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 22px;
  background: var(--navy); color: var(--teal-bright);
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
}
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }
.area-faq { display: grid; gap: 14px; align-content: center; margin: 0; }
.area-faq > div { padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.area-faq dt { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.area-faq dd { margin: 0; color: var(--muted-light); }
.towns li.county { background: rgba(31, 143, 128, 0.3); border-color: rgba(44, 194, 171, 0.4); }

/* ==========================================================================
   CTA + map
   ========================================================================== */

.cta { background: var(--cream); }
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 70px);
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(44, 194, 171, 0.28), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(34, 56, 90, 0.9), transparent 70%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(12, 23, 41, 0.6);
}
.cta-card h2 { font-size: clamp(42px, 5.6vw, 84px); letter-spacing: -0.045em; margin: 18px 0 18px; }
.cta-card .lede { font-size: 19px; color: rgba(255, 255, 255, 0.8); max-width: 460px; margin-bottom: 34px; }
.cta-meta { display: grid; gap: 14px; margin-top: 36px; }
.cta-meta a, .cta-meta div { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.86); }
.cta-meta svg { width: 20px; height: 20px; color: var(--teal-bright); flex-shrink: 0; }
.cta-meta a:hover { color: var(--white); }

/* Map panel (Mapbox, set up in main.js). The navy background and the tag are what shows if the map can't load. */
.map-box {
  position: relative;
  min-height: clamp(340px, 34vw, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(90% 90% at 70% 20%, var(--navy-soft), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
/* Two classes so this outranks Mapbox's own .mapboxgl-map { position: relative } */
.map-box .map-canvas { position: absolute; inset: 0; }
.map-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(12, 23, 41, 0.82); color: var(--white);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.2;
}
.map-tag svg { width: 22px; height: 22px; color: var(--teal-bright); flex-shrink: 0; }
.map-tag strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.map-tag small { display: block; font-size: 12px; color: var(--muted-light); }
.map-tag:hover small { color: var(--teal-bright); }
/* Keep Mapbox's own controls clear of the tag and the rounded corners */
.map-box .mapboxgl-ctrl-bottom-left { bottom: 64px; left: 8px; }
.map-box .mapboxgl-ctrl-top-right { top: 12px; right: 12px; }
.map-box .mapboxgl-ctrl-bottom-right { bottom: 12px; right: 14px; }

/* ==========================================================================
   Footer — curved top
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--navy-ink);
  color: var(--muted-light);
  padding: clamp(80px, 10vw, 140px) 0 120px;
  margin-top: clamp(40px, 6vw, 80px);
  border-radius: 50% 50% 0 0 / clamp(40px, 6vw, 90px) clamp(40px, 6vw, 90px) 0 0;
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
/* Light version of the header lockup: white lock, navy keyhole, white name */
.footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-logo img { height: 66px; width: auto; }
.footer-logo .brand-name { font-size: 24px; color: var(--white); }
.footer-logo .brand-name small { font-size: 13.5px; margin-top: 8px; color: var(--teal-bright); }
.site-footer h4 { color: var(--white); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* Hairline dividers between the links / contact details in each footer column */
.site-footer li + li { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.3em; color: var(--teal-bright); opacity: 0.75; }
.footer-contact a { overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--teal-bright); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.footer-credit strong {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em;
  color: var(--teal-bright);
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-bright) 55%, #a5f3e4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.2em 0.05em; margin: -0.2em -0.05em;
}
.footer-credit a:hover strong { filter: brightness(1.25); }

/* ==========================================================================
   Mobile sticky call bar — the most important thing on a phone
   ========================================================================== */

.call-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 75;
  display: none;
  align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(12, 23, 41, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  box-shadow: 0 20px 50px -10px rgba(12, 23, 41, 0.6);
  transform: translateY(150%);
  transition: transform 0.6s var(--ease-out);
}
.call-bar.is-visible { transform: translateY(0); }
.call-bar .cb-text { font-size: 13px; line-height: 1.25; }
.call-bar .cb-text strong { display: block; font-family: var(--font-display); font-size: 16px; }
.call-bar .btn { padding: 14px 20px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
  background: var(--cream);
}
.page-hero h1 { font-size: clamp(52px, 9vw, 140px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; margin: 20px 0 26px; max-width: 12ch; }
.page-hero p { max-width: 600px; font-size: 20px; color: var(--muted); }
.page-hero .hero-actions { margin-top: 32px; }

/* Services page: alternating rows, image melting into the background */
.svc-cat { padding: clamp(40px, 6vw, 80px) 0; }
.svc-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.svc-cat-head h2 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.045em; }
.svc-cat-head p { max-width: 460px; color: var(--muted); font-size: 18px; margin: 0; }
.on-dark .svc-cat-head p { color: var(--muted-light); }

.svc-row {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(30px, 5vw, 60px) 0;
}
.svc-row:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(12, 23, 41, 0.55);
}
.svc-media img { width: 100%; height: 115%; object-fit: cover; }
.svc-row:nth-child(odd) .svc-media { border-radius: var(--radius-xl) 180px var(--radius-xl) var(--radius-xl); }
.svc-row:nth-child(even) .svc-media { border-radius: 180px var(--radius-xl) var(--radius-xl) var(--radius-xl); }
.svc-copy .tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(31, 143, 128, 0.12); color: var(--teal);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.on-dark .svc-copy .tag { background: rgba(44, 194, 171, 0.14); color: var(--teal-bright); }
.svc-copy h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.035em; margin-bottom: 18px; }
.svc-copy p { color: var(--muted); font-size: 18px; }
.on-dark .svc-copy p { color: var(--muted-light); }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.on-dark .ticks svg { color: var(--teal-bright); }

.jump-nav {
  position: sticky; top: 100px; z-index: 20;
  display: flex; justify-content: center;
  margin: 0 auto;
  padding: 0 var(--gutter);
  pointer-events: none;
  transition: top 0.5s var(--ease-out);
}
/* Ride up into the header's place when it hides on scroll, instead of floating mid-page */
.site-header.is-hidden ~ main .jump-nav { top: 14px; }
.jump-nav ul {
  pointer-events: auto;
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px;
  border-radius: 999px;
  background: rgba(22, 38, 63, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
  /* Edge fades show there is more to swipe to; main.js sets --fade-l / --fade-r */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent);
}
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a {
  display: block; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px;
  color: var(--muted-light); font-size: 14px; font-family: var(--font-display); font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.jump-nav a:hover, .jump-nav a.is-active { background: var(--teal); color: var(--white); }

/* About page */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-grid.flip { grid-template-columns: 1.1fr 0.9fr; }
.story-grid.flip .story-media { order: 2; }
.story-media { position: relative; }
.story-media .organic { aspect-ratio: 4 / 5; }
.story-grid.wide-media { grid-template-columns: 1.05fr 0.95fr; }
.story-media.landscape { margin: 0; }
.story-media.landscape .organic { aspect-ratio: 5 / 4; }
.story-media.landscape img { object-position: 72% 50%; }
.story-media figcaption { margin-top: 22px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; color: var(--navy); }
.story-copy h2 { font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.04em; margin: 16px 0 22px; }
.story-copy p { color: var(--muted); font-size: 18px; }
.on-dark .story-copy p { color: var(--muted-light); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(22, 38, 63, 0.07);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(12, 23, 41, 0.35); }
.contact-card .cc-icon {
  width: 58px; height: 58px; border-radius: 20px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--navy); color: var(--teal-bright);
}
.contact-card .cc-icon svg { width: 26px; height: 26px; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.contact-card strong { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; word-break: break-word; }
.contact-grid .map-box { min-height: clamp(420px, 44vw, 620px); border-radius: var(--radius-xl); border: 0; box-shadow: 0 50px 100px -40px rgba(12, 23, 41, 0.6); position: sticky; top: 110px; }

/* ==========================================================================
   Motion setup — hidden only when JS is running
   ========================================================================== */

.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.92); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.one { left: -4%; }
  .float-card.two { right: -2%; bottom: 26%; }
  .float-card.three { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 112px; }
  .hero-grid, .meet-grid, .cta-card, .story-grid, .story-grid.flip, .story-grid.wide-media, .contact-grid { grid-template-columns: 1fr; }
  .story-grid.flip .story-media { order: 0; }
  /* On phones and tablets the order is: headline, intro text, padlock, then the call buttons.
     .hero-copy is dissolved so its children and the padlock can be ordered together; kept small so the call button stays close. */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .status-pill { justify-self: start; }
  .hero-title { margin: 16px 0 18px; }
  .hero-sub { margin-bottom: 18px; }
  .hero-visual { order: 1; width: min(62%, 320px); margin: 0 0 26px; }
  .hero-actions { order: 2; }
  /* The pills hang off the sides of the smaller padlock so they don't cover Brian or his name */
  .float-card { white-space: nowrap; }
  .float-card.one { left: auto; right: 80%; top: 26%; bottom: auto; }
  .float-card.two { left: 80%; right: auto; top: 54%; bottom: auto; }
  .section-head { grid-template-columns: 1fr; }
  .svc-card, .svc-grid[data-count] .svc-card:nth-child(n) { grid-column: span 12; min-height: 380px; }
  .why-grid, .values, .steps { grid-template-columns: 1fr; }
  .county-card, .county-card:first-child { grid-column: auto; }
  .svc-row, .svc-row:nth-child(even) { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .call-bar { display: flex; }
  .scroll-cue { display: none; }
  .site-footer { padding-bottom: 130px; }
}

@media (max-width: 720px) {
  /* Less room beside the padlock: tuck the pills further in so they never run off the screen */
  .float-card.one { right: 62%; }
  .float-card.two { left: 62%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 46px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 10.5px; margin-top: 5px; }
  .nav-cta .btn-teal { display: none; }
  .btn-call { width: 100%; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px 10px 10px; font-size: 12px; }
  .float-card strong { font-size: 14px; }
  .float-card .fc-icon { width: 34px; height: 34px; border-radius: 11px; }
  .float-card.one { left: auto; right: -26%; top: 56%; bottom: auto; }
}
@media (max-width: 350px) {
  .hero .float-card { display: none; }
  /* the +353 number is long: shrink the big call button a little so it stays on one line */
  .btn-call { font-size: 19px; gap: 12px; padding-right: 18px; }
}
@media (max-width: 560px) {
  .svc-card { padding: 24px; min-height: 340px; }
  .svc-tab { padding: 10px 18px; }
  .svc-row:nth-child(n) .svc-media { border-radius: var(--radius-lg) 90px var(--radius-lg) var(--radius-lg); }
  .jump-nav ul { padding: 5px; }
  .jump-nav a { padding: 9px 14px; font-size: 13.5px; }
  .meet-visual .ring-text { width: 110px; height: 110px; right: -2%; }
  .meet-visual .ring-badge { width: 44px; height: 44px; right: calc(-2% + 33px); top: calc(-4% + 33px); }
  .meet-visual .ring-badge img { width: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Fade hero glows out so no section ends on a straight edge */
.hero .aurora,
.page-hero .aurora {
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero, .page-hero { overflow: visible; }
.hero .aurora, .page-hero .aurora { overflow: hidden; }
body { overflow-x: clip; }
@media (max-width: 560px) {
  .float-card.two { display: none; }
  .hero-name { left: 18px; bottom: 16px; white-space: nowrap; }
  .hero-name strong { font-size: 17px; }
  .hero-name span { font-size: 9.5px; letter-spacing: 0.18em; }
}
