/* ============================================================================
   wpl3 — West Penn Legacy Group · PowerLegal 1:1 rebuild
   Every value below is measured off demo.7iquid.com/powerlegal (RECON/spec/),
   not eyeballed. Own CSS, BEM, rem (1rem = 16px). No page-builder soup.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Fonts — latin variable subsets, self-hosted (RECON: Google-served v22/v19)
---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/cormorant-infant-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/cormorant-infant-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/nunito-sans-italic-latin.woff2') format('woff2');
}

/* ----------------------------------------------------------------------------
   2. Tokens — measured
---------------------------------------------------------------------------- */
:root {
  /* colour (spec: sections bg histogram + widget colours) */
  --navy:        #1A243F;  /* rgb(26,36,63)  sections, cards, footer      */
  --navy-deep:   #10172C;  /* rgb(16,23,44)  headings, overlay base       */
  --navy-bar:    #11192E;  /* rgb(17,25,46)  footer bottom bar            */
  --navy-top:    #2A334D;  /* rgb(42,51,77)  fancy-box title strip        */
  --gold:        #AD9779;  /* rgb(173,151,121)                            */
  --gold-soft:   #C8B59D;  /* lightened gold for hover on dark            */
  --cream:       #F8F6F3;  /* rgb(248,246,243) warm section bg            */
  --grey-bg:     #F3F4F5;  /* rgb(243,244,245) cool section bg            */
  --text:        #6D6D6D;  /* body copy                                   */
  --text-onnavy: #D9D9D9;  /* body copy on navy                           */
  --text-topbar: #BFBFBF;  /* topbar items                                */
  --white:       #fff;
  --line:        #E8E6E1;  /* hairlines on light                          */
  --line-navy:   rgba(255,255,255,.1);
  --overlay:     rgba(16,23,44,.8);   /* mobile panel overlay (measured)  */
  --hero-scrim:  rgba(17,22,35,.35);  /* revslider dark layer (measured)  */

  /* type */
  --ff-serif: 'Cormorant Infant', Georgia, serif;
  --ff-sans:  'Nunito Sans', system-ui, -apple-system, sans-serif;

  /* motion (spec: transitions fingerprint) */
  --t-fast:   .3s ease;                                /* 185 els            */
  --t-linear: .3s linear;                              /* 237 els            */
  --t-slow:   .35s cubic-bezier(.24,.74,.58,1);        /* cards              */
  --t-sweep:  .5s cubic-bezier(.4,.5,.6,.7);           /* button ::before    */
  --t-sticky: .55s cubic-bezier(.39,.58,.57,1);        /* sticky header      */
  --t-panel:  .45s cubic-bezier(.25,.46,.45,.94);      /* overlay/panel      */

  /* chrome */
  --sticky-shadow: 0 .1875rem 1.125rem rgba(2,21,78,.09);
  --container: 75rem;          /* 1200px */
  --gutter: .9375rem;          /* 15px   */
  --section-pad: 7.5rem;       /* 120px  */
  --footer-h: 0px;             /* set by JS for the fixed-footer reveal */
}

/* ----------------------------------------------------------------------------
   3. Reset + base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 1rem;                /* 16px */
  line-height: 1.625;             /* 26px */
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--navy-deep); outline-offset: 2px; border-radius: 1px; }
.on-dark :focus-visible, .s-dark :focus-visible { outline-color: var(--gold-soft); }
:target { scroll-margin-block: 6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .5rem; top: .5rem; z-index: 1200;
  background: var(--navy-deep); color: var(--white);
  padding: .625rem 1.25rem; font-weight: 700; font-size: .875rem;
  transform: translateY(-200%); transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* ----------------------------------------------------------------------------
   4. Typography — measured scale (CI 700, lh 1.18, ls .02em)
---------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--navy-deep);
  text-wrap: balance;
}
.h-hero  { font-size: 3.75rem;  line-height: 1.25; letter-spacing: .0167em; } /* 60/75 */
.h-cta   { font-size: 3.75rem; }                                             /* 60    */
.h-sec   { font-size: 2.8125rem; }                                           /* 45    */
.h-card-l{ font-size: 1.875rem; }                                            /* 30    */
.h-box   { font-size: 1.75rem; }                                             /* 28    */
.h-widget{ font-size: 1.5625rem; }                                           /* 25    */
.h-post  { font-size: 1.4375rem; line-height: 1.3; }                         /* 23/30 */
.h-card  { font-size: 1.375rem; }                                            /* 22    */

.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  font-family: var(--ff-sans); font-size: .875rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.lead { font-size: 1rem; }

/* prose (blog body, service body) */
.prose { max-width: 100%; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.875rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.5rem;  margin-top: 2rem; }
.prose p  { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.25rem; max-width: 70ch; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
.prose a:hover { color: var(--navy-deep); }
.prose strong { color: var(--navy-deep); }
.prose blockquote {
  border-left: 3px solid var(--gold); background: var(--cream);
  padding: 1.5rem 1.875rem; font-family: var(--ff-serif);
  font-size: 1.375rem; font-style: italic; color: var(--navy-deep);
}

/* ----------------------------------------------------------------------------
   5. Buttons — measured: NS 14/700 ls 1.5px upper, pad 10x35, radius 0,
      diagonal sweep ::before (400px, rgba white, rotate 45°, .5s cubic)
---------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .625rem;
  padding: .625rem 2.1875rem; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--ff-sans); font-size: .875rem; font-weight: 700;
  line-height: 2.1875rem; letter-spacing: .107em; text-transform: uppercase;
  background: var(--gold); color: var(--navy-deep);
  transition: background var(--t-fast), color var(--t-fast);
  overflow: hidden; isolation: isolate;
}
.btn::before {           /* the sweep */
  content: ""; position: absolute; z-index: -1; top: 50%; left: 50%;
  width: 25rem; height: 25rem; background: rgba(255,255,255,.18);
  transform: translate(-50%,-50%) rotate(45deg) translateX(-100%) scaleY(0);
  transition: transform var(--t-sweep), opacity var(--t-sweep);
}
.btn:hover::before { transform: translate(-50%,-50%) rotate(45deg) translateX(0) scaleY(1); opacity: 0; }
.btn:hover { background: var(--navy-deep); color: var(--white); }
.btn .icon { flex: none; }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--gold); color: var(--navy-deep); }
.btn--navy { background: var(--navy-deep); color: var(--white); }
.btn--navy:hover { background: var(--gold); color: var(--navy-deep); }
.btn--sm { padding: .625rem 1.5625rem; }

