/* Bellevue Estate Planning — Editorial Design System
   Adapted from eastside-estate-planning-guide reference
   Warm cream paper, Georgia serif headings, forest green accents
*/

:root {
  --ink: #17201d;
  --paper: #f5f1e8;
  --cream: #ebe4d6;
  --sage: #b8c8bb;
  --green: #24473b;
  --line: #17201d33;
  --white: #fffdf8;
}

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

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === SHELL CONTAINER === */
.shell {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

/* === HEADER === */
.site-header {
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.94);
  position: sticky;
  top: 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

nav a, .footer-links a { transition: opacity 0.2s; }
nav a:hover, .footer-links a:hover { opacity: 0.55; }

.header-call {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-call span { margin-left: 8px; font-weight: 700; }

/* === HEADINGS === */
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

h1 { font-size: clamp(50px, 7vw, 86px); line-height: 0.98; }
h1 em { color: var(--green); font-weight: 400; }

h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; }

h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  margin: 0 0 8px;
}

/* === HERO === */
.hero { padding: 78px 0 34px; }

.eyebrow {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  margin-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.hero-copy > p:first-child {
  margin: 0 0 30px;
  font-family: Georgia, serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}

.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--green); }
.button.secondary:hover { background: var(--cream); }
.button.full { width: 100%; }

.fine-print { color: rgba(23, 32, 29, 0.65); font-size: 11px; margin: 16px 0 0; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.trust-row span:not(:first-child) {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

/* === HERO PHOTO === */
.hero-photo {
  background: var(--cream);
  margin: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-photo img {
  aspect-ratio: 2.15;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  display: block;
}

.hero-photo::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 29, 0.1);
}

.hero-photo figcaption {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgba(245, 241, 232, 0.91);
  max-width: 420px;
  margin: 0;
  padding: 12px 15px;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.4;
  position: absolute;
  bottom: 20px;
  left: 24px;
}

/* === SECTIONS === */
.section { padding: 120px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading.compact { margin-bottom: 45px; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  margin: 7px 0 0;
}

/* === SERVICE CARDS === */
.service-grid { border-top: 1px solid var(--line); }

.service-card {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 25px;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}

.service-card:hover { background: var(--cream); padding: 0 20px; }

.card-number { font-family: Georgia, serif; font-size: 13px; }

.service-card h3 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 46px); }

.service-card p {
  color: rgba(23, 32, 29, 0.73);
  max-width: 620px;
  margin: 0;
  font-size: 14px;
}

.arrow { justify-self: end; font-size: 22px; }

/* === CONTRAST SECTION === */
.contrast { background: var(--green); color: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(60px, 10vw, 150px);
}

.kicker.light { color: var(--sage); margin-bottom: 50px; }

.steps { border-top: 1px solid rgba(255, 255, 255, 0.3); }

.steps div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.steps span { color: var(--sage); font-family: Georgia, serif; }
.steps p { margin: 0; font-family: Georgia, serif; font-size: 21px; line-height: 1.35; }

/* === AUDIENCE GRID === */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-grid > div {
  min-height: 245px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-grid strong {
  display: block;
  margin-bottom: 70px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.audience-grid p { margin: 0; font-size: 13px; }

/* === FAQ === */
.faq-section { border-top: 1px solid var(--line); }

.faq-list {
  border-top: 1px solid var(--line);
  max-width: 900px;
  margin-left: auto;
}

details { border-bottom: 1px solid var(--line); }

summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: 58px 1fr;
  padding: 26px 0;
  font-family: Georgia, serif;
  font-size: 23px;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary span {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 7px;
}

details > p {
  max-width: 700px;
  margin: 0 0 28px 58px;
  font-size: 14px;
}

/* === CONTACT SECTION === */
.contact-section { background: var(--sage); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 34px;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  margin: 0;
}

.phone-link {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 14px 0 4px;
}

/* === FOOTER === */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 60px;
}

.footer-brand { margin-bottom: 30px; }

.footer-note {
  color: rgba(255, 255, 255, 0.65);
  max-width: 330px;
  font-family: Georgia, serif;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.footer-links p {
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  font-size: 10px;
}

.legal-bar {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.legal-bar p { margin: 0; }

/* === MOBILE ACTIONS === */
.mobile-actions { display: none; }

/* === CONTENT PAGES === */
.content-hero {
  border-bottom: 1px solid var(--line);
  padding: 80px 0 60px;
}

.content-hero h1 { max-width: 900px; font-size: clamp(44px, 6vw, 80px); }

.content-hero .intro {
  max-width: 690px;
  margin: 35px 0 0 auto;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.4;
}

.content-body {
  display: grid;
  grid-template-columns: 0.45fr 1.15fr;
  gap: 70px;
  padding: 80px 0 120px;
}

.content-aside {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.content-aside a { display: block; padding: 6px 0; }

.prose { max-width: 760px; }

.prose h2 {
  font-size: 38px;
  line-height: 1.06;
  margin: 55px 0 20px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 35px 0 12px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.prose p, .prose li { font-size: 16px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose a { color: var(--green); text-decoration: underline; }

/* === PAGE CTA === */
.page-cta {
  background: var(--cream);
  border: 1px solid var(--line);
  margin-top: 60px;
  padding: 35px;
}

.page-cta h2 { margin-top: 0; font-size: 32px; }

.page-cta .actions { margin-top: 20px; }

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

th, td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}

th { background: var(--green); color: var(--white); font-family: Georgia, serif; font-weight: 400; }

tbody tr:nth-child(even) { background: var(--cream); }

/* === LEAD FORM === */
.lead-form {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 34px;
  margin-top: 30px;
}

.lead-form h2 {
  font-size: 28px;
  margin: 0 0 20px;
}

.lead-form label {
  display: block;
  margin: 12px 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: inherit;
}

.lead-form fieldset { border: none; margin: 12px 0; padding: 0; }

.lead-form fieldset legend {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 8px;
}

.lead-form fieldset label {
  display: inline-block;
  margin: 4px 12px 4px 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.lead-form button[type="submit"] {
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}

.lead-form button[type="submit"]:hover { background: var(--green); }

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 720px); }
  .site-header nav, .header-call span { display: none; }
  .hero { padding-top: 42px; }
  .eyebrow { margin-bottom: 38px; }
  .hero-grid, .section-heading, .split, .contact-grid, .content-body { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .hero-photo { margin-top: 48px; }
  .hero-photo figcaption { position: static; max-width: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; padding: 14px 0 0; }
  h1 { font-size: clamp(44px, 11vw, 64px); }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row span:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .section { padding: 80px 0; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid strong { margin-bottom: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .content-body { gap: 28px; }
  .content-aside { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 56px; }
  .nav-wrap { min-height: 70px; }
  .brand { font-size: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-grid { display: block; }
  .hero-copy { margin-top: 34px; }
  .actions { display: grid; }
  .section-heading { gap: 20px; }
  .service-card { grid-template-columns: 42px 1fr 22px; gap: 8px; min-height: 170px; }
  .service-card p { font-size: 12px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid > div { min-height: 190px; }
  .audience-grid strong { margin-bottom: 35px; }
  summary { grid-template-columns: 42px 1fr; font-size: 20px; }
  details > p { margin-left: 42px; }
  .contact-card { padding: 24px; }
  .phone-link { font-size: 31px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .legal-bar { flex-direction: column; }
  .mobile-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 56px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.12);
  }
  .mobile-actions a {
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--ink);
    background: var(--white);
  }
  .mobile-actions a:last-child {
    background: var(--ink);
    color: var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}