/* =========================================================
   Joanna Keskitalo · Beach Homes Realty
   Shared stylesheet — index / about / services / contact
   ---------------------------------------------------------
   Palette (blue coastal — keyed to the JK + Beach-Homes logos)
     Mist   #EFF5F7  (page, via --sand) Foam #FBFDFE (cards)
     Ink    #14303D  (deep petrol navy — text)
     Ocean  #1D6E96  (logo marine blue — accent/links)
     Aqua   #DCEDEA  (soft secondary, via --seafoam)
     Teal   #1BA098  (brand teal — logo elements)
     Coral  #C64B31 / #E0664B (sunset — CTAs)
   Type
     Display: Fraunces (serif) · Script: Allura · Body: Albert Sans
   ========================================================= */

:root {
  --foam:        #FBFDFE;
  --sand:        #EFF5F7;   /* page background — coastal mist blue */
  --sand-2:      #E1EBEF;
  --edge:        #D6E3E8;
  --ink:         #14303D;
  --ink-2:       #4E6B77;
  --ocean:       #1D6E96;
  --ocean-deep:  #1A5578;
  --seafoam:     #DCEDEA;
  --seafoam-2:   #C9E2DF;
  --sea-stroke:  #86B7BC;
  --sea-ink:     #34636B;
  --teal:        #1BA098;
  --script-ink:  #1F93A8;
  --jk-tint:     #D9F1F5;
  --coral:       #E0664B;
  --coral-deep:  #C64B31;
  --coral-dark:  #A93D26;
  --sky:         #EAF3F5;
  --navy-bg:     #0F2836;
  --navy-bg-2:   #0B1F2B;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", "Avenir Next", "Segoe UI", sans-serif;

  --shadow-soft: 0 2px 24px rgba(20, 48, 61, 0.07);
  --shadow-lift: 0 10px 34px rgba(20, 48, 61, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- Reset-lite ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
}

img, svg { display: block; max-width: 100%; }

figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--ocean);
  text-decoration-color: rgba(46, 110, 140, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover { color: var(--ocean-deep); }

::selection { background: var(--seafoam-2); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Utilities ---------- */

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin: 0 0 0.9em;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}

.squig {
  width: 96px;
  height: 14px;
  margin: 1.4rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 14'%3E%3Cpath d='M2 7q6 -6 12 0t12 0t12 0t12 0t12 0t12 0t12 0' fill='none' stroke='%232E6E8C' stroke-opacity='.5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.squig--left { margin-inline: 0; }

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.15s ease;
}

.btn-coral {
  background: var(--coral-deep);
  color: #fff;
}

.btn-coral:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-coral:focus-visible { outline-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ocean-deep);
  border-color: rgba(46, 110, 140, 0.55);
}

.btn-ghost:hover {
  background: rgba(46, 110, 140, 0.08);
  color: var(--ocean-deep);
  border-color: var(--ocean-deep);
}

.btn-ghost-light {
  background: transparent;
  color: var(--foam);
  border-color: rgba(253, 251, 247, 0.55);
}

.btn-ghost-light:hover {
  background: rgba(253, 251, 247, 0.12);
  color: #fff;
  border-color: var(--foam);
}

.btn-ghost-light:focus-visible { outline-color: var(--seafoam); }

/* Skip link */

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--foam);
  padding: 0.7em 1.2em;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip:focus { top: 0; color: var(--foam); }

/* =========================================================
   Header
   ========================================================= */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 245, 247, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.brand {
  position: relative;
  z-index: 0;
  display: block;
  text-decoration: none;
  line-height: 1.2;
  padding-inline: 0.5rem;
}

/* Script logo lockup — live-text recreation of Joanna's JK logo */

.brand-script {
  display: block;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--script-ink);
  white-space: nowrap;
}

.brand-jk {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.1rem;
  letter-spacing: 0.02em;
  color: var(--jk-tint);
  user-select: none;
  pointer-events: none;
}

.brand:hover .brand-script { color: var(--ocean-deep); }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.brand-sub {
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-top: 0.15rem;
}

.brand:hover .brand-name { color: var(--ocean-deep); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.7vw, 1.45rem);
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--ocean-deep); }

