/* ================================================================
   Illuminated Manuscript — For His Glory LLC design system
   ================================================================ */

:root {
    --ink: #2a1f14;
    --ink-soft: #5b4a35;
    --parchment: #f4ecd8;
    --parchment-deep: #ebe0c4;
    --gold: #a8894a;
    --gold-light: #c9a876;
    --oxblood: #6b2b2b;
    --error: #a54141;

    --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --page-max: 1200px;
    --reading-max: 900px;
    --narrow-max: 760px;
    --gutter: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--parchment);
    color: var(--ink);
    font-family: var(--serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body { min-height: 100vh; }

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

a { color: inherit; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--parchment);
    padding: 12px 20px;
    font-family: var(--sans);
    font-size: 14px;
    z-index: 100;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ================================================================
   Parchment texture overlay
   ================================================================ */
.parchment-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.08'/></svg>");
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}
.parchment-noise--dark {
    mix-blend-mode: normal;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.05'/></svg>");
}

/* ================================================================
   Header / Nav
   ================================================================ */
.site-nav {
    position: sticky;
    top: 0;
    background: rgba(244, 236, 216, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 137, 74, 0.33);
    z-index: 50;
}

.site-nav__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
}

.brand__seal {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--parchment-deep);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.brand__seal img { width: 82%; height: 82%; object-fit: contain; }

.brand__wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand__name {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.brand__tagline {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-family: var(--sans);
    font-size: 15px;
    letter-spacing: 0.04em;
}

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 200ms ease, opacity 200ms ease;
}
.nav-links a:hover { opacity: 0.85; }
.nav-links a.is-active {
    color: var(--ink);
    border-bottom: 1px solid var(--gold);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(168, 137, 74, 0.4);
    color: var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.nav-mobile {
    display: none;
    border-top: 1px solid rgba(168, 137, 74, 0.33);
    background: var(--parchment);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}
.nav-mobile.is-open { max-height: 320px; }
.nav-mobile__inner { padding: 8px var(--gutter); }
.nav-mobile a {
    display: block;
    padding: 14px 0;
    font-family: var(--sans);
    font-size: 15px;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(168, 137, 74, 0.2);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.is-active { color: var(--ink); font-weight: 500; }

/* ================================================================
   Shared typography
   ================================================================ */
.eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 20px 0;
}
.eyebrow--with-rule {
    letter-spacing: 0.32em;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.eyebrow--with-rule::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--oxblood);
}
.eyebrow--light { color: var(--gold-light); }

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: '';
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.ornament svg { flex-shrink: 0; opacity: 0.8; }

/* ================================================================
   Buttons / Links
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn--primary {
    background: var(--ink);
    color: var(--parchment);
}
.btn--primary .btn__arrow { color: var(--gold-light); }
.btn--primary:hover {
    background: var(--oxblood);
    border-color: var(--oxblood);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
}
.btn--ghost:hover { background: rgba(168, 137, 74, 0.1); }

.inline-link {
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 74, 53, 0.4);
    padding-bottom: 2px;
    transition: border-color 200ms ease;
}
.inline-link:hover { border-bottom-color: var(--ink-soft); }

/* ================================================================
   Home — Hero
   ================================================================ */
.hero {
    position: relative;
    padding: 80px var(--gutter) 100px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 118, 0.18) 0%, transparent 50%),
        var(--parchment);
    overflow: hidden;
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--page-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.hero__title {
    font-family: var(--serif);
    font-size: 92px;
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0 0 36px;
    color: var(--ink);
}
.hero__title em {
    font-style: italic;
    color: var(--oxblood);
    font-weight: 500;
}
.hero__title .roman { font-style: italic; color: var(--oxblood); }

