/* TrustHUB Preservation Advisory — brand palette and motion system */
:root {
  --forest: #153d35;
  --forest-deep: #102f29;
  --forest-soft: #285848;
  --sage: #dfe9dc;
  --sage-light: #eef2e9;
  --ivory: #f7f6f0;
  --paper: #fffefa;
  --ink: #182c28;
  --muted: #63736a;
  --gold: #b58b55;
  --line: #dfe6dc;
  --body-font: "DM Sans", Inter, system-ui, sans-serif;
  --display-font: "Playfair Display", Georgia, serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--body-font); color: var(--ink); background: var(--ivory); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; }
::selection { background: var(--sage); color: var(--forest); }
.announcement { background: var(--forest); color: #e9f0e8; font-size: 10px; letter-spacing: .105em; padding: 9px 0; font-weight: 700; }
.announcement-right { letter-spacing: .035em; font-weight: 500; opacity: .8; }

/* Main navigation */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fffefa;
    border-bottom: 1px solid #dfe6dc;
}

.site-nav .container {
    position: relative;
}

/* Brand stays on the left */
.site-nav .navbar-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Center the links relative to the entire navbar */
.site-nav .main-nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.site-nav .main-nav-links .nav-link {
    color: #445b51;
    font-size: 13px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.site-nav .main-nav-links .nav-link:hover,
.site-nav .main-nav-links .nav-link.active {
    color: #153d35;
}

/* CTA stays on the right */
.site-nav .nav-cta-wrap {
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Mobile navigation */
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        padding: 18px 0 12px;
    }

    .site-nav .main-nav-links {
        position: static;
        transform: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .site-nav .main-nav-links .nav-link {
        padding: 10px 0;
    }

    .site-nav .nav-cta-wrap {
        margin: 12px 0 0;
    }

    .site-nav .nav-cta {
        width: 100%;
        justify-content: center;
    }
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-weight: 800; font-size: 21px; letter-spacing: -.055em; margin: 0; }
.brand:hover { color: var(--forest-soft); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--forest); color: white; font: 24px var(--display-font); box-shadow: 0 5px 15px #153d351f; transition: transform .35s ease, border-radius .35s ease; }
.brand:hover .brand-mark { transform: rotate(-7deg) scale(1.05); border-radius: 14px 7px 14px 7px; }
.brand small { display: block; margin-top: -3px; color: #718177; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; }
.site-nav .nav-link { color: #40574c; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.site-nav .nav-link:hover { color: var(--gold); }
.navbar-toggler { border-color: #c9d5c9; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem #153d3520; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; padding: 12px 17px; font-size: 12px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.btn span { transition: transform .25s ease; }
.btn:hover span { transform: translate(3px,-2px); }
.btn-brand { color: #fff !important; background: var(--forest); border: 1px solid var(--forest); box-shadow: 0 7px 18px #153d3517; }
.btn-brand:hover, .btn-brand:focus { background: #245447; border-color: #245447; transform: translateY(-2px); box-shadow: 0 12px 26px #153d3525; }
.btn-outline-brand { color: var(--forest); border: 1px solid #b7c8b9; background: transparent; }
.btn-outline-brand:hover { color: var(--forest); background: #e7ede3; border-color: #91ac98; transform: translateY(-2px); }
.hero-section { position: relative; padding: 77px 0 0; overflow: hidden; background: radial-gradient(ellipse at 80% 20%, #e3ebdf 0%, transparent 35%), var(--ivory); }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #dbe8d9; filter: blur(80px); opacity: .36; right: -210px; top: 80px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px,6vw,75px); align-items: center; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #557565; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow > span { display: inline-block; width: 25px; height: 2px; background: var(--gold); }
.hero-copy h1 { font: 500 clamp(44px,5.4vw,70px)/1.06 var(--display-font); letter-spacing: -.055em; margin: 22px 0 20px; max-width: 690px; }
.hero-copy h1 em { color: #557b67; font-weight: 400; }
.hero-copy > p { max-width: 600px; color: #566a60; font-size: 14px; line-height: 1.95; }
.hero-actions { margin: 28px 0 23px; }
.micro-proof { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #697a70; }
.micro-proof i { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px #b58b5518; }
.hero-art { min-height: 430px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.orbit { position: absolute; border: 1px solid #b9cbbb; border-radius: 50%; opacity: .6; animation: orbitPulse 7s ease-in-out infinite; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 320px; height: 320px; animation-delay: -3.5s; }
.operation-card { position: relative; width: min(100%,390px); padding: 25px; background: rgba(255,254,250,.94); border: 1px solid #dce4d9; box-shadow: 0 24px 70px #153d3518; border-radius: 10px; transform: rotate(-1.5deg); z-index: 2; animation: cardFloat 6s ease-in-out infinite; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #e7ebe4; padding-bottom: 15px; margin-bottom: 18px; }
.tiny-label { font-size: 9px; letter-spacing: .13em; color: #718277; font-weight: 800; }
.status-pill { background: #e4f0e4; color: #2f7157; border-radius: 20px; padding: 5px 8px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-pill i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #4e936b; margin-right: 3px; }
.operation-card h2 { font: 500 24px/1.25 var(--display-font); margin: 0 0 5px; }
.operation-card > p { color: #718077; font-size: 11px; margin-bottom: 17px; }
.operation-steps { display: grid; gap: 8px; }
.operation-steps > div { display: flex; align-items: center; gap: 10px; background: #f5f7f1; border: 1px solid #e5eae1; border-radius: 5px; padding: 9px 10px; color: #304b40; font-size: 10px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.operation-steps > div:hover { transform: translateX(5px); background: #eaf1e6; }
.operation-steps b { width: 25px; height: 25px; display: grid; place-items: center; background: #dfeadf; border-radius: 5px; font-size: 9px; }
.floating-note { position: absolute; z-index: 3; bottom: 18px; left: -7px; width: 200px; padding: 14px 16px; background: var(--forest); color: white; border-radius: 6px; box-shadow: 0 12px 25px #153d3520; font-size: 10px; animation: noteFloat 5s ease-in-out infinite; }
.floating-note strong { display: block; font: 18px var(--display-font); margin-bottom: 2px; }
.floating-note span { color: #c8d7cd; }
.sparkle { position: absolute; color: #b58b55; font-size: 20px; animation: sparkle 5s ease-in-out infinite; }
.sparkle-one { top: 34px; right: 10%; }.sparkle-two { bottom: 65px; right: 5%; font-size: 13px; animation-delay: -2s; }
.hero-bottom { display: flex; justify-content: space-between; padding: 28px 0 15px; border-top: 1px solid #dfe5da; color: #809087; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.scroll-cue b { color: var(--gold); margin-left: 8px; font-size: 13px; }
.section-pad { padding: 88px 0; }
.pain-section { background: var(--paper); }
.section-heading { max-width: 710px; margin-bottom: 38px; }
.section-heading h2, .founder-copy h2, .consult-copy h2 { font: 500 clamp(34px,4vw,48px)/1.15 var(--display-font); letter-spacing: -.04em; margin: 14px 0; }
.section-heading > p { max-width: 620px; color: var(--muted); font-size: 14px; }
.pain-card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid #e2e7df; border-radius: 7px; padding: 25px 23px; min-height: 215px; height: 100%; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.pain-card::after, .service-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%), #dfe9dc70, transparent 42%); transition: opacity .3s ease; }
.pain-card:hover, .service-card:hover { transform: translateY(-6px); border-color: #c2d3c3; box-shadow: 0 18px 35px #193e350d; }
.pain-card:hover::after, .service-card:hover::after { opacity: 1; }
.number { color: #9b774a; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.pain-card h3 { position: relative; z-index: 1; font: 500 22px/1.2 var(--display-font); margin: 15px 0 10px; }
.pain-card p { position: relative; z-index: 1; color: #697970; font-size: 12px; margin: 0; line-height: 1.8; }
.statement-section { position: relative; overflow: hidden; background: var(--forest); color: #f5f5eb; padding: 72px 0; }
.statement-section::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid #ffffff10; border-radius: 50%; right: -140px; bottom: -240px; box-shadow: 0 0 0 40px #ffffff05, 0 0 0 80px #ffffff04; }
.statement-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.eyebrow-light { color: #c4d7ca; }
.statement-grid h2 { font: 400 clamp(32px,4vw,47px)/1.15 var(--display-font); letter-spacing: -.03em; margin: 17px 0 0; }
.statement-copy p { color: #c9d8cf; font-size: 13px; line-height: 1.95; }
.statement-copy p:last-child { margin-bottom: 0; }
.statement-copy strong { color: #fff; }
.services-section { background: var(--ivory); }
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 265px; background: var(--paper); border: 1px solid #dfe6dc; border-radius: 7px; padding: 24px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.service-icon { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #e5eee3; color: #285848; font-size: 20px; transition: transform .35s ease, background .35s ease; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: #d7e6d6; }
.service-card h3 { position: relative; z-index: 1; font-size: 15px; font-weight: 800; margin: 16px 0 8px; }
.service-card p { position: relative; z-index: 1; flex: 1; color: #687970; font-size: 12px; line-height: 1.85; margin: 0 0 18px; }
.text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: #285848; font-size: 11px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }.text-link:hover span { transform: translate(3px,-2px); }
.approach-section { background: var(--paper); }
.timeline { margin-top: 38px; }
.timeline-item { position: relative; height: 100%; padding: 22px 23px 10px; border-top: 1px solid #d9e1d6; }
.timeline-item::before { content: ""; position: absolute; top: -4px; left: 23px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #b58b5518; }
.timeline-item > span { color: #8c9a90; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.timeline-item h3 { font-size: 15px; font-weight: 800; margin: 13px 0 7px; }
.timeline-item p { color: #697970; font-size: 11px; line-height: 1.8; margin: 0; }
.founder-section { background: #e8eee5; }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px,7vw,80px); align-items: center; }
.quote-panel { position: relative; overflow: hidden; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-radius: 8px; background: var(--forest); color: #f4f4e9; box-shadow: 0 22px 45px #153d3514; }
.quote-mark { position: relative; z-index: 1; color: #cba574; font: 68px/.8 var(--display-font); }
.quote-panel blockquote { position: relative; z-index: 1; font: 400 26px/1.4 var(--display-font); margin: 18px 0 25px; }
.quote-credit { position: relative; z-index: 1; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #c3d3c8; }
.quote-decoration { position: absolute; width: 180px; height: 180px; border: 1px solid #ffffff15; border-radius: 50%; right: -75px; bottom: -90px; box-shadow: 0 0 0 25px #ffffff05, 0 0 0 50px #ffffff04; }
.founder-copy h2 { margin: 15px 0; }
.founder-copy p { color: #53665d; font-size: 12px; line-height: 1.95; }
.founder-copy .btn { margin-top: 5px; }
.small-disclaimer { margin: 14px 0 0 !important; color: #75867b !important; font-size: 10px !important; line-height: 1.7 !important; }
.consult-section { background: var(--ivory); }
.consult-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(35px,7vw,80px); align-items: start; }
.consult-copy h2 { font-size: clamp(38px,4.4vw,53px); margin: 17px 0; }
.consult-copy > p { max-width: 490px; color: #65746b; font-size: 13px; line-height: 1.95; }
.consult-copy strong { color: var(--ink); }
.form-shell { padding: 28px; background: var(--paper); border: 1px solid #dce4d9; border-radius: 8px; box-shadow: 0 15px 40px #193e350c; }
.form-kicker { color: #9b774a; font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.form-heading h3 { font: 500 26px var(--display-font); margin: 8px 0 3px; }
.form-heading p { color: #718077; font-size: 11px; margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 6px; color: #465e52; font-size: 10px; font-weight: 800; }
.form-control, .form-select { min-height: 43px; padding: 10px 12px; border: 1px solid #d6dfd4; border-radius: 4px; background-color: #fffefa; color: #21372e; font-family: var(--body-font); font-size: 11px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-control:focus, .form-select:focus { border-color: #527c6a; box-shadow: 0 0 0 3px #527c6a20; background: #fff; }
textarea.form-control { min-height: 94px; resize: vertical; }
.submit-btn { min-height: 47px; margin-top: 4px; }
.form-privacy { color: #829087; font-size: 9px; line-height: 1.7; margin: 12px 0 0; text-align: center; }
.alert { font-size: 12px; }
.alert ul { padding-left: 18px; }
.button-spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid #ffffff70; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.site-footer { background: #122f29; color: #e5ede5; padding: 32px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { background: #e8eee5; color: var(--forest); }
.brand-footer small { color: #a8bcb0; }
.footer-mid p { font-size: 11px; color: #d1ded5; margin: 0 0 4px; }
.footer-mid > span { font-size: 9px; color: #91a89b; }
.footer-links { display: flex; gap: 18px; font-size: 10px; color: #c5d3c9; }
.footer-links a { transition: color .2s ease; }.footer-links a:hover { color: #fff; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }.reveal-delay-2 { transition-delay: .22s; }.reveal-delay-3 { transition-delay: .32s; }
@keyframes cardFloat { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-9px) rotate(-.5deg); } }
@keyframes noteFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes orbitPulse { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.035); opacity: .85; } }
@keyframes sparkle { 0%,100% { transform: rotate(0) scale(.9); opacity: .65; } 50% { transform: rotate(25deg) scale(1.2); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 420px; }
  .statement-grid, .founder-grid, .consult-grid { grid-template-columns: 1fr; gap: 34px; }
  .statement-grid { gap: 25px; }
  .quote-panel { min-height: 260px; }
}
@media (max-width: 575.98px) {
  .announcement { font-size: 8px; letter-spacing: .07em; }.announcement-right { display: none; }
  .site-nav { padding: 10px 0; }.brand { font-size: 19px; }.brand-mark { width: 35px; height: 35px; }
  .hero-section { padding-top: 52px; }.hero-copy h1 { font-size: clamp(42px,12vw,55px); }
  .hero-copy > p { font-size: 13px; }.hero-actions .btn { width: 100%; }
  .hero-art { min-height: 350px; }.orbit-one { width: 310px; height: 310px; }.orbit-two { width: 255px; height: 255px; }
  .operation-card { padding: 18px; width: min(100%,370px); }.operation-card h2 { font-size: 21px; }.operation-steps > div { font-size: 9px; }
  .floating-note { bottom: 0; left: -2px; width: 175px; padding: 11px 12px; }.floating-note strong { font-size: 16px; }
  .sparkle-one { right: 2%; top: 15px; }.sparkle-two { right: 1%; bottom: 30px; }
  .hero-bottom { font-size: 7px; }.section-pad { padding: 62px 0; }.section-heading { margin-bottom: 28px; }
  .section-heading h2, .founder-copy h2 { font-size: 36px; }.statement-grid h2 { font-size: 35px; }
  .pain-card { min-height: 0; padding: 22px; }.service-card { min-height: 0; padding: 22px; }
  .timeline-item { padding: 20px 18px 25px; }.timeline-item::before { left: 18px; }
  .quote-panel { padding: 26px; min-height: 260px; }.quote-panel blockquote { font-size: 24px; }
  .form-shell { padding: 21px 17px; }.consult-copy h2 { font-size: 41px; }
  .footer-row { align-items: flex-start; flex-direction: column; }.footer-mid { order: 3; }.footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