.btn-more {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  transition: color var(--t-fast);
}
.btn-more .icon { transition: transform var(--t-fast); }
.btn-more:hover { color: var(--navy-deep); }
.btn-more:hover .icon { transform: translateX(.25rem); }
.on-dark .btn-more:hover, .s-dark .btn-more:hover { color: var(--white); }

.text-link { color: var(--gold); font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ----------------------------------------------------------------------------
   6. Layout
---------------------------------------------------------------------------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--grey  { background: var(--grey-bg); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }

.sec-head { max-width: 43.75rem; margin-bottom: 3.4375rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head .h-sec { margin-top: .9375rem; }
.sec-head p { margin-top: 1.0625rem; }
.sec-head--split {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1.875rem; flex-wrap: wrap;
}
.sec-head--split > div { max-width: 43.75rem; }

.s-dark, .on-dark { color: var(--text-onnavy); }
.s-dark h1, .s-dark h2, .s-dark h3, .s-dark h4,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

/* ----------------------------------------------------------------------------
   7. Topbar — navy #1A243F, 14px, #BFBFBF; gold button block right
---------------------------------------------------------------------------- */
.topbar { background: var(--navy); font-size: .875rem; color: var(--text-topbar); }
.topbar__row { display: flex; align-items: stretch; justify-content: space-between; gap: 1.25rem; min-height: 3.625rem; }
.topbar__items { display: flex; align-items: center; gap: 1.875rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item .icon { color: var(--gold); }
a.topbar__item { transition: color var(--t-fast); }
a.topbar__item:hover { color: var(--white); }
.topbar__right { display: flex; align-items: center; gap: 1.5rem; }
.topbar__social { display: flex; align-items: center; }
.topbar__social a {
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  color: var(--text-topbar); transition: color var(--t-fast);
}
.topbar__social a:hover { color: var(--gold); }
.topbar__cta { align-self: stretch; display: flex; }
.topbar__cta .btn { font-size: .9375rem; line-height: 2.34375rem; align-self: stretch; }

/* ----------------------------------------------------------------------------
   8. Header — white row h~110, logo left, nav + phone right; sticky clone
---------------------------------------------------------------------------- */
.site-header { background: var(--white); position: relative; z-index: 900; }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.875rem; min-height: 6.875rem; }
.header__logo img { width: auto; height: 3.4375rem; }
.header__right { display: flex; align-items: center; gap: 1.875rem; }

.nav { display: block; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: 2.5rem .9375rem; font-size: 1rem; font-weight: 700;
  color: var(--navy-deep); transition: color var(--t-fast);
}
.nav__list > li > a .icon { width: .75rem; height: .75rem; transition: transform var(--t-fast); }
.nav__list > li > a:hover, .nav__list > li.is-current > a { color: var(--gold); }
.nav__list > li:hover > a .icon { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 15rem; z-index: 950;
  background: var(--white); box-shadow: var(--sticky-shadow);
  border-top: 3px solid var(--gold);
  padding: .9375rem 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(.9375rem);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav__list > li:hover > .nav__sub,
.nav__list > li:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: .5625rem 1.5625rem; font-size: .9375rem; font-weight: 600;
  color: var(--navy-deep); transition: color var(--t-fast), transform var(--t-fast);
}
.nav__sub a:hover { color: var(--gold); transform: translateX(.3125rem); }

.header__phone { display: inline-flex; align-items: center; gap: .75rem; }
.header__phone .icon { color: var(--gold); }
.header__phone-num {
  font-family: var(--ff-serif); font-size: 1.5625rem; font-weight: 700;
  color: var(--navy-deep); letter-spacing: .02em; white-space: nowrap;
  transition: color var(--t-fast);
}
.header__phone:hover .header__phone-num { color: var(--gold); }

/* sticky clone — slides down (measured: fixed, .55s cubic, shadow) */
.header-sticky {
  position: fixed; inset: 0 0 auto 0; z-index: 999;
  background: var(--white); box-shadow: var(--sticky-shadow);
  transform: translateY(-102%);
  transition: transform var(--t-sticky);
}
.header-sticky.is-on { transform: translateY(0); }
.header-sticky .header__row { min-height: 6.25rem; }
.header-sticky .nav__list > li > a { padding-block: 2.25rem; }

/* mobile header */
.m-header { display: none; background: var(--white); }
.m-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 5.5625rem; }
.m-header__logo img { width: auto; height: 2.4375rem; }
.m-header__burger {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: none; border: 0; cursor: pointer; color: var(--navy-deep);
}
.m-header__burger:hover { color: var(--gold); }

/* sticky mobile header */
.m-header.is-stuck {
  position: fixed; inset: 0 0 auto 0; z-index: 999;
  box-shadow: var(--sticky-shadow);
  animation: mHeaderIn .4s ease both;
}
@keyframes mHeaderIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
body.m-stuck-pad { padding-top: 5.5625rem; }

/* ----------------------------------------------------------------------------
   9. Mobile panel — slide-down navy sheet + overlay (measured colours/motion)
---------------------------------------------------------------------------- */
.page-overlay {
  position: fixed; inset: 0; z-index: 1000; background: var(--overlay);
  opacity: 0; visibility: hidden; transition: opacity var(--t-panel), visibility var(--t-panel);
}
.panel {
  position: fixed; inset: 0 0 auto 0; z-index: 1001;
  background: var(--navy-deep); color: var(--text-onnavy);
  max-height: 100dvh; overflow-y: auto;
  padding: 1.875rem var(--gutter) 2.8125rem;
  transform: translateY(-102%);
  transition: transform var(--t-panel), visibility var(--t-panel);
  visibility: hidden;
}
body.panel-open { overflow: hidden; }
body.panel-open .page-overlay { opacity: 1; visibility: visible; }
body.panel-open .panel { transform: translateY(0); visibility: visible; }

.panel__head { display: flex; justify-content: flex-end; margin-bottom: 1.25rem; }
.panel__close {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: var(--navy); border: 0; cursor: pointer; color: var(--white);
  transition: background var(--t-fast), color var(--t-fast);
}
.panel__close:hover { background: var(--gold); color: var(--navy-deep); }
.panel__inner { max-width: 30rem; margin-inline: auto; }
.panel__nav { list-style: none; }
.panel__nav > li { border-bottom: 1px solid var(--line-navy); }
.panel__nav > li > a, .panel__nav .panel__row > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8125rem 0; font-size: 1.0625rem; font-weight: 700; color: var(--white);
  transition: color var(--t-fast);
}
.panel__nav > li > a:hover, .panel__nav .panel__row > a:hover,
.panel__nav > li.is-current > a, .panel__nav > li.is-current .panel__row > a { color: var(--gold-soft); }
.panel__row { display: flex; align-items: center; justify-content: space-between; }
.panel__sub { list-style: none; padding: 0 0 .8125rem .9375rem; display: none; }
.panel__sub.is-open { display: block; }
.panel__sub a { display: block; padding: .4375rem 0; font-size: .9375rem; font-weight: 600; color: var(--text-onnavy); }
.panel__sub a:hover { color: var(--gold-soft); }
.panel__sub-toggle {
  background: none; border: 0; color: var(--white); cursor: pointer;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
}
.panel__sub-toggle .icon { transition: transform var(--t-fast); }
.panel__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.panel__meta { margin-top: 1.5625rem; display: grid; gap: .625rem; font-size: .9375rem; }
.panel__meta > * { display: flex; gap: .625rem; align-items: center; }
.panel__meta a { color: var(--white); }
.panel__meta a:hover { color: var(--gold-soft); }
.panel__meta .icon { color: var(--gold); }
.panel .btn { margin-top: 1.5625rem; width: 100%; justify-content: center; }

