/* ==========================================================================
   Blue Turtle Five LLC — site stylesheet
   Brand palette: deep navy #0D1B3D, bright blue #1E5BFF (sparing),
   gold #D4AF37, off-white #F5F7FA
   Type: Montserrat (headings), Avenir Next / system sans (body)
   ========================================================================== */

:root {
  --navy: #0D1B3D;
  --navy-soft: #16295c;
  --blue: #1E5BFF;
  --blue-deep: #1747c4;
  --gold: #D4AF37;        /* highlights, rules, accents on navy */
  --gold-soft: #e3c566;   /* gold text on navy backgrounds */
  --gold-text: #8a6d1f;   /* gold text on light backgrounds (AA contrast) */
  --paper: #F5F7FA;
  --paper-soft: #e9edf4;
  --line: #dce2ec;
  --ink: #1c2536;
  --ink-soft: #4d5a72;
  --white: #ffffff;
  --head: "Montserrat", "Avenir Next", -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
  --sans: "Avenir Next", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 68rem;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(13, 27, 61, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
}

h1 { font-size: clamp(1.85rem, 4.8vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 600; }

p { margin-bottom: 1rem; }

a { color: var(--blue); }
a:hover { color: var(--gold-text); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }
.section--cream { background: var(--paper-soft); }
.section--navy { background: var(--navy); color: var(--paper); }
.section--navy h2, .section--navy h3 { color: var(--paper); }
.section--navy p { color: #c9d4e8; }
.section--navy a { color: #8fb0ff; }
.section--navy a:hover { color: var(--gold-soft); }

.eyebrow {
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: block;
  margin-bottom: 0.65rem;
}

.hero .eyebrow, .section--navy .eyebrow, .cta-band .eyebrow { color: var(--gold-soft); }

.section-intro {
  max-width: 42rem;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
}

.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--paper);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.8rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo svg, .logo img { flex-shrink: 0; }

.logo-text {
  font-family: var(--head);
  white-space: nowrap;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
}

.logo-text .logo-5 { color: var(--gold); }

.logo-text small {
  display: block;
  font-family: var(--head);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-text); }

.site-nav .nav-cta {
  background: var(--navy);
  color: var(--paper);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.site-nav .nav-cta:hover { background: var(--blue-deep); color: var(--paper); }

@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
  }
  .site-nav li { border-top: 1px solid var(--paper-soft); }
  .site-nav li:first-child { border-top: none; }
  .site-nav a { display: block; padding: 0.85rem 1.5rem; }
  .site-nav .nav-cta { margin: 0.75rem 1.5rem; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #122352 60%, #1b3775 100%);
  color: var(--paper);
  padding: 4.5rem 0 5rem;
}

.hero h1 { color: var(--paper); max-width: 24ch; }

.hero .lede {
  font-size: 1.15rem;
  color: #c9d4e8;
  max-width: 46rem;
  margin: 1.25rem 0 2rem;
}

.hero--page { padding: 3.25rem 0 3.5rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy); }

.btn--navy { background: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--blue-deep); color: var(--paper); }

.btn--outline-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--gold-soft);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); color: var(--paper); }

/* --------------------------------------------------------------------------
   Photo placeholders (swap for real photos later)
   -------------------------------------------------------------------------- */

.ph {
  background: linear-gradient(150deg, #eef1f7 0%, #dfe5ef 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 15rem;
  padding: 1.5rem;
  gap: 0.6rem;
}

.ph--tall { min-height: 21rem; }
.ph--wide { min-height: 17rem; }

/* Real photos filling placeholder slots */
.photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.card .photo { border: none; border-radius: 0; border-bottom: 1px solid var(--line); }

.photo--tall { aspect-ratio: 3 / 4; }

.grid-note {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
}

.ph .ph-mark {
  font-family: var(--head);
  font-size: 1.5rem;
  color: var(--gold);
}

.ph figcaption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 22ch;
}

/* --------------------------------------------------------------------------
   Grids & cards
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card .ph { border: none; border-radius: 0; border-bottom: 1px solid var(--line); }

.card-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; }

.card-body h3 { margin-bottom: 0.5rem; }

.card-body p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.75rem; }

.card-link {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--blue);
}

/* Steps (how it works) */

