/* edwarmoth.com shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:    #f6f8fc;
  --cream-2:  #eef2f8;
  --cream-3:  #e2e8f2;
  --white:    #ffffff;
  --ink:      #1c2333;
  --ink-mid:  #364055;
  --ink-soft: #607090;
  --ink-faint:#8898b0;
  --rule:     #c8d4e4;
  --rule-lt:  #dce6f2;
  --navy:     #1a3058;
  --navy-mid: #234070;
  --steel:    #3a6090;
  --steel-lt: #5a80b0;
  --blue-pale:#e8f0fa;
  --blue-link:#1a5090;
  --serif:    'Merriweather', Georgia, 'Times New Roman', serif;
  --sans:     'Source Sans 3', system-ui, Helvetica, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--serif); background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-link); }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* HEADER */
.site-header { background: var(--navy); }
.header-top { background: var(--navy); padding: 2rem 2rem 1.5rem; max-width: 960px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.header-name { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -0.01em; }
.header-name span { display: block; font-size: 0.95rem; font-weight: 300; font-style: italic; color: #a8c0d8; margin-top: 0.375rem; letter-spacing: 0; }
.header-tagline { font-family: var(--sans); font-size: 0.825rem; color: #7898b8; text-align: right; line-height: 1.6; max-width: 280px; }
.site-nav { background: var(--navy-mid); border-top: 1px solid #2a5080; }
.site-nav ul { max-width: 960px; margin: 0 auto; padding: 0 2rem; list-style: none; display: flex; }
.site-nav a { display: block; padding: 0.75rem 1.25rem; font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: #a8c0d8; text-decoration: none; letter-spacing: 0.02em; border-right: 1px solid #1a3a60; transition: background 0.15s, color 0.15s; }
.site-nav a:hover, .site-nav a.active { background: #1a2848; color: var(--white); }
.site-nav li:first-child a { border-left: 1px solid #1a3a60; }

/* LAYOUT */
.page-wrap { max-width: 960px; margin: 0 auto; padding: 2rem 2rem 3rem; }
h1.page-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
h2.section-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 2rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
p { margin-bottom: 1rem; font-size: 0.9375rem; font-weight: 300; color: var(--ink-mid); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }
.clearfix::after { content: ''; display: table; clear: both; }

/* FLOAT IMAGES */
.img-right { float: right; margin: 0 0 1rem 1.5rem; border: 1px solid var(--rule); padding: 4px; background: var(--white); }
.img-left { float: left; margin: 0 1.5rem 1rem 0; border: 1px solid var(--rule); padding: 4px; background: var(--white); }

/* INTRO BOX */
.intro-box { background: var(--blue-pale); border: 1px solid #b8cce4; border-left: 4px solid var(--steel); padding: 1.25rem 1.5rem; margin-bottom: 2rem; font-size: 1.0rem; font-weight: 300; font-style: italic; color: var(--ink-mid); line-height: 1.7; }
.intro-box strong { color: var(--navy); font-style: normal; }

/* CLAIM STRIP */
.claim-strip { background: var(--navy); padding: 1.25rem 2rem; margin-bottom: 2rem; }
.claim-strip-inner { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; }
.claim-item { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 2rem; border-right: 1px solid #2a4060; text-align: center; }
.claim-item:last-child { border-right: none; }
.claim-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: #a8c8e8; line-height: 1; margin-bottom: 3px; }
.claim-label { font-family: var(--sans); font-size: 0.75rem; color: #607888; line-height: 1.35; max-width: 110px; }

/* SECTION CARD (new content blocks) */
.new-section { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--steel); padding: 1.5rem; margin: 2rem 0; }
.new-section-tag { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.5rem; }
.new-section-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }

/* BROCHURE LINK */
.brochure-link { display: flex; align-items: flex-start; gap: 1rem; background: var(--cream-2); border: 1px solid var(--rule); padding: 1rem; margin: 1.5rem 0; text-decoration: none; transition: background 0.15s; }
.brochure-link:hover { background: var(--cream-3); text-decoration: none; }
.brochure-link img { width: 80px; flex-shrink: 0; border: 1px solid var(--rule); }
.brochure-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.brochure-desc { font-family: var(--sans); font-size: 0.825rem; color: var(--ink-soft); line-height: 1.5; }

/* BOOK FEATURE */
.book-feature { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--blue-pale); border: 1px solid #b8cce4; padding: 1.25rem; margin: 2rem 0; }
.book-feature img { width: 90px; flex-shrink: 0; border: 1px solid var(--rule); box-shadow: 2px 2px 0 rgba(0,0,0,0.08); }
.book-feature-tag { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.book-feature-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.book-feature a.btn { display: inline-block; background: var(--navy); color: var(--white); font-family: var(--sans); font-size: 0.8rem; font-weight: 500; padding: 6px 14px; text-decoration: none; border: 1px solid var(--navy); transition: background 0.15s; }
.book-feature a.btn:hover { background: var(--navy-mid); }

/* QUOTE GRAPHIC */
.quote-img { display: block; margin: 1.5rem auto; max-width: 100%; }

/* FOOTER */
.site-footer { background: #111e30; padding: 2rem; margin-top: 3rem; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-name { font-family: var(--serif); color: #c8d8e8; font-size: 1rem; margin-bottom: 0.25rem; }
.footer-copy { font-family: var(--sans); font-size: 0.75rem; color: #405060; }
.footer-links { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.footer-links a { font-family: var(--sans); font-size: 0.8rem; color: #607888; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #c8d8e8; }
.footer-links .sep { color: #304050; }
.social-icon { width: 20px; height: 20px; fill: #607888; vertical-align: middle; transition: fill 0.15s; }
.social-icon:hover { fill: #c8d8e8; }

@media (max-width: 680px) {
  .header-top { flex-direction: column; align-items: flex-start; }
  .header-tagline { text-align: left; max-width: 100%; }
  .site-nav a { padding: 0.625rem 0.875rem; font-size: 0.8rem; }
  .claim-item { padding: 0.625rem 1rem; }
  .img-right, .img-left { float: none; display: block; margin: 1rem auto; }
  .brochure-link, .book-feature { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
