/* ============================================================
   lawrencecminks.com — public site
   Navy & gold academic identity: Spectral (display),
   Source Sans 3 (body), Oswald (eyebrows/labels — heritage face).
   Signature: the "gilded spine" — a thin gold rule that starts
   under the hero headline and recurs on every section eyebrow.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
    --navy: #0A1F5C;
    --navy-deep: #071540;
    --navy-soft: #16307A;
    --gold: #E3B505;
    --gold-soft: #F0CE54;
    --paper: #F7F8FB;
    --tint: #EEF1F7;
    --line: #DCE2EE;
    --line-dark: rgba(255, 255, 255, .16);
    --ink: #1E2740;
    --ink-soft: #59627B;
    --link: #2547A8;
    --white: #FFFFFF;
    --display: 'Spectral', Georgia, 'Times New Roman', serif;
    --body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    --label: 'Oswald', 'Arial Narrow', sans-serif;
    --wrap: 1080px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Type ---------- */

h1, h2, h3 {
    font-family: var(--display);
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

h1 em {
    font-style: italic;
    font-weight: 400;
}

/* Eyebrow labels — Oswald, letterspaced, with the gold spine tick. */
.eyebrow {
    font-family: var(--label);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--navy-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--gold);
    flex: none;
}

.eyebrow-light { color: var(--gold-soft); }

/* The gilded spine — the signature rule. On page heads it becomes a ribbon
   that enters from the left (spine) edge of the viewport and brightens as it
   reaches the headline; elsewhere it stays a short local rule. */
.gilded-rule {
    width: 88px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0 70%, var(--gold-soft) 70% 100%);
    margin: 22px 0 26px;
    position: relative;
}

.hero .gilded-rule::before,
.page-head .gilded-rule::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 0;
    height: 100%;
    width: 100vw;
    background: linear-gradient(90deg, rgba(227, 181, 5, .12), rgba(227, 181, 5, .8));
}

.section-heading { margin-bottom: 1.2em; }

.section-lede {
    max-width: 56ch;
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin: -1.4em 0 2em;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 3px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Call strip ---------- */

.call-strip {
    background: var(--navy-deep);
    color: #C9D2E8;
    font-size: .85rem;
    letter-spacing: .04em;
}

.call-strip .inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 7px 24px;
    text-align: right;
}

.call-strip a { color: var(--gold-soft); }

/* ---------- Header ---------- */

.site-header {
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
}

.site-header .bar {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.brand { text-decoration: none; display: block; }

.brand-name {
    display: block;
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
}

.brand-sub {
    display: block;
    font-family: var(--label);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-top: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav a {
    color: #DCE4F5;
    text-decoration: none;
    font-weight: 600;
    font-size: .98rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--white); }

.site-nav a[aria-current="page"] {
    color: var(--white);
    border-bottom-color: var(--gold);
}

.site-nav .btn { padding: 11px 22px; border-bottom: none; }
.site-nav .btn.btn-gold { color: var(--navy-deep); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-dark);
    border-radius: 3px;
    color: var(--white);
    font: 700 .9rem var(--body);
    padding: 9px 16px;
    cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(37, 71, 168, .55), transparent 60%),
        var(--navy);
    color: var(--white);
    padding: 92px 0 96px;
    overflow: hidden;
}

.hero .eyebrow { color: var(--gold-soft); }

.hero h1 {
    color: var(--white);
    max-width: 15ch;
    margin: 0;
}

.hero h1 em { color: var(--gold-soft); }

