/* Lifebrief warm familial design system, refined for legibility */
:root {
  --cream: #F4EDE2; --warm-white: #FFFCF7; --paper: #EDE4D5; --taupe: #B8A99B;
  --burgundy: #7A2E2E; --burgundy-deep: #5B1E1E;
  --walnut: #5C3F30; --oak: #1F1612; --ink: #100A07; --rust: #8B3A1F;
  --display: 'Crimson Pro', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px; --s-9: 192px;
  --w-prose: 720px; --w-text: 880px; --w-wide: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--oak); font-family: var(--sans); font-size: 18px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--oak); text-decoration: none; }
a:hover { color: var(--burgundy); }
::selection { background: var(--burgundy); color: var(--cream); }
.wrap { max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--s-4); }
.wrap-t { max-width: var(--w-text); margin: 0 auto; padding: 0 var(--s-4); }
.wrap-p { max-width: var(--w-prose); margin: 0 auto; padding: 0 var(--s-4); }
@media (max-width: 720px) { .wrap, .wrap-t, .wrap-p { padding: 0 var(--s-3); } }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 var(--s-3); }
h1 { font-size: clamp(46px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.015em; }
h4 { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.005em; font-weight: 500; }
em, .italic { font-style: italic; color: var(--walnut); }
p { margin: 0 0 var(--s-3); max-width: 62ch; }
.lede { font-family: var(--display); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.45; color: var(--walnut); max-width: 50ch; font-weight: 400; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); margin: 0 0 var(--s-2); display: block; }
.numeral { font-family: var(--display); font-feature-settings: "lnum", "tnum"; color: var(--taupe); }
.italic-line { display: block; font-style: italic; color: var(--walnut); }

.topnav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: rgba(244,237,226,0.92); border-bottom: 0.5px solid rgba(31,22,18,0.1); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding: var(--s-2) 0; }
.brand { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.nav-links { display: flex; gap: var(--s-4); align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--walnut); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--cream) !important; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.nav-cta:hover { background: var(--burgundy); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

.hero { padding: var(--s-7) 0 var(--s-6); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-6); align-items: center; }
.hero .cta-row { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.btn-primary { background: var(--ink); color: var(--cream); padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; font-family: var(--sans); }
.btn-primary:hover { background: var(--burgundy); color: var(--cream); }
.btn-text { font-size: 14px; color: var(--walnut); border-bottom: 0.5px solid var(--taupe); padding-bottom: 2px; font-family: var(--sans); font-weight: 500; }
.btn-text:hover { color: var(--ink); border-bottom-color: var(--oak); }
.hero-trust { margin-top: var(--s-5); font-size: 14px; color: var(--walnut); display: flex; align-items: center; gap: 10px; font-family: var(--sans); }
.hero-trust::before { content: ""; width: 18px; height: 0.5px; background: var(--taupe); }

.photo-frame { background: var(--paper); border-radius: 4px; overflow: hidden; position: relative; border: 0.5px solid rgba(31,22,18,0.08); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(ellipse at center, transparent 50%, rgba(92,63,48,0.08) 100%); pointer-events: none; }
.photo-hero { aspect-ratio: 4/5; }
.photo-meta { position: absolute; bottom: 16px; left: 16px; z-index: 2; font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--walnut); background: rgba(244,237,226,0.92); padding: 6px 10px; border-radius: 2px; }
.photo-subject { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.photo-subject svg { width: 60%; max-width: 280px; color: var(--walnut); opacity: 0.5; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.section { padding: var(--s-7) 0; }
.mess { border-top: 0.5px solid var(--taupe); }
.mess-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-6); align-items: start; }
.mess p { font-size: 19px; line-height: 1.6; color: var(--walnut); max-width: 56ch; }
@media (max-width: 880px) { .mess-grid { grid-template-columns: 1fr; gap: var(--s-3); } }

.steps { background: var(--warm-white); border-top: 0.5px solid var(--taupe); border-bottom: 0.5px solid var(--taupe); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: var(--s-5); }
.step .numeral { display: block; font-size: 56px; margin-bottom: var(--s-3); }
.step p { color: var(--walnut); font-size: 17px; max-width: 38ch; }
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.security { background: var(--ink); color: var(--cream); }
.security h2, .security h3 { color: var(--cream); }
.security .eyebrow { color: var(--burgundy); }
.security p { color: rgba(244,237,226,0.82); font-size: 19px; max-width: 60ch; }
.security em { color: var(--burgundy); }
.security-details { margin-top: var(--s-5); border-top: 0.5px solid rgba(244,237,226,0.18); padding-top: var(--s-4); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); }
.security-detail { font-family: var(--sans); font-size: 15px; color: rgba(244,237,226,0.72); }
.security-detail strong { display: block; font-weight: 500; color: var(--cream); margin-bottom: 4px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--sans); }
@media (max-width: 720px) { .security-details { grid-template-columns: 1fr; } }

.store .lede { margin-bottom: var(--s-5); }
.categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); margin-top: var(--s-4); }
.category h4 { border-bottom: 0.5px solid var(--taupe); padding-bottom: var(--s-2); margin-bottom: var(--s-3); display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); }
.category h4 .numeral { font-size: 20px; }
.category ul { list-style: none; padding: 0; margin: 0; }
.category li { font-family: var(--sans); font-size: 16px; color: var(--walnut); padding: 7px 0; border-bottom: 0.5px dashed rgba(184,169,155,0.4); }
.category li:last-child { border-bottom: none; }
@media (max-width: 720px) { .categories { grid-template-columns: 1fr; gap: var(--s-4); } }