/* ----------------------------------------------------------------------------
   10. Hero slider — measured: h 800, scrim rgba(17,22,35,.35),
       eyebrow NS 18/24 600 ls 5px · H CI 60/75 · sub NS 16/26 600
---------------------------------------------------------------------------- */
.hero { position: relative; height: 50rem; max-height: 100svh; overflow: hidden; background: var(--navy-deep); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__bg { animation: heroZoom 8s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; background: var(--hero-scrim); }
.hero__scrim::after {  /* left-weighted depth like the demo photo grade */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,23,44,.55) 0%, rgba(16,23,44,.15) 55%, rgba(16,23,44,0) 80%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: var(--white); max-width: 46.25rem;
}
.hero__eyebrow {
  font-size: 1.125rem; line-height: 1.333; font-weight: 600;
  letter-spacing: .2778em; text-transform: uppercase;
}
.hero__title {
  margin-top: 1.25rem; color: var(--white);
  font-size: 3.75rem; line-height: 1.25; letter-spacing: .0167em;
}
.hero__sub { margin-top: 1.375rem; font-size: 1rem; line-height: 1.625; font-weight: 600; max-width: 33.75rem; }
.hero__actions { margin-top: 2.1875rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* staged layer entrances (revslider choreography: st 800→2400) */
.hero__eyebrow, .hero__title, .hero__sub, .hero__actions {
  opacity: 0; transform: translateY(1.5625rem);
}
.hero__slide.is-active .hero__eyebrow { animation: heroLayer .9s ease .5s both; }
.hero__slide.is-active .hero__title   { animation: heroLayer 1s ease .9s both; }
.hero__slide.is-active .hero__sub     { animation: heroLayer .9s ease 1.4s both; }
.hero__slide.is-active .hero__actions { animation: heroLayer .9s ease 1.8s both; }
@keyframes heroLayer { to { opacity: 1; transform: translateY(0); } }

.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 1.875rem; transform: translateX(-50%); display: flex; }
.hero__dot { position: relative; width: 1.5625rem; height: 1.5625rem; background: none; border: 0; cursor: pointer; }
.hero__dot::after {
  content: ""; position: absolute; inset: 50%; width: .625rem; height: .625rem;
  translate: -50% -50%; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: background var(--t-fast), transform var(--t-fast);
}
.hero__dot.is-active::after { background: var(--gold); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  .hero__slide .hero__eyebrow, .hero__slide .hero__title,
  .hero__slide .hero__sub, .hero__slide .hero__actions { opacity: 1; transform: none; }
  .hero__slide.is-active .hero__bg { animation: none; }
}
.no-js .hero__slide:first-child { opacity: 1; visibility: visible; }
.no-js .hero__eyebrow, .no-js .hero__title, .no-js .hero__sub, .no-js .hero__actions { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   11. Feature trio — fancy-box layout-4: navy card, #2A334D title strip,
       gold icon cell 86px, CI 28 title; pulled over hero by -100px
---------------------------------------------------------------------------- */
.feature-band { position: relative; z-index: 5; margin-top: -6.25rem; }
.feature-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.875rem; }
.fancy {
  background: var(--navy); color: var(--text-onnavy);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.fancy:hover { transform: translateY(-.5rem); box-shadow: 0 1.25rem 2.5rem rgba(2,21,78,.25); }
.fancy__top { display: flex; align-items: stretch; background: var(--navy-top); }
.fancy__icon {
  flex: 0 0 5.375rem; display: grid; place-items: center;
  width: 5.375rem; min-height: 5.375rem; background: var(--gold); color: var(--navy-deep);
}
.fancy__title { display: flex; align-items: center; padding: .9375rem 1.5625rem; color: var(--white); font-size: 1.75rem; }
.fancy__body { padding: 1.5625rem 1.875rem 1.875rem; }
.fancy__body p { font-size: 1rem; }
.fancy__more { margin-top: 1.0625rem; }

/* ----------------------------------------------------------------------------
   12. About — portrait left + copy right, phone/booking row, signature
---------------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.375rem; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; }
.about__badge {
  position: absolute; left: 1.875rem; bottom: 1.875rem;
  background: var(--gold); color: var(--navy-deep);
  padding: 1.25rem 1.5625rem; max-width: 13.75rem;
}
.about__badge strong { display: block; font-family: var(--ff-serif); font-size: 2.5rem; line-height: 1; }
.about__badge span { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about__title { margin-top: .9375rem; }
.about__text { margin-top: 1.5625rem; }
.about__text p + p { margin-top: 1rem; }
.about__contact {
  margin-top: 1.875rem; padding-top: 1.875rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  font-size: 1.125rem; font-weight: 600; color: var(--navy-deep);
}
.about__contact .icon { color: var(--gold); }
.about__contact a { transition: color var(--t-fast); }
.about__contact a:hover { color: var(--gold); }
.about__sig { margin-top: 1.875rem; display: flex; align-items: center; gap: 1.5625rem; }
.about__sig img { height: 4.0625rem; width: auto; }
.about__sig-name strong { display: block; font-family: var(--ff-serif); font-size: 1.375rem; color: var(--navy-deep); letter-spacing: .02em; }
.about__sig-name span { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ----------------------------------------------------------------------------
   13. Service cards — white card: title, navy icon square, text, READ MORE
---------------------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.875rem; }
.svc {
  position: relative; background: var(--white); text-align: center;
  padding: 2.5rem 2.1875rem 2.1875rem;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.svc::after { /* gold ground line that grows on hover */
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow);
}
.svc:hover { transform: translateY(-.5rem); box-shadow: 0 1.25rem 2.5rem rgba(2,21,78,.12); }
.svc:hover::after { transform: scaleX(1); }
.svc__title { font-size: 1.375rem; }
.svc__icon {
  margin: 1.5625rem auto; display: grid; place-items: center;
  width: 5rem; height: 5rem; background: var(--navy); color: var(--gold);
  transition: background var(--t-fast), color var(--t-fast);
}
.svc:hover .svc__icon { background: var(--gold); color: var(--navy-deep); }
.svc p { font-size: 1rem; }
.svc__more { margin-top: 1.25rem; }
.svc__link::before { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.svc__link:focus-visible::before { outline: 2px solid var(--navy-deep); outline-offset: -2px; }

/* ----------------------------------------------------------------------------
   14. Counters band — two navy photo cards with big serif number
---------------------------------------------------------------------------- */
.counters__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.875rem; }
.counter-card { position: relative; display: flex; align-items: stretch; background: var(--navy); color: var(--text-onnavy); overflow: hidden; }
.counter-card__body { flex: 1 1 55%; padding: 2.8125rem 2.5rem; position: relative; z-index: 2; max-width: 60%; }
.counter-card__num { font-family: var(--ff-serif); font-size: 3.75rem; font-weight: 700; line-height: 1; color: var(--gold); }
.counter-card__title { margin-top: .9375rem; font-size: 1.875rem; color: var(--white); }
.counter-card__text { margin-top: .8125rem; font-size: 1rem; color: var(--text-onnavy); }
.counter-card__media { position: absolute; inset: 0 0 0 auto; width: 45%; }
.counter-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9); }
.counter-card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(26,36,63,.35) 60%, rgba(26,36,63,.15) 100%);
}

