
:root{
  --navy:#13244E; --navy-2:#0E1B3D; --blue:#00A1E9; --blue-d:#0079B0;
  --ink:#17212f; --muted:#5b6a80; --line:#e2e9f2; --bg:#ffffff;
  --bg-alt:#f4f8fc; --soft:#eaf4fc; --radius:14px;
  --shadow:0 10px 30px rgba(19,36,78,.08); --shadow-sm:0 4px 14px rgba(19,36,78,.07);
  --maxw:1180px;
  --sans:"Open Sans","Open Sans Fallback",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-d);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{color:var(--navy);line-height:1.18;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4vw,3.1rem)}
h2{font-size:clamp(1.5rem,2.6vw,2.15rem)}
h3{font-size:1.22rem}
p{margin:0 0 1.05em}
ul{margin:0 0 1.05em;padding-left:1.15em}
li{margin:.35em 0}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--blue-d);margin-bottom:.7rem}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.5em;font-weight:700;font-size:.97rem;
  padding:.8em 1.35em;border-radius:999px;border:2px solid transparent;cursor:pointer;
  transition:transform .15s ease, background .15s ease}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-d)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-2)}
.btn-outline{background:transparent;border-color:var(--navy);color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-white{background:#fff;color:var(--navy)}
.btn-white:hover{background:var(--soft)}

/* header */
.topbar{background:var(--navy);color:#dbe6f5;font-size:.85rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;
  height:40px;flex-wrap:wrap}
.topbar a{color:#dbe6f5}
.topbar .tb-links{display:flex;gap:1.4rem}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(19,36,78,.03)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  height:82px}
.brand{display:flex;align-items:center;gap:.7rem}
.brand img{height:52px;width:auto}
.nav{display:flex;align-items:center;gap:1.15rem;font-weight:600;font-size:.95rem}
.nav a{color:var(--navy);white-space:nowrap}
.nav a:hover{color:var(--blue-d);text-decoration:none}
.nav .has-drop{position:relative}
/* Round 12 (TRO-318): the panel sits flush under the "Services" link (no 30% gap)
   so the pointer can travel from the link straight into the list, and it also opens
   on keyboard focus and on a JS-added .open class (click or tap), not only on hover. */
.nav .drop{position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);
  border-radius:10px;box-shadow:var(--shadow);min-width:250px;padding:.5rem;
  display:none;flex-direction:column}
.nav .has-drop:hover .drop,.nav .has-drop:focus-within .drop,.nav .has-drop.open .drop{display:flex}
.nav .drop a{padding:.5rem .7rem;border-radius:7px}
.nav .drop a:hover{background:var(--soft)}
.header-cta{display:flex;align-items:center;gap:.8rem}
.header-phone{display:flex;align-items:center;gap:.4rem;font-weight:800;color:var(--navy)}
.menu-btn{display:none;background:none;border:0;font-size:1.5rem;color:var(--navy)}
.header-cta .btn{white-space:nowrap;flex-shrink:0}
.hq-short{display:none}

/* hero */
.hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero .bgimg{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;
  opacity:.30}
.hero .container{position:relative;padding:74px 22px 82px;max-width:900px;text-align:center}
.hero h1{color:#fff}
.hero p{font-size:1.12rem;color:#e7eefa;max-width:720px;margin-left:auto;margin-right:auto}
.hero .hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:1.4rem}
.hero-light{background:var(--bg-alt);color:var(--ink)}
.hero-light h1{color:var(--navy)}
.hero-light p{color:var(--muted)}

/* sections */
section{padding:64px 0}
.alt{background:var(--bg-alt)}
.lead{font-size:1.12rem;color:var(--muted);max-width:760px}
.grid{display:grid;gap:22px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.card h3{margin-top:0}
.card .ico{width:44px;height:44px;border-radius:11px;background:var(--soft);color:var(--blue-d);
  display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:.9rem}
.card p{color:var(--muted);margin-bottom:.6rem}
.card a.more{font-weight:700;margin-top:auto}
.edu{border-top:4px solid var(--blue)}

/* content page */
.page-hero{background:var(--bg-alt);border-bottom:1px solid var(--line)}
.page-hero .container{padding:52px 22px 40px;max-width:900px}
.page-hero h1{margin-bottom:.35em}
.page-hero .lead{margin-bottom:0}
.article{max-width:820px;margin:0 auto;padding:56px 22px}
.article h2{margin-top:1.9em}
.article h3{margin-top:1.5em;color:var(--navy)}
.article img{border-radius:var(--radius);margin:1.6rem 0}
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center}
.split img{border-radius:var(--radius);box-shadow:var(--shadow)}

/* accordion */
.acc{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.acc details{border-bottom:1px solid var(--line)}
.acc details:last-child{border-bottom:0}
.acc summary{cursor:pointer;padding:1.1rem 1.4rem;font-weight:700;color:var(--navy);
  list-style:none;position:relative;padding-right:3rem}
.acc summary::-webkit-details-marker{display:none}
.acc summary:after{content:"+";position:absolute;right:1.4rem;top:1rem;font-size:1.4rem;
  color:var(--blue);font-weight:700}
.acc details[open] summary:after{content:"\2013"}
.acc .acc-body{padding:0 1.4rem 1.2rem;color:var(--muted)}

/* cta band */
.cta-band{background:var(--navy);color:#fff;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#dfe8f6;max-width:640px;margin:0 auto 1.4rem}

/* form */
.form-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;box-shadow:var(--shadow)}
.field{margin-bottom:1rem}
.field label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.35rem;color:var(--navy)}
.field input,.field select,.field textarea{width:100%;padding:.75em .9em;border:1px solid var(--line);
  border-radius:9px;font-family:inherit;font-size:1rem;background:#fbfdff}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--blue);
  border-color:var(--blue)}
.form-note{font-size:.83rem;color:var(--muted);margin-top:.6rem}
.form-status{font-weight:600;margin-top:.8rem}
.hp{position:absolute;left:-9999px}

/* footer */
.site-footer{background:var(--navy-2);color:#c8d5ea;padding:58px 0 26px;font-size:.93rem}
.site-footer h4{color:#fff;font-size:1rem;margin-bottom:1rem}
.site-footer a{color:#c8d5ea}
.site-footer .fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:32px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.4em 0}
.fbottom{border-top:1px solid rgba(255,255,255,.14);margin-top:36px;padding-top:20px;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:#9fb1cf}
.fbrand img{height:64px;width:auto;max-width:none;background:#fff;padding:6px 8px;border-radius:9px}

/* misc */
.pill{display:inline-block;background:var(--soft);color:var(--blue-d);font-weight:700;
  font-size:.8rem;padding:.3em .8em;border-radius:999px}
.postgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.postcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.postcard img{height:190px;object-fit:cover;width:100%}
.postcard .pc-body{padding:20px;display:flex;flex-direction:column;flex:1}
.postcard h3{font-size:1.08rem;margin-bottom:.4rem}
.postcard .pc-body a.more{margin-top:auto;font-weight:700}
.postcard .date{font-size:.8rem;color:var(--muted);text-transform:uppercase;
  letter-spacing:.08em;font-weight:700;margin-bottom:.5rem}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:.6rem}
.skip{position:absolute;left:-9999px}
.skip:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:100}

@media(max-width:980px){
  .nav,.header-phone{display:none}
  .menu-btn{display:block}
  /* Round 17 (TRO-318): the hamburger had no open state, so on phones the nav (and
     its Services dropdown) never showed. When .open-m is set, show the nav as a
     full-width panel under the header, and let the Services dropdown expand inline. */
  .nav.open-m{display:flex;flex-direction:column;align-items:stretch;gap:0;
    position:absolute;top:100%;left:0;right:0;background:#fff;
    border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    padding:.4rem 22px 1rem;z-index:60}
  .nav.open-m>a{padding:.7rem 0;border-top:1px solid var(--line)}
  .nav.open-m .has-drop{display:block;border-top:1px solid var(--line)}
  .nav.open-m .has-drop>a{display:block;padding:.7rem 0}
  .nav.open-m .drop{position:static;display:none;border:0;box-shadow:none;min-width:0;
    padding:0 0 .5rem .9rem}
  .nav.open-m .has-drop.open .drop,.nav.open-m .has-drop:focus-within .drop{display:flex}
  .split,.g3,.g4,.g2,.postgrid,.site-footer .fgrid{grid-template-columns:1fr}
  .site-header .container{height:70px}
}
@media(max-width:640px){
  body{font-size:16px}
  section{padding:46px 0}
  .hero .container{padding:52px 20px 60px}
}
@media(max-width:480px){
  .hq-full{display:none}
  .hq-short{display:inline}
  .header-cta .btn{padding:.68em 1rem;font-size:.9rem}
  .site-header .container{gap:.6rem}
  .brand img{height:42px}
}

.video{max-width:760px;margin:0 auto}
.video.vertical{max-width:340px}
.video-load{position:relative;display:block;border:0;padding:0;background:none;cursor:pointer;width:100%}
.video-load img{width:100%;border-radius:var(--radius);display:block;box-shadow:var(--shadow)}
.video-load .play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.92);
  box-shadow:0 6px 18px rgba(19,36,78,.35)}
/* Round 11 fix (Troy, TRO-318): the old play button was a centred circle drawn by a
   ::before pseudo-element, which painted on top of the navy triangle and left a
   blank white dot on every service card. The circle is the element itself now, the
   triangle is a CSS shape (no font or emoji fallback), and on the service card
   thumbnails the pill is 48px in the bottom right corner so it never covers Holly. */
.video-load .play .tri{width:0;height:0;border-left:13px solid var(--navy);
  border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
.svc-thumb .video-load .play{inset:auto 10px 10px auto;margin:0;width:48px;height:48px;
  background:rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(19,36,78,.4)}
.svc-thumb .video-load .play .tri{border-left-width:11px;border-top-width:7px;border-bottom-width:7px}
.video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:var(--radius)}
.video.vertical iframe{aspect-ratio:9/16}
.ba{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ba figure{margin:0}
.ba img{border-radius:var(--radius);width:100%}
.ba figcaption{font-weight:700;color:var(--navy);text-align:center;margin-top:.5rem}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}
.trust .t{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 14px;
  font-weight:700;color:var(--navy);font-size:.95rem}
.trust .t small{display:block;font-weight:500;color:var(--muted);margin-top:.35rem;font-size:.82rem}
.chips{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;margin-top:1.1rem}
.chip{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.3);
  padding:.35em .9em;border-radius:999px;font-size:.82rem;font-weight:600}
.hero .chips{margin-top:1.1rem}
@media(max-width:760px){.trust,.ba{grid-template-columns:1fr 1fr}}

/* holly hero: image on top, real H1 and intro below (Troy, TRO-318) */
.hero-photo{background:var(--navy);padding:0}
.hero-photo picture{display:block}
.hero-photo img{display:block;width:100%;height:auto}
.hero-copy{background:#fff;padding:46px 0 10px;text-align:center}
.hero-copy .container{max-width:900px}
.hero-copy h1{color:var(--navy);margin-bottom:.5em}
.hero-copy p{font-size:1.12rem;color:var(--muted);max-width:760px;margin-left:auto;margin-right:auto}
.hero-copy .eyebrow{margin-bottom:.5rem}
.hero-copy .hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:1.4rem}
.hero-copy .chips{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;margin-top:1.2rem}
.hero-copy .chip{background:var(--soft);color:var(--navy);border:1px solid var(--line)}
@media(max-width:640px){.hero-copy{padding:30px 0 6px}}

/* shimmering pool background bands (Troy, TRO-318). Round 11: the band is one of the
   four backgrounds in the section cycle, so it no longer wraps its container in a
   second white card; the copy cards carry the white surface now. Its top and bottom
   edges fade to white so it blends into the neighbouring section. */
.pool-band{position:relative;padding:30px 0;overflow:hidden;
  background:var(--bg) url("/images/pool-texture.webp") center center/140% auto no-repeat;
  animation:poolDrift 40s ease-in-out infinite alternate}
.pool-band:before{content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;
  background:radial-gradient(circle at 18% 28%, rgba(255,255,255,.90), rgba(255,255,255,0) 55%),
             radial-gradient(circle at 82% 72%, rgba(255,255,255,.75), rgba(255,255,255,0) 55%);
  animation:poolGlow 9s ease-in-out infinite alternate}
.pool-band:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,0) 20%,
             rgba(255,255,255,0) 80%,rgba(255,255,255,.94) 100%)}