.site-nav a[aria-current="page"] {
  color: var(--ocean-deep);
  border-bottom-color: var(--coral);
}

.nav-tel {
  border: 1.5px solid rgba(46, 110, 140, 0.5);
  border-radius: 999px;
  padding: 0.5em 1.1em !important;
  border-bottom: 1.5px solid rgba(46, 110, 140, 0.5) !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nav-tel:hover {
  border-color: var(--ocean-deep) !important;
  background: rgba(46, 110, 140, 0.08);
}

@media (max-width: 760px) {
  .head-in {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
  }
  .site-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-tel { display: none; }
}

/* =========================================================
   Hero (home)
   ========================================================= */

.hero {
  background: linear-gradient(180deg, var(--foam) 0%, #EAF3F5 55%, #DCEBEE 100%);
  overflow: hidden;
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw + 0.8rem, 4rem);
  font-weight: 450;
  margin-bottom: 0.4em;
}

.hero .lede { margin-bottom: 1.8rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-cred {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin: 0;
}

.hero-cred .sep { color: var(--sea-stroke); padding-inline: 0.45em; }

/* Abstract seascape panel — sky / sun / sea / sand, no stock photos */

.seascape {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-lift);
  min-height: 420px;
  background:
    radial-gradient(circle at 71% 27%, rgba(247, 207, 160, 0.9) 0, rgba(247, 207, 160, 0.9) 7.5%, rgba(247, 207, 160, 0) 8.5%),
    radial-gradient(circle at 71% 29%, rgba(240, 185, 138, 0.5) 0%, rgba(240, 185, 138, 0) 38%),
    linear-gradient(180deg,
      #EDF4F5 0%, #E2EEF0 30%, #D6E7E8 43.8%,
      #9FC0BC 44%, #86AFAD 62%, #78A2A6 77.8%,
      #F0E7D2 78%, #EBDFC5 100%);
}

.seascape-waves {
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  height: 26%;
  width: 100%;
  opacity: 0.5;
}

.seascape-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(251, 253, 254, 0.92);
  border: 1px solid rgba(214, 227, 232, 0.9);
  border-radius: 999px;
  padding: 0.45em 1em;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.seascape-lat {
  position: absolute;
  right: 16px;
  top: 16px;
  background: rgba(16, 36, 46, 0.55);
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(253, 251, 247, 0.95);
  font-variant-numeric: tabular-nums;
}

.hero-wave { display: block; width: 100%; height: 64px; }
.hero-wave .w1 { fill: var(--sand); }
.hero-wave .w2 { fill: var(--sand); opacity: 0.45; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .seascape { min-height: 240px; order: 2; }
}

/* =========================================================
   Page hero (interior pages)
   ========================================================= */

.page-hero {
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--foam) 0%, var(--sand) 100%);
  border-bottom: 1px solid rgba(214, 227, 232, 0.7);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4vw + 0.8rem, 3.4rem);
  font-weight: 470;
}

.page-hero .lede { margin-inline: auto; }

/* =========================================================
   Sections
   ========================================================= */

.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-head h2 {
  font-size: clamp(1.9rem, 2.6vw + 0.8rem, 2.7rem);
  font-weight: 500;
}

/* =========================================================
   Service areas — “tide chart” coastal index
   ========================================================= */

.areas { padding-block: clamp(3.2rem, 7vw, 5.5rem); }

.areas-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }

.areas-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw + 1rem, 3.6rem);
  font-weight: 480;
  margin-bottom: 0.25em;
}

.areas-head .lede { margin-inline: auto; }

.tide-chart {
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
}

.tide-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--edge);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tide-bar .lat-label { color: var(--sea-ink); white-space: nowrap; }

.tide-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem clamp(1.6rem, 4vw, 3.2rem);
}

.tide-col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean);
  border-bottom: 2px solid var(--seafoam-2);
  padding-bottom: 0.55rem;
  margin-bottom: 0.4rem;
}

.tide-col-head .tide-range {
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tide-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding-block: 0.52rem;
  font-size: 0.98rem;
}

.tide-list li + li { border-top: 1px solid rgba(214, 227, 232, 0.6); }

.tide-list .town { font-weight: 500; color: var(--ink); white-space: nowrap; }

