:root{
  --navy:#0b1f3b;
  --navy-2:#102a4a;
  --ink:#0e1116;
  --muted:#5b6776;
  --line:#e6e9ef;
  --bg:#ffffff;
  --bg-soft:#f7f8fb;
  --card:#ffffff;
  --shadow:0 12px 30px rgba(15,23,42,.08);
  --radius:18px;
  --radius-sm:12px;
  --wrap:1180px;

  /* Coral-blue brand */
  --brand:#2A9BB8;
  --brand-dark:#1F6F86;

  /* CTA */
  --cta: var(--brand);
  --cta-hover: var(--brand-dark);

  /* Reviews collapsed preview lines */
  --review-lines: 10;
}

/* Responsive collapsed preview line counts */
@media (max-width: 980px){
  :root{ --review-lines: 8; }
}
@media (max-width: 620px){
  :root{ --review-lines: 6; }
}

/* Ensure HTML hidden attribute always wins */
[hidden]{ display:none !important; }

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ color:inherit; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 20px; }

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  z-index:9999;
}

/* -------------------------------------------------------
   Header
------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(170%) blur(10px);
  border-bottom:1px solid rgba(230,233,239,.75);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding:12px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  min-width:0;
}
.brand-name{
  display:block;
  font-weight:900;
  letter-spacing:-0.4px;
  line-height:1;
  white-space:nowrap;
  padding: 20px;
}
.brand-name--big{
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--brand); /* fallback */
}

