
:root{
  --forest:#183b31; --forest2:#244e40; --sage:#839482; --cream:#f5f0e6;
  --paper:#fffdf8; --ink:#18221f; --muted:#66716c; --gold:#b99a52;
  --rust:#9a5f43; --line:#ddd8ce; --shadow:0 20px 55px rgba(24,59,49,.10);
  --radius:22px; --wrap:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.7}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(var(--wrap),calc(100% - 40px));margin:auto}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--gold)}
h1,h2,h3{font-family:Georgia,serif;color:var(--forest);line-height:1.08}
h1{font-size:clamp(3.5rem,7vw,7.2rem);margin:.12em 0}
h2{font-size:clamp(2.1rem,4vw,4rem);margin:0 0 18px}
h3{font-size:1.45rem;margin:0 0 10px}
p{margin:0 0 18px}
.lead{font-size:1.18rem;color:#44514c;max-width:820px}

.topbar{background:#102c24;color:#dce6df;font-size:.82rem}
.topbar .wrap{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,248,.98);border-bottom:1px solid var(--line)}
.header-row{height:86px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{font:800 1.55rem Georgia,serif;text-decoration:none;color:var(--forest)}
.brand span{color:var(--rust)}
.desktop-nav{display:flex;gap:28px;align-items:center}
.desktop-nav>a,.mega-btn{text-decoration:none;font-weight:750;font-size:.93rem;background:none;border:0;cursor:pointer;color:var(--forest);padding:30px 0}
.mega{position:relative}
.mega-btn:after{content:"";display:inline-block;margin-left:7px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;vertical-align:middle}
.mega-panel{display:none;position:absolute;left:50%;transform:translateX(-50%);top:78px;width:min(780px,90vw);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:0 0 18px 18px;padding:26px}
.mega:hover .mega-panel,.mega:focus-within .mega-panel,.mega.open .mega-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mega-panel a{display:block;text-decoration:none;padding:7px 0;color:#31453d}
.mega-panel strong{display:block;margin-bottom:5px;color:var(--forest)}
.header-cta{background:var(--forest);color:#fff!important;padding:12px 18px!important;border-radius:999px}
.mobile-toggle{display:none;border:0;background:var(--forest);color:#fff;border-radius:999px;padding:10px 15px;font-weight:800}
.mobile-nav{display:none}

.hero{position:relative;min-height:690px;display:flex;align-items:flex-end;overflow:hidden;background:#dfe8df}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,44,36,.92),rgba(17,44,36,.55) 48%,rgba(17,44,36,.08))}
.hero-content{position:relative;z-index:2;color:#fff;padding:120px 0 80px;max-width:840px}
.hero h1{color:#fff}
.hero p{font-size:1.18rem;max-width:720px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-block;text-decoration:none;font-weight:800;padding:13px 20px;border-radius:999px;background:var(--gold);color:#17342b}
.btn.alt{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.5)}

.quick-nav{background:var(--forest);color:#fff}
.quick-grid{display:grid;grid-template-columns:repeat(6,1fr)}
.quick-grid a{padding:20px 14px;text-align:center;text-decoration:none;border-right:1px solid rgba(255,255,255,.1);font-weight:800;font-size:.9rem}
.quick-grid a:hover{background:rgba(255,255,255,.07)}

.section{padding:88px 0}
.section.muted{background:var(--cream)}
.section.dark{background:var(--forest);color:#dbe4df}
.section.dark h2,.section.dark h3{color:#fff}
.heading-row{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:30px}
.heading-row p{max-width:640px;color:var(--muted)}
.section.dark .heading-row p{color:#c8d5cf}

.discovery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:260px;gap:18px}
.story-card{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);min-height:240px}
.story-card.tall{grid-row:span 2}
.story-card img{width:100%;height:100%;object-fit:cover}
.story-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(17,44,36,.82),transparent 62%)}
.story-card .copy{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;color:#fff}
.story-card h3{color:#fff;font-size:1.65rem}
.story-card a{color:#fff;text-decoration:none}

.intent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.intent-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.intent-card .icon{width:44px;height:44px;border-radius:50%;background:#e6eadf;display:grid;place-items:center;margin-bottom:17px;color:var(--forest);font-weight:900}
.intent-card a{font-weight:800;text-decoration:none;color:var(--forest)}

.editorial-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:46px;align-items:center}
.editorial-media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);min-height:440px}
.editorial-media img{height:100%;width:100%;object-fit:cover}
.fact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:24px}
.fact{padding:18px;border-top:2px solid var(--gold);background:#fff}

.itinerary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.itinerary-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.itinerary-card img{height:210px;width:100%;object-fit:cover}
.itinerary-card .body{padding:24px}
.itinerary-card a{font-weight:800;text-decoration:none;color:var(--forest)}

.resident-band{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.resident-band>div{padding:42px}
.resident-band .resident-side{background:var(--forest);color:#fff}
.resident-band .resident-side h3{color:#fff}
.link-list a{display:block;padding:10px 0;border-bottom:1px solid var(--line);text-decoration:none;font-weight:750}
.resident-side .link-list a{border-color:rgba(255,255,255,.16)}

.article-hero{padding:82px 0 54px;background:var(--cream)}
.article-hero h1{font-size:clamp(3.3rem,6vw,5.8rem)}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:54px}
.article-body h2{margin-top:50px}
.article-body h3{margin-top:30px}
.article-body p{font-size:1.04rem}
.side-nav{position:sticky;top:120px;align-self:start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.side-nav a{display:block;text-decoration:none;padding:8px 0;font-weight:700;color:#52615b}
.callout{background:#f0eadc;border-left:5px solid var(--gold);padding:24px;margin:30px 0;border-radius:0 16px 16px 0}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.resource-card{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}
.resource-card a{font-weight:800;color:var(--forest);text-decoration:none}

.footer{background:#102c24;color:#c9d5cf;padding:56px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:38px}
.footer h3{color:#fff;font-size:1rem}
.footer a{display:block;color:#dbe4df;text-decoration:none;margin:7px 0}
.footer-brand{font:800 1.5rem Georgia,serif;color:#fff!important}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;padding-top:20px;font-size:.82rem;color:#8fa39a}

@media(max-width:980px){
  .desktop-nav{display:none}.mobile-toggle{display:block}
  .mobile-nav.open{display:block;position:absolute;left:0;right:0;top:86px;background:#fff;border-top:1px solid var(--line);padding:16px 20px 24px}
  .mobile-nav a,.mobile-group button{display:block;width:100%;text-align:left;background:none;border:0;padding:10px 0;text-decoration:none;font:700 .95rem Inter;color:var(--forest)}
  .mobile-sub{display:none;padding-left:14px;border-left:2px solid #d7cfbd}.mobile-group.open .mobile-sub{display:block}
  .discovery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:240px}.story-card.tall{grid-row:span 1}
  .quick-grid{grid-template-columns:repeat(3,1fr)}
  .intent-grid,.itinerary-grid,.resource-grid{grid-template-columns:1fr 1fr}
  .editorial-grid,.resident-band,.article-layout{grid-template-columns:1fr}
  .side-nav{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .topbar{display:none}.header-row{height:74px}.mobile-nav.open{top:74px}
  .hero{min-height:590px}.hero-content{padding:100px 0 55px}
  h1{font-size:3.5rem}.section{padding:64px 0}
  .quick-grid,.intent-grid,.itinerary-grid,.resource-grid,.discovery-grid,.footer-grid{grid-template-columns:1fr}
  .quick-grid a{text-align:left;padding:14px 18px}
  .heading-row{display:block}
  .fact-list{grid-template-columns:1fr}
}

.cta-gap{margin-top:28px}.official-links{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:24px 0}.official-link{display:block;border:1px solid var(--line);border-radius:16px;padding:18px;text-decoration:none;background:#fff}.official-link strong{display:block;color:var(--forest);margin-bottom:4px}.official-link span{font-size:.9rem;color:var(--muted)}.trip-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:28px 0}.trip-strip div{background:#fff;padding:18px}.trip-strip strong{display:block;color:var(--forest)}@media(max-width:760px){.official-links,.trip-strip{grid-template-columns:1fr}}

/* ===== Phase 3 readability and contrast standard ===== */
body{color:#18221f;background:#fffdf8}
.section:not(.dark),.article-hero,.section.muted,.intent-card,.resource-card,.itinerary-card,
.resident-band>div:not(.resident-side),.fact,.side-nav,.official-link,.trip-strip div{
  color:#18221f!important;
}
.section:not(.dark) h1,.section:not(.dark) h2,.section:not(.dark) h3,
.article-hero h1,.article-hero h2,.article-hero h3,
.section.muted h1,.section.muted h2,.section.muted h3,
.intent-card h3,.resource-card h3,.itinerary-card h3,.fact strong,
.side-nav h3,.official-link strong,.trip-strip strong{
  color:#183b31!important;
  -webkit-text-fill-color:#183b31!important;
}
.section:not(.dark) p,.article-hero p,.section.muted p,.intent-card p,.resource-card p,
.itinerary-card p,.side-nav,.official-link span,.trip-strip div{
  color:#4f5c56!important;
}
.section.dark,.resident-side,.footer,.topbar{
  color:#e7eee9!important;
}
.section.dark h1,.section.dark h2,.section.dark h3,.resident-side h1,.resident-side h2,
.resident-side h3,.footer h1,.footer h2,.footer h3{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.section.dark p,.resident-side p,.footer p{
  color:#d2ddd7!important;
}
.article-body p{
  font-size:1.09rem;
  line-height:1.86;
  margin-bottom:24px;
}
.article-body h2{
  margin-top:56px;
  margin-bottom:18px;
}
.article-body h3{
  margin-top:34px;
  margin-bottom:12px;
}
.article-body .callout p{font-size:1rem}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}
.step-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.step-card .step-num{font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#9a5f43}
.step-card h3{margin-top:6px}
.step-card p{font-size:1rem}
@media(max-width:800px){.step-grid{grid-template-columns:1fr}}

/* ===== Phase 4 editorial modules ===== */
.area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.area-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px}
.area-card h3{color:#183b31!important}.area-card p{color:#4f5c56!important}
.season-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.season-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.season-card h3{font-size:1.2rem}.season-card p{font-size:1rem!important}
.answer-block{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;margin:24px 0}
.answer-block h3{margin-top:0;color:#183b31!important}
.answer-block p{color:#4f5c56!important}
.dark .area-card,.dark .season-card,.dark .answer-block{background:#fff;color:#18221f}
.dark .area-card h3,.dark .season-card h3,.dark .answer-block h3{color:#183b31!important;-webkit-text-fill-color:#183b31!important}
.dark .area-card p,.dark .season-card p,.dark .answer-block p{color:#4f5c56!important}
@media(max-width:900px){.area-grid{grid-template-columns:1fr 1fr}.season-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.area-grid,.season-grid{grid-template-columns:1fr}}

/* ===== Phase 5 hub and guide modules ===== */
.feature-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}
.feature-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow)}
.feature-card.large{grid-row:span 2}
.feature-card h3{color:#183b31!important}.feature-card p{color:#4f5c56!important}.feature-card a{font-weight:800;text-decoration:none;color:#183b31}
.guide-index{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.guide-index a{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;text-decoration:none;font-weight:800;color:#183b31}
.guide-index small{display:block;font-weight:500;color:#68756f;margin-top:5px}
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.timeline article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.timeline h3{color:#183b31!important}.timeline p{color:#4f5c56!important;font-size:1rem!important}
@media(max-width:900px){.feature-grid{grid-template-columns:1fr 1fr}.feature-card.large{grid-row:auto}.guide-index,.timeline{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.feature-grid,.guide-index,.timeline{grid-template-columns:1fr}}

/* Phase 6: seasonal/resource reference modules */
.event-note{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin:26px 0}
.event-note h3{margin-top:0;color:#183b31!important}
.event-note p{color:#4f5c56!important;font-size:1rem}
.resource-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:26px 0}
.resource-list a{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;text-decoration:none}
.resource-list strong{display:block;color:#183b31}.resource-list span{display:block;color:#65716c;font-size:.94rem;margin-top:4px}
@media(max-width:700px){.resource-list{grid-template-columns:1fr}}

/* ===== Phase 7 editorial photography ===== */
.guide-photo{margin:32px 0}
.guide-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:20px;border:1px solid var(--line)}
.guide-photo figcaption{font-size:.82rem;line-height:1.5;color:#66736d;margin-top:9px}
.guide-photo figcaption a{color:inherit}
.hero-photo{margin-top:28px}
.hero-photo img{display:block;width:100%;aspect-ratio:16/7;object-fit:cover;border-radius:22px}
.photo-pair{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin:30px 0}
.photo-pair figure{margin:0}.photo-pair img{width:100%;height:100%;min-height:280px;object-fit:cover;border-radius:18px}
@media(max-width:760px){.photo-pair{grid-template-columns:1fr}.hero-photo img{aspect-ratio:16/10}}

/* ===== Phase 8 generated WebP hero system ===== */
.article-hero.with-image{
  position:relative;
  overflow:hidden;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  background:#183b31;
}
.article-hero.with-image>.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.article-hero.with-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(14,38,31,.88),rgba(14,38,31,.48) 58%,rgba(14,38,31,.12));
}
.article-hero.with-image .wrap{
  position:relative;
  z-index:2;
  padding-top:92px;
  padding-bottom:68px;
}
.article-hero.with-image h1,
.article-hero.with-image .lead{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.article-hero.with-image .lead{max-width:820px}
.article-hero.with-image .eyebrow{color:#d7bd76!important}
@media(max-width:700px){
  .article-hero.with-image{min-height:450px}
  .article-hero.with-image .wrap{padding-top:72px;padding-bottom:48px}
}

/* Phase 10 brand clarification */
.brand{white-space:nowrap}
.brand span{margin-left:.16em}
.footer-brand{word-spacing:.12em}

/* Phase 11 breadcrumb and editorial polish */
.breadcrumbs{padding-top:18px;padding-bottom:4px;font-size:.88rem;color:#68756f}
.breadcrumbs a{color:#315f50;text-decoration:none;font-weight:700}
.breadcrumbs span{margin-left:8px}
.article-body h2{scroll-margin-top:100px}
.article-body>section{margin-top:38px}
.article-body>section:first-child{margin-top:0}

/* ===== Phase 12 launch accessibility ===== */
:focus-visible{outline:3px solid #b99a52;outline-offset:3px}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:9999;background:#fff;color:#183b31;padding:10px 14px;border-radius:8px;font-weight:800}
.skip-link:focus{left:8px}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ===== Phase 14 Lighthouse contrast correction ===== */
.resident-side,
.resident-side p,
.resident-side .eyebrow,
.resident-side .link-list a{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.resident-side .eyebrow{color:#f0d58f!important;-webkit-text-fill-color:#f0d58f!important}
.resident-side .link-list a{border-color:rgba(255,255,255,.34)!important}

/* ===== Surrey BC platform identity ===== */
:root{--forest:#113b36;--forest2:#18504a;--sage:#7f9987;--cream:#f3f6f1;--paper:#ffffff;--ink:#16211f;--muted:#5d6b67;--gold:#9bb94a;--rust:#2d6b80;--line:#d9e2dc;--shadow:0 20px 55px rgba(20,61,54,.10)}
.brand span{color:#2d6b80}
.topbar{background:#0b2c46}
.site-header{background:rgba(255,255,255,.98)}
.hero:after{background:linear-gradient(90deg,rgba(8,35,55,.88),rgba(8,35,55,.52) 50%,rgba(8,35,55,.10))}
.quick-nav{background:#0b2c46}
.section.dark{background:#0b2c46}
.footer{background:#08243a}
.header-cta{background:#2d6b80}
.btn{background:#9bb94a;color:#102c24}
.article-hero.with-image{background:#0b2c46}
.article-hero.with-image::after{background:linear-gradient(90deg,rgba(8,36,58,.90),rgba(8,36,58,.50) 58%,rgba(8,36,58,.12))}
.article-hero.with-image .eyebrow{color:#cde18f!important}

.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0 34px}
.community-card{display:flex;flex-direction:column;gap:7px;padding:22px;border:1px solid rgba(11,44,70,.14);border-radius:16px;background:#fff;color:#0b2c46;text-decoration:none}
.community-card strong{font-size:1.15rem}.community-card span{color:#44515a;line-height:1.55}
.guide-callout{margin:32px 0;padding:26px;border-radius:18px;background:#eef3e4;color:#17220f}
.guide-callout h2{color:#17220f;margin-top:0}.guide-callout li{margin:0 0 12px;line-height:1.65}
@media(max-width:720px){.community-grid{grid-template-columns:1fr}}

/* PLATFORM 3.0 — visitor-first deep guide uplift */
:root{--surrey-navy:#082f49;--surrey-blue:#0b6f95;--surrey-sky:#e9f5f8;--surrey-gold:#d4a84f;--surrey-ink:#183640}
.photo-hero{position:relative;min-height:440px;display:flex;align-items:end;overflow:hidden;background:#082f49}
.photo-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,31,47,.88),rgba(5,50,66,.46) 62%,rgba(0,0,0,.10)),linear-gradient(0deg,rgba(2,25,38,.55),transparent 60%)}
.photo-hero .wrap{position:relative;z-index:2;color:#fff;padding-top:85px;padding-bottom:58px}
.photo-hero h1{font-size:clamp(42px,6vw,68px);line-height:1.03;max-width:920px;margin:.2rem 0 .8rem}
.photo-hero p{font-size:19px;max-width:760px;color:#e6f3f6}.photo-hero .eyebrow{color:#f1c05b}
.platform-quick{background:#f3f8f9;border-bottom:1px solid #d9e7e9}.platform-quick .wrap{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:12px 20px}.platform-quick a{text-decoration:none;background:#fff;border:1px solid #d8e4e7;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800;color:#234952}
.depth-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.depth-card{padding:22px;border:1px solid #dbe6e8;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(8,47,73,.06)}.depth-card h3{margin-top:0;color:#083a5b}.depth-card .meta{font-size:12px;font-weight:850;color:#0b7899;text-transform:uppercase;letter-spacing:.05em}
.place-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.place-card{padding:23px;border:1px solid #dbe6e8;border-radius:14px;background:linear-gradient(#fff,#f7fbfc)}.place-card h3{margin:0 0 7px;color:#083a5b}.place-card p{margin-bottom:8px}
.package-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.package-card{padding:22px;border-radius:13px;background:#083a5b;color:#fff}.package-card small{color:#f1c05b;font-weight:900;letter-spacing:.08em}.package-card h3{color:#fff}.package-card p{color:#dcecf0}
.compare-wrap{overflow-x:auto;border:1px solid #dbe6e8;border-radius:13px}.compare-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.compare-table th{background:#083a5b;color:#fff;padding:14px;text-align:left}.compare-table td{padding:14px;border-top:1px solid #e1e9eb;vertical-align:top}.compare-table tr:nth-child(even) td{background:#f7fbfc}
.fact-band{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.fact-band div{background:#eaf6f8;border-radius:10px;padding:16px}.fact-band b{display:block;font-size:22px;color:#083a5b}
.photo-split{display:grid;grid-template-columns:1.05fr 1fr;gap:34px;align-items:center;margin:42px 0}.photo-split img{width:100%;height:360px;object-fit:cover;border-radius:14px}
.guide-note{padding:20px 22px;border-left:5px solid var(--surrey-gold);background:#fff8e8;border-radius:0 12px 12px 0;margin:25px 0}
.final-depth{margin-top:52px;padding-top:12px;border-top:1px solid #dbe6e8}.final-depth h2{margin-top:38px}
.route-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.route-links a{padding:18px;border-radius:11px;background:#083a5b;color:#fff;text-decoration:none;display:flex;flex-direction:column}.route-links span{font-size:12px;color:#c8e1e7;margin-top:4px}
.home-upgrade{padding-top:12px}.home-upgrade h2{font-size:34px;line-height:1.13;color:#083a5b}
@media(max-width:950px){.depth-card-grid,.package-grid{grid-template-columns:repeat(2,1fr)}.fact-band{grid-template-columns:repeat(2,1fr)}.route-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.photo-hero{min-height:390px}.photo-hero .wrap{padding-bottom:38px}.depth-card-grid,.place-grid,.package-grid,.fact-band,.photo-split,.route-links{grid-template-columns:1fr}.photo-split img{height:260px}}

/* Platform 3.3 FINAL contrast hardening */
.photo-hero,
.photo-hero .wrap,
.photo-hero h1,
.photo-hero h2,
.photo-hero h3,
.photo-hero p,
.photo-hero li,
.photo-hero strong,
.photo-hero b,
.photo-hero a:not(.btn) { color:#fff !important; }
.photo-hero .eyebrow { color:#f3c45e !important; }

.package-card,
.package-card h1,
.package-card h2,
.package-card h3,
.package-card h4,
.package-card p,
.package-card li,
.package-card strong,
.package-card b { color:#fff !important; }
.package-card small { color:#f3c45e !important; }

.route-links a,
.route-links a h1,
.route-links a h2,
.route-links a h3,
.route-links a h4,
.route-links a p,
.route-links a span,
.route-links a strong,
.route-links a b { color:#fff !important; }
.route-links a span { color:#cfe5ea !important; }

.compare-table th,
.guide-table th { color:#fff !important; }

.footer,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer p,
.footer li,
.footer strong,
.footer b { color:#fff !important; }
.footer a { color:#d8eef2 !important; }
.footer a:hover { color:#fff !important; }
.footer-bottom { color:#b9d4da !important; }

.topbar,
.topbar p,
.topbar span,
.topbar strong,
.topbar b,
.topbar a { color:#fff !important; }

.mega-panel strong { color:#123943 !important; }
.mega-panel a { color:#234952 !important; }
.mega-panel a:hover { color:#082f49 !important; background:#edf6f8; }

.mobile-nav,
.mobile-nav a,
.mobile-nav button,
.mobile-group button { color:#173842 !important; }

.header-cta { color:#fff !important; }

.guide-note,
.guide-note h2,
.guide-note h3,
.guide-note p,
.guide-note li,
.guide-note strong,
.guide-note b { color:#3a2d10 !important; }

.fact-band div,
.fact-band div p,
.fact-band div span,
.fact-band div li { color:#234952 !important; }
.fact-band div b,
.fact-band div strong { color:#083a5b !important; }

.depth-card,
.depth-card h2,
.depth-card h3,
.depth-card h4,
.depth-card p,
.depth-card li { color:#234952 !important; }

.place-card,
.place-card h2,
.place-card h3,
.place-card h4,
.place-card p,
.place-card li { color:#234952 !important; }

.platform-quick,
.platform-quick a { color:#234952 !important; }

.photo-split figcaption,
.photo-split .caption { color:#5b7178 !important; }

/* Generic dark-background safety net */
[style*="background:#083a5b"],
[style*="background: #083a5b"],
[style*="background:#082f49"],
[style*="background: #082f49"] { color:#fff !important; }

.bg-dark,
.dark,
.dark-section,
.section-dark,
.navy,
.navy-bg {
  color:#fff !important;
}
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4,.bg-dark p,.bg-dark li,.bg-dark a,.bg-dark span,.bg-dark strong,.bg-dark b,
.dark h1,.dark h2,.dark h3,.dark h4,.dark p,.dark li,.dark a,.dark span,.dark strong,.dark b,
.dark-section h1,.dark-section h2,.dark-section h3,.dark-section h4,.dark-section p,.dark-section li,.dark-section a,.dark-section span,.dark-section strong,.dark-section b,
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4,.section-dark p,.section-dark li,.section-dark a,.section-dark span,.section-dark strong,.section-dark b,
.navy h1,.navy h2,.navy h3,.navy h4,.navy p,.navy li,.navy a,.navy span,.navy strong,.navy b,
.navy-bg h1,.navy-bg h2,.navy-bg h3,.navy-bg h4,.navy-bg p,.navy-bg li,.navy-bg a,.navy-bg span,.navy-bg strong,.navy-bg b {
  color:#fff !important;
}

/* Platform 3.3b legacy-component contrast cleanup */
.article-hero,
.article-hero .wrap,
.article-hero h1,
.article-hero h2,
.article-hero h3,
.article-hero p,
.article-hero .lead,
.article-hero .eyebrow { color:#fff !important; }
.article-hero .eyebrow { color:#f3c45e !important; }

.story-card.dark,
.story-card.dark h2,
.story-card.dark h3,
.story-card.dark h4,
.story-card.dark p,
.story-card.dark span,
.story-card.dark a,
.story-card.dark strong { color:#fff !important; }

.intent-card.dark,
.intent-card.dark h2,
.intent-card.dark h3,
.intent-card.dark p,
.intent-card.dark span,
.intent-card.dark a { color:#fff !important; }

.cta-band,
.cta-band h1,
.cta-band h2,
.cta-band h3,
.cta-band p,
.cta-band span,
.cta-band strong { color:#fff !important; }

.footer-brand { color:#fff !important; }

.guide-reading{max-width:76ch}
.photo-hero .hero-trip-link{font-size:1rem;line-height:1.5;margin:18px 0 0;padding:10px 14px;max-width:68ch;background:#082d42;border-left:3px solid #f1c05b;border-radius:0 8px 8px 0}
.hero-trip-link a{text-decoration:underline;text-underline-offset:.18em;font-weight:700}
.hero-trip-link a:focus-visible{outline:2px solid #f1c05b;outline-offset:3px}

/* Surrey planning sections */
.article-body .surrey-detail { margin-top:2.1rem; padding-top:1.45rem; border-top:1px solid var(--line); }
.article-layout > * { min-width:0; }
.article-body .surrey-detail h2 { margin-top:0; font-size:clamp(1.55rem,3vw,2.26rem); line-height:1.16; }
.article-body .surrey-detail .surrey-links { font-size:.95rem; margin:1rem 0 .1rem; display:flex; flex-wrap:wrap; gap:.45rem 1rem; }
.surrey-links a { color:var(--forest); text-underline-offset:.18em; font-weight:700; overflow-wrap:anywhere; }
.surrey-table-scroll { overflow-x:auto; max-width:100%; border:1px solid var(--line); border-radius:12px; }
.surrey-table-scroll:focus-visible { outline:2px solid var(--forest); outline-offset:3px; }
.surrey-table { width:100%; min-width:490px; border-collapse:collapse; font-size:.96rem; line-height:1.46; }
.surrey-table th,.surrey-table td { padding:.82rem .85rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
.surrey-table thead { background:var(--forest); color:#fff; }
.surrey-table tbody th { width:25%; font-weight:750; color:var(--forest); }
.surrey-table tr:nth-child(even) { background:var(--cream); }
.surrey-table tbody tr:last-child > * { border-bottom:0; }
.surrey-event-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:1rem; }
.surrey-event-card { padding:1.05rem; border:1px solid var(--line); border-radius:12px; background:var(--cream); min-width:0; }
.surrey-event-card h3 { font-size:1.2rem; margin:.3rem 0 .5rem; }
.surrey-event-card p { margin:0 0 .55rem; }
.surrey-event-card a { color:var(--forest); font-weight:700; text-underline-offset:.18em; }
.surrey-event-card .surrey-event-date { font-weight:750; font-size:.89rem; color:var(--forest); }
.surrey-season-list { padding:0 0 0 1.2rem; }
.surrey-season-list li { padding-bottom:.65rem; }

/* Guide reading hierarchy */
.photo-hero { min-height:360px; }
.photo-hero .wrap { padding-top:68px; padding-bottom:45px; }
.photo-hero h1,.article-hero.with-image h1 { font-size:clamp(1.95rem,3.7vw,2.95rem); max-width:27ch; line-height:1.12; }
.photo-hero p,.article-hero.with-image .lead { font-size:1rem; line-height:1.58; }
.article-body p { font-size:1.05rem; line-height:1.76; margin-bottom:1.05rem; }
.article-body h2,.article-body .surrey-detail h2 { font-size:clamp(1.3rem,2.3vw,1.65rem); line-height:1.25; margin:0 0 .65rem; }
.article-body h3,.side-nav h3 { font-size:1.12rem; line-height:1.3; margin:0 0 .5rem; }
.article-body > section { margin-top:1.25rem; }
.article-body .surrey-detail { margin-top:1.65rem; padding-top:1.15rem; }
.article-body .surrey-inline-label { color:#183b31; }
.surrey-event-card h3 { margin:.3rem 0 .5rem; }
@media(max-width:680px){
  .photo-hero{min-height:306px;}
  .photo-hero .wrap{padding-top:36px;padding-bottom:28px;}
  .photo-hero .hero-trip-link{font-size:.91rem;}
}
/* Surrey homepage */
.surrey-home { --surrey-deep:#102c31; --surrey-leaf:#185549; --surrey-pale:#e6efe8; --surrey-rule:#d6e0d8; background:#fbfaf7; }
.surrey-home #main-content a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.surrey-home :is(h1,h2,h3) { color:var(--surrey-deep); font-weight:600; }
.surrey-home h1 { font-size:clamp(2.4rem,5.3vw,4.6rem); line-height:1.03; letter-spacing:-.045em; margin:.22em 0 .32em; }
.surrey-home h2 { font-size:clamp(1.65rem,2.65vw,2.25rem); line-height:1.13; letter-spacing:-.022em; margin:0 0 .55rem; }
.surrey-home h3 { font-size:1.25rem; line-height:1.23; margin:0 0 .5rem; }
.surrey-home :is(p,dd) { color:#364842; }
.surrey-home .surrey-kicker { color:#246151; font-size:.76rem; font-weight:760; text-transform:uppercase; letter-spacing:.10em; margin:0; }
.surrey-home-hero { background:linear-gradient(120deg,#f2f6ed,#dae8e2); }
.surrey-hero-layout { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); align-items:center; gap:clamp(1.5rem,4vw,3.8rem); padding:30px 0; }
.surrey-hero-copy { padding:12px 0 20px; }
.surrey-hero-copy h1 { max-width:10ch; }
.surrey-hero-summary { font-size:clamp(1rem,1.45vw,1.15rem); max-width:40ch; line-height:1.55; margin-bottom:1.35rem; }
.surrey-home figure { margin:0; position:relative; min-width:0; }
.surrey-hero-photo img { width:100%; height:clamp(310px,36vw,486px); object-fit:cover; object-position:48% 54%; border-radius:12px; background:#c4d4d2; }
.surrey-home figcaption { font-size:.77rem; color:#3b514b; line-height:1.4; margin-top:.45rem; }
.surrey-home figcaption a { text-underline-offset:.16em; }
.surrey-actions { display:flex; gap:.6rem; flex-wrap:wrap; }
.surrey-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.56rem 1rem; color:#fff; background:var(--surrey-leaf); border:1px solid var(--surrey-leaf); border-radius:5px; font-size:.94rem; line-height:1.35; font-weight:730; text-decoration:none; }
.surrey-button:hover { background:#0c4136; }
.surrey-button-alt { color:#164d41; background:transparent; }
.surrey-button-alt:hover { color:#fff; }
.surrey-start { background:#fff; border-bottom:1px solid var(--surrey-rule); }
.surrey-start-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.surrey-start-grid a { padding:1rem 1.1rem; color:var(--surrey-deep); text-decoration:none; border-right:1px solid var(--surrey-rule); }
.surrey-start-grid a:first-child { padding-left:0; }
.surrey-start-grid a:last-child { border-right:0; }
.surrey-start-grid strong,.surrey-start-grid span { display:block; }
.surrey-start-grid a:hover strong { text-decoration:underline; text-underline-offset:.18em; }
.surrey-start-grid span { color:#4c5d57; font-size:.87rem; line-height:1.35; }
.surrey-start .surrey-referral { border-top:1px solid var(--surrey-rule); margin:0; padding:.65rem 0 .8rem; font-size:.92rem; }
.surrey-referral a,.surrey-follow a,.surrey-spotlight-copy p a,.surrey-practical dd a { text-underline-offset:.16em; color:#174d42; font-weight:680; }
.surrey-home-section { padding:clamp(2.15rem,4.6vw,4.1rem) 0; scroll-margin-top:102px; }
.surrey-section-intro { margin-bottom:1.15rem; }
.surrey-section-intro p { max-width:70ch; margin:0; }
.surrey-plan-grid,.surrey-practical-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; }
.surrey-plan { background:#fff; border:1px solid var(--surrey-rule); border-top:3px solid #50836e; border-radius:8px; padding:1.1rem; }
.surrey-plan .surrey-kicker { margin:0 0 .45rem; }
.surrey-plan p:last-child,.surrey-guide-grid p { margin:0; font-size:.98rem; }
.surrey-home :is(h3,dt) a { text-decoration:underline; text-decoration-color:#aec3b6; text-underline-offset:.18em; }
.surrey-home :is(h3,dt) a:hover { text-decoration-color:currentColor; }
.surrey-follow { margin:1.1rem 0 0; display:flex; flex-wrap:wrap; gap:.5rem 1.35rem; }
.surrey-spotlight { background:#e8efe9; }
.surrey-spotlight-grid { display:grid; grid-template-columns:minmax(0,1.23fr) minmax(0,1fr); gap:clamp(1.3rem,3.2vw,3rem); align-items:center; padding:clamp(1.6rem,4vw,3.2rem) 0; }
.surrey-spotlight img { width:100%; height:clamp(230px,28vw,380px); object-fit:cover; border-radius:9px; }
.surrey-spotlight-copy p { margin-bottom:.8rem; }
.surrey-guide-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.9rem; }
.surrey-guide-grid article { overflow:hidden; border:1px solid var(--surrey-rule); border-radius:8px; background:#fff; }
.surrey-guide-grid img { width:100%; aspect-ratio:16/10; height:auto; object-fit:cover; }
.surrey-guide-grid article div { padding:.9rem; }
.surrey-neighbourhoods { background:#eaf0eb; }
.surrey-area-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem 1.3rem; }
.surrey-home dl { margin:0; }
.surrey-home dt { color:var(--surrey-deep); margin:0 0 .2rem; font-weight:740; }
.surrey-home dd { margin:0; font-size:.96rem; }
.surrey-area-grid div,.surrey-practical-grid div { border-top:1px solid #bdcfc2; padding:.75rem 0; }
@media(max-width:850px){
  .surrey-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .surrey-hero-layout { gap:1.2rem; }
}
@media(max-width:640px){
  .surrey-hero-layout,.surrey-spotlight-grid,.surrey-plan-grid,.surrey-practical-grid { grid-template-columns:minmax(0,1fr); }
  .surrey-hero-layout { gap:.4rem; padding:1rem 0 .9rem; }
  .surrey-hero-copy { padding:.25rem 0 .5rem; }
  .surrey-hero-copy h1 { max-width:none; }
  .surrey-hero-photo img { height:clamp(192px,49vw,294px); }
  .surrey-start-grid,.surrey-area-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .surrey-start-grid a { padding:.65rem 0; border-right:0; }
  .surrey-start-grid a:nth-child(even) { padding-left:.65rem; }
  .surrey-start-grid a:nth-child(n+3) { border-top:1px solid var(--surrey-rule); }
  .surrey-home-section { scroll-margin-top:86px; }
}
@media(max-width:390px){
  .surrey-guide-grid { grid-template-columns:minmax(0,1fr); }
}

/* Visitor guide mastheads and route notes */
.surrey-inner { --guide-ink:#132f32; --guide-green:#184f43; --guide-rule:#ceddd2; --guide-soft:#eaf1eb; }
.guide-banner { background:linear-gradient(115deg,#f1f5ed,#dfece5); }
.guide-banner-grid { display:grid; grid-template-columns:minmax(0,1.36fr) minmax(0,1fr); align-items:center; gap:clamp(1.1rem,3.7vw,3.4rem); padding:clamp(1.35rem,3.55vw,3.1rem) 0; }
.guide-banner-copy h1 { max-width:26ch; color:var(--guide-ink); font-size:clamp(1.85rem,3.25vw,2.8rem); font-weight:650; line-height:1.11; letter-spacing:-.025em; margin:.28rem 0 .8rem; }
.guide-banner-copy .eyebrow { color:#255d4e; letter-spacing:.095em; font-size:.73rem; margin:0; }
.guide-banner-copy p { color:#304942; line-height:1.55; max-width:69ch; margin-bottom:.65rem; }
.guide-banner-copy .hero-trip-link { font-size:.91rem; padding:.58rem .8rem; margin:.85rem 0 0; border-left:3px solid #689985; background:#f8fbf7; border-radius:0 6px 6px 0; }
.guide-banner-copy .hero-trip-link a,.guide-next a,.surrey-snapshot a { color:var(--guide-green); font-weight:720; text-underline-offset:.17em; }
.guide-banner figure { margin:0; min-width:0; }
.guide-banner img { width:100%; height:clamp(193px,25vw,302px); object-fit:cover; object-position:50% 54%; border-radius:9px; background:#cbd9d0; }
.guide-banner figcaption { color:#3e524c; font-size:.74rem; margin-top:.32rem; }
.guide-next { background:#fafbf8; border-bottom:1px solid var(--guide-rule); }
.guide-next .wrap { display:flex; gap:.45rem 1.4rem; flex-wrap:wrap; padding:.56rem 0; font-size:.91rem; }
.guide-next a { display:inline-block; padding:.24rem 0; }
.surrey-inner > .section { padding-top:clamp(1.4rem,3.2vw,2.5rem); }
.surrey-inner .article-layout { gap:clamp(1.5rem,4vw,3rem); }
.surrey-inner .article-body { min-width:0; max-width:78ch; }
.surrey-snapshot { background:var(--guide-soft); border:1px solid var(--guide-rule); border-left:4px solid #57947d; border-radius:0 8px 8px 0; padding:.96rem 1.1rem; margin:0 0 1.45rem; color:var(--guide-ink); }
.surrey-snapshot dl { display:grid; grid-template-columns:minmax(0,1fr); gap:.54rem; margin:0; }
.surrey-snapshot dd,.surrey-snapshot dt { margin:0; }
.surrey-snapshot dt { display:inline; font-weight:780; color:var(--guide-green); }
.surrey-snapshot dd { display:inline; color:#273e38; line-height:1.55; }
.surrey-snapshot .surrey-snapshot-link { margin:.72rem 0 0; font-size:.92rem; line-height:1.45; }
.surrey-inner .side-nav { border:1px solid var(--guide-rule); box-shadow:none; border-radius:8px; }
.surrey-inner .side-nav h3 { color:var(--guide-ink)!important; }
.surrey-inner a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.surrey-inner .surrey-table thead tr { background:var(--guide-green); }
@media(max-width:700px){
 .guide-banner-grid { grid-template-columns:minmax(0,1fr); gap:.8rem; padding:1.1rem 0 1rem; }
 .guide-banner img { height:clamp(142px,42vw,223px); }
 .guide-next .wrap { gap:.1rem 1rem; }
 .surrey-snapshot { padding:.8rem .85rem; }
}

.surrey-inner #guide-details { scroll-margin-top:105px; }
.surrey-inner .surrey-table-scroll + p { margin-top:.9rem; }
@media(max-width:700px){ .surrey-inner #guide-details { scroll-margin-top:85px; } }