.pricing { background: var(--paper); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.price-card { background: var(--cream); border-radius: 4px; padding: var(--s-4) var(--s-4) var(--s-5); display: flex; flex-direction: column; border: 0.5px solid rgba(31,22,18,0.08); }
.price-card.featured { background: var(--ink); color: var(--cream); }
.price-card.featured h3, .price-card.featured .price-num { color: var(--cream); }
.price-card.featured .price-list li { color: rgba(244,237,226,0.78); border-color: rgba(244,237,226,0.14); }
.price-card.featured .price-list li::before { color: var(--burgundy); }
.price-card.featured .price-cta { background: var(--cream); color: var(--ink); }
.price-card.featured .price-tag { background: var(--burgundy); color: var(--cream); }
.price-tag { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; background: var(--paper); color: var(--walnut); padding: 4px 10px; border-radius: 2px; align-self: flex-start; margin-bottom: var(--s-2); }
.price-num { font-family: var(--display); font-size: 56px; letter-spacing: -0.03em; line-height: 1; margin: var(--s-2) 0 var(--s-1); color: var(--ink); font-weight: 500; }
.price-num .per { font-size: 18px; color: var(--walnut); font-weight: 400; }
.price-list { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); font-size: 15px; font-family: var(--sans); }
.price-list li { padding: 8px 0 8px 22px; border-bottom: 0.5px solid rgba(184,169,155,0.35); color: var(--walnut); position: relative; }
.price-list li::before { content: "\00b7"; position: absolute; left: 6px; color: var(--burgundy); font-weight: 700; }
.price-cta { margin-top: auto; background: var(--ink); color: var(--cream); padding: 13px 0; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 500; text-align: center; }
.price-cta:hover { background: var(--burgundy); color: var(--cream); }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }

.faq h2 { margin-bottom: var(--s-5); }
.faq-list { border-top: 0.5px solid var(--taupe); }
.faq-item { border-bottom: 0.5px solid var(--taupe); padding: var(--s-3) 0; }
.faq-item summary { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--display); font-size: clamp(22px, 2vw, 26px); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.faq-icon { font-size: 24px; color: var(--walnut); transition: transform 0.3s; line-height: 1; font-family: var(--sans); font-weight: 400; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { margin-top: var(--s-3); font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--walnut); max-width: 70ch; }

.foot { background: var(--ink); color: var(--cream); padding: var(--s-7) 0 var(--s-4); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 0.5px solid rgba(244,237,226,0.18); }
.foot h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); margin: 0 0 var(--s-2); }
.foot .foot-brand { font-family: var(--display); font-size: 32px; color: var(--cream); margin: 0 0 var(--s-1); font-weight: 500; }
.foot .foot-tag { font-family: var(--display); font-style: italic; color: rgba(244,237,226,0.7); font-size: 16px; max-width: 24ch; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { color: rgba(244,237,226,0.75); font-size: 14px; font-family: var(--sans); }
.foot a:hover { color: var(--cream); }
.colophon { padding-top: var(--s-4); display: flex; align-items: center; justify-content: space-between; font-family: var(--sans); font-size: 12px; color: rgba(244,237,226,0.6); }
.colophon-attr { display: inline-flex; align-items: center; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); } .colophon { flex-direction: column; align-items: flex-start; gap: var(--s-2); } }

/* ============================================================
   Photography placements
   ============================================================ */

.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.02); }
.photo-hero { aspect-ratio: 4/5; }

.section-banner { margin: 0; padding: 0; position: relative; overflow: hidden; }
.section-banner img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.02); }

.section-banner-wide { aspect-ratio: 21/9; max-height: 480px; }
.section-banner-tall { aspect-ratio: 16/9; max-height: 640px; }

.mess-with-photo .section-banner { aspect-ratio: 21/9; max-height: 360px; margin-bottom: 0; }
.mess-with-photo { padding-top: 0; }
.mess-with-photo .mess-grid { padding-top: var(--s-7); }

.steps .section-banner-wide { margin-bottom: 0; }
.steps .wrap-t { padding-top: var(--s-7); }
.steps { padding-top: 0; }

.emotional-break { padding: 0; }
.emotional-break .section-banner { position: relative; }
.emotional-break .banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-6) var(--s-4) var(--s-5);
  background: linear-gradient(to top, rgba(16,10,7,0.78), transparent);
  color: var(--cream);
  text-align: center;
}
.emotional-break .banner-caption span {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  display: inline-block;
  max-width: 28ch;
}

.secret-break { padding: var(--s-5) 0 0; }
.secret-break .section-banner { aspect-ratio: 21/9; max-height: 360px; }

/* Mobile tweaks */
@media (max-width: 720px) {
  .section-banner-wide { aspect-ratio: 16/9; max-height: 320px; }
  .section-banner-tall { aspect-ratio: 4/3; max-height: 480px; }
  .mess-with-photo .section-banner { aspect-ratio: 16/9; max-height: 240px; }
  .secret-break .section-banner { aspect-ratio: 16/9; max-height: 240px; }
}
