/* =========================================================
   CK Home Watch — Design System & Site Styles
   ========================================================= */

/* This site is designed as a light-themed site only — it has no dark
   palette. Without this declaration, some browsers/devices (Chrome's
   Android "auto dark theme," some OS-level forced-dark settings) will
   guess at a dark version of the page themselves: they leave elements
   that already have an explicit dark background alone (like the photo
   cards below) but invert/blacken elements that don't (like the cream
   section background), producing a half-inverted, broken-looking page
   that never happens on a properly light-declared site. Declaring
   color-scheme:light here — plus the matching <meta name="color-scheme"
   content="light"> in every page's <head> — tells browsers this page is
   intentionally light-only, so they stop guessing and stop editing it. */
html{color-scheme:light;}

/* ---------- Design tokens ---------- */
:root{
  /* Brand colors — sampled directly from the supplied logo file */
  --navy-900:#0b1220;
  --navy-800:#101a2a;   /* logo background navy */
  --navy-700:#182a44;
  --navy-600:#233a5c;
  --gold-400:#d6ba91;   /* logo lettering gold — use on navy only */
  --gold-600:#a97f3f;   /* darkened gold — safe contrast on light bg */
  --gold-700:#8a6530;

  /* Warmed from a cooler, brighter near-white palette per Carsten's
     feedback that the site felt "too bright" — these are now a warm
     sand/ivory tone closer to the golden-hour photos, instead of a
     stark white. */
  --cream:#f3e8d6;
  --cream-deep:#e9dabc;
  --white:#fffcf7;

  --ink:#1f2430;
  --ink-soft:#4a5262;
  --ink-faint:#6b7280;
  --border:#ddcfb2;
  --border-dark:#2a3550;

  --success:#3a6b4a;

  /* Type */
  --font-head:'Lora', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --sp-1:.25rem;
  --sp-2:.5rem;
  --sp-3:.75rem;
  --sp-4:1rem;
  --sp-5:1.5rem;
  --sp-6:2rem;
  --sp-7:2.5rem;
  --sp-8:3rem;
  --sp-9:4rem;
  --sp-10:5rem;
  --sp-11:6.5rem;

  /* Layout */
  --container-max:1240px;
  --container-pad:1.5rem;
  --radius-sm:3px;
  --radius-md:5px;
  --border-w:1px;

  /* Shadow — used sparingly, flat & subtle only */
  --shadow-sm:0 1px 2px rgba(16,26,42,.06), 0 1px 1px rgba(16,26,42,.04);
  --shadow-md:0 4px 14px rgba(16,26,42,.08);

  --transition:150ms ease;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body,h1,h2,h3,h4,p,ul,ol,figure{margin:0;}
ul[class],ol[class]{list-style:none;padding:0;}
img{max-width:100%;display:block;}
a{color:inherit;}
button{font:inherit;}
input,textarea,select{font:inherit;}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  font-size:16.5px;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy-800);
  line-height:1.2;
  font-weight:600;
  text-wrap:balance;
}
h1{font-size:clamp(2.1rem,4vw + .5rem,3.1rem); font-weight:600;}
h2{font-size:clamp(1.65rem,2.6vw + .4rem,2.35rem);}
h3{font-size:clamp(1.2rem,1.2vw + .6rem,1.5rem);}
h4{font-size:1.05rem; font-family:var(--font-body); font-weight:700; letter-spacing:.01em;}

p{margin-bottom:var(--sp-4); max-width:70ch;}
.lede{font-size:1.15rem; color:var(--ink-soft); max-width:62ch;}

.container{
  max-width:var(--container-max);
  margin-inline:auto;
  padding-inline:var(--container-pad);
}

section{padding-block:var(--sp-10);}
section.tight{padding-block:var(--sp-8);}

