@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #153254;
  --navy-deep: #0C1E36;
  --navy-mid: #1E4372;
  --steel: #67757E;
  --steel-light: #9AA6AE;
  --steel-pale: #D7DDE1;
  --cream: #F4F1EA;
  --cream-deep: #E8E3D8;
  --white: #ffffff;
  --ink: #16202B;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(12, 30, 54, .35);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--navy-mid); }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--steel);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--steel-light);
  flex: none;
}
.eyebrow.center { justify-content: center; }
.on-navy .eyebrow { color: var(--steel-light); }
.on-navy .eyebrow::before { background: var(--steel); }

.lede { font-size: 1.12rem; color: #46545F; max-width: 62ch; }
.on-navy .lede,
.section.navy .lede { color: #C3CCD3; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cream-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2rem; font-size: .95rem; }

/* ---------- header ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--steel-pale);
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-block: .55rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .dot { color: var(--steel); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: .8rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links.right { justify-content: flex-end; }
.nav-links a {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .8rem;
  color: var(--navy);
  text-decoration: none;
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover { border-bottom-color: var(--steel-light); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav-links .btn { color: var(--white); border-bottom: 2px solid transparent; }
.nav-links .btn:hover { border-bottom-color: transparent; }
/* Nav lockup is composed from the mark + wordmark rather than the single-file lockup,
   so the words stay legible at nav size instead of shrinking with the bird. */
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { height: 48px; width: auto; }
.brand-word { height: 34px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: .5rem .7rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--navy);
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--navy);
}
.hero-media { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-panel {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4.2rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-panel h1 { color: var(--white); }
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 1.4rem 0 1.8rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
}
.hero-phone span.ring {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 1rem;
}
.hero-phone:hover { text-decoration: underline; }

.hero-inner-page {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero-inner-page h1 { color: var(--white); max-width: 18ch; }
.hero-inner-page .lede { color: #BCC7D0; margin-top: 1.2rem; }
.hero-inner-page .wrap { position: relative; z-index: 1; }
.hero-inner-page::after {
  content: "";
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 400px;
  background: url('../mark-white.png') no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}

/* ---------- quote form ---------- */
.quote-form { display: grid; gap: .7rem; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: .95rem;
  padding: .85rem .95rem;
  border: 1px solid var(--steel-pale);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.quote-form textarea { min-height: 92px; resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 1px;
  border-color: var(--white);
}
.field-legend {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  color: var(--steel-light);
  margin: .5rem 0 .1rem;
}
.on-light .field-legend { color: var(--steel); }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .35rem .9rem;
}
.check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: #DCE3E8;
  cursor: pointer;
}
.on-light .check { color: #46545F; }
.check input { width: 16px; height: 16px; flex: none; accent-color: var(--navy-mid); }
.form-note { font-size: .74rem; line-height: 1.5; color: var(--steel-light); margin: .3rem 0 0; }
.on-light .form-note { color: var(--steel); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.card h3 { margin-bottom: .2rem; }
.card p { margin: 0; color: #4C5A65; font-size: .96rem; }
.card .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--steel-pale);
}
.card.dark { background: var(--navy-mid); border-color: rgba(255,255,255,.15); }
.card.dark p { color: #C7D1D9; }

.service-card { position: relative; overflow: hidden; padding: 0; border: none; background: var(--navy); }
.service-card img { height: 260px; width: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease, opacity .3s ease; }
.service-card:hover img { transform: scale(1.04); opacity: 1; }
.service-card .body {
  padding: 1.4rem 1.5rem 1.6rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.service-card h3 { color: var(--white); }
.service-card p { color: #C1CBD3; font-size: .95rem; }
.service-card .more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.35);
  align-self: flex-start;
  padding-bottom: 2px;
}
.service-card .more:hover { border-bottom-color: var(--white); }
.service-card.soon { background: var(--steel); }

.tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  padding: .3rem .6rem;
  border-radius: 2px;
  background: rgba(255,255,255,.16);
  color: var(--white);
  align-self: flex-start;
}
.tag.light { background: var(--cream-deep); color: var(--navy); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.18); border-block: 1px solid rgba(255,255,255,.18); }
.stat { background: var(--navy); padding: 1.8rem 1.2rem; text-align: center; }
.stat .big { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.5vw, 2.7rem); color: var(--white); line-height: 1; }
.stat .label { font-size: .8rem; color: var(--steel-light); margin-top: .5rem; letter-spacing: .04em; }

/* ---------- photo strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); }
.strip a { display: block; overflow: hidden; border-radius: var(--radius); }
.strip a img { transition: transform .5s ease; }
.strip a:hover img { transform: scale(1.05); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }
.gallery-grid figcaption { font-size: .85rem; color: var(--steel); margin-top: .55rem; }

/* before/after slider */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: var(--navy-deep);
}
/* pointer-events:none stops the browser starting a native image drag,
   which otherwise swallows the pointermove events the slider needs. */
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* The wipe lives on the wrapper so the after photo can be scaled/nudged into
   register with the before photo without dragging the wipe edge along with it. */