.hero__lead {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 0 48px;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero image frame with scripture overlay */
.hero__figure {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
}
.hero__frame {
    position: absolute;
    inset: 0;
    padding: 10px;
    border: 1px solid rgba(168, 137, 74, 0.66);
    background: var(--parchment);
}
.hero__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 60px -20px rgba(42, 31, 20, 0.55);
    position: relative;
}
.hero__scripture {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 28px 24px;
    background: linear-gradient(to top, rgba(42, 31, 20, 0.8) 0%, rgba(42, 31, 20, 0) 100%);
    color: var(--parchment);
}
.hero__verse {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--parchment);
}
.hero__citation {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* ================================================================
   Home — Story
   ================================================================ */
.story {
    padding: 120px var(--gutter);
    background: var(--parchment-deep);
    border-top: 1px solid rgba(168, 137, 74, 0.27);
    border-bottom: 1px solid rgba(168, 137, 74, 0.27);
    position: relative;
}
.story__inner {
    max-width: var(--reading-max);
    margin: 0 auto;
    position: relative;
}
.story__head { text-align: center; margin-bottom: 56px; }

.section-h2 {
    font-family: var(--serif);
    font-size: 64px;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 28px;
    color: var(--ink);
}
.section-h2 em { font-style: italic; font-weight: 500; }

.story__body {
    column-count: 2;
    column-gap: 60px;
    column-rule: 1px solid rgba(168, 137, 74, 0.33);
}
.story__body p {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 20px;
}
.story__body p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.story__body p em { color: var(--oxblood); }

.drop-cap::first-letter {
    font-family: var(--serif);
    font-size: 78px;
    font-weight: 600;
    font-style: italic;
    float: left;
    line-height: 0.85;
    margin: 6px 12px 0 0;
    color: var(--oxblood);
}

/* ================================================================
   Home — Values
   ================================================================ */
.values {
    padding: 120px var(--gutter);
    background: var(--parchment);
    position: relative;
}
.values__inner { max-width: var(--page-max); margin: 0 auto; position: relative; }
.values__head { text-align: center; margin-bottom: 72px; }

.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.value-cell {
    padding: 48px;
    display: flex;
    gap: 32px;
}
.value-cell:nth-child(odd) { border-right: 1px solid rgba(168, 137, 74, 0.27); }
.value-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(168, 137, 74, 0.27); }

.value-cell__numeral {
    font-family: var(--serif);
    font-size: 54px;
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
    line-height: 0.9;
    flex-shrink: 0;
    min-width: 60px;
}
.value-cell__title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--ink);
}
.value-cell__body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

/* ================================================================
   Home — Apps
   ================================================================ */
.apps {
    padding: 120px var(--gutter);
    background: var(--ink);
    color: var(--parchment);
    position: relative;
    overflow: hidden;
}
.apps__inner { max-width: var(--page-max); margin: 0 auto; position: relative; z-index: 1; }
.apps__head { text-align: center; margin-bottom: 80px; }
.apps__h2 {
    font-family: var(--serif);
    font-size: 64px;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 20px;
    color: var(--parchment);
}
.apps__h2 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.apps__tagline {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: #d4c4a0;
    margin: 16px 0 0;
}