/* ----------------------------------------------------------------------------
   15. Stories carousel — case-study look: 5-up, photo card, info panel
---------------------------------------------------------------------------- */
.stories { overflow: hidden; }
.story-card { position: relative; display: block; overflow: hidden; background: var(--navy); }
.story-card img { width: 100%; aspect-ratio: 27/34; object-fit: cover; transition: transform .6s ease, opacity var(--t-fast); }
.story-card:hover img { transform: scale(1.06); opacity: .75; }
.story-card__panel {
  position: absolute; left: 0; right: 2.5rem; bottom: 0; z-index: 2;
  background: var(--navy); color: var(--white);
  padding: 1.25rem 1.5625rem;
  transition: background var(--t-slow);
}
.story-card:hover .story-card__panel { background: var(--gold); }
.story-card__cat { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); transition: color var(--t-slow); }
.story-card__title { margin-top: .375rem; font-family: var(--ff-serif); font-size: 1.375rem; font-weight: 700; letter-spacing: .02em; line-height: 1.18; color: var(--white); transition: color var(--t-slow); }
.story-card:hover .story-card__cat, .story-card:hover .story-card__title { color: var(--navy-deep); }

/* ----------------------------------------------------------------------------
   16. Why-us — cream section: media + checklist
---------------------------------------------------------------------------- */
.why__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.375rem; align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; }
.why__divider { width: 5rem; height: 3px; background: var(--gold); margin-block: 1.5625rem; }
.why__list { list-style: none; display: grid; gap: .9375rem; }
.why__list li { display: flex; align-items: flex-start; gap: .875rem; font-weight: 700; color: var(--navy-deep); }
.why__list .icon { flex: none; color: var(--gold); margin-top: .125rem; }
.why__note { margin-top: 1.5625rem; font-size: .9375rem; }