.tide-list .suffix { font-weight: 400; color: var(--ink-2); }

.tide-list .leader {
  flex: 1;
  min-width: 1.25rem;
  border-bottom: 1px dotted var(--sea-stroke);
  transform: translateY(-4px);
}

.tide-list .lat {
  font-size: 0.85rem;
  color: var(--sea-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.tide-foot {
  margin: 1.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--edge);
  font-size: 0.92rem;
  color: var(--ink-2);
  text-align: center;
}

/* =========================================================
   Positioning band (home)
   ========================================================= */

.band {
  background: var(--seafoam);
  border-block: 1px solid var(--seafoam-2);
}

.band-in {
  text-align: center;
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
  max-width: 780px;
  margin-inline: auto;
}

.band-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.5rem, 2.2vw + 0.7rem, 2.15rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

.band a { font-weight: 600; }

.band-in .lede { margin: 0 auto 1.2rem; }

/* =========================================================
   Cards (services teaser, about pillars, service grid)
   ========================================================= */

.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

a.card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sea-stroke);
  color: var(--ink);
}

.card .icon {
  width: 30px;
  height: 30px;
  color: var(--ocean);
  margin-bottom: 0.9rem;
}

.card h3 {
  font-size: 1.22rem;
  font-weight: 550;
  margin-bottom: 0.35em;
}

.card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.card .card-go {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean);
}

a.card:hover .card-go { color: var(--coral-deep); }

.teaser-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.teaser-head .section-head { margin-bottom: 0; }

.teaser-head .all-link {
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 0.4rem;
}

/* =========================================================
   Services page
   ========================================================= */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
}

.svc {
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 110px;
}

.svc .icon { width: 34px; height: 34px; color: var(--ocean); margin-bottom: 1rem; }

.svc h2 { font-size: 1.55rem; font-weight: 520; margin-bottom: 0.4em; }

.svc p { color: var(--ink-2); font-size: 1rem; }

.svc .svc-link { font-weight: 600; font-size: 0.97rem; }

.svc-feature {
  margin-top: 1.4rem;
  background: linear-gradient(155deg, var(--seafoam) 0%, #E8F2F3 55%, var(--foam) 100%);
  border: 1px solid var(--seafoam-2);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  scroll-margin-top: 110px;
}

.svc-feature .icon { width: 36px; height: 36px; color: var(--sea-ink); margin-bottom: 1rem; }

.svc-feature h2 { font-size: clamp(1.7rem, 2vw + 0.9rem, 2.3rem); font-weight: 520; }

.svc-feature p { color: var(--ink-2); }

.svc-feature .kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea-ink);
  margin-bottom: 0.8em;
}

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px dotted var(--sea-stroke);
  font-size: 0.99rem;
  font-weight: 500;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 18px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1.5 5q3.75 -4.5 7.5 0t7.5 0' fill='none' stroke='%23C64B31' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 860px) {
  .svc-feature { grid-template-columns: 1fr; }
}

/* =========================================================
   About page
   ========================================================= */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-lift);
  background:
    radial-gradient(circle at 68% 24%, rgba(217, 241, 245, 0.8) 0%, rgba(217, 241, 245, 0) 42%),
    linear-gradient(180deg, #E9F3F5 0%, #D8E9ED 52%, #A9C6CE 52.2%, #84AFBE 100%);
  display: grid;
  place-items: center;
}

/* Photo frame — shows images/headshot.jpg when present, coastal
   gradient fallback until then (drop the file in, it appears). */

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-lift);
  background:
    url("images/headshot.jpg") center / cover no-repeat,
    radial-gradient(circle at 68% 24%, rgba(217, 241, 245, 0.85) 0%, rgba(217, 241, 245, 0) 42%),
    linear-gradient(180deg, #E9F3F5 0%, #D8E9ED 52%, #A9C6CE 52.2%, #84AFBE 100%);
}

.photo-frame figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(251, 253, 254, 0.93);
  border: 1px solid rgba(214, 227, 232, 0.9);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
}

.photo-frame figcaption strong { display: block; font-weight: 600; }

.photo-frame figcaption span {
  color: var(--ink-2);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait .monogram {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 9vw, 6.5rem);
  color: rgba(20, 48, 61, 0.34);
  letter-spacing: 0.04em;
}