/* Slow shimmer / shine sweep (only when class is applied) */
@supports (-webkit-background-clip:text) or (background-clip:text){
  .brand-shine{
    background-image: linear-gradient(
      110deg,
      var(--brand) 0%,
      var(--brand) 35%,
      rgba(255,255,255,.92) 50%,
      var(--brand) 65%,
      var(--brand) 100%
    );
    background-size: 260% 100%;
    background-position: 0% 50%;
    -webkit-background-clip:text;
    background-clip:text;
    color: transparent;
    animation: vdh-shine 9s ease-in-out infinite;
  }

  @keyframes vdh-shine{
    0%   { background-position: 0% 50%; }
    45%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
}

@media (prefers-reduced-motion: reduce){
  .brand-shine{ animation:none !important; color:var(--brand); background:none; }
}

@media (max-width:420px){
  .brand-name{ white-space:normal; line-height:1.05; }
}

/* Desktop nav */
.nav-desktop{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-desktop .nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}
.nav-desktop .nav-link:hover{
  background:var(--bg-soft);
  color:var(--ink);
}
.nav-desktop .nav-link.is-active{
  background:rgba(11,31,59,.08);
  color:var(--navy);
}
.nav-cta-btn{ margin-left:10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid transparent;
  background:var(--cta);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 10px 20px rgba(42,155,184,.18);
  cursor:pointer;
  white-space:nowrap;
}
.btn:hover{ background:var(--cta-hover); }
.btn-ghost{
  background:#fff;
  color:var(--navy);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn-ghost:hover{ background:var(--bg-soft); }
.btn-block{ width:100%; }

/* Mobile toggle */
.nav-toggle{
  margin-left:auto;
  display:none;
  background:#fff;
  border:1px solid var(--line);
  width:46px; height:46px;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.burger{
  width:18px; height:2px;
  background:var(--ink);
  position:relative;
  display:block;
  border-radius:2px;
}
.burger:before,
.burger:after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:var(--ink);
  border-radius:2px;
}
.burger:before{ top:-6px; }
.burger:after{ top:6px; }

/* -------------------------------------------------------
   Base layout
------------------------------------------------------- */
main{ padding:26px 0 56px; }

.grid{ display:grid; gap:22px; }
.two-col{ grid-template-columns: 1.15fr .85fr; }
@media (max-width: 980px){
  .two-col{ grid-template-columns:1fr; }
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card.pad{ padding:18px; }
.soft{ background:var(--bg-soft); }
.muted{ color:var(--muted); }
.small{ font-size:12px; }

h1,h2,h3{ line-height:1.15; margin:0 0 10px; }
h1{ font-size:44px; letter-spacing:-.5px; }
@media (max-width: 520px){ h1{ font-size:34px; } }
h2{ font-size:28px; }
p{ margin:0 0 14px; }

/* Hero */
.hero{ padding:36px 0 18px; }
.hero-lede{ font-size:18px; color:var(--muted); max-width:58ch; }
.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 0; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:#fff;
  height:38px;
  padding:0 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

/* Hero media */
.hero-media{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#dfe6f3;
  min-height:340px;
  position:relative;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-media .hero-caption{
  position:absolute;
  left:14px;
  bottom:14px;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border:1px solid rgba(230,233,239,.7);
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  color:var(--muted);
}

/* Forms */
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
label{ font-weight:800; font-size:13px; }
input, select, textarea{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font:inherit;
  background:#fff;
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(11,31,59,.35);
  box-shadow:0 0 0 4px rgba(11,31,59,.08);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width: 560px){ .form-row{ grid-template-columns:1fr; } }
.form-note{ font-size:12px; color:var(--muted); margin-top:8px; }

/* Sections */
.section{ padding:34px 0; }
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-title .muted{ margin:0; }

.tiles{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
@media (max-width: 980px){ .tiles{ grid-template-columns:1fr; } }
.tile{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
}
.tile h3{ margin:0 0 6px; font-size:16px; }
.tile p{ margin:0; color:var(--muted); font-size:14px; }

/* Neighbourhood cards */
.hood-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; } /* was originally 4 across */
@media (max-width: 980px){ .hood-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .hood-grid{ grid-template-columns: 1fr; } }

.hood{
  display:block;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  text-decoration:none;
}
.hood .thumb{ aspect-ratio: 4/3; background:#e8edf7; }
.hood .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hood .meta{ padding:12px 12px 14px; }
.hood .name{ font-weight:900; }
.hood .sub{ font-size:13px; color:var(--muted); margin-top:4px; }

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.site-footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:34px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:18px;
}
@media (max-width: 980px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-title{ font-weight:900; margin-bottom:10px; }
.footer-brand{ font-weight:900; letter-spacing:.2px; }
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.footer-links a{ color:var(--muted); text-decoration:none; }
.footer-links a:hover{ color:var(--ink); }
.footer-bottom{
  padding-top:14px;
  margin-top:12px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* -------------------------------------------------------
   Slide-out mobile menu (right) + staggered items
------------------------------------------------------- */
.menu-overlay{
  position:fixed;
  inset:0;
  z-index:2000;
  background:rgba(0,0,0,.45);
  opacity:0;
  transition:opacity .22s ease;
}
.menu-panel{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(380px, 92vw);
  z-index:2001;
  background:#fff;
  border-left:1px solid var(--line);
  box-shadow:var(--shadow);
  transform:translateX(18px);
  opacity:0;
  transition:transform .28s ease, opacity .28s ease;
  display:flex;
  flex-direction:column;
}
.menu-panel-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
}
.menu-title{ font-weight:900; letter-spacing:.2px;}
.menu-close{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.nav-mobile{ padding:14px 18px; overflow:auto; }
.nav-list--mobile{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.nav-cta--mobile{ margin-top:14px; }

/* menu items animate in */
.menu-panel .nav-item{
  opacity:0;
  transform:translateY(-10px);
  transition:opacity 0.99s ease, transform 0.99s ease;
}

/* open state */
body.nav-open{ overflow:hidden; }
body.nav-open .menu-overlay{ opacity:1; }
body.nav-open .menu-panel{ transform:translateX(0); opacity:1; }
body.nav-open .menu-panel .nav-item{ opacity:1; transform:translateY(0); }

/* stagger delays */
body.nav-open .menu-panel .nav-item:nth-child(1){ transition-delay:.03s; }
body.nav-open .menu-panel .nav-item:nth-child(2){ transition-delay:.06s; }
body.nav-open .menu-panel .nav-item:nth-child(3){ transition-delay:.09s; }
body.nav-open .menu-panel .nav-item:nth-child(4){ transition-delay:.12s; }
body.nav-open .menu-panel .nav-item:nth-child(5){ transition-delay:.15s; }
body.nav-open .menu-panel .nav-item:nth-child(6){ transition-delay:.18s; }
body.nav-open .menu-panel .nav-item:nth-child(7){ transition-delay:.21s; }
body.nav-open .menu-panel .nav-item:nth-child(8){ transition-delay:.24s; }
body.nav-open .menu-panel .nav-item:nth-child(9){ transition-delay:.27s; }  /* added to see if mobile menu scrolls */
body.nav-open .menu-panel .nav-item:nth-child(10){ transition-delay:.30s; }  /* added to see if mobile menu scrolls */

/* mobile links */
.nav-list--mobile .nav-link{
  display:block;
  padding:14px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  color:var(--ink);
  font-weight:800;
  text-decoration:none;
  background:#fff;
}
.nav-list--mobile .nav-link:hover{ background:var(--bg-soft); }
.nav-list--mobile .nav-link.is-active{
  border-color: rgba(42,155,184,.45);
  background: rgba(42,155,184,.10);
}

/* desktop vs mobile */
@media (max-width: 1090px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:inline-flex; }
}
@media (min-width: 1091px){
  .nav-toggle{ display:none; }
}

/* -------------------------------------------------------
   About page
------------------------------------------------------- */
.about-hero{
  position:relative;
  max-height:520px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.about-hero img{
  width:100%;
  height:520px;
  object-fit:cover;
  display:block;
}
.about-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 100%);
}
.about-hero-overlay h1{
  color:#fff;
  margin:0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
}

.about-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:18px;
  align-items:start;
}
@media (max-width:980px){
  .about-grid{ grid-template-columns: 1fr; }
}
.about-aside{
  position:sticky;
  top:88px;
}
@media (max-width:980px){
  .about-aside{ position:static; }
}
.about-figure{
  margin:18px 0;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
}
.about-figure img{
  width:100%;
  height:auto;
  display:block;
}
.about-figure figcaption{
  padding:10px 12px;
  font-size:13px;
  color:var(--muted);
  background: var(--bg-soft);
  border-top:1px solid var(--line);
}
.about-cta{ display:grid; gap:10px; margin-top:12px; }

/* -------------------------------------------------------
   Reviews + collapsible
------------------------------------------------------- */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width:980px){
  .reviews-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:620px){
  .reviews-grid{ grid-template-columns: 1fr; }
}

.review-card{
  margin:0;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-stars{ display:block; margin-bottom:10px; }
.review-card blockquote{
  margin:0;
  line-height:1.6;
  color: var(--ink);
}
.review-card figcaption{
  margin-top:12px;
  font-weight:800;
  color: var(--muted);
  font-size:13px;
}

/* Collapsible reviews (animated) */
.review-quote{ margin:0; }

/* review text uses gap spacing (no p margins) */
.review-text{
  display:grid;
  gap:10px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
  transition: height .28s ease;
}
.review-text p{ margin:0; }

/* fallback clamp if JS doesn’t run */
/* Only clamp when JS is NOT running (prevents snapping during animated collapse) */
html:not(.js) .review-text.is-collapsed{
  max-height: calc(1.6em * var(--review-lines));
}

.review-text.is-collapsed::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:3.2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events:none;
}
@media (max-width: 620px){
  .review-text.is-collapsed::after{ height:4.0em; }
}

/* Toggle button (only show when JS removes [hidden]) */
.review-toggle{
  margin-top:10px;
  border:1px solid var(--line);
  background:#fff;
  color: var(--brand);
  font-weight:800;
  height:40px;
  padding:0 14px;
  border-radius:14px;
  cursor:pointer;
}
.review-toggle:hover{ background: var(--bg-soft); }
.review-toggle{ display:none; }
.review-toggle:not([hidden]){ display:inline-flex; align-items:center; gap:8px; }

/* FAQ accordion */
.faq{ display:grid; gap:10px; margin-top:10px; }
.faq-item{
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  background:#fff;
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:14px 14px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+";
  font-weight:900;
  color:var(--brand);
}
.faq-item[open] summary::after{ content:"–"; }
.faq-body{
  padding:0 14px 14px;
  color:var(--muted);
}
.faq-body p{ margin:0; }

/* Birthday Freebies page */
.prose p{ margin:0 0 12px; }
.prose a{ color: var(--brand); }
.prose a:hover{ text-decoration: underline; }

.figure-center{
  margin: 16px auto;
  text-align:center;
}
.figure-center img{
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.figure-center figcaption{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.freebie-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.freebie-toolbar__right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-end;
}
.freebie-toolbar .field label{ font-size:12px; }

@media (max-width: 860px){
  .freebie-toolbar{ flex-direction:column; align-items:stretch; }
  .freebie-toolbar__right{ width:100%; }
  .freebie-toolbar__right .field{ flex: 1 1 220px; }
}

.freebie-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 980px){
  .freebie-grid{ grid-template-columns: 1fr; }
}

.freebie-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.freebie-head{
  display:flex;
  gap:12px;
  align-items:center;
}
.freebie-logo{
  width:92px;
  height:92px;
  object-fit:contain;
  border-radius: 16px;
  border:1px solid var(--line);
  background:#fff;
  flex:0 0 auto;
}

/* Slightly bigger on desktop, a bit smaller on phones */
@media (min-width: 981px){
  .freebie-logo{ width:104px; height:104px; }
}
@media (max-width: 520px){
  .freebie-logo{ width:84px; height:84px; }
}

.freebie-title h3{
  margin:0;
  font-size:18px;
  line-height:1.1;
}
.freebie-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Fun "Last updated" SEO card */
.update-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(42,155,184,.35);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(42,155,184,.18), transparent 55%),
    radial-gradient(700px 220px at 90% 20%, rgba(11,31,59,.10), transparent 60%),
    #fff;
}

.update-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg, rgba(42,155,184,.0), rgba(42,155,184,.22), rgba(42,155,184,.0));
  transform: translateX(-60%);
  animation: vdh-update-shine 7.5s ease-in-out infinite;
  pointer-events:none;
}

