/* ---------- Theme tokens ---------- */
:root {
--sea-deep: #0b3954;
--sea: #087e8b;
--sea-light: #bfe3e6;
--sand: #f6efe4;
--foam: #fbfaf7;
--ink: #1f2d36;
--muted: #5f6f78;
--accent: #e0a458;
--navy: #072a3e;        /* footer colour ? used for all buttons & icons */
--navy-hover: #0b3954;
}

body {
font-family: 'Roboto', sans-serif;
color: var(--ink);
background: var(--foam);
}
h1, h2, h3, h4, .font-serif { font-family: 'Lora', serif; }

section { scroll-margin-top: 70px; }
.section-pad { padding: 6rem 0; }
.eyebrow {
text-transform: uppercase;
letter-spacing: .18em;
font-size: .8rem;
font-weight: 500;
color: var(--sea);
}
.section-title { color: var(--sea-deep); font-weight: 600; }
.lead-muted { color: var(--muted); }

.btn-sea, .btn-sand { background: var(--navy); color: #fff; }
.btn-sea:hover, .btn-sea:focus,
.btn-sand:hover, .btn-sand:focus { background: var(--navy-hover); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover, .btn-outline-navy:focus { background: var(--navy); color: #fff; }
.btn-floating.btn-navy { background: var(--navy); color: #fff; }
.btn-floating.btn-navy:hover { background: var(--navy-hover); color: #fff; }

/* ---------- Navbar ---------- */
#mainNav { transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease; padding: 1.1rem 0; }
#mainNav .navbar-brand { font-family: 'Lora', serif; font-weight: 600; font-size: 1.35rem; }
#mainNav .nav-link { font-weight: 500; letter-spacing: .03em; }
#mainNav.nav-transparent { background: transparent; box-shadow: none; }
#mainNav.nav-transparent .navbar-brand,
#mainNav.nav-transparent .nav-link,
#mainNav.nav-transparent .navbar-toggler { color: #fff; }
#mainNav.nav-solid { background: rgba(251,250,247,.97); padding: .5rem 0; }
#mainNav.nav-solid .navbar-brand { color: var(--sea-deep); }
#mainNav.nav-solid .nav-link { color: var(--ink); }
#mainNav .nav-link.active { color: var(--accent) !important; }
@media (max-width: 991.98px) {
#mainNav.nav-transparent .navbar-collapse.show,
#mainNav.nav-transparent .navbar-collapse.collapsing { background: rgba(11,57,84,.92); border-radius: .5rem; padding: .5rem 1rem; }
}

/* ---------- Hero ---------- */
#intro .carousel, #intro .carousel-inner, #intro .carousel-item { height: 100%; }
#intro { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--sea-deep); }
#intro .carousel-item { background: linear-gradient(160deg, #0b3954, #087e8b); } /* fallback while loading */
#intro .carousel-item .hero-img {
position: absolute; inset: 0;
width: 100%; height: 100%;
object-fit: cover; object-position: center;
}
#intro .hero-mask--dark {
background: linear-gradient(180deg, rgba(7,42,62,.70) 0%, rgba(7,42,62,.50) 45%, rgba(7,42,62,.80) 100%);
}
#intro .carousel-item.active .hero-img { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
#intro .hero-mask {
position: absolute; inset: 0;
background: linear-gradient(180deg, rgba(11,57,84,.55) 0%, rgba(11,57,84,.25) 45%, rgba(11,57,84,.7) 100%);
}
#intro .hero-content {
position: absolute; inset: 0; z-index: 2;
display: flex; align-items: center; justify-content: center; text-align: center;
color: #fff; padding: 0 1rem;
}
#intro h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
#intro .hero-sub { font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 300; max-width: 640px; margin: 0 auto; }
.scroll-cue {
position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
color: #fff; font-size: 1.4rem; animation: bob 2.2s ease-in-out infinite; text-decoration: none;
}
.scroll-cue:hover { color: var(--accent); }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }
#intro .carousel-indicators { z-index: 3; margin-bottom: 4.5rem; }

