/* ==========================================================================
   Shoreline CFO Solutions: Design System
   Palette drawn from the Connecticut salt marshes: tidal water, marsh grass,
   low sky, and weathered sand.
   ========================================================================== */

:root {
  /* --- Core palette --- */
  --deep:        #12303C;  /* deep tidal water, primary dark */
  --deep-2:      #1B4553;  /* raised surface on dark */
  --harbor:      #2C6D80;  /* mid-tide teal, primary brand */
  --harbor-lt:   #4A93A6;  /* hover / light accent */
  --sky:         #C9DEE6;  /* low coastal sky */
  --mist:        #E7F0F3;  /* pale wash */
  --marsh:       #7C9A4E;  /* marsh grass, secondary accent */
  --marsh-lt:    #9DBA6C;
  --sand:        #E4D9C6;  /* tidal flat */
  --sand-lt:     #F3EDE3;
  --paper:       #FCFBF8;  /* page background */
  --ink:         #182629;  /* body text */
  --ink-soft:    #4B5F65;  /* secondary text */
  --line:        #DCE4E4;  /* hairlines */

  /* --- Type --- */
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:      clamp(2.2rem, 1.4rem + 2.9vw, 3.6rem);
  --fs-h2:      clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --fs-lead:    clamp(1.08rem, 1rem + 0.42vw, 1.32rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* --- Spacing / layout --- */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max:    1200px;
  --max-narrow: 760px;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --radius:    4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(18, 48, 60, .06), 0 2px 8px rgba(18, 48, 60, .05);
  --shadow-md: 0 4px 12px rgba(18, 48, 60, .07), 0 14px 40px rgba(18, 48, 60, .08);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--harbor); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--harbor-lt); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--deep);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.008em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

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

::selection { background: var(--sky); color: var(--deep); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--max-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--mist { background: var(--mist); }
.section--sand { background: var(--sand-lt); }

.section--deep {
  background: var(--deep);
  color: var(--sky);
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: rgba(233, 243, 246, .82); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--harbor);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--deep .eyebrow { color: var(--marsh-lt); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
}
.section--deep .lead { color: rgba(233, 243, 246, .88); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--harbor); color: #fff; }
.btn--primary:hover { background: var(--harbor-lt); color: #fff; box-shadow: var(--shadow-md); }

.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--deep-2); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--line); color: var(--deep); background: transparent; }
.btn--ghost:hover { border-color: var(--harbor); color: var(--harbor); background: #fff; }

.btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.btn--light:hover { background: #fff; color: var(--deep); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

@media (max-width: 520px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--harbor);
}
.tlink svg { transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 248, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(18, 48, 60, .05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--deep);
  flex-shrink: 0;
}
.logo:hover { color: var(--harbor); }
.logo__mark { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo__sub {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .3rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu li { margin: 0; }

.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  padding-block: .4rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--harbor);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--deep); font-weight: 600; }

.nav__cta { margin-left: .35rem; padding: .7rem 1.25rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--deep);
}
.nav__toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform .28s var(--ease), top .28s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.25rem 0 0; width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--deep);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 38, 48, .93) 0%, rgba(13, 45, 56, .78) 42%, rgba(16, 56, 68, .38) 72%, rgba(16, 56, 68, .22) 100%),
    linear-gradient(to top, rgba(11, 38, 48, .55) 0%, transparent 45%);
}

.hero__inner { position: relative; max-width: 700px; }

.hero__title {
  font-size: var(--fs-display);
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.hero__title em {
  font-style: italic;
  color: var(--sky);
}

.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(226, 240, 244, .9);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero .eyebrow { color: var(--marsh-lt); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: drift 2.4s var(--ease) infinite;
}
@keyframes drift {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50%      { transform: scaleY(.55); opacity: 1; }
}

/* Compact page hero for inner pages */
.pagehero {
  position: relative;
  isolation: isolate;
  background: var(--deep);
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pagehero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,38,48,.95) 0%, rgba(13,45,56,.86) 55%, rgba(16,56,68,.6) 100%);
}
.pagehero h1 { color: #fff; margin-bottom: .75rem; }
.pagehero .lead { color: rgba(226, 240, 244, .88); max-width: 40em; }
.pagehero .eyebrow { color: var(--marsh-lt); }

/* ==========================================================================
   Credential strip
   ========================================================================== */

.creds {
  background: var(--deep-2);
  border-top: 1px solid rgba(255,255,255,.08);
}
.creds__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.creds__list li {
  margin: 0;
  padding: 1.6rem 1.25rem;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.09);
  color: rgba(226, 240, 244, .85);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.creds__list li:first-child { border-left: 0; }
.creds__list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .2rem;
  letter-spacing: -0.02em;
}
@media (max-width: 760px) {
  .creds__list { grid-template-columns: repeat(2, 1fr); }
  .creds__list li:nth-child(3) { border-left: 0; }
  .creds__list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
}

