/* Phase 7.2 home page: Direction C editorial layout. */

body.home {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: #4c5a64;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.home #marine-content-inner,
body.home #main-content {
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.home #marine-content-inner *,
body.home #marine-content-inner *::before,
body.home #marine-content-inner *::after {
  box-sizing: border-box;
}

body.home #marine-content-inner img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Low-specificity home-content defaults (0,1,1 via :where) so Direction C's
   component rules (0,2,x) always win, and scoped to `main` so the nav + legacy
   footer links are untouched. Body copy 16.5px to match the approved mockup. */
body.home main :where(p) {
  margin: 0 0 1em;
  font-size: 16.5px;
}

body.home main :where(h1, h2, h3) {
  margin: 0;
  color: #1d2a33;
}

body.home main a {
  color: #0e6c9c;
}

body.home .wrap {
  max-width: var(--content-width-lg);
  margin: 0 auto;
  padding: 0 24px;
}

body.home .smallcaps {
  font: 600 12.5px/1.5 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6f6152;
}

body.home .btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 700 16px/1.2 var(--font-body);
  text-decoration: none;
  background: var(--color-brand-hover);
  color: #fff;
  transition: background-color .18s ease;
}

body.home .btn-pill:hover,
body.home .btn-pill:focus-visible {
  background: #0b5c81;
  color: #fff;
  text-decoration: none;
}

body.home .btn-pill svg {
  flex: none;
}

body.home .text-link {
  font: 700 15.5px/1.4 var(--font-body);
  color: #14263f;
  text-decoration: underline;
  text-decoration-color: var(--color-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .15s ease;
}

body.home .text-link:hover,
body.home .text-link:focus-visible {
  color: #0e6c9c;
}

/* ============================================================
   Hero FINAL — chosen Direction B layout, Direction A generosity
   (Chris, phase 7: "keep Option 1, but the photo is too tight —
   make it big like Option 3.")
   A tall full-width facade band (~58vh desktop, was ~42vh) leads
   the page; the Reefsea masthead — caps wordmark, letterhead rule,
   tagline, CTAs — sits in a clean band directly beneath it.
   Namespaced .rs-* — rides on top of the real Direction C cascade.
   ============================================================ */

body.home .rs-band {
  position: relative;
  margin: 0;
  background: #0a1620;
}

/* #marine-content-inner prefix beats the site's `#marine-content-inner img
   { height: auto }` (1,1,1) which otherwise overrides the fixed height. */
body.home #marine-content-inner .rs-band img {
  display: block;
  width: 100%;
  /* Chris feedback #2: was clamp(320px, 42vh, 470px) — too tight a strip.
     ~58vh puts the photo at Direction-A generosity while the masthead
     still opens right at the fold. */
  height: clamp(440px, 58vh, 640px);
  object-fit: cover;
  /* Anchor near the bottom of the frame: full facade + lawn in view,
     a calm band of sky above the roofline — not a sky-heavy crop. */
  object-position: 50% 88%;
}

body.home .rs-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 90px 40px 24px;
  background: linear-gradient(0deg,
    rgba(10, 22, 32, .66) 0%,
    rgba(10, 22, 32, .24) 55%,
    rgba(10, 22, 32, 0) 100%);
  color: #fff;
  text-align: left;
}