/* ---------- Focus states (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--gold-600);
  outline-offset:2px;
  border-radius:var(--radius-sm);
}
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  background:var(--navy-800);
  color:var(--white);
  padding:.75rem 1.25rem;
  z-index:1000;
  border-radius:var(--radius-sm);
}
.skip-link:focus{
  left:var(--sp-4);
  top:var(--sp-4);
}

/* ---------- Eyebrow / kicker ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-body);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:var(--sp-3);
}
.eyebrow::before{
  content:"";
  width:22px;height:2px;
  background:var(--gold-600);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  font-family:var(--font-body);
  font-weight:700;
  font-size:.98rem;
  padding:.9rem 1.6rem;
  border-radius:var(--radius-sm);
  border:var(--border-w) solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:background var(--transition), color var(--transition), border-color var(--transition);
  white-space:nowrap;
}
.btn-primary{
  background:var(--navy-800);
  color:var(--white);
  border-color:var(--navy-800);
}
.btn-primary:hover{background:var(--navy-700); border-color:var(--navy-700);}
.btn-gold{
  background:var(--gold-600);
  color:var(--navy-900);
  border-color:var(--gold-600);
}
.btn-gold:hover{background:var(--gold-700); border-color:var(--gold-700);}
.btn-outline{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.55);
}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-outline-navy{
  background:transparent;
  color:var(--navy-800);
  border-color:var(--navy-800);
}
.btn-outline-navy:hover{background:var(--navy-800); color:var(--white);}
.btn-block{width:100%;}

/* ---------- Header ---------- */
.site-header{
  background:var(--white);
  border-bottom:var(--border-w) solid var(--border);
  position:sticky;
  top:0;
  z-index:500;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--sp-5);
  padding-block:.75rem;
}
.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
  flex-shrink:0;
}
.brand img{
  height:56px;
  width:56px;
  border-radius:var(--radius-sm);
}
.brand-name{
  font-family:var(--font-head);
  font-weight:600;
  font-size:1.2rem;
  color:var(--navy-800);
  line-height:1.15;
}
.brand-name span{
  display:block;
  font-family:var(--font-body);
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-top:2px;
}

.main-nav{display:flex;}
.main-nav ul{display:flex; gap:var(--sp-6); align-items:center;}
.main-nav a{
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  color:var(--ink);
  padding:.4rem 0;
  border-bottom:2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:var(--navy-800);
  border-bottom-color:var(--gold-600);
}

.header-actions{display:flex; align-items:center; gap:var(--sp-5);}
.header-phone{
  display:flex;
  align-items:center;
  gap:.5rem;
  text-decoration:none;
  font-weight:700;
  color:var(--navy-800);
  font-size:.95rem;
  white-space:nowrap;
}
.header-phone svg{width:18px;height:18px;stroke:var(--gold-600); flex-shrink:0;}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:.5rem;
  color:var(--navy-800);
}
.nav-toggle svg{width:28px;height:28px;}

/* Breakpoint widened from 900px to 1240px so the 7-item nav (with
   "Boat Tours" added) never wraps to a second line or overflows —
   tested empirically: the 7 items only fit on one line once the
   viewport reaches ~1240px (which not coincidentally matches
   --container-max, since the header can't grow past that anyway).
   Below that, it now falls back to the existing, unchanged mobile
   hamburger menu a bit earlier than before. No fonts, spacing, colors,
   or the hamburger menu itself were changed — only where the
   crossover happens. */
@media (max-width:1240px){
  .main-nav{
    position:fixed;
    inset:0 0 0 auto;
    width:min(84vw,340px);
    background:var(--navy-800);
    padding:var(--sp-8) var(--sp-6);
    transform:translateX(100%);
    transition:transform 220ms ease;
    display:block;
  }
  .main-nav.is-open{transform:translateX(0);}
  .main-nav ul{flex-direction:column; align-items:flex-start; gap:var(--sp-5);}
  .main-nav a{color:var(--cream); font-size:1.05rem;}
  .main-nav a:hover,
  .main-nav a[aria-current="page"]{color:var(--gold-400); border-bottom-color:var(--gold-400);}
  .nav-toggle{display:block;}
  .header-phone span{display:none;}
  .nav-backdrop{
    display:none;
    position:fixed; inset:0;
    background:rgba(11,18,32,.5);
    z-index:490;
  }
  .nav-backdrop.is-open{display:block;}
}

/* Below ~720px there isn't room for logo + phone + full CTA + hamburger
   on one line, so the text CTA drops out of the header bar — it still
   appears prominently in the hero and every section below. */