.apps__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(168, 137, 74, 0.27);
}
.app-card {
    background: var(--ink);
    padding: 56px 48px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: transform 250ms ease, background 250ms ease;
}
.app-card:hover { transform: translateY(-2px); }
.app-card__icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(168, 137, 74, 0.4);
    box-shadow: 0 0 40px rgba(168, 137, 74, 0.13);
    transition: box-shadow 300ms ease;
}
.app-card:hover .app-card__icon { box-shadow: 0 0 60px rgba(168, 137, 74, 0.28); }
.app-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card__body { flex: 1; min-width: 0; }
.app-card__tag {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 0 0 10px;
}
.app-card__name {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    margin: 0 0 14px;
    color: var(--parchment);
    line-height: 1.15;
}
.app-card__desc {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.6;
    color: #c9b896;
    margin: 0 0 24px;
}
.app-card__link {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 118, 0.4);
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 200ms ease, border-color 200ms ease;
}
.app-card__link:hover { color: var(--parchment); border-bottom-color: var(--parchment); }
.app-card__coming {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201, 168, 118, 0.6);
    font-style: italic;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
    padding: 72px var(--gutter) 48px;
    background: var(--parchment-deep);
    border-top: 1px solid rgba(168, 137, 74, 0.27);
}
.site-footer__grid {
    max-width: var(--page-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand-row { display: flex; align-items: center; gap: 12px; }
.site-footer__seal {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--parchment);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.site-footer__seal img { width: 82%; height: 82%; object-fit: contain; }
.site-footer__name {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
}
.site-footer__tagline {
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
    color: var(--ink-soft);
    margin: 0;
    max-width: 340px;
}
.site-footer__head {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 16px;
}
.site-footer__link {
    display: block;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 10px;
}
.site-footer__link:hover { color: var(--oxblood); }
.site-footer__email {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
    font-style: italic;
}
.site-footer__email:hover { color: var(--oxblood); }

.site-footer__strip {
    max-width: var(--page-max);
    margin: 56px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(168, 137, 74, 0.27);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--ink-soft);
}
.site-footer__strip em { font-family: var(--serif); font-size: 14px; }

/* ================================================================
   Page header band (shared by sub-pages)
   ================================================================ */
.page-header {
    padding: 140px var(--gutter) 100px;
    background: var(--parchment-deep);
    border-bottom: 1px solid rgba(168, 137, 74, 0.27);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header__inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-header__h1 {
    font-family: var(--serif);
    font-size: 72px;
    line-height: 1.02;
    font-weight: 500;
    margin: 0 0 24px;
    color: var(--ink);
}
.page-header__h1 em { font-style: italic; font-weight: 500; }
.page-header__ornament { display: flex; justify-content: center; margin-bottom: 28px; }
.page-header__meta {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.page-header__lead {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 720px;
    margin: 0 auto;
}

/* ================================================================
   Principles — editorial list
   ================================================================ */
.principles {
    padding: 120px var(--gutter);
    background: var(--parchment);
    position: relative;
}
.principles__inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}
.principles__intro {
    max-width: var(--narrow-max);
    margin: 0 auto 80px;
    text-align: center;
}
.principles__intro-body {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 20px;
}
.principles__intro-body:last-child { margin-bottom: 0; }

.principle {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 56px;
    padding: 56px 0;
    border-top: 1px solid rgba(168, 137, 74, 0.3);
    align-items: flex-start;
}
.principle:last-of-type { border-bottom: 1px solid rgba(168, 137, 74, 0.3); }
.principle__numeral {
    font-family: var(--serif);
    font-size: 120px;
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
    line-height: 0.85;
    text-align: right;
}
.principle__title {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
    margin: 12px 0 24px;
    color: var(--ink);
}
.principle__body {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 18px;
}
.principle__body:last-child { margin-bottom: 0; }
.principle__body em { color: var(--oxblood); font-style: italic; }
.principle__body a {
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 43, 43, 0.4);
}
.principle__body a:hover { border-bottom-color: var(--oxblood); }
.principle__list {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    padding-left: 24px;
    margin: 0 0 18px;
}
.principle__list li { margin-bottom: 8px; }
.principle__list li::marker { color: rgba(168, 137, 74, 0.7); }

/* Creed / scripture callout card */
.creed {
    background: var(--parchment-deep);
    border: 1px solid rgba(168, 137, 74, 0.4);
    border-left: 3px solid var(--oxblood);
    padding: 48px 56px;
    margin: 32px 0 0;
}
.creed p {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.85;
    color: var(--ink);
    margin: 0 0 20px;
}
.creed p:last-child { margin-bottom: 0; }

.callout {
    padding: 28px 32px;
    margin: 32px 0;
    border-left: 3px solid var(--oxblood);
    background: rgba(107, 43, 43, 0.05);
}
.callout p {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
}
.callout--green {
    border-left-color: #3d6b22;
    background: rgba(61, 107, 34, 0.06);
}

/* Closing band (scripture / sign-off) */
.closing-band {
    padding: 100px var(--gutter);
    background: var(--ink);
    color: var(--parchment);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.closing-band__quote {
    font-family: var(--serif);
    font-size: 32px;
    font-style: italic;
    line-height: 1.4;
    color: var(--parchment);
    max-width: 780px;
    margin: 0 auto 24px;
}
.closing-band__attr {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* ================================================================
   Privacy — manuscript document
   ================================================================ */
.document {
    padding: 100px var(--gutter);
    background: var(--parchment);
    position: relative;
}
.document__inner {
    max-width: var(--narrow-max);
    margin: 0 auto;
    position: relative;
}
.document__toc {
    margin: 0 0 64px;
    padding: 28px 32px;
    background: var(--parchment-deep);
    border: 1px solid rgba(168, 137, 74, 0.33);
}
.document__toc-head {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 16px;
}
.document__toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.document__toc-list a {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 200ms ease;
}
.document__toc-list a:hover, .document__toc-list a.is-active {
    color: var(--oxblood);
    font-style: italic;
}

.document__section {
    padding: 48px 0 0;
    margin: 40px 0 0;
    border-top: 1px solid rgba(168, 137, 74, 0.33);
    scroll-margin-top: 120px;
}
.document__section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.document__section h2 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 24px;
}
.document__section p {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
    margin: 0 0 18px;
}
.document__section p em { color: var(--oxblood); font-style: italic; }
.document__section strong { color: var(--ink); font-weight: 600; }
.document__section a {
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 43, 43, 0.4);
}
.document__section a:hover { border-bottom-color: var(--oxblood); }
.document__section ul, .document__section ol {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
    padding-left: 24px;
    margin: 0 0 18px;
}
.document__section li { margin-bottom: 12px; }
.document__section li::marker { color: rgba(168, 137, 74, 0.7); }

/* Privacy contact footer strip */
.contact-strip {
    padding: 48px var(--gutter);
    background: var(--parchment-deep);
    border-top: 1px solid rgba(168, 137, 74, 0.33);
    border-left: 3px solid var(--oxblood);
    text-align: center;
}
.contact-strip__line {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--ink);
    margin: 0;
}
.contact-strip__line a {
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 43, 43, 0.4);
}
.contact-strip__line a:hover { border-bottom-color: var(--oxblood); }