body.home .rs-band .cap-script {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

body.home .rs-band .cap-sub {
  font: 600 12px/1.7 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e7eef4;
}

body.home .rs-mast {
  text-align: center;
  padding: clamp(30px, 4vh, 40px) 24px 56px;
}

body.home .rs-mast .rs-kicker {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.1;
  color: var(--color-brand);
  margin: 0 0 8px;
}

body.home .rs-lockup {
  margin: 0;
}

body.home .rs-name {
  display: block;
  font: 300 clamp(34px, 4.2vw, 54px)/1.16 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1d2a33;
}

body.home .rs-role {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  font: 600 12.5px/1.6 var(--font-body);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #6f6152;
}

body.home .rs-role::before,
body.home .rs-role::after {
  content: "";
  width: 56px;
  height: 1px;
  background: #d8cdb8;
}

body.home .rs-tagline {
  margin: 20px auto 0;
  font: italic 300 clamp(22px, 2.5vw, 29px)/1.5 var(--font-body);
  color: #43525c;
}

body.home .rs-sub {
  margin: 12px auto 30px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.75;
  color: #55636d;
}

body.home .rs-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  body.home #marine-content-inner .rs-band {
    overflow: hidden;
  }

  body.home #marine-content-inner .rs-band img {
    /* was a 224px strip; give the phone the same generous lead image */
    height: clamp(300px, 40svh, 380px);
    object-position: 50% 88%;
    /* mild zoom trims dead sky while keeping both wings of the house */
    transform: scale(1.2);
    transform-origin: 50% 88%;
  }

  body.home .rs-band figcaption {
    padding: 60px 20px 16px;
  }

  body.home .rs-band .cap-script {
    font-size: 23px;
  }

  body.home .rs-band .cap-sub {
    font-size: 10.5px;
    letter-spacing: .16em;
  }

  body.home .rs-mast {
    padding: 36px 20px 46px;
  }

  body.home .rs-name {
    font-size: 26px;
    letter-spacing: .15em;
  }

  body.home .rs-role {
    gap: 0;
    font-size: 10.5px;
    letter-spacing: .2em;
  }

  body.home .rs-role::before,
  body.home .rs-role::after {
    display: none;
  }

  body.home .rs-tagline {
    font-size: 21px;
    max-width: 30ch;
  }

  body.home .rs-sub {
    font-size: 16px;
    margin-bottom: 28px;
  }

  body.home .rs-ctas {
    flex-direction: column;
    gap: 18px;
  }

  body.home .rs-ctas .btn-pill {
    width: 100%;
    max-width: 340px;
  }
}

body.home .cred {
  border-bottom: 1px solid #ece7dc;
}

body.home .cred-list {
  list-style: none;
  margin: 0 auto;
  max-width: 1320px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

body.home .cred-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font: 600 12.5px/1.5 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #55636d;
}

body.home .cred-list li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbbd9f;
  flex: none;
}

body.home .chris {
  background: #f6f1e7;
  padding: 96px 0;
}

body.home .chris-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

body.home .portrait {
  margin: 0;
  background: #fdfbf6;
  border: 1px solid #e2d8c4;
  padding: 14px;
  box-shadow: 0 22px 44px rgba(94, 80, 56, .14);
}

body.home .portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

body.home .portrait .sig {
  display: block;
  text-align: center;
  padding: 16px 0 6px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  color: #0e6c9c;
}

body.home .chris h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -.01em;
  color: #1d2a33;
  margin: 14px 0 20px;
}

body.home .chris p {
  max-width: 58ch;
}

