/* Blue Bay Property Management - site styles
   Palette taken from the bay itself: deep Atlantic, St Ives turquoise, Carbis sand, granite, lugger-sail rust. */
:root {
  --ink: #0d2b3a;
  --ink-2: #163f52;
  --sea: #1d6f73;
  --sea-bright: #4fb3ad;
  --surf: #e6f0ee;
  --sand: #f3ead9;
  --sand-2: #e9dcc2;
  --paper: #fbf8f1;
  --granite: #55626b;
  --rust: #b4532f;
  --text: #1b2a31;
  --muted: #55626b;
  --line: rgba(13, 43, 58, .14);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea-bright); outline-offset: 3px; }
address { font-style: normal; }
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "opsz" 96;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h2 { font-size: clamp(30px, 3.4vw + 10px, 52px); }
h3 { font-size: clamp(21px, 1vw + 14px, 26px); font-weight: 500; }
p { margin: 0 0 1em; }
.big { font-size: 1.18em; line-height: 1.6; color: var(--ink-2); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; }

/* ---------- Labels, links, buttons ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 18px;
}
.label span {
  font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: 0;
  font-size: 15px; color: var(--rust);
}
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid var(--sea-bright); padding-bottom: 2px; transition: gap .25s var(--ease), color .2s;
}
.text-link::after { content: "\2192"; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--sea); }
.text-link:hover::after { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.2 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-ink { background: var(--ink); color: var(--sand); }
.btn-ink:hover { background: var(--sea); color: #fff; box-shadow: 0 12px 28px -14px rgba(13,43,58,.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself
   would become the containing block for the fixed mobile menu and trap it inside the bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(13,43,58,.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sea); margin-top: 3px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sea-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--sea); }
.site-nav .nav-cta { background: var(--ink); color: var(--sand); padding: 10px 20px; border-radius: 999px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--sea); color: #fff; }
.nav-phone { display: none; }

/* Mobile menu: a solid, high-contrast toggle that is visible on every background */
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 18px;
  background: var(--ink); color: var(--sand); border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
}
.menu-toggle-icon { display: grid; gap: 4px; width: 20px; }
.menu-toggle-icon span { display: block; height: 2px; background: var(--sand); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 60; }
  .site-nav {
    position: fixed; inset: 0; z-index: 55; background: var(--ink);
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(243,234,217,.14); }
  .site-nav a { display: block; color: var(--sand); font-family: var(--display); font-size: clamp(26px, 7vw, 34px); padding: 16px 0; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--sea-bright); }
  .site-nav .nav-cta { background: none; padding: 16px 0; color: var(--sand); border-radius: 0; }
  .site-nav .nav-cta:hover { background: none; color: var(--sea-bright); }
  .nav-phone { display: block; margin: 32px 0 0; }
  .nav-phone a { font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--sea-bright); padding: 0; }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-toggle { background: var(--sand); color: var(--ink); }
  body.menu-open .menu-toggle-icon span { background: var(--ink); }
}
@media (max-width: 520px) {
  .brand-sub { font-size: 9px; letter-spacing: .16em; white-space: nowrap; }
  .brand-name { font-size: 19px; }
}
@media (max-width: 380px) {
  .menu-toggle-label { display: none; }
  .menu-toggle { padding: 0 14px; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 50% 60%; animation: drift 24s ease-in-out infinite alternate; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,43,58,.55) 0%, rgba(13,43,58,0) 28%),
    linear-gradient(0deg, rgba(10,32,44,.92) 0%, rgba(10,32,44,.55) 38%, rgba(10,32,44,0) 70%);
}
.hero-inner { padding-bottom: clamp(56px, 9vh, 110px); padding-top: 120px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--sand); text-shadow: 0 1px 12px rgba(10,32,44,.7); }
.hero .eyebrow::before, .page-hero .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--sea-bright); vertical-align: middle; margin-right: 12px; }
.hero-title {
  color: #fff; font-size: clamp(42px, 6.4vw + 6px, 96px); line-height: .98; font-weight: 400;
  max-width: 13.5em; margin-bottom: 26px; letter-spacing: -.025em;
}
.hero-title em { font-style: italic; color: var(--sand); font-weight: 400; }
.hero-lede { max-width: 36em; font-size: clamp(17px, .6vw + 14px, 20px); color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 36px);
  width: 156px; height: 156px; border-radius: 50%;
  background: var(--sand); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  animation: bob 6s ease-in-out infinite;
}
.hero-badge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(13,43,58,.35); }
.hero-badge-num { font-family: var(--display); font-size: 54px; line-height: .9; font-weight: 500; color: var(--rust); }
.hero-badge-text { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; margin-top: 6px; }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: 230px; }
  .hero-badge { width: 118px; height: 118px; top: calc(var(--header-h) + 22px); right: 18px; padding: 12px; }
  .hero-badge-num { font-size: 40px; }
  .hero-badge-text { font-size: 9.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  min-height: clamp(340px, 52vh, 520px); display: flex; align-items: flex-end;
}
.page-hero .hero-media img { object-fit: cover; }
.page-hero .hero-shade { background: linear-gradient(0deg, rgba(10,32,44,.9) 0%, rgba(10,32,44,.35) 55%, rgba(10,32,44,.15) 100%); }
.page-hero-inner { padding-top: 80px; padding-bottom: clamp(40px, 7vh, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(36px, 4.6vw + 10px, 76px); font-weight: 400; line-height: 1.02; max-width: 15em; margin: 0; letter-spacing: -.02em; }
.page-hero.plain { min-height: auto; background: var(--ink); }
.page-hero.plain .page-hero-inner { padding-top: 96px; }

/* Tide line under every hero */
.tide { display: block; width: 100%; height: 34px; }
.tide-hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }
.tide-hero path { fill: var(--paper); }
.tide-line { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; height: 20px; width: 100%; pointer-events: none; }
.tide-line path { fill: none; stroke: var(--sea-bright); stroke-width: 1.5; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .5s var(--ease) forwards; opacity: .7; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-col > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Story: photo with an overlapping card */
.story { padding-top: 0; }
.story .story-media { width: min(66%, 900px); margin-left: auto; margin-right: var(--gutter); }
.story .story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story-card {
  position: relative; z-index: 2; background: var(--ink); color: rgba(243,234,217,.88);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  margin: clamp(-260px, -18vw, -120px) auto 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(13,43,58,.6);
}
.story-card h2 { color: var(--sand); font-size: clamp(28px, 2.4vw + 12px, 42px); }
.story-card .label { color: var(--sea-bright); }
.story-card p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .story .story-media { width: 100%; margin: 0; }
  .story .story-media img { border-radius: 0; aspect-ratio: 3 / 2; }
  .story-card { margin: -60px var(--gutter) 0; width: auto; }
}

