/* ==========================================================================
   Raze Media v2: Services pages (template "Raze Services v2")
   Hero, a menu of services, a service bar that follows you down the page,
   and zig-zag service sections (circle photo, title, text, quote button)
   joined by a line on desktop. Each service keeps one color everywhere.
   Impreza's CSS is not loaded on this page, so the base rules stand in for it.
   ========================================================================== */

/* While Roboto Condensed loads, a local bold sans scaled to about the same width stands in for it,
   so headings keep their line breaks and the page does not jump when the web font arrives */
@font-face {
  font-family: "Raze Condensed Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arial");
  font-weight: 700;
  size-adjust: 85%;
}

:root {
  --u: min(1vw, 17.28px);
  --hh: 76px;
  --top: var(--hh);
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: min(1200px, 100% - 2 * var(--gutter));
  --f-cond: "Roboto Condensed", "Raze Condensed Fallback", "Arial Narrow", Helvetica, Arial, sans-serif;
  --f-body: "Roboto", Helvetica, Arial, sans-serif;
  --ink: #111;
  --text: #3b4954;
  --line: #2e9cd7;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.5, 0.5, 1);
}
.admin-bar { --top: calc(var(--hh) + 32px); }
@media screen and (max-width: 782px) { .admin-bar { --top: calc(var(--hh) + 46px); } }

