/* =============================================================================
   Beacon Implant & Dental  ·  RESKIN of the tf-consult-it "Wexford" theme.
   Layout / band order / geometry / motion preserved; palette, fonts, copy,
   imagery and sitemap are Beacon's own. Fictional demo. Original CSS.
   Fonts: Besley (serif display) + Rethink Sans (body) via Google Fonts CDN.
   ============================================================================= */

/* ---- tokens ---- */
:root {
  --navy: #14243D;
  --navy-deep: #0F1C30;
  --accent: #E8823A;
  /* Deep accent for small ACCENT-COLOURED TEXT on light surfaces. The bright accent
     is 2.73:1 on white - fine on navy (5.70:1), fails the 4.5:1 body floor on paper.
     This one measures 4.76:1 on white. Same family, same read. */
  --accent-deep: #B8571A;
  --accent-ink: #fff;
  --card-blue: #DCE6F1;
  --sky: #7FB2D9;
  --page: #EEF3F8;
  --ink: #10151E;
  --slate: #51617A;
  --white: #ffffff;
  --tint-ice: #DCE6F1;
  --tint-sky: #D6E7F2;
  --tint-sand: #F4E6D7;
  --line: #E1E7EF;
  --line-dark: rgba(255,255,255,.16);
  --serif: "Besley", Georgia, serif;
  --sans: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1400px;
  /* Wide container = the reference's full-bleed panel width. Measured on the live
     tf-consult-it demo: content runs 20 -> vw-20 until it caps at 1880 (at 2560 the
     header spans 340..2220). Hero, header and every big rounded panel use this;
     text grids stay on --wrap. */
  --wrap-wide: 1880px;
  --gutter-wide: 20px;
  --foot-col2: 46px;
  --t: .3s;
  --ease: cubic-bezier(.4,0,.2,1);
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 24px 60px -30px rgba(20,36,61,.30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: `hidden` makes body a scroll container and silently kills
     position:sticky anywhere on the page. */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.02; color: var(--navy); letter-spacing: -.01em; }
p { color: var(--slate); }
svg { display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
/* Full-bleed panel container (marquee, slider, success, video, FAQ, map, header).
   One formula, matching the reference exactly: a --gutter-wide gutter at every
   width, capping at --wrap-wide and centring beyond it. Verified against the live
   demo at 1440 (20..1420), 1920 (20..1900) and 2560 (340..2220). */
.wrap--wide,
.header .wrap,
.svc__viewport,
.faq,
.footcta {
  width: min(100% - (var(--gutter-wide) * 2), var(--wrap-wide));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

/* ---- eyebrow (// 01 - WHO WE ARE) ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-style: italic; color: var(--navy); }
.eyebrow .slash { color: var(--accent-deep); font-style: normal; font-weight: 800; letter-spacing: 0; }
.eyebrow--light .slash { color: var(--accent); }
.eyebrow--light { color: rgba(255,255,255,.9); }

/* ---- buttons: split pill + circle-arrow ---- */
.wcbtn { display: inline-flex; align-items: center; gap: 15px; font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.wcbtn__pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 40px; color: #fff; background: var(--navy); z-index: 0; transition: color var(--t) var(--ease); }
.wcbtn__pill::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform var(--t) var(--ease); z-index: -1; }
.wcbtn:hover .wcbtn__pill::before { transform: translateY(0); }
.wcbtn__circ { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.wcbtn__circ svg { width: 20px; height: 20px; }
.wcbtn:hover .wcbtn__circ { background: var(--accent); transform: rotate(45deg); }
/* accent variant (hero) */
.wcbtn--accent .wcbtn__pill { background: var(--accent); }
.wcbtn--accent .wcbtn__pill::before { background: #fff; }
.wcbtn--accent:hover .wcbtn__pill { color: var(--navy); }
.wcbtn--accent .wcbtn__circ { background: var(--accent); }
.wcbtn--accent:hover .wcbtn__circ { background: #fff; color: var(--accent); }
/* ghost variant (dark bg) */
.wcbtn--ghost .wcbtn__pill { background: transparent; border: 1.5px solid var(--line-dark); color: #fff; }
.wcbtn--ghost .wcbtn__pill::before { background: var(--accent); }
.wcbtn--ghost .wcbtn__circ { background: transparent; border: 1.5px solid var(--line-dark); }
.wcbtn--ghost:hover .wcbtn__circ { background: var(--accent); border-color: var(--accent); }

/* ---- spark mark ---- */
.spark { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; color: var(--accent); }
.spark svg { width: 100%; height: 100%; }

/* =============================================================================
   HEADER (92px, transparent, non-sticky)
   ============================================================================= */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; height: 92px; display: flex; align-items: center; }
.header .wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); letter-spacing: -.01em; }
.brand .spark { width: 26px; height: 26px; }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 34px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--navy); transition: color var(--t) var(--ease); cursor: pointer; }
.nav__link svg { width: 15px; height: 15px; opacity: .7; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent-deep); }
/* services dropdown */
.nav__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 244px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s var(--t); z-index: 50; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.nav__menu a { display: block; padding: 11px 14px; border-radius: 10px; font-family: var(--sans); font-weight: 500; font-size: .96rem; color: var(--navy); white-space: nowrap; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.nav__menu a:hover { background: var(--page); color: var(--accent-deep); }
.header__util { display: flex; align-items: center; gap: 14px; margin-left: auto; }
/* True optical centring for the nav. As a flex row, `margin:0 auto` on .nav and
   `margin-left:auto` on .header__util split the free space three ways, so the nav
   landed wherever the brand and CTA widths pushed it (135px left of centre at 1440,
   215px at 1920). A 1fr/auto/1fr grid centres the nav on the header itself,
   independent of what sits either side. Applied only above 1180 - below that the
   header is tight and the flex packing is the safer behaviour, and the nav is hidden
   entirely at <=900. */
@media (min-width: 1181px) {
  .header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav { justify-self: center; margin: 0; }
  .header__util { justify-self: end; margin-left: 0; }
}
.icon-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: none; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.header__pill { display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 40px; background: var(--navy); color: #fff; font-weight: 600; font-size: 1rem; position: relative; overflow: hidden; z-index: 0; transition: color var(--t) var(--ease); }
.header__pill::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform var(--t) var(--ease); z-index: -1; }
.header__pill:hover::before { transform: translateY(0); }
.nav-toggle { display: none; }

/* mobile panel (visibility toggle, not translate-only) */
.mobile-panel { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: var(--navy); color: #fff; transform: translateX(100%); visibility: hidden; transition: transform var(--t) var(--ease), visibility 0s var(--t); z-index: 200; padding: 26px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-panel.open { transform: translateX(0); visibility: visible; transition: transform var(--t) var(--ease); }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-panel__close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mobile-panel__close svg { width: 20px; height: 20px; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-panel nav a { padding: 14px 4px; font-weight: 500; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); color: #fff; }
.mobile-panel nav a.sub { padding-left: 18px; font-size: 1rem; color: rgba(255,255,255,.72); }
.mobile-panel .header__pill { margin-top: 22px; justify-content: center; text-align: center; }

/* =============================================================================
   HERO
   ============================================================================= */
.hero { position: relative; padding: 92px var(--gutter-wide) 40px; }
.hero__grid { max-width: var(--wrap-wide); margin: 0 auto; display: grid; grid-template-columns: 692fr 667fr; gap: 25px; align-items: stretch; }

/* left dark panel */
/* Horizontal inset tracks the reference: it holds the headline at a fixed 78px/540px
   and instead grows the panel's side padding as the panel widens. Measured H1 left
   edge on the live demo - 1440: 90 (inset 62), 1920: 160, 2560: 480 (inset 140 at
   both). The clamp hits all three points. */
.hero__panel { position: relative; background: var(--navy); border-radius: var(--r-lg); padding: 62px clamp(62px, calc(62px + (100vw - 1440px) * 0.1625), 140px); overflow: hidden; min-height: 745px; display: flex; flex-direction: column; justify-content: center; }
.hero__watermark { position: absolute; right: 4%; bottom: 2%; width: 300px; height: 300px; color: rgba(255,255,255,.045); pointer-events: none; user-select: none; }
.hero__watermark svg { width: 100%; height: 100%; }
.hero__panel .spark { margin-bottom: 18px; }
.hero__eyebrow { display: inline-flex; align-items: center; align-self: flex-start; padding: 9px 20px; border: 1.5px solid var(--line-dark); border-radius: 40px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 26px; }
.hero__h1 { font-size: 78px; line-height: 78px; font-weight: 700; color: #fff; max-width: 540px; letter-spacing: -.02em; }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 420px; margin: 24px 0 34px; }
.hero__cta { display: inline-flex; align-items: center; gap: 12px; }

/* right cluster */
.hero__cluster { position: relative; min-height: 745px; }
.hero__photo { position: absolute; top: 0; left: 0; width: 96%; height: 385px; border-radius: var(--r-md); object-fit: cover; }
.hero__stats { position: absolute; left: 0; bottom: 0; width: 66%; display: flex; }
.hero__statcard { position: relative; flex: 1; background: var(--card-blue); border-radius: var(--r-md); padding: 30px 26px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__statcard:first-child { border-top-right-radius: 6px; border-bottom-right-radius: 6px; margin-right: 12px; }
.hero__statcard:last-child { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
/* puzzle notch bridging the two cards */
.hero__statcard:first-child::after { content: ""; position: absolute; right: -12px; top: 68%; transform: translateY(-50%); width: 24px; height: 44px; background: var(--card-blue); border-radius: 8px; z-index: 2; }
.hero__statnum { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; color: var(--navy); line-height: 1; }
.hero__statnum sup { font-size: .42em; font-weight: 600; top: -.9em; margin-left: 2px; }
.hero__statlabel { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--navy); margin-top: 12px; }
.hero__statfoot { margin-top: 22px; color: var(--navy); }
.hero__statfoot svg { width: 40px; height: 40px; }
.avatars { display: flex; }
.avatars span { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--card-blue); margin-left: -8px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .01em; color: #fff; }
.avatars .a1 { z-index: 4; } .avatars .a2 { z-index: 3; } .avatars .a3 { z-index: 2; } .avatars .more { z-index: 1; }
.avatars span:first-child { margin-left: 0; }
.avatars .a1 { background: #3E6187; } .avatars .a2 { background: #5A7C9E; } .avatars .a3 { background: #C88A5A; }
.avatars .more { background: var(--navy); }
/* Flush to the container's right edge (the reference portrait ends level with the
   wide photo above it). A negative offset would push past the viewport once the
   hero runs full-bleed. */
.hero__portrait { position: absolute; right: 0; bottom: 0; width: 30%; height: 430px; border-radius: var(--r-md); object-fit: cover; }

/* =============================================================================
   LOGO MARQUEE
   ============================================================================= */
.marquee { background: #EAEEF3; border-radius: var(--r-md); margin: 8px auto 0; max-width: none; padding: 22px 30px; display: flex; align-items: center; gap: 30px; overflow: hidden; }
.marquee__label { flex: 0 0 200px; font-family: var(--sans); font-weight: 700; font-size: .92rem; color: var(--navy); line-height: 1.3; }
.marquee__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: mq 26s linear infinite; }
.marquee__logo { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #94A4B4; white-space: nowrap; letter-spacing: -.01em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* =============================================================================
   SECTIONS shared
   ============================================================================= */
section { position: relative; }
.h-serif-3 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.06; }
.h-serif-2 { font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.06; }

/* ABOUT (// 01) */
.about { padding: 96px 0; }
.about__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr) minmax(0,1fr); gap: 44px; align-items: start; }
.about__lead-h { margin-top: 18px; }
.about__num { font-family: var(--serif); font-weight: 700; font-size: 7rem; line-height: .9; color: var(--navy); position: relative; display: inline-block; }
.about__num sup { font-size: .34em; font-weight: 600; top: -1.7em; }
.about__lead { margin: 20px 0 30px; color: var(--slate); }
.about__lead a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.about__quote { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; }
.about__quote .qmark { width: 44px; height: 44px; color: #BBC8D6; }
.about__quote p { color: var(--slate); font-size: 1.05rem; }
.about__quote cite { display: block; margin-top: 12px; font-style: normal; }
.about__quote cite b { font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
.about__quote cite span { display: block; font-size: .9rem; color: var(--slate); }
.about__portrait { border-radius: var(--r-md); overflow: hidden; height: 520px; }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* SERVICES SLIDER (// 02) */
.svc { padding: 20px 0 96px; }
.svc__viewport { overflow: hidden; border-radius: var(--r-lg); }
.svc__track { display: flex; transition: transform .6s var(--ease); }
.svc__slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.svc__slide.t-ice { background: var(--tint-ice); }
.svc__slide.t-sky { background: var(--tint-sky); }
.svc__slide.t-sand { background: var(--tint-sand); }
.svc__copy { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
.svc__rule { width: 40px; height: 3px; background: var(--accent); margin: 30px 0 22px; }
.svc__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.02; color: var(--navy); }
.svc__desc { margin: 18px 0 32px; color: #3D4B5C; max-width: 360px; }
.svc__media { min-height: 520px; padding: 24px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.svc__nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.svc__dot { width: 10px; height: 10px; border-radius: 50%; background: #BBC8D6; border: none; cursor: pointer; transition: background var(--t) var(--ease), width var(--t) var(--ease); }
.svc__dot.active { background: var(--accent); width: 28px; border-radius: 6px; }

/* STATS band */
.stats { padding: 90px 0; text-align: center; }
.stats__head { max-width: 760px; margin: 0 auto 60px; }
.stats__row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.stat { padding: 12px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--serif); font-weight: 700; font-size: 4.4rem; line-height: 1; color: var(--navy); }
.stat__num sup { font-size: .34em; font-weight: 600; top: -1.8em; }
.stat:nth-child(even) .stat__num { color: #8496A8; }
.stat__label { margin-top: 14px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* SUCCESS (// 04) */
.success { padding: 40px 0 96px; }
.success__panel { max-width: none; margin: 0 auto; background: var(--card-blue); border-radius: var(--r-lg); padding: 70px 64px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.success__left h2 { margin: 22px 0 30px; }
/* square, but never wider than the panel column it sits in (a hard 300px pushed
   past the viewport at 390 - body overflow was masking it) */
.donut { position: relative; width: min(300px, 100%); aspect-ratio: 1; height: auto; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; }
.donut__label { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--sans); font-weight: 600; color: var(--navy); }
.donut__label.l1 { top: 8%; } .donut__label.l2 { top: 33%; } .donut__label.l3 { top: 60%; }
.success__legend { border-left: 1px solid rgba(20,36,61,.12); padding-left: 30px; }
.success__legend li { list-style: none; padding: 14px 0; font-weight: 500; color: var(--navy); font-size: 1.1rem; }

/* VIDEO band */
.video { padding: 20px 0 96px; }
.video__cover { position: relative; max-width: none; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; height: 560px; }
.video__cover img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--white); color: var(--navy); border: none; cursor: pointer; display: grid; place-items: center; }
.video__play svg { width: 34px; height: 34px; }
.video__play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: pulse 2.4s ease-out infinite; }
.video__play:hover { background: var(--accent); color: var(--accent-ink); }
.video__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* =============================================================================
   VIDEO LIGHTBOX  ·  focus-trapped, opened by any [data-video] trigger
   ============================================================================= */
.vlb { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.vlb.open { display: flex; }
.vlb__scrim { position: absolute; inset: 0; background: rgba(15,28,48,.88); opacity: 0; transition: opacity var(--t) var(--ease); }
.vlb.open .vlb__scrim { opacity: 1; }
.vlb__frame { position: relative; width: min(1000px, 100%); background: #000; border-radius: var(--r-md); overflow: visible; transform: translateY(14px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.vlb.open .vlb__frame { transform: none; opacity: 1; }
.vlb__frame video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); }
.vlb__close { position: absolute; top: -16px; right: -16px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy); border: none; cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 32px -12px rgba(0,0,0,.6); transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.vlb__close svg { width: 20px; height: 20px; }
.vlb__close:hover { background: var(--accent); color: var(--accent-ink); }
.vlb__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vlb__cap { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: .04em; }
@media (max-width: 620px) {
  .vlb__close { top: -14px; right: -6px; width: 42px; height: 42px; }
  .vlb__cap { bottom: -40px; font-size: .74rem; }
}

/* play badge sitting on the hero's bottom-right portrait */
.hero__portrait { overflow: hidden; }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero__vbtn { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: none; border-radius: 40px; background: rgba(255,255,255,.94); color: var(--navy); font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .02em; cursor: pointer; box-shadow: 0 10px 28px -12px rgba(15,28,48,.7); transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease); }
.hero__vbtn .vdot { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.hero__vbtn .vdot svg { width: 15px; height: 15px; margin-left: 2px; }
.hero__vbtn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.hero__vbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 620px) {
  .hero__vbtn { right: 12px; bottom: 12px; padding: 8px 14px 8px 8px; font-size: .74rem; }
  .hero__vbtn .vdot { width: 26px; height: 26px; }
}

/* WORK PROCESS (// 06) */
.process { padding: 90px 0; }
.process__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: 60px; align-items: start; }
.process__cards { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; }
.pcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 40px 34px; min-height: 320px; display: flex; flex-direction: column; }
.pcard__num { font-family: var(--serif); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--navy); position: relative; display: inline-block; margin-bottom: auto; }
.pcard__num .step { position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 800; font-size: .5rem; letter-spacing: .1em; color: var(--navy); }
.pcard__num .digits { margin-left: 30px; }
.pcard__title { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: 30px 0 16px; line-height: 1.1; }
.pcard__desc { color: var(--slate); font-size: .98rem; }

/* FAQ */
.faq { background: var(--card-blue); border-radius: var(--r-lg); padding: 80px 0; margin-top: 40px; margin-bottom: 40px; }
.faq__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.faq__list { max-width: 1290px; margin: 0 auto; padding: 0 28px; display: flex; flex-direction: column; gap: 18px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.faq__toggle { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.faq__toggle svg { width: 18px; height: 18px; }
.faq__toggle .minus { display: none; }
.faq__item.open .faq__toggle .minus { display: block; }
.faq__item.open .faq__toggle .plus { display: none; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__item.open .faq__a { max-height: 360px; }
.faq__a p { padding: 0 30px 26px; color: var(--slate); }

/* REVIEWS grid (// 08) */
.blog { padding: 90px 0; }
.blog__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 50px; align-items: start; }
.blog__cards { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
.rcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 34px 30px; display: flex; flex-direction: column; }
.rcard__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 18px; }
.rcard__stars svg { width: 20px; height: 20px; }
.rcard__quote { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.34; color: var(--navy); margin-bottom: 22px; }
.rcard__cite { margin-top: auto; }
.rcard__cite b { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: .98rem; display: block; }
.rcard__cite span { font-size: .88rem; color: var(--slate); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.footcta { background: var(--navy-deep); color: #fff; border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); }
.footcta > .wrap { max-width: none; width: 100%; padding: 0 clamp(30px, 4.3vw, 62px); }
.footcta__grid { display: grid; grid-template-columns: minmax(0,1fr) var(--foot-col2) minmax(0,2fr); gap: 40px; padding: 84px 0 56px; align-items: start; }
.footcta__right { display: grid; gap: 56px; align-content: start; }
/* scroll-up pill: also the divider between the left CTA and the right nav columns */
.goup { grid-column: 2; justify-self: center; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.goup a { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); border: 1px solid var(--line-dark); border-radius: 40px; padding: 22px 10px; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.goup a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.goup a svg { width: 16px; height: 16px; transform: rotate(90deg); }
/* sized to the narrower left column the divider creates, so the three explicit
   <br> breaks hold instead of the headline fragmenting into five ragged lines */
.footcta__l h2 { color: #fff; font-size: clamp(2.2rem, 3.7vw, 3.4rem); }
.footcta__l p { color: rgba(255,255,255,.66); margin: 22px 0 30px; max-width: 340px; }
.footcta__cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr); gap: 30px; }
.fcol h4 { font-family: var(--serif); color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.fcol a, .fcol p, .fcol address { display: block; color: rgba(255,255,255,.62); font-style: normal; padding: 6px 0; font-size: .98rem; transition: color var(--t) var(--ease); }
.fcol a:hover { color: var(--accent); }
.fcol .brand { display: inline-flex; padding: 0; font-size: 1.5rem; }
.fcol .brand:hover { color: #fff; }
.fcol--news h4 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.news { display: flex; align-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 40px; padding: 6px 6px 6px 22px; margin-top: 18px; max-width: 320px; }
.news input { flex: 1; min-width: 0; background: none; border: none; color: #fff; font-family: var(--sans); font-size: .95rem; outline: none; }
.news input::placeholder { color: rgba(255,255,255,.5); }
.news button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.news button svg { width: 20px; height: 20px; }
.footcta__blocks-r { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr); gap: 30px; }
.footbar { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footbar__social { display: flex; gap: 12px; }
.footbar__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; }
.footbar__social svg { width: 18px; height: 18px; }
.footbar__meta { text-align: right; color: rgba(255,255,255,.6); font-size: .9rem; }
.footbar__meta b { color: #fff; }
.disclaimer { color: rgba(255,255,255,.42); font-size: .8rem; padding: 0 0 30px; max-width: 940px; }

/* scroll-to-top */
.totop { position: fixed; right: 26px; bottom: 26px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid var(--accent); display: grid; place-items: center; cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s var(--t); }
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.totop svg { width: 20px; height: 20px; }

/* =============================================================================
   INNER PAGE templates
   ============================================================================= */
/* ---- shared inner-banner type + furniture ----
   The reference never reuses its home hero on an inner page. Every inner page
   opens on a small letterspaced eyebrow above a very large BOLD SANS title (the
   serif is reserved for the home bands), with thin decorative arcs top-right and
   a vertical FOLLOW US rail pinned to the right edge. */
.sban__eyebrow { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); }
.sban__title { font-family: var(--sans); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 76px); line-height: 1.06; letter-spacing: -.025em; color: var(--navy); margin-top: 22px; }
.arcs { position: absolute; right: 0; top: 24px; width: 380px; height: 380px; color: #CBD7E3; pointer-events: none; z-index: 0; }
.arcs svg { width: 100%; height: 100%; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .96rem; color: var(--navy); border-bottom: 1.5px solid var(--navy); padding-bottom: 5px; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.tlink svg { width: 16px; height: 16px; }
.tlink:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* vertical social rail (right edge of the service banner). The banner reserves a
   lane for it (.sban__inner padding-right) so it never lands on the copy card. */
.frail { position: absolute; right: 14px; top: 46%; display: grid; justify-items: center; gap: 14px; z-index: 3; }
.frail__label { writing-mode: vertical-rl; font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.frail__line { width: 1px; height: 34px; background: #BFCBD8; }
.frail a { width: 26px; height: 26px; display: grid; place-items: center; color: var(--slate); transition: color var(--t) var(--ease); }
.frail a svg { width: 16px; height: 16px; }
.frail a:hover { color: var(--accent-deep); }

/* ---- flat inner banner (technology, team, reviews, financing, contact, book) ---- */
.pban { position: relative; padding: 150px 0 66px; overflow: clip; }
.pban .wrap { position: relative; }
.pban__inner { position: relative; z-index: 1; max-width: 1080px; }
.pban__crumb { margin-top: 24px; font-size: .95rem; color: var(--slate); }
.pban__crumb a:hover { color: var(--accent-deep); }

/* ---- service banner: pale panel + title, photo band with an offset copy card ---- */
.sban { position: relative; padding-top: 92px; overflow: clip; }
.sban__panel { position: absolute; left: 0; right: 0; top: 0; height: 430px; background: var(--page); }
.sban__inner { position: relative; width: min(100% - (var(--gutter-wide) * 2), var(--wrap-wide)); margin: 0 auto; padding-right: 72px; }
.sban__head { position: relative; z-index: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 58px 0 54px; align-items: start; }
.sban__head .sban__eyebrow { padding-top: 16px; }
.sban__head .sban__title { margin-top: 0; max-width: 860px; }
.sban__media { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; }
.sban__photo { height: 560px; border-radius: var(--r-md); overflow: hidden; }
.sban__photo img { width: 100%; height: 100%; object-fit: cover; }
.sban__card { background: var(--white); border-radius: var(--r-md); padding: 40px 38px 44px; margin-top: -14px; box-shadow: var(--shadow); }
.sban__card p { color: var(--slate); margin-bottom: 26px; }

/* ---- service body: copy column + tall sticky photo ---- */
.sbody { padding: 86px 0 20px; }
.sbody__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sbody__copy h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.sbody__copy h3 { font-family: var(--sans); font-weight: 800; font-size: 1.35rem; margin: 40px 0 18px; }
.sbody__intro { margin-top: 20px; }
.offer { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 11px 0; }
.offer__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--page); color: var(--navy); display: grid; place-items: center; }
.offer__ico svg { width: 18px; height: 18px; }
.offer p { font-size: .98rem; }
.inc { list-style: none; display: grid; gap: 14px; }
.inc li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); font-size: 1rem; }
.inc__plus { flex: 0 0 auto; color: var(--accent-deep); }
.inc__plus svg { width: 20px; height: 20px; }
.sbody__media { position: sticky; top: 30px; height: 700px; border-radius: var(--r-md); overflow: hidden; }
.sbody__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- wide prose + 4-column step row (shared: service steps, about timeline) ---- */
.stepsband { padding: 70px 0 20px; }
/* full content width, so its left edge lines up with the step columns below it */
.stepsband__prose { margin: 0 0 64px; }
.stepsband__prose p { font-size: 1rem; }
.stepsband__prose p + p { margin-top: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding-right: 34px; }
.step + .step { border-left: 1px solid var(--line); padding-left: 34px; }
.step__when { font-family: var(--sans); font-weight: 700; font-size: .84rem; color: var(--navy); margin-bottom: 16px; }
.step__rule { position: relative; height: 1px; background: var(--line); margin-bottom: 32px; }
.step__rule span { position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.step__h { font-family: var(--sans); font-weight: 800; font-size: 1.4rem; line-height: 1.16; color: var(--navy); margin-bottom: 14px; }
.step__p { font-size: .95rem; }

/* ---- wide photo with a dark stat card on its bottom-right corner ---- */
.scut { padding: 80px 0 90px; }
.scut__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 600px; }
.scut__frame img { width: 100%; height: 100%; object-fit: cover; }
.scut__card { position: absolute; right: 7%; bottom: 0; background: var(--navy); color: #fff; padding: 42px 46px 38px; text-align: center; min-width: 290px; }
.scut__num { font-family: var(--sans); font-weight: 800; font-size: 3.6rem; line-height: 1; color: #fff; }
.scut__num sup { font-size: .4em; font-weight: 700; top: -.9em; }
.scut__label { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin-top: 10px; }

/* ---- inner-page FAQ: heading column + flat ruled accordion ---- */
.faqsplit { padding: 40px 0 96px; }
.faqsplit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; align-items: start; }
.faqsplit__h { font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; max-width: 260px; }
.faqsplit__list { border-top: 1px solid var(--line); }
.faqsplit__list .faq__item { background: none; border: none; border-bottom: 1px solid var(--line); border-radius: 0; }
.faqsplit__list .faq__q { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; padding: 24px 0; }
.faqsplit__list .faq__toggle { border: none; width: 26px; height: 26px; }
.faqsplit__list .faq__a p { padding: 0 70px 24px 0; font-size: .98rem; }

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */
.aban { padding: 148px 0 30px; }
.aban .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; align-items: start; }
.aban__eyebrow { grid-column: 1 / 3; padding-top: 18px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); }
.aban__title { grid-column: 3 / 12; font-family: var(--sans); font-weight: 800; font-size: clamp(2.4rem, 5vw, 68px); line-height: 1.08; letter-spacing: -.025em; color: var(--navy); margin: 0 0 44px; }
.aban__figA { grid-column: 1 / 7; grid-row: 3; height: 330px; border-radius: var(--r-md); overflow: hidden; }
.aban__figA img, .aban__figB img { width: 100%; height: 100%; object-fit: cover; }
.aban__copy { grid-column: 7 / 10; grid-row: 3; }
.aban__copy p { font-size: .95rem; }
.aban__copy p + p { margin-top: 16px; }
.aban__badge { grid-column: 11 / 13; grid-row: 3; position: relative; width: 172px; height: 172px; justify-self: end; }
.aban__badge svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.aban__badgetxt { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .04em; fill: var(--navy); text-transform: uppercase; }
.aban__badgemid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--sans); font-weight: 800; font-size: .9rem; line-height: 1.2; color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.aban__figB { grid-column: 7 / 11; grid-row: 4; height: 300px; border-radius: var(--r-md); overflow: hidden; margin-top: 26px; }

.credit { padding: 70px 0 20px; }
.credit__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 560px; }
.credit__frame img { width: 100%; height: 100%; object-fit: cover; }
.credit__card { position: absolute; left: 12%; bottom: 0; max-width: 430px; background: var(--navy-deep); color: #fff; padding: 36px 38px; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: start; }
.credit__ico { color: var(--accent); }
.credit__ico svg { width: 40px; height: 40px; }
.credit__card p { color: rgba(255,255,255,.84); font-size: .98rem; }

.story { padding: 90px 0 20px; }
.story__head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.story__head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 20px; }

.tstrip { padding: 90px 0 20px; }
.tstrip__panel { background: var(--card-blue); border-radius: var(--r-lg); padding: 70px clamp(30px, 4.4vw, 64px); }
.tstrip__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 40px; align-items: start; margin-bottom: 48px; }
.tstrip__head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 18px; }
.tstrip__head p { color: #46566B; font-size: .96rem; }
.tstrip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.tcard__img { height: 330px; border-radius: var(--r-sm); overflow: hidden; background: var(--page); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; }
.tcard__name { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; color: var(--navy); text-align: center; margin-top: 22px; }
.tcard__role { text-align: center; font-size: .88rem; color: #46566B; margin-top: 6px; }

.testi { padding: 96px 0 20px; }
.testi__head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.testi__head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 20px; }
.testi__stage { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 26px; align-items: center; }
.tslide { display: none; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: center; }
.tslide.active { display: grid; }
.tslide__img { height: 370px; border-radius: var(--r-sm); overflow: hidden; background: var(--page); }
.tslide__img img { width: 100%; height: 100%; object-fit: cover; }
.tslide__q { display: block; width: 42px; height: 42px; color: var(--navy); margin-bottom: 26px; }
.tslide__body p { font-family: var(--sans); font-weight: 500; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--navy); }
.tslide__cite { margin-top: 28px; border-left: 2px solid var(--accent); padding-left: 14px; }
.tslide__cite b { display: block; font-family: var(--sans); font-weight: 700; font-size: .96rem; color: var(--navy); }
.tslide__cite span { font-size: .86rem; color: var(--slate); }
.testi__arw { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.testi__arw svg { width: 20px; height: 20px; }
.testi__arw--prev { transform: rotate(180deg); }
.testi__arw:hover { background: var(--navy); color: #fff; }
.testi__arw:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.partners { padding: 96px 0 30px; }
.partners__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.partners__head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 20px 0 16px; }
.partners__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* real text, so it sits on --slate (the measured body floor), not the lighter
   grey the decorative home marquee uses */
.plogo { display: grid; place-items: center; text-align: center; padding: 28px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--serif); font-weight: 700; font-size: 1.16rem; color: var(--slate); }

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */
.cmap { padding: 30px 0 0; }
.cmap__frame { position: relative; padding-top: 70px; }
.cmap__map { height: 540px; border-radius: var(--r-lg); overflow: hidden; background: #E5EBF1; }
.cmap__map svg { width: 100%; height: 100%; }
.cmap__card { position: absolute; left: 6%; top: 0; width: 370px; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 42px 38px 44px; box-shadow: var(--shadow); }
.cmap__card h2 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: 1.5rem; margin: 30px 0 20px; }
.cmap__row { display: block; padding: 7px 0; color: rgba(255,255,255,.82); font-weight: 500; transition: color var(--t) var(--ease); }
a.cmap__row:hover { color: var(--accent); }

.cform { padding: 90px 0 100px; }
.cform__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 70px; align-items: start; }
.cform__rail { text-align: center; }
.cform__rail h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; }
.cform__stem { display: block; width: 1px; height: 90px; background: var(--line); margin: 34px auto; }
.cform__link { display: table; margin: 0 auto 30px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--navy); padding-bottom: 4px; }
.cform__link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
/* its own line under the phone link, never beside it */
.cform__rail .brand { display: flex; justify-content: center; }
.field2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cform .field input, .cform .field textarea, .cform .field select { border-radius: 8px; }
.cform__submit { border: none; background: none; cursor: pointer; margin-top: 12px; }

/* editorial body (technology) */

/* editorial body */
.editorial { padding: 30px 0 90px; }
.editorial__intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px; align-items: start; margin-bottom: 56px; }
.editorial__intro h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; }
.editorial__intro p { margin-bottom: 16px; }
.editorial__figs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; margin: 40px 0; }
.editorial__figs img { border-radius: var(--r-md); height: 320px; width: 100%; object-fit: cover; }