.ba .after-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba .after-layer img {
  transform: translate(var(--ax, 0%), var(--ay, 0%)) scale(var(--az, 1));
  transform-origin: center center;
}
.ba .handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba .handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.ba .handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 16px; height: 10px;
  background:
    linear-gradient(to right, var(--navy) 0 4px, transparent 4px 12px, var(--navy) 12px 16px);
  clip-path: polygon(0 50%, 5px 0, 5px 100%, 100% 50%, 11px 0, 11px 100%);
}
.ba .ba-label {
  position: absolute;
  bottom: 12px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  padding: .35rem .7rem;
  border-radius: 2px;
  background: rgba(12,30,54,.8);
  color: var(--white);
  pointer-events: none;
}
.ba .ba-label.l { left: 12px; }
.ba .ba-label.r { right: 12px; }

/* ---------- pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.price-table caption {
  text-align: left;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
  color: var(--navy);
  padding-bottom: .8rem;
}
.price-table th, .price-table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--cream-deep); }
.price-table thead th {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  color: var(--steel);
  border-bottom: 2px solid var(--steel-pale);
}
.price-table tbody tr:hover { background: var(--cream); }
.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--navy); }

.fill {
  display: inline-block;
  min-width: 68px;
  padding: .1rem .5rem;
  border-radius: 2px;
  background: #FFF3D4;
  border: 1px dashed #C9A227;
  color: #6B5310;
  font-weight: 700;
  font-size: .9em;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.3rem; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  counter-increment: s;
  content: counter(s);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--navy);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: #4C5A65; font-size: .96rem; }

/* ---------- testimonials ---------- */
.quote-block { position: relative; padding-left: clamp(0px, 6vw, 90px); }
.quote-block::before {
  content: "\201C";
  position: absolute;
  left: 0; top: -30px;
  font-family: var(--display);
  font-size: 10rem;
  line-height: 1;
  color: rgba(255,255,255,.12);
  display: none;
}
@media (min-width: 900px) { .quote-block::before { display: block; } }
.quote-block blockquote { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--white); }
.quote-block .who { margin-top: 1.2rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--steel-light); }

.placeholder-note {
  border: 2px dashed #C9A227;
  background: rgba(255, 243, 212, .5);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  font-size: .9rem;
  color: #6B5310;
}
.section.navy .placeholder-note { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); color: #E4EAEF; }

/* ---------- badges ---------- */
.badge { width: clamp(140px, 20vw, 210px); height: auto; flex: none; }
.badge-row {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  flex-wrap: wrap;
}
.badge-row > div { flex: 1 1 260px; }
.cta-band .badge { margin: 0 auto 1.6rem; display: block; }