/* Wave divider */
.wave { display: block; width: 100%; height: 70px; }

/* ---------- About ---------- */
.about-photo-wrap { position: relative; }
.about-photo-wrap img { border-radius: 1.25rem; object-fit: cover; width: 100%; aspect-ratio: 4/5; }
.about-photo-wrap::before {
content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
border: 2px solid var(--sea-light); border-radius: 1.25rem; z-index: -1;
}
.about-quote { border-left: 3px solid var(--accent); padding-left: 1rem; font-style: italic; color: var(--sea-deep); }
.cred-list li { padding: .35rem 0; }
.cred-list i { color: var(--navy); width: 1.5rem; }

/* ---------- How we meet ---------- */
#meet { background: var(--sand); }
.meet-card { border: 0; border-radius: 1.25rem; overflow: hidden; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.meet-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,57,84,.15); }
.meet-card .card-img-top { height: 210px; object-fit: cover; background: var(--sea-light); }
.meet-icon {
width: 64px; height: 64px; border-radius: 50%;
display: grid; place-items: center; font-size: 1.5rem;
background: var(--navy); color: #fff;
margin: -52px auto 1rem; position: relative; border: 4px solid #fff;
}
.meet-card ul { text-align: left; }
.meet-card ul li { padding: .25rem 0; color: var(--muted); }
.meet-card ul i { color: var(--navy); width: 1.4rem; }

/* ---------- Resources ---------- */
.blog-card { border: 0; border-radius: 1rem; overflow: hidden; height: 100%; }
.blog-card .img-wrap { overflow: hidden; }
.blog-card img { height: 220px; width: 100%; object-fit: cover; transition: transform .5s ease; background: var(--sea-light); }
.blog-card:hover img { transform: scale(1.06); }
.blog-meta { font-size: .8rem; color: var(--muted); }
.blog-meta i { color: var(--navy); }
.blog-card .badge { background: var(--sea-light); color: var(--sea-deep); font-weight: 500; }
.read-more { color: var(--navy); font-weight: 500; text-decoration: none; }
.read-more i { transition: transform .25s ease; }
.read-more:hover i { transform: translateX(4px); }

/* ---------- Connect ---------- */
#connect { background: linear-gradient(160deg, var(--sea-deep), #0f5266 60%, var(--sea)); color: #fff; }
#connect .section-title { color: #fff; }
#connect .eyebrow { color: var(--accent); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-item .ci-icon {
flex: 0 0 48px; height: 48px; border-radius: 50%;
background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.1rem;
}
.contact-item a { color: #fff; }
.contact-item small { color: rgba(255,255,255,.7); }
.form-card { border: 0; border-radius: 1.25rem; color: var(--ink); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(255,255,255,.75); }
footer a { color: rgba(255,255,255,.85); }
footer a:hover { color: var(--accent); }

/* ---------- Slack widget ---------- */
#slackLauncher {
position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1060;
width: 60px; height: 60px; border-radius: 50%; border: 0;
background: var(--navy); color: #fff; font-size: 1.6rem;
box-shadow: 0 8px 24px rgba(0,0,0,.25);
display: grid; place-items: center; transition: transform .2s ease;
}
#slackLauncher:hover { transform: scale(1.07); }
#slackLauncher .pulse {
position: absolute; top: 6px; right: 6px; width: 12px; height: 12px;
border-radius: 50%; background: #2bac76; border: 2px solid #fff;
}
#slackPanel {
position: fixed; right: 1.25rem; bottom: 6rem; z-index: 1060;
width: min(360px, calc(100vw - 2.5rem));
border-radius: 1rem; overflow: hidden;
box-shadow: 0 20px 50px rgba(0,0,0,.25);
transform: translateY(20px) scale(.97); opacity: 0; visibility: hidden;
transition: all .25s ease;
}
/* Line up the How we meet cards */
.meet-card .card-body { display: flex; flex-direction: column; }
.meet-card .card-body .meet-book { margin-top: auto; align-self: center; }