/* pricing / financing plan cards (reuses process card geometry) */
.plans { padding: 20px 0 90px; }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 40px 34px; display: flex; flex-direction: column; }
.plan--feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan__name { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.plan--feature .plan__name { color: rgba(255,255,255,.7); }
.plan__price { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--navy); margin: 16px 0 6px; }
.plan--feature .plan__price { color: #fff; }
.plan__price sub { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--slate); }
.plan--feature .plan__price sub { color: rgba(255,255,255,.66); }
.plan__note { font-size: .96rem; margin-bottom: 24px; }
.plan__list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan__list li { display: flex; gap: 10px; font-size: .98rem; color: var(--navy); font-weight: 500; }
.plan--feature .plan__list li { color: rgba(255,255,255,.86); }
.plan__list svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.plan .wcbtn { margin-top: auto; }

/* team grid */
.team { padding: 20px 0 90px; }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.tmem { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.tmem__img { height: 340px; overflow: hidden; background: var(--page); }
.tmem__img img { width: 100%; height: 100%; object-fit: cover; }
.tmem__body { padding: 24px 26px 28px; }
.tmem__name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.tmem__role { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin: 8px 0 12px; }
.tmem__bio { font-size: .96rem; color: var(--slate); }

/* book page form (contact has its own .cform layout) */
.contactform { padding: 0 0 100px; }
.contactform__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: start; }
.contactform h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.contactform p { margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--sans); font-size: 1rem; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); outline: none; transition: border-color var(--t) var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-deep); }
.field textarea { min-height: 140px; resize: vertical; }
.form__ok { display: none; background: var(--tint-sand); border-radius: var(--r-md); padding: 30px; color: var(--navy); font-weight: 600; }
.form__ok.show { display: block; }