/* ================================================================
   Support — contact card, per-app grid, FAQ
   ================================================================ */
.contact-card-section {
    padding: 100px var(--gutter);
    background: var(--parchment);
    position: relative;
}
.contact-card-section__inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}
.contact-card {
    background: var(--parchment-deep);
    border: 1px solid rgba(168, 137, 74, 0.44);
    padding: 64px;
    text-align: center;
}
.contact-card__eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 20px;
}
.contact-card__lead {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--ink);
    margin: 0 0 16px;
    font-weight: 400;
}
.contact-card__email {
    display: inline-block;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 500;
    font-style: italic;
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    margin: 0 0 28px;
    transition: color 200ms ease;
    word-break: break-word;
}
.contact-card__email:hover { color: var(--ink); }
.contact-card__note {
    font-family: var(--sans);
    font-size: 15px;
    font-style: italic;
    color: var(--ink-soft);
    margin: 0;
}
.contact-card__secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: left;
    border-top: 1px solid rgba(168, 137, 74, 0.33);
    padding-top: 40px;
}
.contact-card__secondary-item { }
.contact-card__secondary-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 10px;
}
.contact-card__secondary-email {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 137, 74, 0.5);
    padding-bottom: 2px;
}
.contact-card__secondary-email:hover { color: var(--oxblood); }

/* Per-app grid (support) */
.support-apps {
    padding: 120px var(--gutter);
    background: var(--parchment-deep);
    position: relative;
}
.support-apps__inner { max-width: var(--page-max); margin: 0 auto; position: relative; }
.support-apps__head { text-align: center; margin-bottom: 64px; }
.support-apps__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(168, 137, 74, 0.44);
    border: 1px solid rgba(168, 137, 74, 0.44);
}
.support-app-card {
    background: var(--parchment-deep);
    padding: 40px 36px;
    display: flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: var(--ink);
    transition: background 200ms ease;
}
.support-app-card:hover { background: var(--parchment); }
.support-app-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(168, 137, 74, 0.4);
    box-shadow: 0 4px 12px rgba(42, 31, 20, 0.08);
}
.support-app-card__name {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.1;
}
.support-app-card__link {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--oxblood);
}

/* FAQ */
.faq-section {
    padding: 120px var(--gutter);
    background: var(--parchment);
}
.faq-section__inner { max-width: 860px; margin: 0 auto; }
.faq-section__head { text-align: center; margin-bottom: 64px; }
.faq-list { margin: 0; padding: 0; }
.faq-item { border-top: 1px solid rgba(168, 137, 74, 0.33); }
.faq-item:last-child { border-bottom: 1px solid rgba(168, 137, 74, 0.33); }
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}
.faq-trigger:hover { color: var(--oxblood); }
.faq-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--gold);
    transition: transform 300ms ease;
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}
.faq-panel.is-open { max-height: 2000px; }
.faq-panel__inner {
    padding: 0 8px 28px;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.faq-panel__inner a {
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 43, 43, 0.4);
}

/* Ornamental separator */
.separator-ornament {
    display: flex;
    justify-content: center;
    padding: 48px 0;
    color: var(--gold);
    opacity: 0.6;
}