@keyframes vdh-update-shine{
  0%   { transform: translateX(-60%); opacity:.25; }
  45%  { transform: translateX(60%);  opacity:.18; }
  100% { transform: translateX(-60%); opacity:.25; }
}

@media (prefers-reduced-motion: reduce){
  .update-card::before{ animation:none; }
}

.update-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.update-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(42,155,184,.35);
  background: rgba(42,155,184,.10);
  font-weight:900;
  color: var(--navy);
}

.update-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(42,155,184,.18);
  animation: vdh-pulse 1.8s ease-in-out infinite;
}
@keyframes vdh-pulse{
  0%,100%{ transform:scale(1);   opacity:1; }
  50%    { transform:scale(1.15); opacity:.85; }
}
@media (prefers-reduced-motion: reduce){
  .update-dot{ animation:none; }
}

.update-meta{
  text-align:right;
  font-weight:900;
  line-height:1.15;
}
.update-meta time{
  display:inline-block;
  margin-top:2px;
  font-size:14px;
  color: var(--ink);
}

.update-card__body{
  display:grid;
  gap:10px;
}

.update-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}

/* Commission calculator */
.calc-results{
  display:grid;
  gap:10px;
  margin-top:8px;
}
.calc-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.calc-row--big{
  border-color: rgba(42,155,184,.45);
  background: rgba(42,155,184,.06);
}
.calc-label{
  font-weight:900;
  color: var(--navy);
}
.calc-value{
  font-weight:900;
  white-space:nowrap;
}
.calc-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* FAQ styling */
.faq-item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
  margin-top:10px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  color: var(--navy);
}
.faq-item p{ margin:10px 0 0; }