.portrait figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(251, 253, 254, 0.93);
  border: 1px solid rgba(214, 227, 232, 0.9);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
}

.portrait figcaption strong { display: block; font-weight: 600; }

.portrait figcaption span { color: var(--ink-2); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.glance {
  margin-top: 1.2rem;
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.glance h3 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.7em;
}

.glance li {
  font-size: 0.93rem;
  padding-block: 0.42rem;
  color: var(--ink-2);
}

.glance li + li { border-top: 1px solid rgba(214, 227, 232, 0.65); }

.bio-copy h2 { font-size: clamp(1.9rem, 2.4vw + 0.8rem, 2.6rem); }

.bio-copy p { max-width: 62ch; color: #2C4854; }

.bio-copy .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--coral);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  max-width: 34ch;
}

/* Credibility strip */

.cred-strip {
  background: var(--seafoam);
  border-block: 1px solid var(--seafoam-2);
  padding-block: 1.4rem;
}

.cred-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sea-ink);
}

.cred-strip li { display: flex; align-items: center; gap: 0.55rem; }

.cred-strip li + li::before {
  content: "·";
  color: var(--sea-stroke);
  font-weight: 700;
  margin-right: 0.55rem;
}

.cred-strip .eho { width: 17px; height: 17px; color: var(--sea-ink); flex: none; }

/* =========================================================
   CTA band
   ========================================================= */

.cta {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3.2rem, 7vw, 5.5rem);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--ink) 0%, #1B4254 70%, #235268 100%);
  border-radius: 24px;
  padding: clamp(2.4rem, 5.5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
}

.cta-waves {
  position: absolute;
  right: -40px;
  bottom: -26px;
  width: 420px;
  max-width: 70%;
  opacity: 0.14;
  color: var(--seafoam);
  pointer-events: none;
}

.cta-panel h2 {
  color: var(--foam);
  font-size: clamp(1.8rem, 2.6vw + 0.8rem, 2.6rem);
  font-weight: 480;
  margin-bottom: 0.3em;
  max-width: 18ch;
}

.cta-panel p {
  color: rgba(223, 234, 227, 0.85);
  margin: 0;
  max-width: 44ch;
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.form-card {
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}

.form-card h2 { font-size: 1.6rem; font-weight: 520; margin-bottom: 0.2em; }

.form-note { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1.6rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.field .opt {
  font-weight: 400;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 0.72em 0.9em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(78, 107, 119, 0.65); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3.5px rgba(46, 110, 140, 0.18);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232E6E8C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  background-size: 12px 8px;
  padding-right: 2.4em;
}

.form-fine {
  font-size: 0.82rem;
  color: var(--ink-2);
  margin: 0.9rem 0 0;
}

.contact-aside { display: grid; gap: 1.2rem; }

.direct-card {
  background: var(--ink);
  color: var(--foam);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-lift);
}

.direct-card h2 {
  color: var(--foam);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.direct-card dl { margin: 0; }

.direct-card dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea-stroke);
  margin-bottom: 0.15rem;
}

.direct-card dd { margin: 0 0 1.05rem; }

.direct-card dd:last-child { margin-bottom: 0; }

.direct-card .big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.direct-card a { color: var(--foam); text-decoration-color: rgba(143, 180, 166, 0.6); }

.direct-card a:hover { color: #fff; text-decoration-color: var(--coral); }

.hours-card {
  background: var(--seafoam);
  border: 1px solid var(--seafoam-2);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.95rem;
  color: var(--sea-ink);
}

.hours-card strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.2rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Area chips (contact) */

.chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  background: var(--foam);
  border: 1px solid var(--sea-stroke);
  border-radius: 999px;
  padding: 0.42em 1em;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.chip .suffix { color: var(--ink-2); font-weight: 400; }

/* =========================================================
   Footer
   ========================================================= */

.site-foot {
  background: var(--navy-bg);
  color: #C9D6D3;
  font-size: 0.95rem;
}

.foot-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 2.5rem;
  padding-block: clamp(2.8rem, 6vw, 4.2rem) 2.2rem;
}

.foot-brand .brand-name { color: var(--foam); font-size: 1.45rem; }