/* Audience trio on sand, with a contour-map texture */
.audiences { background: var(--sand); overflow: hidden; }
.contours {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23c9b893' stroke-width='1'%3E%3Cpath d='M-20 120c80-60 160 40 260-10s180-90 380 20'/%3E%3Cpath d='M-20 160c90-50 170 50 270 0s170-80 370 30'/%3E%3Cpath d='M-20 200c100-40 180 60 280 10s160-70 360 40'/%3E%3Cpath d='M-20 330c120 40 200-60 300-20s160 90 340 30'/%3E%3Cpath d='M-20 370c110 50 190-50 290-10s170 80 350 40'/%3E%3Cpath d='M-20 410c100 60 180-40 280 0s180 70 360 50'/%3E%3Cpath d='M-20 520c70-30 150 30 250 0s200-40 390 10'/%3E%3Cpath d='M-20 560c80-20 160 40 260 10s190-30 380 20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
}
.audiences .wrap { position: relative; }
.audiences > .wrap > h2 { max-width: 18em; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.trio-item { background: var(--paper); padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border-top: 4px solid var(--sea); display: flex; flex-direction: column; }
.trio-item:nth-child(2) { border-top-color: var(--rust); transform: translateY(28px); }
.trio-item:nth-child(3) { border-top-color: var(--ink); }
.trio-item p { color: var(--muted); }
.trio-item .text-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .trio { grid-template-columns: 1fr; } .trio-item:nth-child(2) { transform: none; } }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); counter-reset: step; }
.steps-three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; background: var(--paper); border-radius: var(--radius); padding: 28px 26px 30px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-style: italic;
  font-size: 44px; line-height: 1; color: var(--rust); margin-bottom: 18px;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps, .steps-three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .steps-three { grid-template-columns: 1fr; } }