/* ---------- area list ---------- */
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem 1.5rem; }
.area-list li { display: flex; align-items: center; gap: .6rem; font-size: .96rem; }
.area-list li::before { content: ""; width: 6px; height: 6px; background: var(--steel-light); flex: none; transform: rotate(45deg); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-deep); color: var(--white); text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band .lede { margin-inline: auto; color: #C3CCD3; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #B9C4CD; padding-block: clamp(2.5rem, 5vw, 4rem) 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 3rem); }
.footer-brand { margin-bottom: 1.2rem; }
.footer-brand .brand-mark { height: 54px; }
.footer-brand .brand-word { height: 38px; }
.site-footer h4 {
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #B9C4CD; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--steel-light);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: .8rem 1.2rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .74rem; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; gap: 0; }
  .brand { grid-area: 1 / 1; }
  .nav-toggle { display: block; grid-area: 1 / 2; justify-self: end; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links:not(.right) {
    grid-area: 2 / 1 / auto / -1;
    border-top: 1px solid var(--cream-deep);
    margin-top: .8rem;
  }
  .nav-links.right { grid-area: 3 / 1 / auto / -1; justify-content: flex-start; }
  .site-header.open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--cream-deep); }
  .nav-links.right li:last-child { border-bottom: none; padding-block: .9rem; }
  .nav-links a { display: block; padding: .9rem 0; font-size: .9rem; border-bottom: none; }
  .nav-links .btn { width: 100%; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { height: 300px; order: -1; }
  .grid-3, .grid-4, .strip, .gallery-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .hero-inner-page::after { width: 260px; opacity: .04; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .strip, .gallery-grid, .footer-grid, .area-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .quote-form .row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .strip img, .gallery-grid img { height: 220px; }
  .steps li { grid-template-columns: 44px 1fr; gap: .9rem; }
  .steps li::before { width: 44px; height: 44px; font-size: 1.2rem; }
  .price-table th, .price-table td { padding: .7rem .5rem; }
}

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

/* ===================================================================
   Motion, preloader, and persistent CTAs
   =================================================================== */

/* ---------- preloader (home page only) ---------- */
body.loading { overflow: hidden; }
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-deep);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.5rem;
  transition: opacity .55s ease, visibility .55s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pl-ring { position: relative; width: 132px; height: 132px; }
.pl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-track { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 3; }
.pl-prog {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset .25s linear;
}
.pl-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: auto;
  animation: pl-pulse 1.9s ease-in-out infinite;
}
@keyframes pl-pulse {
  0%, 100% { opacity: .75; transform: scale(.97); }
  50%      { opacity: 1;   transform: scale(1.03); }
}
.pl-count {
  font-family: var(--display);
  font-weight: 800;
  color: var(--steel-light);
  letter-spacing: .3em;
  font-size: .82rem;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1),
              transform .75s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.from-l { transform: translateX(-30px); }
.reveal.from-r { transform: translateX(30px); }
.reveal.zoom   { transform: scale(.95); }
.reveal.in { opacity: 1; transform: none; }