.foot-brand .brand-sub { color: var(--sea-stroke); }

.foot-brand p {
  margin-top: 0.9rem;
  max-width: 34ch;
  color: #9FB3BB;
  font-size: 0.92rem;
}

.foot-h {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea-stroke);
  margin: 0 0 0.9em;
}

.site-foot a {
  color: #DCE7E4;
  text-decoration-color: rgba(143, 180, 166, 0.45);
}

.site-foot a:hover { color: #fff; }

.foot-contact li, .foot-nav li { padding-block: 0.28rem; }

.foot-areas {
  border-top: 1px solid rgba(143, 180, 166, 0.22);
  padding-block: 1.8rem;
}

.foot-areas .foot-h { margin-bottom: 0.7em; }

.foot-areas-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.35rem;
  row-gap: 0.3rem;
  font-size: 0.85rem;
  color: #9FB3BB;
}

.foot-areas-list li { white-space: nowrap; }

.foot-areas-list li:not(:last-child)::after {
  content: "·";
  color: rgba(143, 180, 166, 0.6);
  margin-left: 0.35rem;
}

.foot-legal {
  border-top: 1px solid rgba(143, 180, 166, 0.22);
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8CA1AA;
}

.foot-legal .eho-line { display: flex; align-items: center; gap: 0.5rem; }

.foot-legal .eho { width: 16px; height: 16px; color: #8CA1AA; flex: none; }

@media (max-width: 860px) {
  .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .foot-main { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot-legal { justify-content: center; text-align: center; }
}

/* =========================================================
   Photo strip — scrolling coastal scenes (home)
   Each tile shows images/strip-*.jpg when present; designed
   gradient fallbacks render until the files are added.
   ========================================================= */

.photo-strip {
  overflow: hidden;
  padding-block: 1.3rem;
  background: linear-gradient(180deg, var(--foam) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--edge);
}

.strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: strip-scroll 60s linear infinite;
}

.photo-strip:hover .strip-track { animation-play-state: paused; }

.strip-set { display: flex; gap: 14px; }

@keyframes strip-scroll {
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; width: auto; }
  .photo-strip { overflow-x: auto; }
  .strip-set[aria-hidden="true"] { display: none; }
}

.tile {
  position: relative;
  flex: none;
  width: clamp(230px, 26vw, 330px);
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-soft);
}

.tile-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(251, 253, 254, 0.9);
  border-radius: 999px;
  padding: 0.32em 0.9em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
}