.hero-lede {
    max-width: 52ch;
    font-size: 1.2rem;
    color: #C9D2E8;
    margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cols {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
}

.hero-portrait {
    margin: 0;
    justify-self: end;
}

.hero-portrait img {
    display: block;
    width: 260px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

.hero-portrait figcaption {
    font-family: var(--label);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #C9D2E8;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 860px) {
    .hero-cols { grid-template-columns: 1fr; }
    .hero-portrait { justify-self: start; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero .eyebrow,
    .hero h1,
    .hero .gilded-rule,
    .hero-lede,
    .hero-actions {
        animation: rise .6s ease both;
    }

    .hero h1 { animation-delay: .08s; }
    .hero .gilded-rule { animation-delay: .16s; }
    .hero-lede { animation-delay: .24s; }
    .hero-actions { animation-delay: .32s; }

    @keyframes rise {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: none; }
    }
}

/* ---------- Page head (interior pages) ---------- */

.page-head {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 58px;
    overflow: hidden;
}

.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { color: var(--white); margin: 0; }
.page-head h1 em { color: var(--gold-soft); }
.page-head .gilded-rule { margin-bottom: 0; }

.page-lede {
    max-width: 56ch;
    font-size: 1.15rem;
    color: #C9D2E8;
    margin: 22px 0 0;
}

.page-head .hero-actions { margin-top: 30px; }

/* ---------- Bands ---------- */

.band { padding: 72px 0; }
.band-tint { background: var(--tint); }

.band-navy {
    background: var(--navy);
    color: #DCE4F5;
    padding: 72px 0;
}

.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a { color: var(--gold-soft); }

/* ---------- Homepage: pillars ---------- */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 34px;
}

.pillar {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    position: relative;
}

.pillar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--gold);
}

.pillar h2 { font-size: 1.45rem; }
.pillar-body p { margin: 0 0 1em; color: var(--ink-soft); }

/* ---------- Homepage: practice grid ---------- */

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px 56px;
}

.practice-item {
    padding: 22px 0 10px;
    border-top: 1px solid var(--line);
    position: relative;
}

.practice-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--gold);
}

.practice-item h3 { margin-bottom: .35em; }
.practice-body p { margin: 0 0 .6em; color: var(--ink-soft); }

/* ---------- Feature columns (home + interior reuse) ---------- */

.feature-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 56px;
}

.feature-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.feature-list a {
    font-weight: 600;
    text-decoration: none;
}

.feature-list a:hover { text-decoration: underline; }

.see-all {
    font-family: var(--label);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
}

/* ---------- CTA band ---------- */

.cta-band {
    background:
        radial-gradient(900px 420px at 15% 120%, rgba(37, 71, 168, .5), transparent 60%),
        var(--navy-deep);
    color: var(--white);
    text-align: center;
    padding: 76px 0;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { color: #C9D2E8; margin: 0 auto 30px; max-width: 46ch; }

/* ---------- Prose (CMS body content) ---------- */

.prose { max-width: 72ch; }
.prose p { margin: 0 0 1.1em; }
.prose-light { color: #DCE4F5; }
.prose-light a { color: var(--gold-soft); }

/* ---------- About page ---------- */

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 12px;
}

.approach-item {
    border-top: 1px solid var(--line-dark);
    padding-top: 20px;
}

.approach-item h2 {
    font-size: 1.3rem;
    color: var(--gold-soft);
}

.approach-body { color: #C9D2E8; }
.approach-body p { margin: 0 0 1em; }

.bio-cols {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.bio-portrait { margin: 0; }

.bio-portrait img {
    width: 100%;
    border: 1px solid var(--line);
    border-bottom: 3px solid var(--gold);
    background: var(--white);
}

.bio-portrait figcaption {
    font-size: .88rem;
    color: var(--ink-soft);
    font-style: italic;
    margin-top: 12px;
    line-height: 1.5;
}

/* ---------- Services page ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px 56px;
}

.service-item {
    padding: 24px 0 12px;
    border-top: 1px solid var(--line);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--gold);
}

.service-item h2 { font-size: 1.3rem; margin-bottom: .4em; }
.service-body p { margin: 0 0 .7em; color: var(--ink-soft); }

.faq-pointer { margin-top: 34px; font-size: 1.05rem; }

.arrangement-cols {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: center;
}

.arrangement-portrait { margin: 0; }

.arrangement-portrait img {
    width: 100%;
    border: 1px solid var(--line-dark);
    border-bottom: 3px solid var(--gold);
}

/* ---------- FAQs ---------- */

.faq-wrap { max-width: 820px; }

.faq-list { margin-bottom: 48px; }

.faq-item {
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    margin-bottom: 10px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--navy);
    padding: 16px 44px 16px 18px;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--body);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--gold);
}

.faq-item[open] summary::after { content: '\2013'; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }

.faq-body { padding: 16px 18px 6px; color: var(--ink-soft); }
.faq-body p { margin: 0 0 1em; }

/* ---------- Link grids (news / insights) ---------- */

.link-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0 56px;
}

.link-grid li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.link-grid a { font-weight: 600; text-decoration: none; }
.link-grid a:hover { text-decoration: underline; }