/* Referral Rewards steps */
.steps-grid{
  display:grid;
  gap:12px;
  margin-top:14px;
}
.step{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap:12px;
  align-items:start;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.step-icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(42,155,184,.18);
}
.step-title{
  font-weight:900;
  color: var(--navy);
}

/* Home Value stepper */
.stepper{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:2px;
  margin-bottom:10px;
}
.stepper-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-weight:900;
  font-size:12px;
}
.stepper-pill.is-active{
  background: rgba(42,155,184,.10);
  border-color: rgba(42,155,184,.35);
  color: var(--navy);
}

.details-soft{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  background:#fff;
  padding:10px 12px;
}
.details-soft > summary{
  cursor:pointer;
  font-weight:900;
  color: var(--navy);
}
.details-soft[open]{
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
}

/* ========= Dashboard bar ========= */
.dashbar{ padding:14px 0; border-bottom:1px solid rgba(230,233,239,.75); background:rgba(255,255,255,.6); }
.dashbar-inner{ display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; align-items:stretch; }
@media (max-width: 980px){ .dashbar-inner{ grid-template-columns:1fr; } }

.dash-kicker{ font-weight:900; letter-spacing:.2px; color:var(--muted); font-size:12px; text-transform:uppercase; }
.dash-title{ font-weight:950; letter-spacing:-.4px; font-size: clamp(18px, 2.2vw, 26px); }
/* .dash-sub{ font-size:15px; } */