/* Large logo takes the same space below the photo as the 64px icons */
.meet-icon.meet-logo { margin-top: -84px; }
#slackPanel.open { transform: none; opacity: 1; visibility: visible; }
#slackPanel .slack-head { background: var(--navy); color: #fff; padding: 1rem 1.1rem; }
#slackPanel .avatar {
width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
border: 2px solid rgba(255,255,255,.5); background: var(--sea-light);
}
#slackPanel .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2bac76; margin-right: 4px; }
#slackPanel .bubble {
background: #f1f3f5; border-radius: .9rem .9rem .9rem .2rem;
padding: .7rem .9rem; font-size: .9rem; max-width: 90%;
}
#slackPanel .bubble.me { background: var(--sea-light); border-radius: .9rem .9rem .2rem .9rem; margin-left: auto; }
#slackThread { max-height: 180px; overflow-y: auto; }

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}
.about-role { color: var(--sea); font-weight: 500; letter-spacing: .02em; }
.about-personal { background: var(--sand); border-radius: 1.25rem; }
/* About icons drawn by CSS, so the CMS can't remove them */
.cred-list li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--navy); display: inline-block; width: 1.5rem;
}
.about-facts li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .95rem;
}
.ico-graduation::before { content: "\f19d"; }
.ico-mindbody::before   { content: "\e54d"; }
.ico-location::before   { content: "\f3c5"; }
.ico-heart::before      { content: "\f004"; }
.ico-age::before        { content: "\f252"; }
.ico-business::before   { content: "\f0b1"; }
.ico-dad::before        { content: "\e4e1"; }
.ico-water::before      { content: "\f773"; }
.about-facts li {
  display: flex; align-items: center; gap: .85rem;
  padding: .5rem 0; font-weight: 500; color: var(--sea-deep);
}
.about-facts li::before { width: 2.5rem; }
.meet-icon.meet-logo {
  width: 96px; height: 96px; padding: 0; background: #fff;
  margin-top: -64px; box-shadow: 0 4px 12px rgba(7,42,62,.18);
}
.meet-icon.meet-logo img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.meet-card .card-img-top { object-position: center 60%; }
/* Hero quote */
.hero-quote { max-width: 40rem; margin-left: auto; margin-right: auto; }
.hero-quote blockquote p {
  font-family: 'Lora', serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5;
  color: rgba(255,255,255,.92); margin-bottom: .75rem;
  text-wrap: balance;
}
.hero-quote figcaption {
  font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; opacity: .85;
}
.hero-quote figcaption::before {
  content: ""; display: inline-block; width: 2rem; height: 1px;
  background: currentColor; vertical-align: middle; margin-right: .75rem;
}
.hero-quote blockquote p, .hero-quote figcaption { text-shadow: 0 1px 12px rgba(7,42,62,.65); }
.ico-travel::before  { content: "\f57e"; } /* earth-asia */
.ico-camping::before { content: "\f6bb"; } /* campground */
.ico-drums::before   { content: "\f569"; } /* drum */
.blog-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 768px) and (max-width: 991.98px) {
  #resources .row > :nth-child(3) { display: none; }
}
/* Honeypot: off-screen for people, still visible to bots */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you panel that replaces the form after a successful send */
.contact-thanks { text-align: center; padding: 2.5rem 1rem; }
.contact-thanks .thanks-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--sea); color: #fff; font-size: 1.75rem;
}
.contact-thanks:focus { outline: none; }
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.policy-body h2 { font-size: 1.1rem; margin-top: 1.5rem; color: var(--navy); }
.policy-body p, .policy-body li { line-height: 1.6; }
.policy-body > p:first-child em { color: #6c757d; }
.navbar-brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  width: 32px;
  height: 32px;
  margin-right: .6rem;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25); /* faint edge so the navy tile shows on dark backgrounds */
  flex-shrink: 0;
}
.about-photo-wrap img { border-radius: 1.25rem; object-fit: cover; width: 100%; height: auto; aspect-ratio: 4/5; }