/* ----------------------------------------------------------------------------
   17. CTA band — photo bg + deep navy overlay, centered, CI 60 white
---------------------------------------------------------------------------- */
.cta {
  position: relative; padding-block: 6.25rem; text-align: center; color: var(--white);
  background-size: cover; background-position: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(16,23,44,.92); }
.cta__inner { position: relative; z-index: 2; max-width: 50rem; margin-inline: auto; }
.cta__icon { display: grid; place-items: center; width: 4.0625rem; height: 4.0625rem; margin: 0 auto 1.5625rem; background: var(--gold); color: var(--navy-deep); }
.cta__title { color: var(--white); font-size: 3.75rem; }
.cta__sub { margin-top: 1.0625rem; color: var(--text-onnavy); }
.cta__sub a { color: var(--gold-soft); font-weight: 700; }
.cta__sub a:hover { text-decoration: underline; text-underline-offset: .2em; }
.cta .btn { margin-top: 2.1875rem; }

/* ----------------------------------------------------------------------------
   18. Steps — team-card anatomy reused for How-We-Work (3-up carousel)
---------------------------------------------------------------------------- */
.step-card { background: var(--white); text-align: center; padding: 2.8125rem 2.1875rem 2.5rem; border: 1px solid var(--line); transition: transform var(--t-slow), box-shadow var(--t-slow); }
.step-card:hover { transform: translateY(-.5rem); box-shadow: 0 1.25rem 2.5rem rgba(2,21,78,.12); }
.step-card__num {
  position: relative; display: inline-grid; place-items: center;
  width: 6.875rem; height: 6.875rem; margin-bottom: 1.5625rem;
  font-family: var(--ff-serif); font-size: 2.8125rem; font-weight: 700; color: var(--gold);
  background: var(--cream);
}
.step-card__num::after {
  content: ""; position: absolute; inset: .5rem; border: 1px solid rgba(173,151,121,.5);
  transition: transform var(--t-fast);
}
.step-card:hover .step-card__num::after { transform: scale(1.06); }
.step-card__title { font-size: 1.375rem; }
.step-card__role { display: block; margin-top: .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.step-card p { margin-top: .9375rem; font-size: 1rem; }

/* ----------------------------------------------------------------------------
   19. Testimonials — navy intro panel 1/3 + cream stage: CI italic quote
---------------------------------------------------------------------------- */
.testi { overflow: hidden; }
.testi__grid { display: grid; grid-template-columns: 1fr 1.9fr; min-height: 33.75rem; }
.testi__intro { background: var(--navy); color: var(--text-onnavy); padding: 4.375rem 3.4375rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.testi__intro .h-sec { color: var(--gold); }
.testi__intro p { margin-top: 1.25rem; }
.testi__intro .btn { margin-top: 2.1875rem; }
.testi__quote-mark { color: var(--gold); margin-bottom: 1.25rem; }
.testi__stage { position: relative; background: var(--cream); padding: 4.375rem 4.0625rem; display: flex; flex-direction: column; justify-content: center; }
.testi__quote {
  font-family: var(--ff-serif); font-size: 1.75rem; font-style: italic; font-weight: 500;
  line-height: 1.5; color: var(--navy-deep); letter-spacing: .01em; max-width: 43.75rem;
}
.testi__who { margin-top: 2.1875rem; display: flex; align-items: center; gap: 1.0625rem; }
.testi__who img { width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; }
.testi__who-name { font-family: var(--ff-serif); font-size: 1.125rem; font-weight: 700; color: var(--navy-deep); letter-spacing: .03em; }
.testi__who-role { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.testi__chrome { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.25rem; }

/* ----------------------------------------------------------------------------
   20. Carriers strip — grey logos, colour on hover
---------------------------------------------------------------------------- */
.carriers { padding-block: 1.75rem; border-block: 1px solid var(--line); }
.carriers .swiper-slide { display: grid; place-items: center; }
.carriers a, .carriers span { display: grid; place-items: center; padding: .9375rem 1.25rem; }
.carriers img {
  height: 3.4375rem; width: auto; max-width: 100%;
  filter: grayscale(1) opacity(.55); transition: filter var(--t-fast);
}
.carriers a:hover img { filter: none; }

/* ----------------------------------------------------------------------------
   21. Blog cards — image, meta row, CI 23 title, divider, footer row
---------------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.875rem; }
.post-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform var(--t-slow), box-shadow var(--t-slow); }
.post-card:hover { transform: translateY(-.5rem); box-shadow: 0 1.25rem 2.5rem rgba(2,21,78,.1); }
.post-card__media { display: block; overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 37/26; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.5625rem 1.5625rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 1.0625rem; font-size: .8125rem; margin-bottom: .8125rem; }
.post-card__meta span { display: inline-flex; align-items: center; gap: .375rem; }
.post-card__meta .icon { color: var(--gold); width: .875rem; height: .875rem; }
.post-card__title { font-size: 1.4375rem; line-height: 1.3; }
.post-card__title a { transition: color var(--t-fast); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { margin-top: .8125rem; font-size: .9375rem; }
.post-card__foot { margin-top: 1.25rem; padding-top: 1.0625rem; border-top: 1px solid var(--line); }
.post-card__body > .post-card__foot { margin-top: auto; padding-top: 1.0625rem; }

/* ----------------------------------------------------------------------------
   22. Newsletter band — navy, CI 40/600 left, input + gold button right
---------------------------------------------------------------------------- */
.newsletter { background: var(--navy); color: var(--white); padding-block: 3.4375rem; }
.newsletter__row { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.newsletter__head { display: flex; align-items: center; gap: 1.5625rem; }
.newsletter__head .icon { color: var(--gold); flex: none; }
.newsletter__title { font-size: 2.5rem; font-weight: 600; color: var(--white); max-width: 26.25rem; line-height: 1.18; }
.newsletter__form { display: flex; flex: 1 1 26rem; max-width: 34.375rem; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1; min-width: 0; border: 0; background: var(--white); color: var(--navy-deep);
  padding: .9375rem 1.5625rem; font-size: .9375rem;
}
.newsletter__form input::placeholder { color: var(--text); }
.newsletter__note { width: 100%; font-size: .8125rem; color: var(--text-topbar); margin-top: .625rem; }
.form-msg { width: 100%; margin-top: .625rem; font-weight: 700; color: var(--gold-soft); }

/* ----------------------------------------------------------------------------
   23. Contact strip — 3 columns, gold icon square, CI 28 title
---------------------------------------------------------------------------- */
.info-strip { padding-block: 4.375rem; }
.info-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-strip__col { display: flex; gap: 1.5625rem; padding: .9375rem 2.5rem; }
.info-strip__col + .info-strip__col { border-left: 1px solid var(--line); }
.info-strip__icon { flex: none; display: grid; place-items: center; width: 4.0625rem; height: 4.0625rem; background: var(--gold); color: var(--navy-deep); }
.info-strip__title { font-size: 1.75rem; }
.info-strip__col p { margin-top: .625rem; font-size: 1rem; }
.info-strip__col p strong { color: var(--navy-deep); font-weight: 600; }
.info-strip__col a:hover { color: var(--gold); }

/* ----------------------------------------------------------------------------
   24. Footer — navy #1A243F, CI 25 widget titles, bar #11192E; fixed reveal
---------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--text-onnavy); }
.footer__main { padding-block: 6.5625rem 4.375rem; }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.35fr; gap: 2.5rem; }
.footer__logo img { height: 3.125rem; width: auto; }
.footer__about { margin-top: 1.5625rem; font-size: .9375rem; max-width: 20rem; }
.footer__social { margin-top: 1.5625rem; display: flex; gap: .625rem; }
.footer__social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,.07); color: var(--white);
  transition: background var(--t-fast), color var(--t-fast);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__title { font-size: 1.5625rem; color: var(--white); margin-bottom: 1.5625rem; }
.footer__links { list-style: none; display: grid; gap: .625rem; }
.footer__links a { display: inline-block; font-size: .9375rem; transition: color var(--t-fast), transform var(--t-fast); }
.footer__links a:hover { color: var(--gold-soft); transform: translateX(.375rem); }
.footer__contact { display: grid; gap: .8125rem; font-size: .9375rem; }
.footer__contact span, .footer__contact a { display: flex; gap: .75rem; align-items: flex-start; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__contact .icon { color: var(--gold); flex: none; margin-top: .125rem; }
.footer__bar { background: var(--navy-bar); padding-block: 1.4375rem; font-size: .875rem; }
.footer__bar-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.footer__bar a:hover { color: var(--gold-soft); }
.footer__bar-links { display: flex; gap: 1.5625rem; }

/* fixed-footer reveal (demo: body.pxl-footer-fixed) */
@media (min-width: 992px) {
  body.has-fixed-footer .site-footer { position: fixed; inset: auto 0 0 0; z-index: 1; }
  body.has-fixed-footer .site-main { position: relative; z-index: 2; background: var(--white); margin-bottom: var(--footer-h); box-shadow: 0 1.875rem 3.75rem rgba(2,21,78,.12); }
}

/* ----------------------------------------------------------------------------
   25. Scroll-top — gold square 50px, bottom-right (measured 44/30)
---------------------------------------------------------------------------- */
.scroll-top {
  position: fixed; right: 1.875rem; bottom: 2.75rem; z-index: 998;
  display: grid; place-items: center; width: 3.125rem; height: 3.125rem;
  background: var(--gold); color: var(--navy-deep); border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(1rem);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.scroll-top.is-on { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--navy-deep); color: var(--white); }
.scroll-top .icon { transform: rotate(-90deg); }

/* ----------------------------------------------------------------------------
   26. Swiper chrome — square arrows + 25px-hit dots
---------------------------------------------------------------------------- */
.sw-nav {
  display: grid; place-items: center; width: 3.4375rem; height: 3.4375rem;
  background: var(--white); color: var(--navy-deep); border: 1px solid var(--line); cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.sw-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.sw-nav[disabled] { opacity: .4; cursor: default; }
.sw-nav[disabled]:hover { background: var(--white); color: var(--navy-deep); border-color: var(--line); }

.sw-dots { display: flex; justify-content: center; margin-top: 2.5rem; }
.sw-dot { position: relative; width: 1.5625rem; height: 1.5625rem; background: none; border: 0; cursor: pointer; }
.sw-dot::after {
  content: ""; position: absolute; inset: 50%; width: .625rem; height: .625rem; translate: -50% -50%;
  border-radius: 50%; background: #C9C5BD; transition: background var(--t-fast), transform var(--t-fast);
}
.sw-dot.is-active::after { background: var(--gold); transform: scale(1.25); }
.sw-dot:hover::after { background: var(--gold); }

/* ----------------------------------------------------------------------------
   27. Reveal-on-scroll — demo keyframes (animate.css 20px family), IO-driven
---------------------------------------------------------------------------- */
.rv { opacity: 0; }
.rv.in { animation: var(--rv-name, rvUp) 1s ease both; animation-delay: var(--rv-delay, 0s); }
.rv--left  { --rv-name: rvLeft; }
.rv--right { --rv-name: rvRight; }
.rv--down  { --rv-name: rvDown; }
.rv--fade  { --rv-name: rvFade; }
@keyframes rvUp    { from { opacity: 0; transform: translateY(1.25rem); }  to { opacity: 1; transform: none; } }
@keyframes rvDown  { from { opacity: 0; transform: translateY(-1.25rem); } to { opacity: 1; transform: none; } }
@keyframes rvLeft  { from { opacity: 0; transform: translateX(-1.25rem); } to { opacity: 1; transform: none; } }
@keyframes rvRight { from { opacity: 0; transform: translateX(1.25rem); }  to { opacity: 1; transform: none; } }
@keyframes rvFade  { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; } .rv.in { animation: none; } }
.no-js .rv { opacity: 1; }

/* ----------------------------------------------------------------------------
   28. Inner pages — breadcrumb hero (page title bar)
---------------------------------------------------------------------------- */
.page-hero {
  position: relative; padding-block: 6.875rem; text-align: center; color: var(--white);
  background: var(--navy-deep) center/cover;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(16,23,44,.85); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { color: var(--white); font-size: 3.4375rem; }
.crumbs { margin-top: 1.0625rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .625rem; font-size: .9375rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.crumbs a { color: var(--gold-soft); }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { color: rgba(255,255,255,.5); }

/* service detail */
.svc-detail__grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 3.4375rem; align-items: start; }
.svc-detail__hero img { width: 100%; margin-bottom: 2.1875rem; }
.sidebar { display: grid; gap: 1.875rem; position: sticky; top: 8.125rem; }
.widget { background: var(--cream); padding: 1.875rem; }
.widget--navy { background: var(--navy); color: var(--text-onnavy); }
.widget__title { font-size: 1.5625rem; margin-bottom: 1.25rem; }
.widget--navy .widget__title { color: var(--white); }
.widget__nav { list-style: none; display: grid; gap: .375rem; }
.widget__nav a {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); color: var(--navy-deep); font-weight: 700; font-size: .9375rem;
  padding: .8125rem 1.25rem; transition: background var(--t-fast), color var(--t-fast);
}
.widget__nav a:hover, .widget__nav li.is-current a { background: var(--navy); color: var(--white); }
.widget__nav li.is-current a { box-shadow: inset 3px 0 0 var(--gold); }
.widget--cta { text-align: center; }
.widget--cta .icon { margin: 0 auto 1rem; color: var(--gold); }
.widget--cta p { font-size: .9375rem; }
.widget--cta .h-widget { color: var(--white); margin-top: .625rem; }
.widget--cta .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* blog list + sidebar */
.blog-layout { display: grid; grid-template-columns: 2.3fr 1fr; gap: 3.4375rem; align-items: start; }
.blog-layout .blog-grid { grid-template-columns: repeat(2, 1fr); }
.widget--search form { display: flex; }
.widget--search input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--white); padding: .75rem 1.0625rem; font-size: .9375rem; }
.widget--search button { display: grid; place-items: center; width: 3.0625rem; background: var(--gold); border: 0; color: var(--navy-deep); cursor: pointer; }
.widget--search button:hover { background: var(--navy); color: var(--white); }
.widget__posts { display: grid; gap: 1.25rem; }
.widget__post { display: flex; gap: 1.0625rem; align-items: center; }
.widget__post img { width: 4.6875rem; height: 4.0625rem; object-fit: cover; flex: none; }
.widget__post-date { font-size: .8125rem; display: flex; gap: .375rem; align-items: center; }
.widget__post-date .icon { color: var(--gold); width: .875rem; height: .875rem; }
.widget__post-title { font-family: var(--ff-serif); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--navy-deep); letter-spacing: .02em; display: block; }
.widget__post-title:hover { color: var(--gold); }
.widget__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.widget__tags a { background: var(--white); font-size: .8125rem; font-weight: 700; padding: .4375rem .9375rem; color: var(--text); transition: background var(--t-fast), color var(--t-fast); }
.widget__tags a:hover { background: var(--gold); color: var(--navy-deep); }

/* single post */
.post-single__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.5625rem; font-size: .9375rem; }
.post-single__meta span { display: inline-flex; gap: .5rem; align-items: center; }
.post-single__meta .icon { color: var(--gold); }
.post-single__hero { margin-bottom: 2.1875rem; }
.post-single__hero img { width: 100%; }
.post-single__foot { margin-top: 2.8125rem; padding-top: 1.5625rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }

/* pagination */
.pagination { display: flex; gap: .5rem; margin-top: 3.4375rem; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 3.125rem; height: 3.125rem; padding-inline: .75rem;
  border: 1px solid var(--line); font-weight: 700; color: var(--navy-deep);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pagination a:hover, .pagination .is-current { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* FAQ accordion — box-item pattern */
.faq-list { display: grid; gap: 1.25rem; max-width: 53.125rem; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); transition: box-shadow var(--t-fast); }
.faq-item.is-open { box-shadow: 0 .9375rem 1.875rem rgba(2,21,78,.08); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.375rem 1.875rem;
  font-family: var(--ff-serif); font-size: 1.375rem; font-weight: 700; color: var(--navy-deep); letter-spacing: .02em;
}
.faq-item__toggle {
  flex: none; display: grid; place-items: center; width: 2.1875rem; height: 2.1875rem;
  background: var(--cream); color: var(--gold); transition: background var(--t-fast), color var(--t-fast);
}
.faq-item.is-open .faq-item__toggle { background: var(--gold); color: var(--navy-deep); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-panel); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a-inner { overflow: hidden; }
.faq-item__a-inner p { padding: 0 1.875rem 1.375rem; max-width: 65ch; }

/* contact page */
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.4375rem; align-items: start; }
.contact__cards { display: grid; gap: 1.25rem; }
.contact-card { display: flex; gap: 1.25rem; background: var(--cream); padding: 1.5625rem; }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 3.4375rem; height: 3.4375rem; background: var(--gold); color: var(--navy-deep); }
.contact-card h3 { font-size: 1.375rem; }
.contact-card p { margin-top: .375rem; font-size: .9375rem; }
.contact-card a:hover { color: var(--gold); }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label { display: grid; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--navy-deep); }
.form input, .form textarea, .form select {
  border: 1px solid var(--line); background: var(--white); padding: .875rem 1.0625rem;
  font-size: .9375rem; width: 100%; transition: border-color var(--t-fast);
}
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(173,151,121,.35); }
.form textarea { min-height: 9.375rem; resize: vertical; }