.link-grid-light { margin-top: 10px; }
.link-grid-light li { border-bottom-color: var(--line-dark); }

/* ---------- Downloads ---------- */

.download-group { margin-bottom: 40px; }

.download-group h3 {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.download-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.download-list li { padding: 8px 0; }

.download-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
}

.download-list a:hover { text-decoration: underline; }

.download-doc-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex: none;
}

.download-doc-icon svg { width: 100%; height: 100%; }

/* ---------- Contact ---------- */

.contact-cols {
    display: grid;
    grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr);
    gap: 64px;
    align-items: start;
}

.contact-portrait { margin: 28px 0 0; max-width: 300px; }

.contact-portrait img {
    width: 100%;
    border: 1px solid var(--line);
    border-bottom: 3px solid var(--gold);
    background: var(--white);
}

.contact-form .input { margin-bottom: 18px; }

.contact-form label {
    display: block;
    font-family: var(--label);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--navy-soft);
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    font: 1rem var(--body);
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy-soft);
    box-shadow: 0 0 0 3px rgba(37, 71, 168, .15);
}

.contact-form .error input,
.contact-form .error textarea { border-color: #B3261E; }

.contact-form .error-message {
    display: block;
    color: #B3261E;
    font-size: .88rem;
    margin-top: 5px;
}

.grecaptcha-badge { visibility: hidden !important; }

/* ---------- Sitemap page ---------- */

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.sitemap-group h3 {
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 6px;
}

.sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.sitemap-group li { padding: 7px 0; }
.sitemap-group a { text-decoration: none; font-weight: 600; }
.sitemap-group a:hover { text-decoration: underline; }

/* ---------- Flash messages ---------- */

.message {
    margin: 20px 0 0;
    padding: 14px 18px;
    border-radius: 3px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--navy-soft);
    background: var(--white);
    font-weight: 600;
}

.message.success { border-left-color: #2E7D32; color: #205723; }
.message.error { border-left-color: #B3261E; color: #8C1D18; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-deep);
    color: #C9D2E8;
    padding: 56px 0 28px;
    border-top: 3px solid var(--gold);
}

.site-footer .cols {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-wordmark {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.footer-wordmark em { color: var(--gold-soft); font-weight: 400; }

.footer-brand p { margin: 8px 0 0; font-size: .95rem; }

.footer-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-nav a {
    color: #C9D2E8;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}

.footer-nav a:hover { color: var(--white); }

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    font-size: .85rem;
}

.base-links { display: inline-flex; gap: 18px; align-items: center; }
.base-links a { color: #C9D2E8; text-decoration: none; }
.base-links a:hover { color: var(--white); }

/* ---------- Legacy CMS compatibility ----------
   Bodies stored in the contents table carry Bootstrap-3-era markup.
   Keep those classes rendering sanely inside .prose / body areas. */

.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class*="col-sm-"] { padding: 0 12px; flex: 1 1 100%; }

@media (min-width: 700px) {
    .col-sm-1 { flex-basis: 8.33%; }
    .col-sm-2 { flex-basis: 16.66%; }
    .col-sm-3 { flex-basis: 25%; }
    .col-sm-4 { flex-basis: 33.33%; }
    .col-sm-5 { flex-basis: 41.66%; }
    .col-sm-6 { flex-basis: 50%; }
    .col-sm-7 { flex-basis: 58.33%; }
    .col-sm-8 { flex-basis: 66.66%; }
    .col-sm-9 { flex-basis: 75%; }
    .col-sm-10 { flex-basis: 83.33%; }
    .col-sm-12 { flex-basis: 100%; }
}

.text-center { text-align: center; }
.text-blue { color: var(--navy); }
.text-white { color: var(--white); }
.img-responsive { max-width: 100%; height: auto; }
.center-block { display: block; margin-left: auto; margin-right: auto; }
.pull-right { float: right; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .bio-cols,
    .arrangement-cols,
    .contact-cols { grid-template-columns: 1fr; gap: 36px; }

    .bio-portrait,
    .arrangement-portrait { max-width: 300px; }
}

@media (max-width: 760px) {
    .call-strip .inner { text-align: center; }

    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 12px;
    }

    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 0; width: 100%; }
    .site-nav .btn { margin-top: 8px; }

    .hero { padding: 64px 0 68px; }
    .band, .band-navy { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
