/* Palette derived from the supplied Olea emblem. */
:root {
  color-scheme: dark;
  --ink: #080907;
  --surface: #11120f;
  --gold: #eebc44;
  --gold-light: #ffe5a0;
  --ivory: #fff5dc;
  --muted: #bbb9a9;
  --olive: #858849;
  --ruby: #ae1824;
  --line: #393a2d;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ivory);
  background: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; border-top: 3px solid var(--gold); }
a { color: inherit; text-underline-offset: .3em; }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 6rem)); margin-inline: auto; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: .85rem; align-items: center; text-decoration: none; font-family: Georgia, serif; font-size: 1.8rem; letter-spacing: .12em; }
.brand img { object-fit: contain; }
.brand-sub { display: block; margin-top: .25rem; font: 600 .75rem/1.4 "Segoe UI", sans-serif; letter-spacing: .16em; color: var(--muted); }
nav { display: flex; gap: 2.2rem; align-items: center; }
nav a { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; }
nav a:hover, .site-footer a:hover, figcaption a:hover { color: var(--gold-light); }
.welcome { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 3rem; padding-block: 3.5rem 4rem; }
.welcome-copy { padding-block: 2rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .2em; line-height: 1.6; color: var(--gold); margin: 0 0 1.5rem; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; background: var(--ruby); border-radius: 50%; margin: 0 .6rem .1rem 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(4rem, 7.7vw, 7rem); line-height: .99; letter-spacing: -.055em; margin: 0; }
h1 em { color: var(--gold); font-weight: 400; }
.intro { font-size: 1.125rem; line-height: 1.7; color: var(--muted); margin: 2rem 0; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 52px; padding: .9rem 1.3rem; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); border-radius: 4px; font-size: .9375rem; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.button:hover { background: var(--gold-light); border-color: var(--gold-light); }
.signature { margin: 3rem 0 0; padding-left: 1rem; border-left: 2px solid var(--olive); font-size: .875rem; color: var(--muted); }
.emblem { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #000; scroll-margin-top: 2rem; }
.emblem > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface); }
figcaption > span { font-size: .75rem; letter-spacing: .14em; color: var(--muted); }
figcaption a { font-size: .875rem; min-height: 28px; display: inline-flex; align-items: center; gap: .7rem; }
.keep-close { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--olive); border-radius: 10px; }
.keep-close .eyebrow { margin-bottom: .7rem; color: #b9bd83; }
h2 { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.2 Georgia, serif; margin: 0; letter-spacing: -.025em; }
.keep-close p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 40ch; }
.keep-close > div > p:last-child { margin-bottom: 0; }
.install-actions { align-self: center; }
.install-actions .button { margin-bottom: 1rem; }
details { border-block: 1px solid var(--line); }
summary { padding: 1rem .3rem; cursor: pointer; line-height: 1.5; font-size: .9375rem; }
summary:hover { color: var(--gold); }
details p { padding-inline: .3rem; }
strong { color: var(--ivory); }
.status:empty { display: none; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 2.3rem; color: var(--muted); font-size: .875rem; }
.site-footer > span:first-child { font-size: .75rem; letter-spacing: .14em; color: var(--gold); }
.site-footer a { padding-block: .7rem; }
.skip-link { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: 1rem; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 1500px) { .welcome { gap: 5rem; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  nav { gap: 1.1rem; }
  .welcome { gap: 1.5rem; }
  h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
  .keep-close { padding: 2rem; gap: 2rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { padding-block: 1.2rem .5rem; flex-direction: column; align-items: flex-start; gap: .8rem; }
  .brand { font-size: 1.5rem; }
  nav { width: 100%; justify-content: space-between; gap: .5rem; }
  nav a { font-size: .875rem; }
  .welcome { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem; }
  .welcome-copy { padding: 0; }
  h1 { font-size: clamp(3.7rem, 17vw, 6.5rem); }
  .eyebrow { margin-bottom: 1rem; }
  .intro { margin: 1.4rem 0; }
  .signature { margin-top: 1.5rem; }
  .keep-close { grid-template-columns: 1fr; padding: 1.5rem; gap: 1rem; }
  .site-footer { align-items: flex-start; gap: 1rem; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Shared layouts for the family values and legacy pages. */
.welcome-copy h1 { font-size: clamp(3.8rem, 7vw, 6.6rem); }
.feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 2.7rem; margin-bottom: 2.5rem; border-block: 1px solid var(--line); }
.feature-band .eyebrow { margin-bottom: .8rem; }
.feature-band p:not(.eyebrow), .value-card p, .boundary-note > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 0; }
.text-link { color: var(--gold); display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; }
.text-link:hover { color: var(--gold-light); }
.page-intro { padding-block: 4rem 3rem; max-width: 950px; }
.page-intro h1 { font-size: clamp(2.8rem, 5.8vw, 5rem); line-height: 1.08; }
.page-intro .intro { max-width: 54ch; margin-bottom: 0; }
.creed { border-left: 3px solid var(--olive); background: var(--surface); border-radius: 0 12px 12px 0; padding: clamp(1.5rem, 4vw, 3rem); }
.creed .eyebrow { color: #b9bd83; }
blockquote { margin: 0; max-width: 65ch; font: 400 clamp(1.25rem, 2.4vw, 1.8rem)/1.65 Georgia, serif; }
.legacy-section { padding-block: 3.5rem; }
.section-heading { margin-bottom: 1.8rem; }
.section-heading .eyebrow { margin-bottom: .7rem; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.card-number { font-size: .75rem; letter-spacing: .15em; color: var(--gold); }
h3 { font: 400 1.6rem/1.3 Georgia, serif; margin: 1rem 0 .7rem; }
.value-card p { margin-bottom: 0; }
.value-link { text-decoration: none; border-color: var(--olive); background: #1b1e13; }
.value-link:hover { border-color: var(--gold); }
.value-link > span:last-child { display: block; margin-top: 1rem; color: var(--gold); font-size: 1.5rem; }
.respect-list { max-width: 980px; }
.respect-row { border: 0; border-top: 1px solid var(--line); }
.respect-row:last-child { border-bottom: 1px solid var(--line); }
.respect-row summary { display: grid; grid-template-columns: 3.5rem 1fr 1rem; gap: 1.2rem; align-items: start; padding: 1.5rem .7rem; list-style: none; }
.respect-row summary::-webkit-details-marker { display: none; }
.respect-row summary::after { content: '+'; color: var(--gold); font-size: 1.6rem; }
.respect-row[open] summary::after { content: '−'; }
.respect-row[open] { background: var(--surface); }
.pillar-letter { font: 400 2.6rem/1.1 Georgia, serif; color: var(--gold); }
.pillar-title { display: block; font: 400 1.45rem/1.3 Georgia, serif; color: var(--ivory); }
.pillar-summary { display: block; color: var(--muted); font-size: 1rem; line-height: 1.65; margin-top: .5rem; }
.respect-row .practice { margin: 0; padding: 0 2.7rem 1.5rem 5.4rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.practice strong { display: block; color: #b9bd83; }
.boundary-note { margin-block: 3rem; padding: 2rem; border-left: 3px solid var(--ruby); background: var(--surface); border-radius: 0 10px 10px 0; }
.boundary-note .eyebrow { margin-bottom: .8rem; }
.boundary-note > p:last-child { margin-top: 1rem; margin-bottom: 0; max-width: 78ch; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) {
  .welcome-copy h1 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .feature-band { grid-template-columns: 1fr; gap: 1rem; padding-block: 2rem; }
  .page-intro { padding-block: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .respect-row summary { grid-template-columns: 2rem 1fr 1rem; gap: .7rem; padding-inline: .3rem; }
  .pillar-letter { font-size: 2.2rem; }
  .respect-row .practice { padding: 0 1rem 1.5rem 3rem; }
  .boundary-note { padding: 1.5rem; }
}

/* Family Promise: beliefs, daily conduct, and a closing commitment. */
.promise-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promise-values h3 { margin-top: 0; }
.commitment-list { margin: 0 0 1rem; }
.commitment-list > div { display: grid; grid-template-columns: 13rem 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.commitment-list > div:last-child { border-bottom: 1px solid var(--line); }
.commitment-list dt { font: 400 1.5rem/1.4 Georgia, serif; color: var(--gold-light); }
.commitment-list dd { margin: 0; max-width: 65ch; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.daily-promise { margin-block: 3rem 1rem; }
@media (max-width: 650px) {
  .promise-values { grid-template-columns: 1fr; }
  .commitment-list > div { grid-template-columns: 1fr; gap: .6rem; }
}