/* Dashbar: make date/time larger */
.dashbar .dash-sub{
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.dashbar .dash-sub span{
  font-variant-numeric: tabular-nums; /* nicer aligned digits */
}

.dashbar-right{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
@media (max-width: 640px){ .dashbar-right{ grid-template-columns:1fr; } }

.dash-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:14px;
}
.dash-card-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dash-label{ font-weight:900; color:var(--navy); font-size:13px; }

.dash-pill{
  display:inline-flex; align-items:center; justify-content:center;
  height:28px; padding:0 10px; border-radius:999px;
  border:1px solid var(--line);
  background: var(--bg-soft);
  font-weight:800; font-size:12px; color:var(--muted);
}

.dash-metric{ display:flex; align-items:baseline; gap:6px; margin-top:10px; }
.dash-metric-value{ font-size:34px; font-weight:950; letter-spacing:-.6px; color:var(--ink); }
.dash-metric-unit{ font-weight:900; color:var(--muted); }
.dash-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.dash-meta{ margin-top:8px; font-size:12px; }

/* ========= Testimonials spotlight slider ========= */
.t-spotlight{
  position:relative;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
}
.t-slide{
  opacity:0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  position:absolute;
  inset:18px;
}
.t-slide.is-active{
  opacity:1;
  transform: translateY(0);
  position:relative;
  inset:auto;
}
.t-stars{ display:block; margin-bottom:10px; }
.t-quote{ margin:0; font-size:16px; line-height:1.65; color:var(--ink); }
.t-who{ margin-top:12px; font-weight:900; color:var(--muted); font-size:13px; }

.t-controls{ display:flex; gap:10px; justify-content:flex-end; margin-top:14px; }
.t-btn{ height:40px; padding:0 12px; border-radius:14px; }

.t-dots{ display:flex; gap:8px; margin-top:10px; }
.t-dots button{
  width:10px; height:10px; border-radius:999px;
  border:1px solid var(--line);
  background: var(--bg-soft);
  cursor:pointer;
  padding:0;
}
.t-dots button.is-active{
  background: rgba(42,155,184,.25);
  border-color: rgba(42,155,184,.45);
}

/* Hero image overlay */
.hero-media--overlay{ position:relative; }
.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.62) 100%);
}
.hero-overlay-inner{
  max-width: 820px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.hero-overlay-kicker{
  color: rgba(255,255,255,.86);
  font-weight: 900;
  letter-spacing: .18px;
  font-size: 12px;
  text-transform: uppercase;
}
.hero-overlay-title{
  margin: 6px 0 6px;
  color:#fff;
  font-weight: 950;
  letter-spacing: -.4px;
  line-height: 1.1;
  font-size: clamp(18px, 2.2vw, 28px);
}
.hero-overlay-sub{
  margin:0 0 12px;
  color: rgba(255,255,255,.86);
  max-width: 60ch;
}
.hero-overlay-search{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.hero-overlay-search input{
  flex:1 1 340px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.92);
}
.hero-overlay-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
@media (max-width: 520px){
  .hero-overlay{ padding:12px; }
  .hero-overlay-inner{ padding:14px; }
}

.charity-card .charity-top{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.charity-badge{
  width:56px;
  height:56px;
  border-radius:18px;
  border:1px solid var(--line);
  background: rgba(42,155,184,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  flex:0 0 auto;
}
.charity-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.don-take{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.don-take-kicker{
  font-weight:900;
  letter-spacing:.2px;
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
}
.don-take-line{
  margin:0;
  font-size:16px;
  line-height:1.6;
  font-weight:800;
  color:var(--ink);
}

/* Market Snapshot */
.ms-kpis{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 620px){
  .ms-kpis{ grid-template-columns:1fr; }
}

.ms-kpi{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  background:#fff;
}
.ms-kpi-label{
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.2px;
}
.ms-kpi-value{
  margin-top:6px;
  font-weight:950;
  font-size:22px;
  letter-spacing:-.2px;
}
.ms-kpi-deltas{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}

.ms-delta{
  display:inline-flex;
  align-items:center;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:900;
  font-size:12px;
  background:#fff;
}
.ms-delta--up{ color:#0f766e; border-color: rgba(15,118,110,.25); background: rgba(15,118,110,.08); }
.ms-delta--down{ color:#b91c1c; border-color: rgba(185,28,28,.25); background: rgba(185,28,28,.08); }
.ms-delta--flat,
.ms-delta--na{ color:var(--muted); background: var(--bg-soft); }

.ms-takeaways{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.ms-list{ margin:0; padding-left:18px; color:var(--muted); }
.ms-list li{ margin:6px 0; }

.ms-details{ margin-top:14px; }
.ms-details summary{
  cursor:pointer;
  font-weight:900;
  color: var(--brand);
}
.ms-details-body{ margin-top:10px; color:var(--muted); }

.ms-chart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.ms-select{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:10px 12px;
  font-weight:800;
  background:#fff;
}
.ms-chart-wrap{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  overflow:hidden;
}
.ms-chart{ width:100%; height:auto; display:block; }

/* Contact page: revealed email and phone styling */
[data-reveal-target] a{
  font-size: 18px;     /* tweak up or down */
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}

[data-reveal-target] a:hover{
  text-decoration: underline;
}

/* Birthday intro: fun + centered */
.birthday-intro{
  text-align: center;
}

/* Keep centered paragraphs readable */
.birthday-intro p{
  margin-left: auto;
  margin-right: auto;
}

/* Fun little headline */
.birthday-kicker{
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.2px;
  margin: 10px 0 8px;
}

.birthday-pop{
  font-weight: 900;
}

/* Two images side by side (stacks on mobile) */
.birthday-hero-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 6px auto 14px;
  /* max-width: 980px; */
}

/* Card-like figures that match your theme */
.birthday-figure{
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  position: relative;
}

/* Make images consistent and responsive */
.birthday-figure img{
  display: block;
  width: 100%;
  height: auto;          /* consistent height, originally 320 */
  object-fit: cover;      /* crop nicely */
}

/* Caption styling */
.birthday-figure figcaption{
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}

/* Fun link chips */
.birthday-links{
  display: grid;
  gap: 10px;
  margin: 14px auto 16px;
  max-width: 820px;
}

.birthday-chip{
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(42,155,184,.35);
  background: rgba(42,155,184,.08);
  text-decoration: none;
  font-weight: 900;
  color: var(--ink);
}

.birthday-chip:hover{
  background: rgba(42,155,184,.14);
  border-color: rgba(42,155,184,.55);
}

/* Notes box (fun + clear) */
.birthday-notes{
  margin: 14px auto 0;
  padding: 14px;
  max-width: 820px;
  border-radius: var(--radius);
  border: 1px solid rgba(42,155,184,.35);
  background: rgba(42,155,184,.08);
}

.birthday-notes p{
  margin: 0 0 10px;
}
.birthday-notes p:last-child{
  margin: 0;
}

/* Mobile: stack images and reduce height */
@media (max-width: 760px){
  .birthday-hero-grid{
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .birthday-figure img{
    height: auto;
  }
}

/* Neighbourhood image title overlay + hover/click pop */
.hood .thumb{
  position: relative;
  overflow: hidden; /* keeps zoom inside rounded corners */
}

.hood .thumb img{
  transform: scale(1);
  transition: transform .28s ease;
  will-change: transform;
}

/* Title overlay for readability */
.hood-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none; /* keeps the whole card clickable */
}

.hood-title{
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.1;
  text-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Card pop on hover (desktop) and on keyboard focus */
.hood{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

@media (hover: hover){
  .hood:hover .thumb img{ transform: scale(1.06); }
  .hood:hover{ transform: translateY(-2px); }
}

.hood:active .thumb img{ transform: scale(1.03); }

.hood:focus-visible{
  outline: none;
  border-color: rgba(42,155,184,.55);
  box-shadow: 0 0 0 4px rgba(42,155,184,.18), var(--shadow);
}


/* =========================================================
   HOME HERO OVERLAY (TEXT + BUTTONS) and BETTER MOBILE CROP
   ========================================================= */

.hero-media--home{
  position: relative;
  overflow: hidden;

  /* shorter and more modern, fixes "too tall" feeling */
  height: clamp(340px, 72vh, 620px);
}

.hero-media--home img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* crops to fill, removes letterbox feel */
  object-position: center;    /* adjust if needed: center 35% */
  display: block;
}

/* overlay layer */
.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 10%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0.62) 100%
  );
}

.hero-overlay-inner{
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: left;
}

.hero-overlay-kicker{
  margin: 0 0 8px;
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.hero-overlay-title{
  margin: 0 0 12px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.4px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.12;
  text-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.hero-overlay-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-overlay-actions--secondary{
  margin-top: 10px;
}

/* Make overlay buttons readable on dark background */
.hero-overlay .btn.btn-ghost{
  background: rgba(255,255,255,0.92);
  border-color: transparent;
  color: var(--navy);
}
.hero-overlay .btn.btn-ghost:hover{
  background: rgba(255,255,255,1);
}

/* Mobile tuning */
@media (max-width: 620px){
  .hero-media--home{
    /* height: clamp(260px, 42vh, 380px); */
  height: clamp(340px, 72vh, 580px); /* almost same as desktop */
  }

  .hero-overlay{
    padding: 14px;
  }

  .hero-overlay-inner{
    text-align: center;
  }

  .hero-overlay-actions{
    justify-content: center;
  }
}