@media (max-width:720px){
  .header-actions .btn-primary{display:none;}
  .header-actions{gap:var(--sp-3);}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  color:var(--white);
  background:var(--navy-800);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(11,18,32,.90) 0%, rgba(11,18,32,.62) 32%, rgba(11,18,32,.22) 58%, rgba(11,18,32,.05) 82%),
    var(--hero-img, none);
  background-size:cover;
  background-position:center;
}
.hero-media.is-placeholder{
  background:
    linear-gradient(100deg, rgba(11,18,32,.94) 20%, rgba(11,18,32,.75) 100%),
    repeating-linear-gradient(135deg, #16253c 0 2px, #101a2a 2px 34px);
}
.hero-inner{
  position:relative;
  z-index:2;
  padding-block:var(--sp-11) var(--sp-10);
  max-width:680px;
}
.hero .eyebrow{color:var(--gold-400);}
.hero .eyebrow::before{background:var(--gold-400);}
.hero h1{color:var(--white); margin-bottom:var(--sp-4);}
.hero p.lede{color:#dfe3ea; margin-bottom:var(--sp-6);}
.hero-actions{display:flex; flex-wrap:wrap; gap:var(--sp-4);}
.placeholder-note{
  display:inline-block;
  margin-top:var(--sp-5);
  font-size:.78rem;
  color:#b8c0cf;
  border:1px dashed rgba(255,255,255,.35);
  padding:.4rem .75rem;
  border-radius:var(--radius-sm);
}

/* ---------- Section headers ---------- */
.section-head{max-width:760px; margin-bottom:var(--sp-7);}
.section-head.center{margin-inline:auto; text-align:center;}
.section-head p{margin-inline:auto;}

/* ---------- Trust / intro band ---------- */
.band-navy{background:var(--navy-800); color:var(--cream);}
.band-navy h2{color:var(--white);}
.band-navy .eyebrow{color:var(--gold-400);}
.band-navy .eyebrow::before{background:var(--gold-400);}
.band-navy p{color:#cfd5e0;}

.pull-quote{
  font-family:var(--font-head);
  font-size:clamp(1.3rem,1.6vw + .8rem,1.75rem);
  font-weight:600;
  line-height:1.4;
  color:var(--white);
  border-left:3px solid var(--gold-400);
  padding-left:var(--sp-5);
  margin-block:var(--sp-6);
  max-width:52ch;
}

.grid-2{display:grid; grid-template-columns:1.1fr 1fr; gap:var(--sp-9); align-items:center;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-6);}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-5);}
@media (max-width:900px){
  .grid-2{grid-template-columns:1fr; gap:var(--sp-6);}
  .grid-3{grid-template-columns:1fr; }
  .grid-4{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .grid-4{grid-template-columns:1fr;}
}

/* ---------- Who we serve list ---------- */
.check-list{display:flex; flex-direction:column; gap:var(--sp-4);}
.check-list li{
  display:flex;
  gap:.85rem;
  align-items:flex-start;
  font-size:1.02rem;
}
.check-list svg{
  width:22px;height:22px;
  flex-shrink:0;
  margin-top:.15rem;
  stroke:var(--gold-600);
}
.band-navy .check-list svg{stroke:var(--gold-400);}
.check-list strong{color:var(--navy-800); font-family:var(--font-body);}
.band-navy .check-list strong{color:var(--white);}

.not-list{
  margin-top:var(--sp-5);
  padding:var(--sp-5);
  background:var(--white);
  border:var(--border-w) solid var(--border);
  border-radius:var(--radius-md);
}
.band-navy .not-list{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.18);
}
.not-list h4{margin-bottom:var(--sp-3); color:var(--navy-800);}
.band-navy .not-list h4{color:var(--white);}
.not-list ul{display:flex; flex-wrap:wrap; gap:.5rem .9rem;}
.not-list li{
  font-size:.88rem;
  color:var(--ink-soft);
  display:flex;
  align-items:center;
  gap:.4rem;
}
.band-navy .not-list li{color:#c4cad6;}
.not-list li::before{content:"–"; color:var(--ink-faint);}

/* ---------- Service cards ---------- */
.card{
  background:var(--white);
  border:var(--border-w) solid var(--border);
  border-radius:var(--radius-md);
  padding:var(--sp-6);
  height:100%;
}
.card-icon{
  width:46px;height:46px;
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-sm);
  background:var(--cream-deep);
  margin-bottom:var(--sp-4);
}
.card-icon svg{width:24px;height:24px; stroke:var(--navy-800);}
.card h3{margin-bottom:var(--sp-2); font-size:1.15rem;}
.card p{font-size:.95rem; color:var(--ink-soft); margin-bottom:0;}

