/* Shane Waterfront Wilson – site styles. Palette drawn from the hero photo. */
:root {
  --navy: #0E2A47;
  --navy-2: #163a5f;
  --canopy: #1081CE;   /* logo blue */
  --shirt: #CFE3F5;
  --sand: #F6F2EA;
  --white: #FFFFFF;
  --ink: #1C2733;
  --muted: #5A6878;
  --line: #DCE4EC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 71, .10);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--canopy); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--navy); color: var(--white);
  font-weight: 700; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; font: 700 16px/1.2 var(--sans);
  transition: transform .15s, background .15s; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--shirt); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--shirt); }
.text-link { font-weight: 700; text-decoration: none; color: var(--navy-2); }
.text-link:hover { text-decoration: underline; }

.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--canopy); margin-bottom: .6em; }
.kicker.light { color: var(--shirt); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.brand-name em { font-style: normal; color: var(--canopy); }
.brand-sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav a:not(.btn):hover { color: var(--navy-2); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; margin: auto; content: ""; transition: transform .2s; }
.bars::before { position: absolute; top: -7px; } .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .site-nav li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav li .btn { margin-top: 12px; text-align: center; display: block; }
}

/* Hero – split layout for the square photo */
.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); min-height: min(86vh, 760px); }
.hero-text { display: flex; align-items: center; justify-content: flex-end; padding: 56px 56px 56px 16px;
  background: radial-gradient(120% 90% at 0% 100%, #1b4a78 0%, var(--navy) 60%); }
.hero-text-inner { max-width: 560px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 4.2vw, 56px); margin-bottom: .45em; }
.hero h2 { font-family: var(--sans); font-weight: 400; color: var(--shirt); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-media { margin: 0; position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 5 / 4; }
  .hero-media img { object-position: 60% 22%; }
  .hero-text { justify-content: flex-start; padding: 36px 16px 44px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tint { background: var(--sand); }
.section-title { font-size: clamp(30px, 3.4vw, 44px); }
.lede { font-size: 20px; color: var(--muted); max-width: 760px; }

.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.region-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); box-shadow: var(--shadow); }
.region-card h3 { font-size: 30px; }
.region-card h3 a { color: var(--navy); text-decoration: none; }
.region-card > p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--shirt); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600; }
.chips a:hover { background: var(--canopy); color: var(--white); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--canopy); }
.feature h3 { font-size: 22px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

/* Guides: buyer left, seller right */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 24px; }
.guide-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.guide-buyer { border-top: 6px solid var(--canopy); }
.guide-seller { border-top: 6px solid var(--navy); }
.guide-card h3 { font-size: 26px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 6px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--canopy); border-bottom: 3px solid var(--canopy); transform: rotate(-45deg); }
.guide-form { margin-top: auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.field input { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #b9c6d3; border-radius: 10px; background: var(--white); }
.field input:focus { border-color: var(--canopy); outline: 2px solid var(--shirt); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.cf-turnstile { margin-bottom: 12px; }
.form-msg { margin: 10px 0 0; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: #1d6b3a; font-weight: 700; }
.form-msg.err { color: #a12b2b; font-weight: 700; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.testimonial { margin: 0; background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 12px; font-size: 17px; }
.testimonial figcaption { font-weight: 700; color: var(--navy); }

.podcast { background: var(--navy); color: var(--shirt); }
.podcast .section-title { color: var(--white); }
.podcast-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.podcast-inner > div { max-width: 700px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; color: var(--navy); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta { background: linear-gradient(180deg, var(--white), var(--shirt)); }
.cta .lede { margin-inline: auto; font-style: italic; }

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .region-grid, .guide-grid, .feature-grid { grid-template-columns: 1fr; }
  .region-card, .guide-card { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .podcast-inner { flex-direction: column; align-items: flex-start; }
}

/* Footer */
.site-footer { background: #0a1f35; color: #b7c7d8; padding: 56px 0 24px; font-size: 15px; }
.site-footer a { color: #dbe7f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 22px; color: var(--white); }
.footer-head { font-weight: 700; color: var(--white); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; }
.legal mark { background: #ffe58a; color: #000; padding: 0 4px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Simple content pages (404, confirm, thank-you) */
.page-simple { padding: 96px 0; min-height: 50vh; }

/* ---------- Region / town / community pages ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa8b6; }
.breadcrumbs a { color: var(--navy-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero { background: radial-gradient(120% 120% at 0% 100%, #1b4a78 0%, var(--navy) 55%); color: var(--shirt); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; opacity: .18;
  background: repeating-radial-gradient(circle at 50% 160%, transparent 0 18px, var(--canopy) 19px 21px); pointer-events: none; }
.page-hero.has-image { background: linear-gradient(90deg, rgba(14,42,71,.92) 0%, rgba(14,42,71,.6) 60%, rgba(14,42,71,.25)), var(--hero-img) center/cover; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 58px); max-width: 900px; }
.page-hero-sub { font-size: clamp(18px, 1.7vw, 22px); max-width: 760px; margin-bottom: 1.4em; }
.review-notes { background: #fff6cc; border: 1px solid #ecd36b; border-radius: 10px; padding: 14px 18px; margin-top: 20px; font-size: 15px; }
.review-notes ul { margin: 6px 0 0; padding-left: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose p { font-size: 18px; }
.narrow-left { max-width: 820px; margin-top: 20px; }
.meta { font-size: 14px; color: var(--muted); }
.facts { background: var(--sand); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.facts h2 { font-size: 26px; }
.facts dl { margin: 0 0 20px; }
.facts dl div { padding: 10px 0; border-bottom: 1px solid #e3dccd; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 24px 0 36px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 24px; margin: 0; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card p { font-size: 16px; color: var(--muted); margin: 0; }
.card .text-link, .card .btn, .card .soon { margin-top: auto; padding-top: 10px; }
.card .btn { align-self: flex-start; }
.card-note { font-size: 13px !important; font-weight: 700; color: var(--canopy) !important; text-transform: uppercase; letter-spacing: .08em; }
.card-soon { box-shadow: none; background: rgba(255,255,255,.6); }
.soon { font-size: 14px; color: var(--muted); font-style: italic; }
.sources { font-size: 14px; color: var(--muted); margin-top: 18px; }
.sub-title { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.2em; }
.moments { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.moments li { background: var(--sand); border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--canopy); }
.moment-link { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.moment-ep { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--canopy); }
.moment-title { font-weight: 700; color: var(--navy); font-size: 18px; }
.moments blockquote { margin: 10px 0 0; font-style: italic; color: var(--ink); font-size: 16px; }
.video-grid, .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 20px 0 28px; }
.video { margin: 0; }
.video .yt, .video iframe { display: block; position: relative; aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 12px; overflow: hidden; background: #000; }
.video .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 12px; background: #e00; }
.video .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.video figcaption, .photo-grid figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
.photo-grid figure { margin: 0; } .photo-grid img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.chips.small span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--shirt); color: var(--navy); font-size: 14px; font-weight: 600; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; font-weight: 400; }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }
.testimonial figcaption a { font-size: 14px; }

/* Podcast */
.episode-list { display: grid; gap: 24px; }
.episode-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.episode-card h2 { font-size: clamp(24px, 2.4vw, 32px); }
.episode-card h2 a { color: var(--navy); text-decoration: none; }
.episode-card h2 a:hover { text-decoration: underline; }
.audio { width: 100%; margin: 12px 0 24px; }
.transcript { border-top: 1px solid var(--line); margin-top: 12px; }
.turn { padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.turn p { margin: 0; font-size: 17px; }
.turn .who { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.turn.shane .who { color: var(--navy-2); }
.turn:target, .turn.hit { background: #fff6cc; }
.ts { font-weight: 400; color: var(--canopy); text-decoration: none; margin-left: 6px; }
.ts:hover { text-decoration: underline; }
.ep-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-weight: 700; }
.ep-nav a { text-decoration: none; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .facts { position: static; }
  .moments { grid-template-columns: 1fr; }
  .ep-nav { flex-direction: column; }
}

/* Brand logos */
.brand img { height: 40px; width: auto; display: block; }
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.legal .brokerage { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.legal .brokerage img { height: 42px; width: auto; }
.legal .brokerage p { margin: 0; line-height: 1.6; }
@media (max-width: 960px) { .brand img { height: 28px; } }

.office-line { margin-top: 18px; font-size: 15px; color: var(--muted); }
.footer-contact span { font-size: 13px; opacity: .75; margin-left: 4px; }
.footer-office { font-size: 14px; line-height: 1.5; }
.footer-office strong { color: var(--white); font-weight: 600; }

.moment-yt { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.moment-yt:hover { text-decoration: underline; }
.episode-card.has-thumb { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.ep-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
@media (max-width: 760px) { .episode-card.has-thumb { grid-template-columns: 1fr; } }

/* Episode chapters */
.chapters { list-style: none; padding: 0; margin: 8px 0 28px; border-top: 1px solid var(--line); }
.chapters li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ch-time { font-variant-numeric: tabular-nums; color: var(--canopy); text-decoration: none; font-weight: 700; font-size: 15px; }
.ch-title { color: var(--ink); text-decoration: none; }
.ch-title:hover, .ch-time:hover { text-decoration: underline; }
.ch-yt { font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 520px) { .chapters li { grid-template-columns: 62px 1fr; } .ch-yt { grid-column: 2; } }

/* Home: latest episodes */
.home-eps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.home-ep h3 { font-size: 20px; margin-top: 4px; }
.home-ep h3 a { color: var(--white); text-decoration: none; }
.home-ep h3 a:hover { text-decoration: underline; }
.home-ep .meta { color: var(--shirt); margin: 10px 0 0; }
.home-ep-thumb { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.home-ep-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.home-ep-thumb .play { position: absolute; inset: 0; margin: auto; width: 60px; height: 42px; border-radius: 10px; background: #e00; }
.home-ep-thumb .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; }
@media (max-width: 900px) { .home-eps { grid-template-columns: 1fr; } }

/* Top bar: phone + two region search buttons */
.topbar { background: var(--navy); color: var(--shirt); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.topbar-phone { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar-phone span { font-weight: 400; color: var(--shirt); margin-left: 4px; }
.topbar-phone:hover { text-decoration: underline; }
.topbar-search { display: flex; gap: 10px; }
.topbar .btn-small { padding: 7px 16px; font-size: 14px; }
.nav-search { display: none; }
@media (max-width: 960px) {
  .topbar { display: none; }
  .site-nav .nav-search { display: block; }
  .site-nav .nav-search + .nav-search .btn { margin-top: 8px; }
  .site-nav .nav-search a:not(.btn) { border-bottom: 0; text-align: center; font-weight: 700; }
}