.pool-band>.container{position:relative;z-index:1;background:transparent;padding:0}
@keyframes poolDrift{from{background-position:0% 50%}to{background-position:100% 50%}}
@keyframes poolGlow{from{opacity:.55}to{opacity:1}}
@media(prefers-reduced-motion: reduce){.pool-band,.pool-band:before{animation:none}}

/* Round 11 (Troy, TRO-318): copy reads as separated rounded bubbles, one idea per
   card, with spacing between them, on a background that changes from section to
   section and fades into the next one instead of ending on a hard line. */
.copy-sec{padding:28px 0}
.copy-card{background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:0 10px 30px rgba(19,36,78,.09);padding:32px 38px;max-width:900px;margin:0 auto}
.copy-card>*:first-child{margin-top:0}
.copy-card>*:last-child{margin-bottom:0}
.copy-card ul{padding-left:1.15em}
.copy-card+.copy-card{margin-top:24px}
.tint-aqua{background:linear-gradient(180deg,#fff 0%,#eaf8fc 14%,#eaf8fc 86%,#fff 100%)}
.tint-blue{background:linear-gradient(180deg,#fff 0%,#e9f2fd 14%,#e9f2fd 86%,#fff 100%)}
.tint-navy{background:linear-gradient(180deg,#fff 0%,#eef1f9 14%,#eef1f9 86%,#fff 100%)}
.tint-aqua,.tint-blue,.tint-navy{padding:28px 0}
@media(max-width:640px){.copy-card{padding:22px 20px;border-radius:14px}
  .copy-sec,.tint-aqua,.tint-blue,.tint-navy{padding:20px 0}}

/* sample report covers (Troy round 11, TRO-318): clickable page-one renders instead
   of PDF text links. */
.report-covers{display:flex;gap:26px;flex-wrap:wrap;margin-top:1.4rem}
.report-cover{display:block;width:240px;text-align:center;font-weight:700;color:var(--navy)}
.report-cover img{width:100%;height:auto;border-radius:8px;margin-bottom:.6rem;
  box-shadow:0 10px 24px rgba(19,36,78,.22);transition:transform .15s ease}
.report-cover:hover{text-decoration:none}
.report-cover:hover img{transform:translateY(-2px)}
@media(max-width:640px){.report-cover{width:min(240px,46%)}.report-covers{gap:18px}}

/* homepage hero (Troy round 9, updated round 10): the background image carries a
   floating welcome burst and a light headline card. At 768 px and up the burst and
   the card float over the image; under 768 px the burst overlays the image and the
   card content sits on white below, nothing overlapping. */
.hero9{position:relative;background:var(--navy);padding:0}
.hero9-media{display:block}
.hero9-media img{display:block;width:100%;height:auto}
/* The phone hero uses a taller crop (824x776) than the desktop image, so without this
   the reserved box takes the desktop aspect from the img width/height and the card and
   video below jump down when the phone image paints (the CLS 0.262 seen on a cold run).
   Matching the reserved aspect to the phone image removes the jump. */
@media(max-width:767px){.hero9-media img{aspect-ratio:824/776}}
/* Round 16 (TRO-318, item 1): the welcome burst image is gone. Holly's greeting is
   an editable HTML/CSS speech bubble with a tail pointing at her. On desktop it
   floats top-left near Holly; on phones it sits over the image top-right, then the
   video and the card content on white below. */
/* Dec 1 (TRO-318, Troy's Dec 1 review): "Welcome to HCJ!" is now artwork in the same
   lettering as the HCJ Holly video title cards (heavy rounded italic letters, yellow to
   orange fill, black outline, white outer outline, orange starburst with stars).
   Source art: images/welcome-hcj-burst-src.png. */
.hero9-bubble{position:absolute;right:2%;top:3%;z-index:2;width:clamp(200px,58vw,300px);max-width:none;
  filter:drop-shadow(0 10px 16px rgba(9,20,48,.35))}
.hero9-bubble img{display:block;width:100%;height:auto}
/* Round 16 (TRO-318, item 2): the "HCJ Holly Talks Pools" video now lives in the
   hero, on the right opposite Holly. In flow on phones, absolutely placed on
   desktop so it stays clear of the info box. */
.hero9-video{position:relative;z-index:2;width:min(62%,240px);margin:1rem auto 0}
.hero9-video .video-load img{height:auto;aspect-ratio:800/1434;object-fit:contain;border:4px solid #fff;border-radius:18px;
  box-shadow:0 18px 40px rgba(9,20,48,.42)}
.hero9-card{background:#fff;padding:20px 0 10px;text-align:center;min-height:374px}
.hero9-card-inner{max-width:900px;margin:0 auto;padding:0 22px}
.hero9-card .eyebrow{margin-bottom:.5rem}
.hero9-card h1{color:var(--navy);margin-bottom:.5em}
.hero9-card p{font-size:1.12rem;color:var(--muted);max-width:760px;margin-left:auto;margin-right:auto}
.hero9-card .hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:1.4rem}
.hero9-card .chips{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;margin-top:1.2rem}
.hero9-card .chip{background:var(--soft);color:var(--navy);border:1px solid var(--line)}
/* Tablet and up (round 12, TRO-318): the burst and the card are about 25 percent
   larger than round 11, and the card is as wide as the content container of the
   section directly below the hero, centred so its left and right edges line up with
   that container. object-position keeps Holly (left third of the photo) in frame and
   takes any crop off the right. */
@media(min-width:768px){
  .hero9{width:100%;aspect-ratio:4/3;max-height:min(calc(100vh + 56px),1100px);overflow:hidden}
  .hero9-media{position:absolute;inset:0}
  .hero9-media img{width:100%;height:100%;object-fit:cover;object-position:left center}
  .hero9-bubble{left:54%;right:auto;top:3%;transform:translateX(-50%);width:clamp(280px,40vw,440px)}
  .hero9-video{position:absolute;right:3.5%;top:5%;width:clamp(140px,16vw,290px);margin:0}
  .hero9-card{position:absolute;left:50%;right:auto;transform:translateX(-50%);bottom:3%;min-height:320px;
    width:min(calc(100% - 44px),1136px);background:transparent;padding:0}
  .hero9-card-inner{max-width:none;margin:0;padding:30px 34px 26px;text-align:center;
    background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
    border-radius:22px;box-shadow:0 14px 36px rgba(19,36,78,.28)}
  .hero9-card h1{font-size:clamp(26px,3vw,38px);line-height:1.15}
  .hero9-card p{font-size:1.06rem}
  .hero9-card .chip{background:rgba(255,255,255,.94);color:var(--navy);border:1px solid var(--line)}
}
/* Narrow tablet (768 to 1023 px): the info box is tall here, so keep the hero video
   small and a little higher so it never runs into it (round 16, TRO-318). */
@media(min-width:768px) and (max-width:1023px){
  .hero9-video{top:4%;width:clamp(110px,13vw,190px)}
}
@media(min-width:1200px){
  .hero9{aspect-ratio:3/2}
  .hero9-bubble{left:55%;top:2%;width:clamp(440px,44vw,680px)}
  .hero9-card{min-height:354px}
  .svc-hero-info{min-height:422px}
  .hero9-card-inner{padding:38px 42px 32px}
  .hero9-card h1{font-size:clamp(30px,2.9vw,46px)}
  .hero9-card p{font-size:1.12rem}
}
/* Wide, short desktop viewports only (about 860px tall or less AND 1400px wide or
   more, for example a 1920x800 window): shrink the hero video so it still sits
   clear above the info box. Round 16 (TRO-318): the burst this used to trim is
   gone; the trim now applies to the hero video. */
@media(min-width:1400px) and (max-height:860px){
  .hero9-video{width:min(14vw,260px)}
}

/* homepage service cards: vertical 9:16 Holly thumbnail on top (Troy round 8) */
.svc-card{padding:0;overflow:hidden}
.svc-thumb{display:flex;justify-content:center;background:var(--soft)}
.svc-thumb>*{width:100%;max-width:340px}
.svc-thumb img{width:100%;height:auto;display:block}
.svc-thumb .video{max-width:100%;margin:0}
.svc-thumb .video-load img{border-radius:0;box-shadow:none}
.svc-thumb-link{display:block}
.svc-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.svc-body h3{margin-top:0}
.svc-body a.more{margin-top:auto}
@media(max-width:980px){.grid.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid.g4{grid-template-columns:1fr}.svc-thumb>*{max-width:300px}}

/* homepage free-guide section (Claude round 10, TRO-318): cap the cover so it does
   not tower over the form card; .split already centers both columns vertically. */
.guide-cover{max-width:320px;width:100%;height:auto;margin:0 auto}

/* compact homepage service tiles (round 12, TRO-318): small square tiles with the
   Holly art cropped to the top, the title and one line. 4 by 2 on desktop, 2 columns
   on phone. The tall 9:16 thumbnails with full text stay on /services only. */
.svc-tiles{display:grid;gap:18px;grid-template-columns:repeat(4,1fr)}
.svc-tile{padding:0;overflow:hidden;text-decoration:none;color:inherit}
.svc-tile .tile-thumb{display:block;aspect-ratio:1/1;overflow:hidden;background:var(--soft)}
.svc-tile .tile-thumb img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.svc-tile .tile-body{display:block;padding:14px 16px 18px}
.svc-tile h3{margin:0 0 .35rem;font-size:1.02rem}
.svc-tile p{margin:0;font-size:.92rem;color:var(--muted)}
.svc-tile:hover{text-decoration:none;transform:translateY(-2px);box-shadow:var(--shadow)}
@media(max-width:980px){.svc-tiles{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.svc-tiles{grid-template-columns:repeat(2,1fr)}}
/* round 19 item 2 (TRO-333): a tile whose service page has a Holly video shows a
   play control that opens the same lazy embed; the art stays cropped to the top. */
.svc-tile .tile-thumb .video{max-width:100%;margin:0}
.svc-tile .tile-thumb .video-load img{border-radius:0;box-shadow:none}
.svc-tile .tile-thumb .video-load .play{width:54px;height:54px}
.svc-tile .tile-thumb .video-load .play .tri{border-left-width:11px;border-top-width:7px;border-bottom-width:7px}

/* related / explore card row (round 12, TRO-318) */
.rel-card{text-decoration:none;color:inherit}
.rel-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:var(--shadow)}
.rel-card h3{color:var(--navy)}
.rel-card .more{margin-top:auto;font-weight:700;color:var(--blue-d)}

/* Round 15 (TRO-318): new service page header. Troy approved the design Nov 26:
   one background pool scene on every service page, the service's Holly video card
   on the left (9:16 thumbnail, white border, rotated -2 degrees, a "Watch Holly
   explain" pill that opens the video in the lightbox), and a white info box on the
   right. No comic burst and no page title over the background. */
.svc-hero{position:relative;overflow:hidden;background:var(--navy);
  background-image:image-set(url("/images/service-hero-bg.avif") type("image/avif"),url("/images/service-hero-bg.webp") type("image/webp"));
  background-position:center 70%;background-size:cover;background-repeat:no-repeat}
.svc-hero>.container{display:flex;align-items:center;gap:48px;
  min-height:640px;padding-top:44px;padding-bottom:44px}
.svc-hero-video{flex:0 0 300px;max-width:300px}
.svc-hero-card{position:relative;transform:rotate(-2deg);border:5px solid #fff;border-radius:22px;
  overflow:hidden;background:#fff;max-width:none;margin:0;box-shadow:0 26px 60px rgba(9,20,48,.45)}
.svc-hero-card img{display:block;width:100%;height:auto;aspect-ratio:800/1422;object-fit:cover}
.svc-hero-card .video-load{border-radius:0}
.svc-hero-card .video-load img{border-radius:0;box-shadow:none}
.svc-hero .pill{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:.5em;
  background:#fff;color:var(--navy);font-weight:700;font-size:.85rem;padding:.5em .85em;border-radius:999px;
  box-shadow:0 6px 18px rgba(19,36,78,.3)}
.svc-hero .pill .tri{width:0;height:0;border-left:10px solid var(--navy);border-top:6px solid transparent;
  border-bottom:6px solid transparent}
.svc-hero-info{flex:1 1 600px;max-width:600px;background:rgba(255,255,255,.95);border-radius:24px;
  padding:34px 34px 30px;box-shadow:0 18px 44px rgba(9,20,48,.28);min-height:368px}
.svc-hero-info .eyebrow{margin-bottom:.6rem}
.svc-hero-info h1{font-size:clamp(28px,2.6vw,36px);color:var(--navy);margin-bottom:.5em}
.svc-hero-info p{font-size:1.08rem;color:var(--muted);margin-bottom:0}
.svc-hero-info .hero-cta{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.5rem;justify-content:flex-start}
.svc-hero-info .chips{margin-top:1.2rem;justify-content:flex-start}
.svc-hero-info .chip{background:var(--soft);color:var(--navy);border:1px solid var(--line)}
@media(max-width:1279px){
  .svc-hero>.container{gap:34px;min-height:0;padding-top:40px;padding-bottom:40px}
  .svc-hero-video{flex:0 0 240px;max-width:240px}
}
@media(max-width:767px){
  .svc-hero>.container{flex-direction:column;align-items:stretch;gap:22px;padding-top:34px;padding-bottom:0}
  .svc-hero-video{flex:0 0 auto;width:200px;max-width:200px;height:354px;align-self:center}
  .svc-hero-card{width:100%;height:100%}
  .svc-hero-card img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
  .svc-hero-info{max-width:none;background:#fff;border-radius:0;box-shadow:none;padding:28px 22px 8px;min-height:600px}
}

/* Dec 1 (TRO-318, Troy): show the free pool safety guide on its page: cover plus
   three inside pages, beside the download form on desktop. */
.guide-preview{display:grid;gap:28px;align-items:center;margin:0 auto 34px;max-width:1000px}
.guide-preview .cover img{width:100%;max-width:340px;margin:0 auto;border-radius:6px;box-shadow:0 18px 40px rgba(19,36,78,.28)}
.guide-preview .pages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.guide-preview .pages img{width:100%;border-radius:4px;box-shadow:0 8px 20px rgba(19,36,78,.18);border:1px solid var(--line)}
.guide-preview ul{margin:.6rem 0 0;padding-left:1.2rem}
@media(min-width:900px){.guide-preview{grid-template-columns:340px 1fr;gap:44px}}

/* Dec 1 (TRO-318): Partners joined the menu, so between 1024 and 1199 px the header
   phone number wrapped onto three lines. Keep it on one line, and hide it in that
   range (the top bar already shows "Call or text 757-271-8822"). */
.header-phone{white-space:nowrap}
@media(max-width:1199px){.header-phone{display:none}}

/* Dec 1 (TRO-318, Troy): the homepage closing band ("Let's get your pool ready" plus a
   holiday lights line) is replaced by a referral program band. */
.ref-band{background:var(--navy);color:#fff;text-align:center}
.ref-band .eyebrow{color:#7fd3ff}
.ref-band h2{color:#fff;margin-bottom:.3em}
.ref-band .ref-lead{color:#dbe6f5;max-width:640px;margin:0 auto 1.6rem}
.ref-cards{display:grid;gap:18px;max-width:820px;margin:0 auto 1.6rem}
@media(min-width:700px){.ref-cards{grid-template-columns:1fr 1fr}}
.ref-card{background:#fff;color:var(--ink);border-radius:18px;padding:24px 22px;text-align:left;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.ref-card h3{color:var(--navy);margin:.3rem 0 .4rem}
.ref-card p{margin:0;color:var(--muted)}
.ref-amt{display:inline-block;background:#FFD43B;color:var(--navy);font-weight:800;border-radius:999px;padding:4px 14px;font-size:1.1rem}
.ref-band .hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}

/* Dec 1 (TRO-318, Troy): partner business logos on /our-partners. */
.partner-logo{display:block;width:180px;margin:0 0 1rem}
.partner-logo img{width:100%;height:auto}