/* Care grid */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sand-2); margin-top: clamp(32px, 4vw, 56px); border: 1px solid var(--sand-2); border-radius: var(--radius); overflow: hidden; }
.care { background: var(--paper); padding: 32px 28px; }
.care h3 { position: relative; padding-top: 22px; }
.care h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; background: var(--sea-bright); }
.care p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .care-grid { grid-template-columns: 1fr; } }

/* Feature row */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Pledge */
.pledge { background: var(--ink); color: var(--sand); text-align: center; overflow: hidden; }
.pledge::before { content: "\201C"; position: absolute; left: 50%; top: -.1em; transform: translateX(-50%); font-family: var(--display); font-size: 340px; line-height: 1; color: rgba(79,179,173,.12); pointer-events: none; }
.pledge-inner { position: relative; max-width: 940px; }
.pledge-quote { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(26px, 2.8vw + 10px, 46px); line-height: 1.25; margin-bottom: 26px; }
.pledge-by { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sea-bright); margin: 0; }

/* CTA band */
.cta-band { color: #fff; isolation: isolate; overflow: hidden; padding: clamp(90px, 13vw, 180px) 0; }
.cta-media, .cta-media picture, .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-media { z-index: -2; }
.cta-media img { object-fit: cover; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,32,44,.88) 0%, rgba(10,32,44,.55) 55%, rgba(10,32,44,.2) 100%); }
.cta-inner { max-width: 760px; margin-left: max(0px, calc((100vw - var(--wrap)) / 2)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.12em; max-width: 34em; margin-bottom: 30px; }

.cta-slim { background: var(--surf); padding: clamp(48px, 6vw, 80px) 0; }
.cta-slim-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-slim h2 { margin: 0; font-size: clamp(26px, 2vw + 14px, 38px); max-width: 18em; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 16px 28px; margin: 28px 0 0; }
.contact-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 1.08em; overflow-wrap: anywhere; }
.contact-list dd > a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--sea-bright); }
.contact-list address { margin-bottom: 10px; }
.contact-form { background: var(--sand); padding: clamp(26px, 4vw, 48px); border-radius: var(--radius); }
.form-title { font-size: clamp(26px, 1.6vw + 16px, 34px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 16px/1.4 var(--body); color: var(--text); background: var(--paper);
  border: 1.5px solid var(--sand-2); border-radius: var(--radius); padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(79,179,173,.3); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--sea); }
.form-status.err { color: var(--rust); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-list { grid-template-columns: 1fr; gap: 4px; } .contact-list dd { margin-bottom: 14px; } }

/* Prose pages */
.prose h2 { font-size: clamp(24px, 1.4vw + 16px, 32px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.credits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.credits-list li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; }
.credits-list img { width: 140px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.credits-list p { margin: 0; font-size: 15px; }
@media (max-width: 520px) { .credits-list li { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.tide-footer { height: 40px; margin-bottom: -1px; }
.footer-body { background: var(--ink); color: rgba(243,234,217,.78); padding: 48px 0 32px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(243,234,217,.14); }
.footer-name { font-family: var(--display); font-size: 24px; color: var(--sand); margin-bottom: 10px; }
.footer-head { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sea-bright); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--sand); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--sea-bright); text-decoration: underline; }
.prs { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 14px 10px 10px; border: 1px solid rgba(243,234,217,.25); border-radius: var(--radius); font-size: 14px; }
.prs-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.footer-legal { padding-top: 24px; font-size: 13px; color: rgba(243,234,217,.6); }
.footer-legal p { margin: 0 0 6px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.lost h1 { font-size: clamp(40px, 5vw + 12px, 80px); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
.trio .reveal:nth-child(2), .steps .reveal:nth-child(2), .care-grid .reveal:nth-child(2) { transition-delay: .1s; }
.trio .reveal:nth-child(3), .steps .reveal:nth-child(3), .care-grid .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tide-line path { stroke-dashoffset: 0; }
}