/* ================================================================
   Scroll reveal: content is always visible; the .reveal hook is kept
   for potential future micro-animations but never hides content.
   ================================================================ */
.reveal { opacity: 1; }

/* ================================================================
   Reduced motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .nav-mobile { transition: none; }
    .faq-panel { transition: none; }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1100px) {
    :root { --gutter: 48px; }
    .hero__title { font-size: 76px; }
    .section-h2 { font-size: 52px; }
    .page-header__h1 { font-size: 60px; }
    .apps__h2 { font-size: 52px; }
}

@media (max-width: 900px) {
    :root { --gutter: 40px; }
    .hero { padding: 60px var(--gutter) 80px; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__figure { max-width: 440px; margin: 0 auto; }
    .hero__title { font-size: 64px; }

    .story, .values, .apps { padding: 96px var(--gutter); }
    .section-h2 { font-size: 44px; }
    .apps__h2 { font-size: 44px; }
    .story__body { column-count: 1; }
    .story__body p { font-size: 18px; }

    .values__grid { grid-template-columns: 1fr; }
    .value-cell:nth-child(odd) { border-right: none; }
    .value-cell { border-bottom: 1px solid rgba(168, 137, 74, 0.27); }
    .value-cell:last-child { border-bottom: none; }

    .apps__grid { grid-template-columns: 1fr; }
    .app-card { padding: 40px 32px; }
    .app-card__name { font-size: 30px; }

    .page-header { padding: 120px var(--gutter) 80px; }
    .page-header__h1 { font-size: 48px; }
    .page-header__lead { font-size: 19px; }

    .principles { padding: 80px var(--gutter); }
    .principle {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 48px 0;
    }
    .principle__numeral {
        font-size: 72px;
        text-align: left;
    }
    .principle__title { font-size: 32px; margin: 0 0 16px; }

    .document { padding: 80px var(--gutter); }
    .document__section h2 { font-size: 30px; }
    .document__toc-list { grid-template-columns: 1fr; }

    .contact-card { padding: 48px 32px; }
    .contact-card__email { font-size: 28px; }
    .contact-card__secondary-grid { grid-template-columns: 1fr; gap: 24px; }

    .support-apps__grid { grid-template-columns: 1fr; }

    .site-footer { padding: 56px var(--gutter) 40px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__strip { flex-direction: column; gap: 8px; text-align: center; }

    .closing-band { padding: 72px var(--gutter); }
    .closing-band__quote { font-size: 24px; }

    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-mobile { display: block; }
    .site-nav__inner { padding: 18px var(--gutter); }
}

@media (max-width: 560px) {
    :root { --gutter: 24px; }
    .hero { padding: 48px var(--gutter) 64px; }
    .hero__title { font-size: 52px; }
    .hero__lead { font-size: 19px; margin-bottom: 36px; }
    .hero__cta { gap: 16px; }
    .btn { padding: 14px 24px; font-size: 13px; }
    .hero__verse { font-size: 16px; }
    .hero__scripture { padding: 20px 20px 18px; }

    .story, .values, .apps { padding: 72px var(--gutter); }
    .section-h2 { font-size: 36px; }
    .apps__h2 { font-size: 36px; }

    .value-cell { padding: 32px 16px; gap: 20px; }
    .value-cell__numeral { font-size: 42px; min-width: 44px; }
    .value-cell__title { font-size: 24px; }

    .app-card { padding: 32px 24px; flex-direction: column; gap: 20px; }
    .app-card__name { font-size: 26px; }

    .page-header { padding: 100px var(--gutter) 64px; }
    .page-header__h1 { font-size: 38px; }

    .principles { padding: 64px var(--gutter); }
    .principles__intro { margin-bottom: 48px; }
    .principle__title { font-size: 26px; }
    .principle__body, .principle__list { font-size: 17px; }
    .creed { padding: 32px 24px; }

    .document { padding: 64px var(--gutter); }
    .document__section h2 { font-size: 26px; }
    .document__section { padding: 32px 0 0; margin: 24px 0 0; }

    .contact-card { padding: 36px 24px; }
    .contact-card__lead { font-size: 22px; }
    .contact-card__email { font-size: 22px; }

    .support-app-card { padding: 28px 20px; }

    .faq-trigger { font-size: 19px; padding: 20px 4px; }

    .closing-band { padding: 56px var(--gutter); }
    .closing-band__quote { font-size: 20px; }
}

/* Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