/* =============================================================================
   REVEALS
   ============================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0,1fr); }
  .hero__panel { min-height: 0; padding: 48px 40px; }
  .hero__h1 { font-size: 60px; line-height: 60px; }
  .hero__cluster { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
  .hero__photo { position: static; width: 100%; height: 320px; grid-column: 1 / -1; }
  .hero__stats { position: static; width: 100%; grid-column: 1 / -1; }
  /* relative, not static: it must stay the containing block for the play badge */
  .hero__portrait { position: relative; right: auto; bottom: auto; width: 100%; height: 320px; grid-column: 1 / -1; }
  .about__grid { grid-template-columns: minmax(0,1fr); }
  .about__portrait { height: 420px; }
  .svc__slide { grid-template-columns: minmax(0,1fr); }
  .svc__media { min-height: 320px; }
  .process__grid { grid-template-columns: minmax(0,1fr); }
  .blog__grid { grid-template-columns: minmax(0,1fr); }
  .success__panel { grid-template-columns: minmax(0,1fr); }
  .success__legend { border-left: none; padding-left: 0; border-top: 1px solid rgba(20,36,61,.12); padding-top: 20px; }
  .footcta__grid { grid-template-columns: minmax(0,1fr); }
  .goup { display: none; }
  .footcta__right { gap: 40px; }
  .editorial__intro, .contactform__grid { grid-template-columns: minmax(0,1fr); }
  .plans__grid, .team__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* inner pages */
  .arcs { width: 260px; height: 260px; opacity: .8; }
  .frail { display: none; }
  .sban__inner { padding-right: 0; }
  .sban__head { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 44px 0 40px; }
  .sban__head .sban__eyebrow { padding-top: 0; }
  .sban__panel { height: 360px; }
  .sban__media { grid-template-columns: minmax(0,1fr); gap: 0; }
  .sban__photo { height: 420px; }
  .sban__card { margin: -50px 22px 0; }
  .sbody__grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .sbody__media { position: static; height: 460px; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 0; }
  .step { padding-right: 26px; }
  .step + .step { border-left: none; padding-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; }
  .scut__frame, .credit__frame { height: 420px; }
  .scut__card { right: 0; padding: 30px 30px 26px; min-width: 0; }
  .credit__card { left: 0; right: 0; max-width: none; }
  .faqsplit__grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .faqsplit__h { max-width: none; }

  /* about */
  .aban .wrap { grid-template-columns: minmax(0,1fr); gap: 0; }
  .aban__eyebrow, .aban__title, .aban__figA, .aban__copy, .aban__badge, .aban__figB { grid-column: 1; grid-row: auto; }
  .aban__title { margin: 18px 0 30px; }
  .aban__figA { height: 300px; }
  .aban__copy { margin-top: 28px; }
  .aban__badge { justify-self: start; margin-top: 30px; }
  .aban__figB { height: 280px; margin-top: 28px; }
  .tstrip__head { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .tstrip__panel { padding: 48px 26px; }
  .tslide { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .tslide__img { height: 300px; }
  .testi__stage { grid-template-columns: 40px minmax(0,1fr) 40px; gap: 14px; }
  .partners__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* contact */
  .cform__grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .cform__rail { text-align: left; }
  .cform__stem { margin: 26px 0; }
  .cform__link { margin: 0 0 24px; }
  .cform__rail .brand { justify-content: flex-start; }
  .cmap__card { position: static; width: auto; margin: 0 0 -70px; z-index: 3; }
  .cmap__frame { padding-top: 0; }
}
@media (max-width: 900px) {
  .nav, .header__pill { display: none; }
  .nav-toggle { display: grid; }
  .header__util { gap: 10px; }
  .stats__row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 0; }
  .stat { border-left: none; }
  .footcta__cols, .footcta__blocks-r { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 620px) {
  /* keep the wide panels on the same gutter the hero uses at this width */
  :root { --gutter-wide: 16px; }
  body { font-size: 17px; }
  /* must not re-add padding to the wide wraps - they own their own gutter */
  .wrap:not(.wrap--wide) { padding: 0 20px; }
  .success__panel { padding: 44px 22px; }
  .hero { padding: 92px 16px 30px; }
  .hero__h1 { font-size: 44px; line-height: 46px; }
  .hero__panel { padding: 40px 26px; }
  .hero__cluster { grid-template-columns: minmax(0,1fr); }
  /* flex:1 alone will not shrink these below their content width (min-width:auto),
     so the pair plus the 12px bridge margin ran 8px past the viewport at 390. */
  .hero__statcard { min-width: 0; padding: 24px 20px; }
  .hero__watermark { width: 190px; height: 190px; }
  .marquee { flex-direction: column; align-items: flex-start; gap: 16px; }
  .marquee__label { flex: none; }
  .about__num { font-size: 5rem; }
  .svc__copy { padding: 44px 30px; }
  .process__cards, .blog__cards { grid-template-columns: minmax(0,1fr); }
  .plans__grid, .team__grid { grid-template-columns: minmax(0,1fr); }
  .stats__row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .stat__num { font-size: 3.4rem; }
  .footcta__cols, .footcta__blocks-r { grid-template-columns: minmax(0,1fr); }
  .footbar { flex-direction: column; align-items: flex-start; }
  .footbar__meta { text-align: left; }
  .faq__q { font-size: 1.1rem; padding: 20px 22px; }
  .totop { right: 16px; bottom: 16px; }
  .arcs { display: none; }
  .pban { padding: 128px 0 46px; }
  .aban { padding: 124px 0 20px; }
  .sban__photo { height: 300px; }
  .sban__card { margin: -40px 14px 0; padding: 30px 26px 34px; }
  .steps { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .step, .step:nth-child(even) { padding: 0; border-left: none; }
  .scut__frame, .credit__frame { height: 340px; }
  .scut__card { position: static; width: 100%; }
  .scut__frame { height: auto; }
  .scut__frame img { height: 300px; }
  .credit__card { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 26px 22px; }
  .partners__grid { grid-template-columns: minmax(0,1fr); }
  .field2 { grid-template-columns: minmax(0,1fr); gap: 0; }
  .cmap__map { height: 380px; }
  .faqsplit__list .faq__q { font-size: 1rem; padding: 20px 0; }
  .faqsplit__list .faq__a p { padding-right: 30px; }
}

/* =============================================================================
   REDUCED MOTION  ·  complete static page
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none; }
  .aban__badge svg { animation: none; }
  .video__play::after { animation: none; }
  .svc__track { transition: none; }
  * { transition-duration: .001ms !important; }
}