.tile--boardwalk {
  background: url("images/strip-boardwalk.jpg") center / cover no-repeat,
    linear-gradient(180deg, #E8F4F6 0%, #CBE6EA 44%, #8FC3CC 44.2%, #6FA9B8 78%, #EFE7D2 78.2%, #EAE0C4 100%);
}

.tile--worth-ave {
  background: url("images/strip-worth-ave.jpg") center / cover no-repeat,
    linear-gradient(160deg, #F2EEE6 0%, #E2D4C0 60%, #C4A98E 100%);
}

.tile--inlet {
  background: url("images/strip-inlet.jpg") center / cover no-repeat,
    linear-gradient(180deg, #DDF0F2 0%, #A8DBE0 40%, #35A3B5 72%, #1D7F96 100%);
}

.tile--delray {
  background: url("images/strip-delray.jpg") center / cover no-repeat,
    linear-gradient(180deg, #EAF4F6 0%, #D3E9EC 50%, #86B7BC 100%);
}

.tile--manalapan {
  background: url("images/strip-manalapan.jpg") center / cover no-repeat,
    linear-gradient(200deg, #F4E8D8 0%, #E9C9A6 40%, #7FA9B8 100%);
}

.tile--juno {
  background: url("images/strip-juno.jpg") center / cover no-repeat,
    linear-gradient(180deg, #E3F1F3 0%, #BFDDE2 45%, #5E9FB0 100%);
}

/* =========================================================
   Meet Joanna (home)
   ========================================================= */

.meet-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.meet-copy h1 {
  font-size: clamp(2.2rem, 3.6vw + 0.6rem, 3.2rem);
  font-weight: 470;
  margin-bottom: 0.4em;
}

.meet-copy p { max-width: 62ch; color: #2C4854; }

.meet-copy .hero-ctas { margin-top: 1.6rem; }

@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-grid .photo-frame { max-width: 380px; }
}

/* Track-record stats */

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(1.6rem, 4vw, 3rem);
  margin: 1.6rem 0 0.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--edge);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(1.55rem, 1.8vw + 0.7rem, 2.05rem);
  line-height: 1.1;
  color: var(--ocean-deep);
  letter-spacing: -0.01em;
}

.stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* =========================================================
   Community cards
   ========================================================= */

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.comm-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.comm-head h3 { margin-bottom: 0.35em; }

.comm-lat {
  font-size: 0.76rem;
  color: var(--sea-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.comm-card { scroll-margin-top: 110px; }

/* =========================================================
   Featured listings
   ========================================================= */

.listing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.listing-media {
  position: relative;
  min-height: 340px;
  background:
    url("images/listing-nautilus.jpg") center / cover no-repeat,
    linear-gradient(200deg, #EAF3F5 0%, #A8D5DB 34%, #3FA0B2 68%, #1D7F96 100%);
}

.listing-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--coral-deep);
  color: #fff;
  border-radius: 999px;
  padding: 0.38em 1em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing-body { padding: clamp(1.6rem, 3.5vw, 2.6rem); }

.listing-body .eyebrow { margin-bottom: 0.5em; }

.listing-addr {
  font-size: clamp(1.5rem, 1.8vw + 0.7rem, 2rem);
  font-weight: 520;
  margin-bottom: 0.1em;
}

.listing-sub { color: var(--ink-2); margin-bottom: 0.9rem; }

.listing-price {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(1.7rem, 2vw + 0.8rem, 2.3rem);
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}

.listing-facts li { white-space: nowrap; }

.listing-facts li:not(:last-child)::after {
  content: "·";
  color: var(--sea-stroke);
  margin-left: 0.65rem;
  font-weight: 700;
}

.listing-body p { color: #2C4854; font-size: 0.98rem; }

.listing-body .check-list { margin: 0.4rem 0 1.3rem; }

.listing-body .check-list li { font-size: 0.93rem; padding-block: 0.45rem; }

.listing-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.listing-note {
  margin: 1.4rem auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-2);
}

@media (max-width: 880px) {
  .listing { grid-template-columns: 1fr; }
  .listing-media { min-height: 240px; }
}

/* =========================================================
   Lifestyle blog
   ========================================================= */

.post-list {
  display: grid;
  gap: 2rem;
  max-width: 760px;
  margin-inline: auto;
}

.post {
  background: var(--foam);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 110px;
}

.post h2 { font-size: clamp(1.5rem, 2vw + 0.6rem, 1.95rem); font-weight: 520; }

.post-meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-ink);
  margin: 0 0 0.8rem;
}

.post p { color: #2C4854; }

.post .post-sign {
  font-family: "Allura", cursive;
  font-size: 1.5rem;
  color: var(--script-ink);
  margin: 0.6rem 0 0;
}

/* =========================================================
   Footer brand — script name + Beach-Homes.com Realty logo
   ========================================================= */

.foot-script {
  display: block;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 1.85rem;
  line-height: 1.15;
  color: #9FD8DF;
}

.bhr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.bhr-icon { width: 36px; height: 40px; flex: none; }

.bhr-words { line-height: 1.12; }

.bhr-l1 {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.bhr-l1 small {
  font-size: 0.62em;
  vertical-align: 0.28em;
  letter-spacing: 0.06em;
}

.bhr-l2 {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.34em;
  color: #35C0B4;
}

.bhr-l2 sup { font-size: 0.55em; letter-spacing: 0; }

/* Real Beach-Homes.com Realty logo (images/bhr-logo.png) on a light chip */

.bhr-img {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px 7px;
  margin-top: 1.2rem;
}

.bhr-img img { display: block; width: 200px; height: auto; }

.foot-search { margin-top: 1.1rem; font-size: 0.92rem; }

/* Social icon links (footer + contact card) */

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1.5px solid rgba(159, 216, 223, 0.45);
  color: #DCE7E4;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.social a:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.social svg { width: 18px; height: 18px; }