/* hero entrance */
.hero-panel > * { animation: rise .8s cubic-bezier(.22,.61,.36,1) both; }
.hero-panel > *:nth-child(1) { animation-delay: .10s; }
.hero-panel > *:nth-child(2) { animation-delay: .18s; }
.hero-panel > *:nth-child(3) { animation-delay: .26s; }
.hero-panel > *:nth-child(4) { animation-delay: .34s; }
.hero-panel > *:nth-child(5) { animation-delay: .42s; }
.hero-media img { animation: kenburns 18s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- trust chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--white);
  align-self: flex-start;
  margin-bottom: 1.1rem;
}
.chip .dotmark { width: 8px; height: 8px; border-radius: 50%; background: #7BD389; flex: none; }

/* ---------- numbered process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.process-step {
  border-top: 3px solid var(--steel-pale);
  padding-top: 1.3rem;
  transition: border-color .3s ease;
}
.process-step:hover { border-top-color: var(--navy); }
.process-step .n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--steel-pale);
  margin-bottom: .5rem;
}
.process-step h3 { margin-bottom: .4rem; }
.process-step p { color: #4C5A65; font-size: .95rem; margin: 0; }
.section.navy .process-step { border-top-color: rgba(255,255,255,.28); }
.section.navy .process-step .n { color: rgba(255,255,255,.35); }
.section.navy .process-step p { color: #C3CCD3; }

/* ---------- photo CTA band ---------- */
.cta-photo {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.cta-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,30,54,.88), rgba(12,30,54,.80));
}
.cta-photo .wrap { position: relative; z-index: 1; }
.cta-photo h2 { color: var(--white); margin-bottom: 1rem; }
.cta-photo .lede { color: #C9D2D9; margin-inline: auto; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  gap: .6rem;
  padding: .7rem .8rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(12,30,54,.97);
  border-top: 1px solid rgba(255,255,255,.16);
  transform: translateY(115%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; padding: .9rem 1rem; font-size: .82rem; }

/* ---------- desktop floating quote button ---------- */
.float-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,.61,.36,1);
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .float-cta { display: none; }
  body { padding-bottom: 78px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* card + image hover lift */
.card:not(.service-card) { transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease; }
.card:not(.service-card):hover { transform: translateY(-4px); box-shadow: 0 16px 36px -22px rgba(12,30,54,.5); }
.service-card { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.service-card:hover { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-panel > *, .hero-media img { animation: none !important; }
  .pl-logo { animation: none !important; }
}

/* ---------- membership plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.3rem, 2.5vw, 1.9rem);
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -26px rgba(12,30,54,.55); }
.plan.popular {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .64rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--steel);
  margin-bottom: .9rem;
}
.plan.popular .plan-name { color: var(--steel-light); }
.plan-cadence { font-size: .92rem; color: #4C5A65; margin: 0 0 1.4rem; }
.plan.popular .plan-cadence { color: #C3CCD3; }
.plan-price {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 2.9rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: .3rem;
}
.plan.popular .plan-price { color: var(--white); }
.plan-per {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
}
.plan.popular .plan-per { color: var(--steel-light); }
.plan-feats { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .94rem;
  color: #46545F;
  line-height: 1.45;
}
.plan.popular .plan-feats li { color: #D2DAE0; }
.plan-feats li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: .22rem;
  border-radius: 50%;
  background: var(--navy);
  /* white check drawn with a clipped mask */
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.8 5.9l-4.4 4.7a.9.9 0 01-1.3 0L4.2 8.6a.9.9 0 111.3-1.2l1.2 1.3 3.8-4a.9.9 0 011.3 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.8 5.9l-4.4 4.7a.9.9 0 01-1.3 0L4.2 8.6a.9.9 0 111.3-1.2l1.2 1.3 3.8-4a.9.9 0 011.3 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan.popular .plan-feats li::before { background: var(--white); }
.plan .btn { margin-top: auto; }

@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---- Flyra lead form embeds -----------------------------------------------
   The iframe height is set at runtime by site.js, which listens for the
   resize message the Flyra form posts. The heights here are only the
   fallback for when that message never arrives. */
.flyra-embed{
  position:relative;
  border:1px solid var(--line,#DCD7CC);
  border-radius:22px;
  overflow:hidden;
  background:#F6F7FB;
  box-shadow:0 10px 30px rgba(21,50,84,.07);
}
.flyra-embed iframe{
  display:block;
  width:100%;
  height:2500px;   /* fallback only — site.js overrides with the real height */
  border:0;
}
@media (max-width:520px){
  .flyra-embed{ border-radius:18px; }
}

/* ---- Hero variant of the Flyra embed (home page) -------------------------- */
.flyra-embed-hero{ margin-top:.4rem; }
.flyra-embed-hero iframe{ height:700px; }  /* fallback only, as above */
/* The note sits on the navy hero panel, so it needs the light treatment. */
.hero-panel .form-note{ color:#C7D1D9; margin-top:.9rem; }
.hero-panel .form-note a{ color:var(--white); font-weight:600; }