.steps { counter-reset: step; }

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* Trust / feature list */

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--gold-soft);
  color: var(--gold-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.feature h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.section--navy .feature-icon { background: rgba(255, 255, 255, 0.06); color: var(--gold-soft); }
.section--navy .feature h3 { color: var(--paper); }
.section--navy .feature p { color: #c9d4e8; }

/* Split layout (text + image) */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

/* Timeline */

.timeline { list-style: none; border-left: 2px solid var(--gold-soft); margin: 1.5rem 0 0 0.5rem; }

.timeline li { padding: 0 0 1.6rem 1.5rem; position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gold);
}

.timeline strong { display: block; color: var(--navy); font-size: 1.02rem; }
.timeline span { color: var(--ink-soft); font-size: 0.95rem; }

/* FAQ / details */

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
}

.faq summary {
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq details p { margin: 0.75rem 0 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

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

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-family: var(--head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field .optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.field textarea { resize: vertical; min-height: 7rem; }

.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 1rem; }

.form-success {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.form-error {
  font-size: 0.9rem;
  color: #8a2a2a;
  background: #faf0f0;
  border: 1px solid #e5c9c9;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

/* Investment blocks */

.invest { max-width: 44rem; }

.invest-list {
  list-style: none;
  margin: 1.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.invest-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.invest-list span { color: var(--ink); }

.invest-list strong {
  font-family: var(--head);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.invest-includes { font-size: 0.95rem; color: var(--ink-soft); }

.invest-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 0;
}

/* Contact page: form + direct-contact aside */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 2rem;
  align-items: start;
  max-width: 64rem;
}

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

.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.contact-aside h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.contact-aside > p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-aside ul { list-style: none; margin: 1.25rem 0; }
.contact-aside li { margin-bottom: 1rem; }

.ca-label {
  display: block;
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.15rem;
}

.ca-phone {
  font-family: var(--head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.ca-phone:hover { color: var(--blue-deep); }

.ca-note { font-size: 0.85rem; font-style: italic; color: var(--ink-soft); margin: 0; }

/* Phone callout (funeral homes) */

.phone-callout {
  text-align: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.phone-callout a { color: var(--blue-deep); text-decoration: none; white-space: nowrap; }

/* Founder blurb (home) and signature (about) */

.founder-quote {
  font-family: var(--head);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  max-width: 42rem;
  margin: 0 auto 0.75rem;
}

.founder-attrib { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }

.founder-sig {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.25rem;
  font-size: 1.02rem;
  color: var(--navy);
  margin-top: 1.5rem;
}

.founder-sig a { white-space: nowrap; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 3.5rem 1.25rem;
  border-top: 3px solid var(--gold);
}

.cta-band h2 { color: var(--paper); margin-bottom: 0.75rem; }
.cta-band p { color: #c9d4e8; max-width: 38rem; margin: 0 auto 1.75rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #c9d4e8;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.site-footer h4 {
  color: var(--gold-soft);
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #c9d4e8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }

.footer-brand .logo-text { color: var(--paper); }
.footer-brand .logo-text small { color: var(--gold-soft); }
.footer-brand p { color: #c9d4e8; opacity: 0.9; max-width: 30rem; margin-top: 0.75rem; }

.footer-tagline {
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0.5rem 0 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   First Light Collection — page-scoped dawn-gold accents
   -------------------------------------------------------------------------- */

.page-first-light .hero {
  background:
    radial-gradient(120% 70% at 50% 118%, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0) 62%),
    linear-gradient(160deg, var(--navy) 0%, #122352 60%, #1b3775 100%);
}

.page-first-light .hero .eyebrow { color: #edd584; }

.fl-tagline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #edd584;
  margin: 1.1rem 0 0;
}

.fl-tagline::before,
.fl-tagline::after {
  content: "";
  height: 1px;
  width: 2.4rem;
  background: var(--gold);
  flex-shrink: 0;
}

.page-first-light .section--dawn {
  background: linear-gradient(180deg, #f7f1e2 0%, var(--paper-soft) 100%);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

.page-first-light .ph {
  background: linear-gradient(150deg, #f2eddd 0%, #e6dfcb 100%);
  border-color: #e0d7bd;
}

/* --------------------------------------------------------------------------
   Prose (privacy page, long-form)
   -------------------------------------------------------------------------- */

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