body.home .tel-editorial {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 8px;
  font: 700 clamp(24px, 3vw, 30px)/1.3 var(--font-body);
  color: #14263f;
  text-decoration: underline;
  text-decoration-color: var(--color-brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
  transition: color .15s ease;
}

body.home .tel-editorial svg {
  color: var(--color-brand);
  flex: none;
}

body.home .tel-editorial:hover,
body.home .tel-editorial:focus-visible {
  color: #0e6c9c;
}

body.home .chris-meta {
  font-size: 14px;
  color: #6f6152;
  margin: 16px 0 0;
}

body.home .testimonials {
  padding: 100px 0 90px;
}

body.home .t-head {
  text-align: center;
  margin-bottom: 70px;
}

body.home .t-head .smallcaps {
  display: block;
  margin-bottom: 14px;
}

body.home .t-rating {
  font: 600 15px/1.5 var(--font-body);
  color: #55636d;
  margin: 0;
}

body.home .pull {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
  margin: 0 0 84px;
}

body.home .pull-photo {
  margin: 0;
  background: #f6f1e7;
  padding: 14px;
  box-shadow: 0 24px 48px rgba(94, 80, 56, .14);
}

body.home .pull-photo img {
  width: 100%;
  height: auto;
}

body.home .pull-body {
  position: relative;
  padding-top: 34px;
}

body.home .pull-body::before {
  content: "\201C";
  position: absolute;
  top: -38px;
  left: -8px;
  font: 300 130px/1 var(--font-body);
  color: #e2d8c4;
}

body.home .pull blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

body.home .pull blockquote p {
  margin: 0 0 26px;
  font: 300 clamp(22px, 2.6vw, 30px)/1.5 var(--font-body);
  font-style: italic;
  color: #26333c;
  letter-spacing: -.005em;
}

body.home .pull .who {
  margin: 0;
  font: 600 13px/1.7 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1d2a33;
}

body.home .pull .who span {
  display: block;
  color: #6f6152;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: 12px;
}

body.home main .pull-note {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin: 0 auto 84px;
  padding: 4px 0 4px 40px;
  border-left: 3px solid #0e6c9c;
}

body.home main .pull-note .pull-body {
  padding-top: 0;
}

body.home main .pull-note .pull-body::before {
  content: none;
}

body.home main .note-tag {
  display: inline-block;
  margin: 0 0 18px;
  font: 700 12px/1.5 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6f6152;
}

body.home main .pull-note blockquote p {
  margin-bottom: 22px;
  font-size: clamp(24px, 2.9vw, 32px);
  line-height: 1.45;
}

body.home main .pull-note .who {
  margin-bottom: 12px;
}

body.home main .pull-note .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

body.home .pull-alt {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.home .pull-alt .pull-body {
  border-left: 3px solid var(--color-brand);
  padding: 6px 0 6px 40px;
}

body.home .pull-alt .pull-body::before {
  content: none;
}

body.home .pull-center {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

body.home .pull-center .pull-body {
  padding-top: 0;
}

body.home .pull-center .pull-body::before {
  content: none;
}

body.home .pull-center blockquote p {
  font-size: clamp(20px, 2.2vw, 25px);
}

body.home .award-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font: 600 12px/1.4 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f6152;
  border: 1px solid #e2d8c4;
  border-radius: 999px;
  padding: 9px 18px;
}

body.home .award-tag svg {
  color: #b8860b;
  flex: none;
}

body.home .t-more {
  text-align: center;
  margin-top: 8px;
}

body.home .homes {
  background: #fbf9f4;
  border-top: 1px solid #ece7dc;
  border-bottom: 1px solid #ece7dc;
  padding: 96px 0;
}

body.home .homes-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

body.home .homes-grid > figure {
  margin: 0;
  box-shadow: 0 26px 52px rgba(94, 80, 56, .16);
}

body.home .homes-grid img {
  width: 100%;
  height: auto;
}

body.home .homes h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 14px 0 20px;
}

body.home .homes p {
  max-width: 52ch;
}

body.home .homes-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  align-items: flex-start;
}

body.home .mini-strip {
  max-width: 1320px;
  margin: 72px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

body.home .mini-strip figure {
  margin: 0;
}

body.home .mini-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.home .mini-strip figcaption {
  margin-top: 12px;
  font: 600 12px/1.6 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6f6152;
}

body.home .cta-final {
  padding: 104px 0;
  text-align: center;
}

body.home .cta-final .script {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 54px);
  line-height: 1.1;
  color: var(--color-brand);
  margin: 0 0 16px;
}

body.home .cta-final h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 300;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}

body.home .cta-final p {
  max-width: 50ch;
  margin: 0 auto 34px;
}

body.home .cta-final .after {
  display: block;
  margin-top: 22px;
  font-size: 14.5px;
  color: #6f6152;
}

body.home .cta-final .after a {
  color: #14263f;
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  body.home .cred-list {
    justify-content: flex-start;
    gap: 10px 16px;
    padding: 18px 24px;
  }

  body.home .cred-list li {
    letter-spacing: .14em;
    font-size: 11.5px;
    gap: 16px;
  }

  body.home .chris {
    padding: 64px 0;
  }

  body.home .chris-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body.home .portrait {
    max-width: 300px;
    margin: 0 auto;
  }

  body.home .testimonials {
    padding: 64px 0 60px;
  }

  body.home .t-head {
    margin-bottom: 44px;
  }

  body.home .pull {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  body.home .pull-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  body.home .pull-body::before {
    top: -26px;
    font-size: 96px;
  }

  body.home .pull-alt .pull-body {
    padding-left: 22px;
  }

  body.home main .pull-note {
    margin-bottom: 56px;
    padding-left: 22px;
  }

  body.home main .note-tag {
    letter-spacing: .16em;
  }

  body.home .pull-center {
    margin-bottom: 40px;
  }

  body.home .homes {
    padding: 64px 0;
  }

  body.home .homes-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.home .mini-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }

  body.home .cta-final {
    padding: 68px 0;
  }

  body.home .cta-final .btn-pill {
    width: 100%;
    max-width: 340px;
  }
}