/* ---------- Service cards — photo variant ("What We Check") ----------
   Same card, with a real photo of the exact thing being described
   behind the text instead of the plain white background. Used only on
   the 8 "What We Check" cards (index.html + services.html) — every
   other .card on the site (About page's "How We Work", etc.) is
   untouched.

   Text sits on a solid caption plate anchored to the bottom of the
   card, not a gradient fade — a gradient's darkness at any given pixel
   depends on the card's height and how many lines the text wraps to,
   so it read fine at one width/text-length and unreadable at another.
   A solid plate behind the text is dark enough to read on every photo,
   every viewport width, and every line count. */
.card--photo{
  position:relative;
  border:none;
  background-size:cover;
  background-position:center;
  overflow:hidden;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  /* Give the photo real room to breathe above the caption. Without a
     minimum height here, the card's height is driven entirely by the
     caption's text content, which left almost no photo visible once
     the text wrapped to 4-5 lines. */
  min-height:440px;
}
.card--photo::before{
  /* Light overall darkening so the icon plate and photo edges still
     read as part of one cohesive, branded card — not the main source
     of text contrast. */
  content:"";
  position:absolute; inset:0;
  z-index:0;
  background:linear-gradient(180deg, rgba(16,26,42,.18) 0%, rgba(16,26,42,.05) 40%, rgba(16,26,42,.35) 100%);
}
.card--photo .card-icon{
  position:relative; z-index:1;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(2px);
}
.card--photo .card-icon svg{stroke:var(--white);}
.card--photo .card-photo-caption{
  position:relative; z-index:1;
  margin-top:auto;
  margin-inline:calc(-1 * var(--sp-6));
  margin-bottom:calc(-1 * var(--sp-6));
  /* Trimmed down from the original padding so the caption plate takes
     only the room its text actually needs, leaving more of the photo
     showing above it. */
  padding:var(--sp-4) var(--sp-6) var(--sp-5);
  background:rgba(9,15,26,.88);
}
.card--photo h3{color:var(--white); margin-bottom:var(--sp-2); font-size:1.05rem;}
.card--photo p{color:#e7e9ee; margin-bottom:0; font-size:.88rem; line-height:1.5;}

.service-disclaimer{
  margin-top:var(--sp-7);
  padding:var(--sp-5) var(--sp-6);
  border:var(--border-w) solid var(--border);
  border-left:4px solid var(--gold-600);
  border-radius:var(--radius-sm);
  background:var(--white);
  font-size:.92rem;
  color:var(--ink-soft);
}
.service-disclaimer strong{color:var(--navy-800);}

/* ---------- Why trust reasons ---------- */
.reason{display:flex; gap:var(--sp-5); padding-block:var(--sp-5); border-top:var(--border-w) solid var(--border);}
.reason:first-child{border-top:none;}
.reason-index{
  font-family:var(--font-head);
  font-size:1.4rem;
  color:var(--gold-600);
  font-weight:600;
  flex-shrink:0;
  width:2.4rem;
}
.reason h3{margin-bottom:var(--sp-1); font-size:1.08rem;}
.reason p{margin-bottom:0; color:var(--ink-soft); font-size:.96rem;}
.band-navy .reason{border-top-color:rgba(255,255,255,.14);}
.band-navy .reason p{color:#c4cad6;}

/* ---------- Knowledge cards ---------- */
.knowledge-card{
  background:var(--white);
  border:var(--border-w) solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
}
.knowledge-card .thumb{
  aspect-ratio:16/10;
  background:linear-gradient(135deg,var(--cream-deep),var(--border));
  position:relative;
}
/* Temporary stand-in for a real article photo — a quiet icon on a
   brand-colored gradient, not empty space or instructional text.
   Swap in a real <img> any time; see README.txt. */
.knowledge-card .thumb::after{
  content:"";
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97f3f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='m21 15-5-4-4 4-3-3-6 5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:36px 36px;
  opacity:.5;
}
.knowledge-card .body{padding:var(--sp-5); display:flex; flex-direction:column; flex:1;}
.knowledge-card .topic{
  font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-600); margin-bottom:var(--sp-2);
}
.knowledge-card h3{font-size:1.05rem; margin-bottom:var(--sp-2);}
.knowledge-card p{font-size:.92rem; color:var(--ink-soft); flex:1;}
.knowledge-card .read-more{
  margin-top:var(--sp-3);
  font-weight:700;
  font-size:.88rem;
  color:var(--navy-800);
  text-decoration:none;
  display:inline-flex; align-items:center; gap:.35rem;
}
.knowledge-card .read-more:hover{color:var(--gold-600);}

/* ---------- About preview / portrait frame ----------
   A temporary stand-in for a real photo of Christina & Carsten —
   a quiet brand-colored panel with a simple icon, not an empty box
   or instructional placeholder text. Swap in a real photo any time
   by replacing this block with an <img>; see README.txt. */
.portrait-frame{
  border:6px solid var(--white);
  box-shadow:var(--shadow-md);
  border-radius:var(--radius-md);
  overflow:hidden;
  aspect-ratio:4/5;
  background:linear-gradient(135deg,var(--navy-700),var(--navy-900));
  display:flex; align-items:center; justify-content:center;
}
.portrait-frame svg{
  width:88px; height:88px;
  stroke:var(--gold-400);
  opacity:.6;
}
.owners-tag{
  display:inline-flex; gap:.5rem; align-items:center;
  font-weight:700; color:var(--navy-800); margin-top:var(--sp-4);
}

/* ---------- Service area ---------- */
.area-note{
  background:var(--white);
  border:var(--border-w) solid var(--border);
  border-left:4px solid var(--navy-800);
  border-radius:var(--radius-sm);
  padding:var(--sp-5) var(--sp-6);
  margin-block:var(--sp-6);
}

/* ---------- Contact ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-9);}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}

.form-field{margin-bottom:var(--sp-5);}
.form-field label{
  display:block; font-weight:700; font-size:.88rem; margin-bottom:.4rem; color:var(--navy-800);
}
.form-field input,
.form-field textarea{
  width:100%;
  padding:.8rem .9rem;
  border:var(--border-w) solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--white);
  color:var(--ink);
}
.form-field textarea{min-height:140px; resize:vertical;}
.form-field input:focus,
.form-field textarea:focus{border-color:var(--navy-800);}
.form-note{font-size:.82rem; color:var(--ink-faint); margin-top:var(--sp-2);}

.info-block{margin-bottom:var(--sp-6);}
.info-block h4{color:var(--navy-800); margin-bottom:var(--sp-2);}
.info-block a{color:var(--navy-800); text-decoration:none; font-weight:600;}
.info-block a:hover{color:var(--gold-600);}
.hours-table{width:100%; border-collapse:collapse; font-size:.92rem;}
.hours-table td{padding:.35rem 0; border-bottom:var(--border-w) solid var(--border);}
.hours-table td:last-child{text-align:right; color:var(--ink-soft);}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{
  padding-block:var(--sp-4);
  font-size:.85rem;
  color:var(--ink-faint);
  border-bottom:var(--border-w) solid var(--border);
  background:var(--cream-deep);
}
.breadcrumbs a{color:var(--ink-soft); text-decoration:none; font-weight:600;}
.breadcrumbs a:hover{color:var(--navy-800);}
.breadcrumbs .sep{margin-inline:.5rem; color:var(--border-dark);}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{background:var(--navy-800); color:var(--white); padding-block:var(--sp-8);}
.page-hero h1{color:var(--white); margin-bottom:var(--sp-2);}
.page-hero p{color:#cfd5e0; margin-bottom:0;}

/* ---------- Legal pages ---------- */
.legal-content h2{margin-top:var(--sp-8); margin-bottom:var(--sp-3);}
.legal-content h2:first-child{margin-top:0;}
.legal-content p, .legal-content li{color:var(--ink-soft); font-size:1rem;}
.legal-content ul{margin-bottom:var(--sp-4);}
.legal-content li{list-style:disc; margin-left:1.4rem; margin-bottom:.4rem;}
.legal-meta{
  font-size:.88rem; color:var(--ink-faint); margin-bottom:var(--sp-7);
  padding-bottom:var(--sp-5); border-bottom:var(--border-w) solid var(--border);
}

/* ---------- Article pages ---------- */
.article-body{max-width:72ch; margin-inline:auto;}
.article-body h2{margin-top:var(--sp-8);}
.article-meta{display:flex; gap:var(--sp-3); align-items:center; font-size:.85rem; color:var(--ink-faint); margin-bottom:var(--sp-6);}
.article-frame{
  background:var(--white); border-left:4px solid var(--gold-600); border-radius:var(--radius-sm);
  padding:var(--sp-5) var(--sp-6); margin-block:var(--sp-6);
}
.article-frame h4{color:var(--navy-800); margin-bottom:var(--sp-2);}
.bottom-line{
  background:var(--navy-800); color:var(--white); border-radius:var(--radius-md);
  padding:var(--sp-6); margin-top:var(--sp-8);
}
.bottom-line h3{color:var(--gold-400); margin-bottom:var(--sp-2);}
.bottom-line p{color:#dfe3ea; margin-bottom:0;}

/* ---------- 404 ---------- */
.error-page{
  min-height:60vh; display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-900); color:#c9cfdc; padding-block:var(--sp-9) var(--sp-6);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:var(--sp-7);}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand{display:flex; align-items:center; gap:.7rem; margin-bottom:var(--sp-4);}
.footer-brand img{height:48px;width:48px;border-radius:var(--radius-sm);}
.footer-brand strong{font-family:var(--font-head); color:var(--white); font-size:1.05rem;}
.site-footer p{color:#a7afc0; font-size:.92rem;}
.site-footer h4{color:var(--white); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:var(--sp-4);}
.footer-links{display:flex; flex-direction:column; gap:.65rem;}
.footer-links a{color:#c9cfdc; text-decoration:none; font-size:.92rem;}
.footer-links a:hover{color:var(--gold-400);}
.footer-bottom{
  margin-top:var(--sp-8);
  padding-top:var(--sp-6);
  border-top:var(--border-w) solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:var(--sp-3);
  font-size:.82rem; color:#8b93a6;
}
.footer-bottom a{color:#8b93a6; text-decoration:underline;}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:var(--border-w) solid var(--border);}
.faq-question{
  width:100%;
  display:flex; justify-content:space-between; align-items:center; gap:var(--sp-4);
  padding-block:var(--sp-5);
  background:none; border:none; text-align:left; cursor:pointer;
  font-family:var(--font-body); font-weight:700; font-size:1.02rem; color:var(--navy-800);
}
.faq-question svg{width:20px;height:20px; flex-shrink:0; stroke:var(--gold-600); transition:transform var(--transition);}
.faq-item.is-open .faq-question svg{transform:rotate(180deg);}
.faq-answer{
  max-height:0; overflow:hidden; transition:max-height 220ms ease;
}
.faq-answer p{padding-bottom:var(--sp-5); color:var(--ink-soft); margin-bottom:0;}

/* ---------- Utility ---------- */
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.mb-0{margin-bottom:0;}
.visually-hidden{
  position:absolute; width:1px;height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

/* Honeypot spam trap for the contact form — hidden from real visitors,
   left in the normal document flow (not display:none) since some spam
   bots specifically skip display:none fields. */
.hp-field{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ---------- Homeowner insight cards ("Did You Know?") ----------
   Small, understated recurring cards used sparingly across the site.
   Not a testimonial, not a popup — a short homeowner Q&A with one
   optional link. One consistent look everywhere it appears; see
   initInsightCards() in main.js for the (optional) fade-in-on-scroll
   behavior. Falls back to fully visible with no JS or if a visitor
   has requested reduced motion. */
.insight-card{
  display:flex;
  gap:var(--sp-5);
  align-items:flex-start;
  max-width:640px;
  margin-inline:auto;
  background:var(--white);
  border:var(--border-w) solid var(--border);
  border-radius:var(--radius-md);
  padding:var(--sp-6);
  box-shadow:var(--shadow-sm);
  opacity:0;
  transform:translateY(14px);
  transition:opacity 500ms ease, transform 500ms ease;
}
.insight-card.is-visible{opacity:1; transform:translateY(0);}
.insight-card-icon{
  width:46px; height:46px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:var(--cream-deep);
}
.insight-card-icon svg{width:22px; height:22px; stroke:var(--gold-600);}
.insight-card-label{
  font-family:var(--font-body);
  font-weight:700;
  font-size:.75rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:.35rem;
}
.insight-card-question{
  font-family:var(--font-head);
  font-size:1.05rem;
  font-weight:600;
  color:var(--navy-800);
  margin-bottom:.5rem;
}
.insight-card-answer{font-size:.92rem; color:var(--ink-soft); margin-bottom:.6rem;}
.insight-card-link{
  font-size:.88rem;
  font-weight:700;
  color:var(--navy-800);
  text-decoration:underline;
  text-underline-offset:2px;
}
.insight-card-link:hover{color:var(--gold-600);}
@media (max-width:640px){
  .insight-card{flex-direction:column; gap:var(--sp-3); padding:var(--sp-5);}
}
@media (prefers-reduced-motion: reduce){
  .insight-card{opacity:1; transform:none; transition:none;}
}

/* === FINAL 2026-08-12: persistent Boat Tours header action === */
.header-boat-link{
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none; font-weight:700; font-size:.86rem;
  color:var(--navy-800); border:1px solid var(--gold-600);
  border-radius:999px; padding:.5rem .8rem; white-space:nowrap;
  background:var(--white);
}
.header-boat-link:hover{background:var(--gold-50,#fff8e8); color:var(--navy-800);}
@media (max-width:520px){
  .header-boat-link{font-size:.78rem; padding:.42rem .6rem;}
  .header-phone{display:none;}
}

/* ---------- Services dropdown: Home Watch + Real Estate + Boat Tours ---------- */
.main-nav .nav-services{position:relative;}
.main-nav .services-submenu{
  position:absolute;
  top:calc(100% + .35rem);
  left:-1rem;
  min-width:250px;
  display:none;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  padding:.55rem;
  margin:0;
  list-style:none;
  background:var(--white);
  border:1px solid rgba(11,18,32,.10);
  border-radius:var(--radius-md);
  box-shadow:0 14px 34px rgba(11,18,32,.14);
  z-index:560;
}
.main-nav .nav-services:hover > .services-submenu,
.main-nav .nav-services:focus-within > .services-submenu{display:flex;}
.main-nav .services-submenu a{
  display:block;
  padding:.72rem .8rem;
  border-bottom:0;
  border-radius:8px;
  white-space:nowrap;
  font-size:.92rem;
}
.main-nav .services-submenu a:hover,
.main-nav .services-submenu a:focus-visible{
  background:rgba(214,186,145,.15);
  border-bottom:0;
}

@media (max-width:1240px){
  .main-nav .nav-services{width:100%;}
  .main-nav .services-submenu{
    position:static;
    display:flex;
    min-width:0;
    width:100%;
    margin:.35rem 0 0 .7rem;
    padding:.25rem 0 0 .85rem;
    gap:.15rem;
    background:transparent;
    border:0;
    border-left:1px solid rgba(214,186,145,.45);
    border-radius:0;
    box-shadow:none;
  }
  .main-nav .services-submenu a{
    color:#d9dfeb;
    font-size:.94rem;
    padding:.48rem .45rem;
    white-space:normal;
  }
  .main-nav .services-submenu a:hover,
  .main-nav .services-submenu a:focus-visible{
    color:var(--gold-400);
    background:transparent;
  }
}


/* ---------- Knowledge hub editorial layout ---------- */
.knowledge-intro{
  max-width:840px;
}
.knowledge-intro p{
  margin-bottom:.72rem;
}
.knowledge-intro p:nth-last-child(2){
  margin-top:var(--sp-5);
}
.knowledge-feature{
  max-width:840px;
}
.knowledge-library{
  max-width:1120px;
}
.knowledge-library > .lede{
  max-width:720px;
}
.story-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--sp-5);
  margin-top:var(--sp-6);
}
.story-card{
  margin:0;
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:var(--sp-6);
}
.story-card h3{
  margin-bottom:var(--sp-3);
}
.story-card > p:not(.story-kicker):not(:last-child){
  color:var(--ink-soft);
  flex:1;
}
.story-card > p:last-child{
  margin-top:var(--sp-4)!important;
}
.story-kicker{
  margin:0 0 var(--sp-2);
  color:var(--gold-600);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
@media (max-width:760px){
  .knowledge-intro,
  .knowledge-feature,
  .knowledge-library{
    max-width:none;
  }
  .story-grid{
    grid-template-columns:1fr;
    gap:var(--sp-4);
  }
  .story-card{
    padding:var(--sp-5);
  }
}

/* ---------- Knowledge hub v2: editorial hierarchy ---------- */
.knowledge-opening-section{
  padding-top:var(--sp-7);
}
.knowledge-opening{
  max-width:1120px;
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);
  gap:clamp(2rem,5vw,4.5rem);
  align-items:start;
}
.knowledge-opening-copy{
  max-width:760px;
}
.knowledge-opening-copy p{
  margin:0 0 1.05rem;
  color:var(--ink-soft);
  font-size:1.04rem;
  line-height:1.78;
}
.knowledge-opening-copy p:first-child{
  color:var(--ink);
  font-size:1.12rem;
}
.knowledge-signoff{
  margin-top:var(--sp-5)!important;
  color:var(--ink)!important;
}
.knowledge-quote{
  position:sticky;
  top:110px;
  padding:clamp(1.5rem,3vw,2.25rem);
  border:1px solid rgba(194,146,58,.26);
  border-radius:var(--radius-lg);
  background:linear-gradient(145deg,#fff 0%,#fbf7ee 100%);
  box-shadow:var(--shadow-sm);
}
.knowledge-quote-kicker{
  margin:0 0 .8rem;
  color:var(--gold-600);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.knowledge-quote blockquote{
  margin:0 0 1rem;
  padding:0;
  border:0;
  color:var(--navy-900);
  font-family:var(--font-head);
  font-size:clamp(1.55rem,3vw,2.2rem);
  line-height:1.16;
}
.knowledge-quote p:last-child{
  margin:0;
  color:var(--ink-soft);
  line-height:1.65;
}
.knowledge-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);
  gap:var(--sp-6);
  align-items:end;
  margin-bottom:var(--sp-6);
}
.knowledge-section-head h2{
  margin-bottom:0;
}
.knowledge-section-head .lede{
  margin:0;
  max-width:520px;
}
.story-feature{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:var(--sp-5);
  align-items:center;
  margin-bottom:var(--sp-5);
  padding:clamp(1.6rem,3vw,2.4rem);
  border:1px solid rgba(25,46,73,.13);
  border-radius:var(--radius-lg);
  background:var(--navy-900);
  color:#fff;
  box-shadow:var(--shadow-sm);
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease;
}
.story-feature:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}
.story-feature h3{
  margin:0 0 .65rem;
  color:#fff;
  font-size:clamp(1.45rem,2.4vw,2rem);
}
.story-feature p:not(.story-kicker){
  margin:0;
  max-width:720px;
  color:rgba(255,255,255,.82);
}
.story-feature .story-kicker{
  color:var(--gold-400);
}
.story-text-link{
  display:inline-block;
  margin-top:1rem;
  color:var(--gold-300);
  font-weight:700;
}
.story-feature-mark{
  color:rgba(255,255,255,.12);
  font-family:var(--font-head);
  font-size:clamp(4rem,9vw,7rem);
  font-weight:700;
  line-height:1;
}
.story-grid-general{
  grid-template-columns:minmax(0,1fr);
  max-width:760px;
  margin-top:0;
}
.trilogy-block{
  margin-top:var(--sp-7);
  padding-top:var(--sp-6);
  border-top:1px solid rgba(25,46,73,.12);
}
.trilogy-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);
  gap:var(--sp-5);
  align-items:end;
  margin-bottom:var(--sp-5);
}
.trilogy-heading h3{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.35rem);
}
.trilogy-heading > p{
  margin:0;
  color:var(--ink-soft);
  line-height:1.65;
}
.trilogy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--sp-4);
}
.trilogy-grid .story-card{
  padding:var(--sp-5);
}
.knowledge-local-section{
  background:linear-gradient(180deg,rgba(246,241,231,.45),rgba(255,255,255,0));
}
.knowledge-local{
  max-width:1120px;
}
.insight-card-local{
  max-width:900px;
}
.insight-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem 1.25rem;
  align-items:center;
  margin-top:1.1rem;
}
.insight-actions .btn{
  margin:0;
}
@media (max-width:900px){
  .knowledge-opening,
  .knowledge-section-head,
  .trilogy-heading{
    grid-template-columns:1fr;
  }
  .knowledge-quote{
    position:static;
    max-width:680px;
  }
  .trilogy-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:600px){
  .story-feature{
    grid-template-columns:1fr;
  }
  .story-feature-mark{
    display:none;
  }
  .knowledge-opening-copy p{
    font-size:1rem;
  }
  .knowledge-opening-copy p:first-child{
    font-size:1.05rem;
  }
  .insight-actions{
    align-items:flex-start;
    flex-direction:column;
  }
}