/* ---------------------------------------------------------------- Base */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.raze-services-v2 {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.raze-services-v2 main { display: block; }
/* Resets are wrapped in :where() so every component class below wins over them */
:where(.sv),
:where(.sv) *,
:where(.sv) *::before,
:where(.sv) *::after { box-sizing: border-box; }
:where(.sv) :where(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
:where(.sv) :where(ul, ol) { list-style: none; }
:where(.sv) li::before { content: none; }
:where(.sv) :where(img, svg) { display: block; max-width: 100%; }
:where(.sv) img { height: auto; border: 0; }
:where(.sv) a { color: inherit; text-decoration: none; box-shadow: none; }
.sv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sv-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.sv-line > span { display: block; }

/* ---------------------------------------------------------------- Hero */
.sv-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 64vw, 380px);
  padding: calc(var(--hh) + 36px) var(--gutter) 44px;
  overflow: hidden;
  /* Phones and tablets: one big rounded corner. The sweep down the whole right side is kept for desktop,
     where the banner is wide enough for it; on a tall, narrow banner it slants into the text. */
  border-bottom-right-radius: clamp(64px, 26vw, 150px) clamp(56px, 22vw, 130px);
  border-bottom-left-radius: 22px;
  background: #06243a;
  color: #fff;
  isolation: isolate;
}
.sv-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% 40%;
}
.sv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(3, 18, 32, 0.9) 0%, rgba(3, 26, 46, 0.72) 45%, rgba(4, 40, 66, 0.3) 100%);
}
.sv-hero-inner { width: var(--wrap); margin: 0 auto; container-type: inline-size; }
.sv-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 700 13px/1.2 var(--f-cond); letter-spacing: 0.12em; text-transform: uppercase; }
.sv-crumbs li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.78); }
.sv-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.sv-crumbs a { color: #fff; background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size 0.3s ease; }
.sv-crumbs a:hover,
.sv-crumbs a:focus-visible { background-size: 100% 1.5px; }
.sv-title {
  margin-top: 14px;
  font: 700 clamp(38px, 10.5vw, 56px)/0.95 var(--f-cond);
  /* Never larger than what fits its longest word on one line (--lw letters, about 0.62em each) */
  font-size: min(clamp(38px, 10.5vw, 56px), 100cqi / (var(--lw, 11) * 0.64));
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.sv-lede {
  max-width: 50ch;
  margin-top: 16px;
  font-size: clamp(16px, 4.3vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.sv-hero :focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 4px; }

/* Intro block (only when the page has one in ACF) */
.sv-intro { width: var(--wrap); margin: clamp(40px, 5vw, 72px) auto 0; text-align: center; }
.sv-intro-title { color: var(--ink); font: 700 clamp(30px, 4vw, 52px)/1 var(--f-cond); text-transform: uppercase; }
.sv-intro-text { max-width: 70ch; margin: 14px auto 0; }
.sv-intro-text > * + * { margin-top: 14px; }
/* Phones: long text reads better from a straight left edge */
@media (max-width: 599.98px) { .sv-intro { text-align: left; } }

/* ---------------------------------------------------------------- Services strip
   One nav for the page: it sits under the hero, then sticks under the site header while you read
   (following the header as it hides and shows), marks the service on screen and shows progress.
   It scrolls sideways when the services do not fit, with soft edges showing there is more. */
.sv-flow { position: relative; }
.sv-nav {
  position: -webkit-sticky;
  position: sticky;
  top: var(--sv-top, var(--top));
  z-index: 900;
  margin-top: clamp(18px, 3vw, 44px);
  transition: top 0.45s var(--ease), background-color 0.3s ease, box-shadow 0.3s ease;
}
.sv-nav.is-stuck {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px -18px rgba(4, 30, 50, 0.55);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sv-nav.is-stuck { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); }
}
.sv-nav-list {
  --fl: 0px;
  --fr: 0px;
  position: relative;
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 9px max(var(--gutter), env(safe-area-inset-left, 0px));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
}
.sv-nav-list::-webkit-scrollbar { display: none; }
.sv-nav.has-l .sv-nav-list { --fl: 32px; }
.sv-nav.has-r .sv-nav-list { --fr: 32px; }
.sv-nav li { flex: none; scroll-snap-align: start; }
.sv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px 0 4px;
  border-radius: 999px;
  background: #eef2f5;
  color: #2a3640;
  font: 700 13px/1 var(--f-cond);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.sv-chip-disc {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(276deg, var(--c1), var(--c2));
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, transform 0.45s var(--spring);
}
.sv-chip-disc svg,
.sv-chip-disc img { width: 16px; height: 16px; }
.sv-chip.is-on { background: linear-gradient(276deg, var(--k1) 14%, var(--k2) 84%); color: #fff; }
.sv-chip.is-on .sv-chip-disc { background: #fff; color: var(--k2); }
.sv-chip:active { transform: scale(0.96); }
.sv-chip:focus-visible { outline: 3px solid var(--k2); outline-offset: 2px; }
@media (hover: hover) {
  .sv-chip:not(.is-on):hover { background: #e2e8ed; }
  .sv-chip:hover .sv-chip-disc { transform: rotate(-8deg) scale(1.06); }
}
/* Mouse users get arrows when the strip runs past the screen (touch screens swipe, keyboards tab) */
.sv-nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px -6px rgba(4, 30, 50, 0.45);
  color: #22303b;
  cursor: pointer;
  transition: transform 0.3s var(--spring), color 0.2s ease;
}
.sv-nav-arrow svg { width: 16px; height: 16px; }
.sv-nav-prev { left: 8px; }
.sv-nav-prev svg { transform: rotate(180deg); }
.sv-nav-next { right: 8px; }
@media (hover: hover) and (pointer: fine) {
  .sv-nav.has-l .sv-nav-prev,
  .sv-nav.has-r .sv-nav-next { display: grid; }
  .sv-nav-arrow:hover { color: var(--line); transform: scale(1.08); }
}
.sv-nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(4, 30, 50, 0.06); opacity: 0; transition: opacity 0.3s ease; }
.sv-nav.is-stuck .sv-nav-progress { opacity: 1; }
.sv-nav-progress > span { display: block; height: 100%; background: var(--bar-c, var(--line)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: background-color 0.4s ease; }

/* ---------------------------------------------------------------- Services */
.sv-list { position: relative; padding: clamp(24px, 4vw, 56px) 0 clamp(16px, 3vw, 48px); overflow: hidden; }
@supports (overflow: clip) { .sv-list { overflow: clip; } }
.sv-route { display: none; }
.sv-item { position: relative; padding: 36px 0 52px; scroll-margin-top: calc(var(--top) + 64px); }
.sv-legacy { position: absolute; top: 0; scroll-margin-top: calc(var(--top) + 64px); }
.sv-item-inner { position: relative; width: var(--wrap); margin: 0 auto; }
.sv-photo {
  position: relative;
  z-index: 2;
  width: min(76vw, 340px);
  aspect-ratio: 1;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 50%;
  background: #e8edf1;
  box-shadow: 0 30px 50px -34px rgba(4, 30, 50, 0.6);
  transform: translateZ(0);
}
.sv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.9s ease, transform 1.2s var(--ease);
}
.sv-item.is-active .sv-photo img { filter: none; }
@media (hover: hover) {
  .sv-photo:hover img { filter: none; transform: scale(1.04); }
}
.sv-copy { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; container-type: inline-size; }
/* The X pattern from the original design, in the service's color */
.sv-x {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 66px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 12px 12px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 12px 12px;
  opacity: 0.85;
  pointer-events: none;
}
.sv-num { font: 400 15px/1 var(--f-cond); letter-spacing: 0.12em; color: #5d6b76; }
.sv-num b { color: var(--k2); font-weight: 700; }
.sv-name {
  --fs: clamp(36px, 10vw, 52px);
  --pr: 64px;
  margin-top: 10px;
  padding-right: var(--pr);
  color: var(--ink);
  font: 700 var(--fs)/0.95 var(--f-cond);
  /* Every service title on the page shares one size, capped so the page's longest word fits */
  font-size: min(var(--fs), (100cqi - var(--pr)) / (var(--lw, 10) * 0.64));
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.sv-text { margin-top: 18px; color: var(--text); font-size: 17px; line-height: 1.7; }
.sv-text > * + *,
.sv-text .wpb_wrapper > * + * { margin-top: 14px; }
.sv-text p:empty { display: none; }
.sv-text strong,
.sv-text b { color: var(--ink); font-weight: 700; }
.sv-text ul { display: grid; gap: 10px; }
.sv-text li { position: relative; padding-left: 32px; }
.sv-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(276deg, var(--c1), var(--c2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.sv-text li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.2em + 5px);
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sv-text a { color: var(--k2); text-decoration: underline; text-underline-offset: 0.18em; }

/* Quote button: the service's (deeper) gradient, ink spreads from the pointer on hover */
.sv-cta,
.sv-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 26px;
  padding: 14px 22px 14px 26px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(276deg, var(--k1) 14%, var(--k2) 84%);
  color: #fff;
  font: 700 19px/1 var(--f-cond);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  isolation: isolate;
  box-shadow: 0 16px 28px -18px var(--k2);
  transition: transform 0.35s var(--spring), box-shadow 0.3s ease;
}
.sv-cta::before,
.sv-btn::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: -1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.55s var(--ease);
}
.sv-cta svg,
.sv-btn svg { flex: none; width: 20px; height: 20px; transition: transform 0.35s var(--spring); }
.sv-cta:hover::before,
.sv-btn:hover::before { transform: translate(-50%, -50%) scale(46); }
.sv-cta:hover svg,
.sv-btn:hover svg { transform: translateX(4px); }
.sv-cta:hover,
.sv-btn:hover { box-shadow: 0 20px 32px -16px var(--k2); }
.sv-cta:active,
.sv-btn:active { transform: scale(0.97); }
.sv-cta:focus-visible,
.sv-btn:focus-visible { outline: 3px solid var(--k2); outline-offset: 4px; }

/* A step without a photo gets a disc in its color with an icon (or its number); like the photos it is
   grey until you reach it */
.sv-photo-icon { container-type: inline-size; }
.sv-photo-disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(276deg, var(--c1) 14%, var(--c2) 84%);
  color: #fff;
  filter: grayscale(1);
  transition: filter 0.9s ease, transform 1.2s var(--ease);
}
.sv-photo-disc svg { width: 36%; height: 36%; }
.sv-photo-disc b { font: 700 42cqi/1 var(--f-cond); letter-spacing: -0.02em; }
.sv-item.is-active .sv-photo-disc { filter: none; }
@media (hover: hover) {
  .sv-photo-icon:hover .sv-photo-disc { filter: none; transform: scale(1.04) rotate(-4deg); }
}

/* ---------------------------------------------------------------- FAQ (Business Accelerator) */
.sv-faq { width: var(--wrap); margin: clamp(32px, 6vw, 96px) auto 0; }
.sv-faq-title { color: var(--ink); font: 700 clamp(44px, 11vw, 80px)/0.95 var(--f-cond); text-transform: uppercase; }
.sv-faq-list { display: grid; gap: 10px; margin-top: clamp(18px, 3vw, 32px); }
.sv-faq-item { border-radius: 26px; background: #f3f6f8; }
.sv-faq-q { margin: 0; font: inherit; }
.sv-faq-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px 12px 22px;
  border: 0;
  border-radius: 26px;
  background: #474e55;
  color: #fff;
  font: 700 16px/1.3 var(--f-body);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.sv-faq-text { flex: 1; }
.sv-faq-icon { position: relative; flex: none; width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 50%; }
.sv-faq-icon::before,
.sv-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.sv-faq-icon::after { transform: rotate(90deg); }
.sv-faq-btn[aria-expanded="true"] { background: linear-gradient(276deg, #0a7cad 0%, #075d82 100%); box-shadow: 0 14px 26px -16px rgba(7, 93, 130, 0.85); }
.sv-faq-btn[aria-expanded="true"] .sv-faq-icon::after { transform: rotate(0deg); }
.sv-faq-btn:focus-visible { outline: 3px solid #0a87bb; outline-offset: 3px; }
@media (hover: hover) { .sv-faq-btn[aria-expanded="false"]:hover { background: #343a40; } }
.sv-faq-a { overflow: hidden; }
.sv-faq-a-inner { max-width: 80ch; padding: 16px 22px 22px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.sv-faq-a-inner > * + * { margin-top: 12px; }
.sv-faq-a-inner a { color: #0a6f99; text-decoration: underline; text-underline-offset: 0.18em; }
/* Cities served, as links to their pages */
.sv-faq-a-inner .faq-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.sv-faq-a-inner .faq-cities li { margin: 0; padding: 0; }
.sv-faq-a-inner .faq-cities a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #c8d6df;
  color: #0a6f99;
  font: 700 14px/1 var(--f-cond);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) { .sv-faq-a-inner .faq-cities a:hover { background: #0a7cad; color: #fff; box-shadow: none; } }
@media (min-width: 1000px) {
  .sv-faq-btn { min-height: 58px; padding-left: 28px; font-size: 17px; }
  .sv-faq-a-inner { padding: 18px 28px 26px; }
}

/* ---------------------------------------------------------------- Our Team */
/* The office photo shows in full and the title sits in a blue pill at the bottom, as on the old page */
.sv-hero.sv-hero-photo { align-items: flex-end; min-height: clamp(380px, 100vw, 520px); padding-bottom: 0; }
.sv-hero-photo::after { background: linear-gradient(0deg, rgba(3, 18, 32, 0.72) 0%, rgba(3, 18, 32, 0.34) 38%, rgba(3, 18, 32, 0) 68%); }
.sv-hero-photo .sv-hero-img { object-position: 50% 45%; }
.sv-hero-photo .sv-hero-inner { padding-bottom: clamp(22px, 4vw, 48px); }
.sv-hero-photo .sv-crumbs { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.sv-hero-photo .sv-title {
  display: inline-block;
  margin-left: calc((100% - 100vw) / 2);
  padding: 0.14em 0.75em 0.08em calc((100vw - 100%) / 2);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(276deg, #0a8fc2 0%, #0a6f99 100%);
  box-shadow: 0 18px 30px -18px rgba(3, 40, 66, 0.85);
}

.sv-team { width: var(--wrap); margin: clamp(36px, 6vw, 88px) auto clamp(8px, 3vw, 40px); }
.sv-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin: 0; padding: 0; list-style: none; }
.sv-person { margin: 0; text-align: center; }
.sv-person-frame {
  position: relative;
  aspect-ratio: 1 / 1.4;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f5;
  box-shadow: 0 18px 34px -24px rgba(4, 30, 50, 0.55);
  transform: translateZ(0);
}
.sv-person-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 12%; transition: transform 0.7s var(--ease); }
.sv-person-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0 0 13%;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sv-person-btn:focus-visible { outline: 3px solid #0a87bb; outline-offset: 3px; }
.sv-person-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px -10px rgba(4, 30, 50, 0.6);
  color: #0a6f99;
  font: 700 12px/1 var(--f-cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s ease, transform 0.45s var(--spring), background-color 0.3s ease, color 0.3s ease;
}
.sv-person-hint svg { width: 14px; height: 14px; }
.sv-person-btn:active .sv-person-hint { transform: scale(0.94); }
@media (hover: hover) {
  .sv-person-hint { opacity: 0; transform: translateY(10px); }
  .sv-person:hover .sv-person-hint,
  .sv-person-btn:focus-visible .sv-person-hint { opacity: 1; transform: none; }
  .sv-person:hover .sv-person-frame img { transform: scale(1.05); }
  .sv-person-btn:hover .sv-person-hint { background: #0a7cad; color: #fff; }
}
.sv-person-name { margin: 14px 0 0; color: #0a7fb0; font: 700 clamp(19px, 2.2vw, 24px)/1.1 var(--f-cond); }
.sv-person-role { margin-top: 5px; color: var(--text); font: 700 12.5px/1.3 var(--f-cond); letter-spacing: 0.05em; text-transform: uppercase; }
/* Without JavaScript (or a browser without dialogs) the fun facts show under each person */
.sv-person-facts { margin-top: 10px; font-size: 14px; line-height: 1.5; text-align: left; }
.sv-person-facts dl,
.sv-dialog-facts dl { display: grid; gap: 12px; margin: 0; }
.sv-person-facts dt,
.sv-dialog-facts dt { color: #0a6f99; font: 700 12.5px/1 var(--f-cond); letter-spacing: 0.1em; text-transform: uppercase; }
.sv-person-facts dd,
.sv-dialog-facts dd { margin: 4px 0 0; }
.js .sv-team:not(.sv-team-inline) .sv-person-facts { display: none; }
.sv-anim .sv-person { transition: opacity 0.7s ease, transform 0.9s var(--ease); transition-delay: calc(mod(var(--i), 4) * 70ms); }
.sv-anim .sv-person:not(.is-in) { opacity: 0; transform: translateY(26px); }

.sv-dialog {
  width: min(92vw, 880px);
  max-width: none;
  max-height: min(90vh, 660px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(3, 24, 40, 0.6);
}
.sv-dialog::backdrop { background: rgba(3, 18, 32, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sv-dialog-card { position: relative; max-height: min(90vh, 660px); overflow: auto; overscroll-behavior: contain; }
.sv-dialog-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f5; }
.sv-dialog-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 14%; }
.sv-dialog-body { padding: 22px 24px 24px; }
.sv-dialog-kicker { color: #0a6f99; font: 700 12px/1 var(--f-cond); letter-spacing: 0.14em; text-transform: uppercase; }
.sv-dialog-name { margin: 8px 0 0; color: var(--ink); font: 700 clamp(30px, 7vw, 44px)/1 var(--f-cond); text-transform: uppercase; }
.sv-dialog-role { margin-top: 6px; font: 700 14px/1.3 var(--f-cond); letter-spacing: 0.05em; text-transform: uppercase; }
.sv-dialog-facts { margin-top: 18px; font-size: 16px; line-height: 1.6; }
.sv-dialog-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e3eaef; }
.sv-dialog-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #eef2f5;
  color: #22303b;
  font: 700 14px/1 var(--f-cond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.sv-dialog-step svg { width: 16px; height: 16px; }
.sv-dialog-step[data-sv-dialog-step="-1"] svg { transform: rotate(180deg); }
@media (hover: hover) { .sv-dialog-step:hover { background: #0a7cad; color: #fff; } }
.sv-dialog-step:focus-visible,
.sv-dialog-close:focus-visible { outline: 3px solid #0a87bb; outline-offset: 2px; }
.sv-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px -8px rgba(4, 30, 50, 0.6);
  color: #22303b;
  font: 400 28px/1 var(--f-body);
  cursor: pointer;
}
@media (min-width: 700px) {
  .sv-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
  .sv-dialog-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .sv-dialog-photo { aspect-ratio: auto; min-height: 440px; }
  .sv-dialog-body { align-self: center; padding: 34px 36px 30px; }
}
@media (min-width: 1000px) {
  .sv-hero.sv-hero-photo { min-height: clamp(480px, 40vw, 700px); }
  .sv-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(3.4 * var(--u)) calc(2.2 * var(--u)); }
  .sv-person-role { font-size: 14px; }
}

/* ---------------------------------------------------------------- Contact Us */
/* The form card overlaps the bottom of the photo on phones and tablets and sits beside the title on
   desktop. Labels sit inside the fields like the old placeholders and move up once you type. */
.ct-top { --ct-lap: clamp(48px, 12vw, 72px); position: relative; }
.sv-hero.sv-hero-contact { padding-bottom: calc(40px + var(--ct-lap)); }
.sv-hero-contact .sv-hero-img { object-position: 50% 35%; }
.ct-intro { container-type: inline-size; }
.ct-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 6px 24px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  animation: sv-fade-up 0.8s var(--ease) 0.5s both;
  transition: background-color 0.3s ease;
}
.ct-phone-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(276deg, #019dd8 14%, #0076a8 84%);
}
.ct-phone-icon svg { width: 21px; height: 21px; }
/* Two soft rings after the page settles */
.ct-phone-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ct-ring 2.2s ease-out 1.6s 2; }
.ct-phone-text { display: grid; gap: 5px; text-align: left; }
.ct-phone-kicker { color: rgba(255, 255, 255, 0.82); font: 700 12px/1 var(--f-cond); letter-spacing: 0.14em; text-transform: uppercase; }
.ct-phone-num { font: 700 22px/1 var(--f-cond); letter-spacing: 0.03em; }
@media (hover: hover) {
  .ct-phone:hover { background: rgba(255, 255, 255, 0.2); }
  .ct-phone:hover .ct-phone-icon svg { animation: ct-wiggle 0.5s ease; }
}
@keyframes ct-ring { from { box-shadow: 0 0 0 0 rgba(1, 157, 216, 0.65); } to { box-shadow: 0 0 0 18px rgba(1, 157, 216, 0); } }
@keyframes ct-wiggle { 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }

.ct-card {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  max-width: 660px;
  margin: calc(-1 * var(--ct-lap)) auto 0;
  padding: 28px 20px 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 34px 70px -34px rgba(3, 24, 40, 0.5), 0 2px 8px rgba(3, 24, 40, 0.06);
  animation: ct-card-in 0.9s var(--ease) 0.2s both;
}
@keyframes ct-card-in { from { opacity: 0; transform: translateY(32px); } }
.ct-card-title { color: var(--ink); font: 700 clamp(28px, 7.4vw, 38px)/1 var(--f-cond); letter-spacing: 0.005em; text-transform: uppercase; }
.ct-card-note { margin-top: 8px; color: #56636d; font-size: 14px; line-height: 1.4; }

.ct-form { margin-top: 20px; }
/* The form plugin's own stylesheet hides these too; repeated so the form never depends on it */
.ct-form .hidden-fields-container { display: none; }
.ct-form .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; white-space: nowrap; }
.ct-form .wpcf7 form:is(.init, .resetting, .submitting) .wpcf7-response-output,
.ct-form .wpcf7-response-output:empty { display: none; }
.ct-form .wpcf7-form > p { position: relative; margin: 0; }
.ct-form .wpcf7-form > p:first-of-type { display: grid; gap: 12px; }
.ct-form .wpcf7-form br { display: none; }
.ct-form .wpcf7-form-control-wrap { position: relative; display: block; }
.ct-form :is(input, textarea, select).wpcf7-form-control {
  display: block;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 25px 16px 7px;
  border: 1.5px solid #d2dce4;
  border-radius: 14px;
  background-color: #f5f8fa;
  box-shadow: none;
  color: var(--ink);
  font: 400 16px/1.3 var(--f-body);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-form textarea.wpcf7-form-control { height: 140px; min-height: 110px; padding-top: 28px; resize: vertical; }
.ct-form select.wpcf7-form-control {
  padding: 0 46px 0 16px;
  background: #f5f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230a6f99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  text-overflow: ellipsis;
  cursor: pointer;
}
@media (hover: hover) {
  .ct-form :is(input, textarea, select).wpcf7-form-control:hover { border-color: #a7b9c7; }
}
.ct-form :is(input, textarea, select).wpcf7-form-control:focus { border-color: #0a87bb; background-color: #fff; box-shadow: 0 0 0 4px rgba(10, 135, 187, 0.16); }
.ct-label {
  position: absolute;
  top: 18px;
  left: 17.5px;
  right: 16px;
  overflow: hidden;
  color: #56636d;
  font: 400 16px/1.3 var(--f-body);
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.22s var(--ease), color 0.22s ease;
}
.ct-req { margin-left: 2px; color: #c2185b; }
.ct-form :is(input, textarea):focus + .ct-label,
.ct-form :is(input, textarea):not(:placeholder-shown) + .ct-label { transform: translateY(-10px) scale(0.75); }
.ct-form :is(input, textarea):focus + .ct-label { color: #0a6f99; }
.ct-form input:-webkit-autofill + .ct-label { transform: translateY(-10px) scale(0.75); }
.ct-form .wpcf7-form-control.wpcf7-not-valid { border-color: #c62828; background-color: #fff7f7; }
.ct-form .wpcf7-form-control.wpcf7-not-valid:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.14); }
.ct-form .wpcf7-not-valid-tip { margin-top: 6px; padding-left: 4px; color: #b3261e; font: 500 13.5px/1.35 var(--f-body); }

/* Submit: the site's button; while it sends, a ring turns where the arrow was */
.ct-form .ct-submit { margin-top: 18px; border: 0; cursor: pointer; }
.ct-form .ct-submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ct-form form.submitting .ct-submit { pointer-events: none; }
.ct-form form.submitting .ct-submit svg { opacity: 0; }
.ct-form form.submitting .ct-submit::after { opacity: 1; animation: ct-spin 0.8s linear infinite; }
.ct-form .wpcf7-spinner { display: none; }
.ct-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border: 0; border-radius: 14px; background: #eef6fb; color: #0b4d6b; font: 500 14.5px/1.45 var(--f-body); }
.ct-form .wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output { background: #fff4e0; color: #6d4200; }
.ct-form .wpcf7 form:is(.failed, .aborted, .spam) .wpcf7-response-output { background: #fdecec; color: #8c1d18; }
.ct-form .wpcf7 form.sent .wpcf7-response-output { background: #e7f6ee; color: #14532d; }
.ct-rc { margin-top: 14px; color: #66737d; font-size: 12.5px; line-height: 1.5; }
.ct-rc a { color: #0a6f99; text-decoration: underline; text-underline-offset: 0.15em; }
.ct-rc a:focus-visible { outline: 2px solid #0a87bb; outline-offset: 2px; border-radius: 3px; }
/* The notice under the button stands in for reCAPTCHA's corner badge */
.grecaptcha-badge { visibility: hidden !important; }
@keyframes ct-spin { to { transform: rotate(360deg); } }

/* Sent: a thank-you in place of the form (the form keeps its space) */
/* Fades out when the thank-you comes in, and is back at once (and focusable) when you write again */
.ct-card.is-sent .ct-card-body { visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s; }
.ct-done {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  animation: ct-fade 0.5s var(--ease) both;
}
.ct-done[hidden] { display: none; }
.ct-done-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(276deg, #00d796 14%, #01d8cb 84%);
  box-shadow: 0 18px 34px -16px rgba(0, 133, 93, 0.7);
  color: #fff;
  animation: ct-pop 0.6s var(--spring) 0.1s both;
}
.ct-done-icon svg { width: 44px; height: 44px; stroke-dasharray: 22; animation: ct-draw 0.5s ease-out 0.45s both; }
.ct-done-title { margin-top: 8px; color: var(--ink); font: 700 clamp(30px, 7vw, 40px)/1 var(--f-cond); text-transform: uppercase; outline: none; }
.ct-done-text { max-width: 36ch; text-wrap: balance; }
.ct-done .ct-again { margin-top: 10px; border: 0; cursor: pointer; }
@keyframes ct-fade { from { opacity: 0; } }
@keyframes ct-pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes ct-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }

/* Newsletter sign-up (Emma): a photo band with the form in a row. The plugin's own styles are left out. */
.ct-news {
  position: relative;
  isolation: isolate;
  width: min(1320px, 100% - 2 * var(--gutter));
  margin: clamp(16px, 4vw, 56px) auto;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  border-radius: clamp(26px, 4vw, 48px);
  background: #0b4f4b;
  color: #fff;
  text-align: center;
}
.ct-news-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 50%; }
.ct-news::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 50% 35%, rgba(3, 40, 38, 0.2), rgba(2, 28, 28, 0.62)); }
.ct-news-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.ct-news-icon svg { width: 26px; height: 26px; }
.ct-news-title { margin-top: 16px; font: 700 clamp(34px, 8.4vw, 76px)/0.95 var(--f-cond); letter-spacing: 0.005em; text-transform: uppercase; text-wrap: balance; }
.ct-news-text { max-width: 56ch; margin: 16px auto 0; color: rgba(255, 255, 255, 0.92); font-size: clamp(16px, 1.6vw, 18px); text-wrap: pretty; }
.ct-news-form { max-width: 780px; margin: 28px auto 0; }
.ct-news #emma-form ul#emma-form-elements { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ct-news #emma-form ul#emma-form-elements li.emma-form-row { float: none; width: auto; margin: 0; padding: 0; }
.ct-news #emma-form ul#emma-form-elements .emma-form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.ct-news #emma-form ul#emma-form-elements .emma-form-input {
  display: block;
  float: none;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.5);
  color: var(--ink);
  font: 400 16px/1 var(--f-body);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.ct-news #emma-form .emma-form-input::placeholder { color: #56636d; opacity: 1; }
.ct-news #emma-form .emma-form-input:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5); }
/* Spam trap of the plugin: never shown */
.ct-news #emma-subscription-form .validation-container { display: none !important; }
.ct-news #emma-form .emma-form-label-required { display: none; }
.ct-news #emma-form input[type="submit"] {
  float: none;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(276deg, #019dd8 14%, #0076a8 84%);
  box-shadow: 0 16px 28px -18px #002b3d;
  color: #fff;
  font: 700 19px/1 var(--f-cond);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.35s var(--spring), filter 0.3s ease;
}
@media (hover: hover) { .ct-news #emma-form input[type="submit"]:hover { filter: brightness(1.1); transform: translateY(-2px); } }
.ct-news #emma-form input[type="submit"]:active { transform: scale(0.97); }
.ct-news #emma-form input[type="submit"]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ct-news #emma-form input.waiting { opacity: 0.7; }
.ct-news .emma-wrap > .spinner { width: 44px; height: 44px; margin: 6px auto; border: 4px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: ct-spin 0.8s linear infinite; }
.ct-news .emma-status { display: inline-block; max-width: 100%; padding: 14px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); color: #0b4f4b; font: 600 16px/1.45 var(--f-body); }
.ct-news .emma-alert { padding: 12px 18px; border-radius: 14px; background: #fdecec; color: #8c1d18; font: 500 15px/1.45 var(--f-body); }

@media (min-width: 600px) {
  .ct-card { padding: 36px 34px 30px; }
  .ct-form .wpcf7-form > p:first-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ct-form .ct-wide { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .ct-form .ct-submit { justify-content: center; width: 100%; }
}
@media (min-width: 700px) {
  .ct-news #emma-form ul#emma-form-elements { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .ct-news #emma-form input[type="submit"] { width: auto; }
}
/* Desktop: hero and card share one grid row; the card hangs below the photo a little */
@media (min-width: 1000px) {
  .ct-top {
    --ct-w: clamp(420px, 42%, 500px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(1200px, 100% - 2 * var(--gutter)) minmax(0, 1fr);
    padding-bottom: var(--ct-lap);
  }
  .ct-top > .sv-hero { grid-column: 1 / -1; grid-row: 1; }
  .sv-hero.sv-hero-contact { min-height: 0; padding: calc(var(--hh) + 3.5 * var(--u)) 0 calc(4.5 * var(--u)); }
  .sv-hero-contact .sv-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) var(--ct-w); column-gap: clamp(40px, calc(5 * var(--u)), 88px); }
  .ct-intro { grid-column: 1; }
  .ct-top > .ct-card {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: var(--ct-w);
    max-width: none;
    margin: calc(var(--hh) + 2.5 * var(--u)) 0 calc(-1 * var(--ct-lap));
    padding: 36px 34px 30px;
  }
}

/* ---------------------------------------------------------------- Closing call to action */
.sv-end { width: var(--wrap); margin: clamp(24px, 4vw, 56px) auto 0; padding: clamp(28px, 4vw, 64px) 0 clamp(48px, 6vw, 96px); text-align: center; }
.sv-end-title { color: var(--ink); font: 700 clamp(34px, 9vw, 60px)/0.98 var(--f-cond); text-transform: uppercase; }
.sv-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 6px; }
.sv-btn { --k1: #019dd8; --k2: #0076a8; }
.sv-btn-ghost { background: #fff; color: #0a6f99; box-shadow: inset 0 0 0 2px #0a87bb; }
.sv-btn-ghost::before { background: rgba(1, 157, 216, 0.12); }
.sv-extra { width: var(--wrap); margin: 0 auto; }

/* ---------------------------------------------------------------- Intro (plays once on load) */
.sv-title .sv-line > span { animation: sv-rise 1s var(--ease) 0.1s both; }
.sv-crumbs,
.sv-lede { animation: sv-fade-up 0.8s var(--ease) both; }
.sv-lede { animation-delay: 0.35s; }
.sv-hero-img { animation: sv-zoom 1.8s var(--ease) both; }
.sv-nav li { animation: sv-chip-in 0.7s var(--spring) both; animation-delay: calc(0.3s + var(--i) * 45ms); }
@keyframes sv-rise { from { transform: translateY(105%); } }
@keyframes sv-fade-up { from { opacity: 0; transform: translateY(22px); } }
@keyframes sv-zoom { from { transform: scale(1.1); } }
@keyframes sv-chip-in { from { opacity: 0; transform: scale(0.6); } }

/* Services reveal as they scroll in (raze-services.js adds sv-anim, then is-in per section) */
.sv-anim .sv-item:not(.is-in) .sv-photo { opacity: 0; transform: scale(0.82) rotate(-10deg); }
.sv-anim .sv-item:not(.is-in) .sv-name .sv-line > span { transform: translateY(105%); }
.sv-anim .sv-item:not(.is-in) .sv-num,
.sv-anim .sv-item:not(.is-in) .sv-text,
.sv-anim .sv-item:not(.is-in) .sv-cta { opacity: 0; transform: translateY(24px); }
.sv-anim .sv-item:not(.is-in) .sv-x { clip-path: inset(0 0 100% 0); }
.sv-anim .sv-photo { transition: opacity 0.8s ease, transform 1.1s var(--spring); }
.sv-anim .sv-name .sv-line > span { transition: transform 0.9s var(--ease) 0.08s; }
.sv-anim .sv-num { transition: opacity 0.6s ease, transform 0.8s var(--ease); }
.sv-anim .sv-text { transition: opacity 0.7s ease 0.18s, transform 0.9s var(--ease) 0.18s; }
.sv-anim .sv-cta { transition: opacity 0.6s ease 0.3s, transform 0.8s var(--spring) 0.3s, box-shadow 0.3s ease; }
.sv-anim .sv-x { transition: clip-path 1.1s var(--ease) 0.15s; }

/* ---------------------------------------------------------------- Tablets */
@media (min-width: 600px) {
  .sv-hero { min-height: 360px; padding-bottom: 56px; }
  .sv-title { font-size: clamp(52px, 7.4vw, 72px); font-size: min(clamp(52px, 7.4vw, 72px), 100cqi / (var(--lw, 11) * 0.64)); }
  .sv-chip { height: 40px; font-size: 14px; }
  .sv-photo { width: min(60vw, 420px); }
  .sv-copy { max-width: 640px; }
  .sv-name { --fs: 60px; }
}

/* Larger tablets: photo beside the text, sides alternating */
@media (min-width: 700px) and (max-width: 999.98px) {
  .sv-item { padding: 44px 0; }
  .sv-item-inner { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .sv-photo { width: 100%; max-width: 340px; margin: 0 auto; }
  .is-flip .sv-item-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); }
  .is-flip .sv-photo { order: 2; }
  .sv-copy { max-width: none; margin: 0; }
  .sv-name { --fs: clamp(34px, 5.2vw, 44px); }
}

/* ---------------------------------------------------------------- Desktop: zig-zag, photos cut by the page edge, joined by a line */
@media (min-width: 1000px) {
  .sv-hero { min-height: clamp(380px, 30vw, 520px); padding-top: calc(var(--hh) + 3.5 * var(--u)); padding-bottom: calc(4.5 * var(--u)); border-bottom-right-radius: clamp(70px, 24vw, 460px) 100%; }
  .sv-title { margin-top: calc(1.2 * var(--u)); font-size: clamp(64px, calc(5.6 * var(--u)), 96px); font-size: min(clamp(64px, calc(5.6 * var(--u)), 96px), 100cqi / (var(--lw, 11) * 0.64)); }
  .sv-lede { max-width: 56ch; font-size: clamp(18px, calc(1.3 * var(--u)), 22px); }

  .sv-nav-list { padding: 12px 24px; }
  .sv-chip { gap: 8px; height: 42px; padding: 0 14px 0 5px; font-size: 14px; letter-spacing: 0.045em; }
  .sv-chip-disc { width: 32px; height: 32px; }
  .sv-chip-disc svg,
  .sv-chip-disc img { width: 17px; height: 17px; }
  .sv-item,
  .sv-legacy { scroll-margin-top: calc(var(--top) + 76px); }

  .sv-route {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    overflow: visible;
    pointer-events: none;
  }
  .sv-route path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
  .sv-route-base { stroke: rgba(46, 156, 215, 0.13); }
  .sv-route-draw { stroke: var(--line); }

  .sv-item { --d: min(44 * var(--u), 620px); display: flex; align-items: center; min-height: calc(var(--d) + 9 * var(--u)); padding: calc(4.5 * var(--u)) 0; }
  .sv-item-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; min-height: var(--d); }
  .sv-photo {
    position: absolute;
    top: 50%;
    right: calc((100% - 100vw) / 2 - var(--d) * 0.16);
    width: var(--d);
    margin: 0;
    transform: translateY(-50%);
  }
  .is-flip .sv-photo { right: auto; left: calc((100% - 100vw) / 2 - var(--d) * 0.16); }
  .sv-anim .sv-item:not(.is-in) .sv-photo { transform: translateY(-50%) scale(0.82) rotate(-10deg); }
  .sv-copy { grid-column: 1; max-width: 640px; margin: 0; padding-left: clamp(72px, calc(7 * var(--u)), 120px); }
  .is-flip .sv-copy { grid-column: 2; padding: 0 clamp(72px, calc(7 * var(--u)), 120px) 0 0; }
  .sv-x { top: 2px; left: 0; right: auto; width: clamp(44px, calc(4 * var(--u)), 68px); height: clamp(150px, calc(15 * var(--u)), 250px); }
  .is-flip .sv-x { left: auto; right: 0; }
  .sv-name { --fs: clamp(52px, calc(5 * var(--u)), 88px); --pr: 0px; }
  .sv-text { font-size: clamp(17px, calc(1.18 * var(--u)), 19px); }

}

/* Smaller desktops: a little tighter so a long list still fits in one row */
@media (min-width: 1000px) and (max-width: 1299.98px) {
  .sv-nav-list { gap: 6px; padding-inline: 16px; }
  .sv-chip { gap: 7px; padding: 0 12px 0 4px; }
}

/* Smooth in-page jumps when motion is allowed (raze-services.js adds sv-smooth) */
@media (prefers-reduced-motion: no-preference) { html.sv-smooth { scroll-behavior: smooth; } }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .sv *,
  html:not(.force-motion) .sv *::before,
  html:not(.force-motion) .sv *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