/* ==========================================================================
   Split content (image + text)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.split__body { max-width: 34em; }

/* ==========================================================================
   Pain / gain lists
   ========================================================================== */

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .95rem;
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--marsh);
}
.checklist--muted li::before { border-color: var(--ink-soft); opacity: .45; }
.section--deep .checklist li { color: rgba(233, 243, 246, .85); }
.section--deep .checklist li::before { border-color: var(--marsh-lt); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--harbor);
  margin-bottom: 1.15rem;
}
.card__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--sky);
  line-height: 1;
  margin-bottom: .75rem;
  letter-spacing: -0.03em;
}

/* Service group (services page) */
.svc-group + .svc-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-group__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.svc-group__head h2 { margin: 0; font-size: var(--fs-h3); }
.svc-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
}
.svc-item:last-child { border-bottom: 0; }
.svc-item__icon { color: var(--harbor); padding-top: .15rem; }
.svc-item h3 { margin-bottom: 0; font-size: 1.15rem; padding-top: .05rem; }
.svc-item p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

@media (max-width: 900px) {
  .svc-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 1rem 1.25rem;
  }
  .svc-item h3 { margin-bottom: .4rem; }
  .svc-item p { grid-column: 2; }
}
@media (max-width: 520px) {
  .svc-item { grid-template-columns: 1fr; }
  .svc-item__icon { display: none; }
  .svc-item p { grid-column: 1; }
}

/* ==========================================================================
   Quote
   ========================================================================== */

.quote {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1rem + 1.8vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin: 0;
  text-wrap: balance;
}
.section--deep .quote { color: #fff; }
.quote__mark {
  display: block;
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0;
  color: var(--marsh);
  margin-bottom: 1.75rem;
  height: 1rem;
}
.quote__by {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1.75rem;
}
.section--deep .quote__by { color: var(--sky); }

/* ==========================================================================
   Bio / About
   ========================================================================== */

.bio { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .bio { grid-template-columns: 1fr; } }

.bio__aside { position: sticky; top: 110px; }
@media (max-width: 900px) { .bio__aside { position: static; } }

.bio__portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.factlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.factlist li {
  margin: 0;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
}
.factlist dt, .factlist .k {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}
.factlist .v { text-align: right; color: var(--deep); font-weight: 500; }

.prose > h2 { margin-top: 2.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }
.prose .lead { color: var(--ink-soft); }

/* ==========================================================================
   Steps
   ========================================================================== */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1.5rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--harbor);
  padding-top: .18rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: .5rem; }
}

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

.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(11,38,48,.96) 0%, rgba(13,45,56,.88) 50%, rgba(18,60,72,.7) 100%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(226,240,244,.85); }

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

.site-footer {
  background: var(--deep);
  color: rgba(226, 240, 244, .72);
  font-size: var(--fs-sm);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: rgba(226, 240, 244, .82); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: var(--sky); }
.site-footer .logo__sub { color: rgba(226,240,244,.6); }

.footer-blurb { max-width: 32em; margin-top: 1.25rem; line-height: 1.65; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .65rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(226,240,244,.55);
}

/* ==========================================================================
   Image placeholder slots
   ========================================================================== */

.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sky) 0%, var(--mist) 45%, var(--sand) 100%);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.media--4x5  { aspect-ratio: 4 / 5; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* Shown only when the real image is missing */
.media.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.35) 0 2px, transparent 2px 10px);
  opacity: .55;
}
.media.is-empty::after {
  content: "IMAGE PLACEHOLDER";
  position: absolute;
  inset: 50% 1rem auto 1rem;
  transform: translateY(-50%);
  color: var(--deep);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  padding: 0;
  text-align: center;
  opacity: .5;
}

/* Decorative frame accent behind key images */
.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 62%;
  height: 62%;
  border: 1px solid var(--marsh);
  border-radius: var(--radius-lg);
  opacity: .35;
  z-index: -1;
}
.media-frame > .media { position: relative; z-index: 1; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

/* Only hide content when JS is available to reveal it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 2.5rem; }

/* Horizon rule: a small nod to the shoreline */
.horizon {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, var(--line) 15%, var(--line) 85%, transparent);
  margin: 0;
}

@media print {
  .site-header, .hero__scroll, .cta-band, .nav__toggle { display: none !important; }
  body { background: #fff; }
}