/* 404 */
.err { text-align: center; padding-block: 7.5rem; }
.err__code { font-family: var(--ff-serif); font-weight: 700; font-size: 10rem; line-height: 1; color: var(--gold); }
.err h1 { font-size: 2.8125rem; margin-top: 1.25rem; }
.err p { margin-top: 1.0625rem; }
.err .btn { margin-top: 2.1875rem; }

/* draft ribbon (Julian-facing: copy not approved yet) */
.draft-flag {
  position: fixed; left: -3.4rem; top: 1.65rem; z-index: 1100; transform: rotate(-45deg);
  background: var(--navy-deep); color: var(--gold-soft);
  font-size: .6875rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  padding: .375rem 3.75rem; pointer-events: none; opacity: .92;
}

/* ----------------------------------------------------------------------------
   29. Responsive — demo breakpoints: 1199 / 991 / 767 / 575
---------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .h-sec { font-size: 2.5rem; }
  .hero__title, .cta__title { font-size: 3.125rem; }
  .nav__list > li > a { padding-inline: .6875rem; }
  .header__phone { display: none; }
  .about__grid, .why__grid { gap: 2.8125rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --section-pad: 5.625rem; }
  .topbar__item--hours, .topbar__cta { display: none; }
  .site-header, .header-sticky { display: none; }
  .m-header { display: block; }
  .hero { height: 41.25rem; }
  .feature-band { margin-top: 0; padding-top: 3.75rem; }
  .feature-band__grid { grid-template-columns: 1fr; max-width: 33.75rem; margin-inline: auto; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .counters__grid { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .testi__intro, .testi__stage { padding: 3.4375rem 2.1875rem; }
  .svc-detail__grid, .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .info-strip__grid { grid-template-columns: 1fr; gap: 0; }
  .info-strip__col + .info-strip__col { border-left: 0; margin-top: 1.875rem; padding-top: 1.875rem; border-top: 1px solid var(--line); }
  .info-strip__col { padding-inline: 0; }
  .footer__main { padding-block: 4.375rem 3.125rem; }
  body.has-fixed-footer .site-footer { position: static; }
  body.has-fixed-footer .site-main { margin-bottom: 0; box-shadow: none; }
}

@media (max-width: 767px) {
  .h-sec { font-size: 2.1875rem; }
  .hero__title, .cta__title { font-size: 2.5rem; }
  .page-hero__title { font-size: 2.5rem; }
  .hero { height: 38.75rem; }
  .topbar { display: none; }        /* demo shows no topbar on mobile */
  .services__grid { grid-template-columns: 1fr; max-width: 26.25rem; margin-inline: auto; }
  .blog-grid, .blog-layout .blog-grid { grid-template-columns: 1fr; }
  .counter-card { flex-direction: column; }
  .counter-card__body { max-width: none; }
  .counter-card__media { position: static; width: 100%; height: 12.5rem; order: -1; }
  .counter-card__media::before { background: linear-gradient(0deg, var(--navy) 10%, rgba(26,36,63,.2) 70%); }
  .newsletter__row { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar-row { justify-content: center; text-align: center; }
  .err__code { font-size: 6.875rem; }
}

@media (max-width: 575px) {
  .hero__eyebrow { font-size: .9375rem; letter-spacing: .22em; }
  .hero__title { font-size: 2.1875rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .testi__quote { font-size: 1.375rem; }
  .fancy__title { font-size: 1.5rem; }
  .info-strip__col { flex-direction: column; }
  .scroll-top { right: 1rem; bottom: 1rem; }
  .draft-flag { left: -3.75rem; top: 1rem; font-size: .5625rem; padding: .25rem 3.75rem; }
}
