/*
Theme Name: Templeton Firm
Theme URI: https://templetonfirm.com
Author: Templeton Firm
Author URI: https://templetonfirm.com
Description: A modern, professional WordPress theme for Templeton Firm. Built with the firm's signature green palette, refined typography, and a contemporary layout designed for credibility and conversion.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: templeton-firm
Tags: business, professional, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. RESET & ROOT VARIABLES
   ========================================================= */
:root {
    --tf-green: #00AD0E;
    --tf-green-dark: #007A0A;
    --tf-green-light: #E6F7E8;
    --tf-ink: #0A0F0B;
    --tf-charcoal: #1A1A1A;
    --tf-gray-900: #1F2937;
    --tf-gray-700: #374151;
    --tf-gray-500: #6B7280;
    --tf-gray-300: #D1D5DB;
    --tf-gray-100: #F3F4F6;
    --tf-gray-50: #FAFAFA;
    --tf-white: #FFFFFF;
    --tf-accent: #00AD0E;

    --tf-font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
    --tf-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --tf-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --tf-shadow: 0 4px 14px rgba(0,0,0,0.06);
    --tf-shadow-lg: 0 18px 50px rgba(0,0,0,0.10);

    --tf-radius: 4px;
    --tf-radius-lg: 12px;

    --tf-container: 1200px;
    --tf-container-narrow: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--tf-font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--tf-gray-900);
    background: var(--tf-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--tf-green-dark);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--tf-green); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tf-font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--tf-ink);
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-family: var(--tf-font-sans); font-weight: 600; }

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--tf-container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: var(--tf-container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--tf-font-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tf-green);
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--tf-radius);
    font-family: var(--tf-font-sans);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    line-height: 1;
}
.btn-primary {
    background: var(--tf-green);
    color: var(--tf-white);
    box-shadow: 0 6px 18px rgba(0,173,14,0.25);
}
.btn-primary:hover {
    background: var(--tf-green-dark);
    color: var(--tf-white);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--tf-ink);
    border: 1.5px solid var(--tf-ink);
}
.btn-outline:hover {
    background: var(--tf-ink);
    color: var(--tf-white);
}
.btn-ghost {
    background: transparent;
    color: var(--tf-white);
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover {
    background: var(--tf-white);
    color: var(--tf-ink);
    border-color: var(--tf-white);
}

/* =========================================================
   2. SITE HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tf-gray-100);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 32px;
}
.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-logo img { height: 44px; width: auto; }
.site-logo__text {
    font-family: var(--tf-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tf-ink);
    letter-spacing: -0.01em;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav a {
    font-family: var(--tf-font-sans);
    font-size: .95rem;
    font-weight: 500;
    color: var(--tf-gray-700);
    padding: 8px 0;
    position: relative;
}
.site-nav a:hover,
.site-nav .current_page_item a,
.site-nav .current-menu-item a {
    color: var(--tf-green);
}
.site-nav .current_page_item a::after,
.site-nav .current-menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--tf-green);
}
.header-cta { display: inline-flex; align-items: center; }
.header-phone {
    font-weight: 600;
    color: var(--tf-ink);
    font-size: .95rem;
    margin-right: 18px;
}
.header-phone:hover { color: var(--tf-green); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tf-ink);
    margin: 5px 0;
    transition: transform .2s, opacity .2s;
}

@media (max-width: 880px) {
    .menu-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--tf-white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px;
        border-bottom: 1px solid var(--tf-gray-100);
        gap: 0;
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .site-nav li { border-bottom: 1px solid var(--tf-gray-100); }
    .site-nav li:last-child { border-bottom: none; }
    .site-nav a { display: block; padding: 14px 0; }
    .header-cta { display: none; }
}

/* =========================================================
   3. HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 110px 0 100px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FBF7 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: var(--tf-green);
    transform: rotate(35deg);
    opacity: .06;
    border-radius: 30px;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 280px;
    height: 280px;
    background: var(--tf-green);
    transform: rotate(-20deg);
    opacity: .05;
    border-radius: 30px;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero__title .accent { color: var(--tf-green); font-style: italic; }
.hero__lead {
    font-size: 1.15rem;
    color: var(--tf-gray-700);
    margin-bottom: 36px;
    max-width: 560px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual {
    position: relative;
    border-radius: var(--tf-radius-lg);
    overflow: hidden;
    box-shadow: var(--tf-shadow-lg);
    aspect-ratio: 4/5;
}
.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--tf-white);
    padding: 14px 18px;
    border-radius: var(--tf-radius);
    box-shadow: var(--tf-shadow);
    font-size: .85rem;
    font-weight: 600;
    color: var(--tf-ink);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero__badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tf-green);
}

@media (max-width: 900px) {
    .hero { padding: 60px 0 70px; }
    .hero__inner { grid-template-columns: 1fr; gap: 50px; }
    .hero__visual { max-width: 460px; margin: 0 auto; }
}

/* =========================================================
   4. STAT STRIP
   ========================================================= */
.stat-strip {
    background: var(--tf-ink);
    color: var(--tf-white);
    padding: 56px 0;
}
.stat-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-strip__num {
    display: block;
    font-family: var(--tf-font-serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--tf-green);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-strip__label {
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    font-weight: 500;
}
@media (max-width: 760px) {
    .stat-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* =========================================================
   5. PRACTICE AREAS
   ========================================================= */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.practice-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-gray-100);
    padding: 36px 32px;
    border-radius: var(--tf-radius-lg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}
.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--tf-green);
    transition: height .3s ease;
}
.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tf-shadow-lg);
    border-color: transparent;
}
.practice-card:hover::before { height: 100%; }
.practice-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tf-green-light);
    color: var(--tf-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.4rem;
}
.practice-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.practice-card p {
    color: var(--tf-gray-700);
    font-size: .96rem;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 880px) { .practice-grid { grid-template-columns: 1fr; } }

/* =========================================================
   6. SECTION HEADERS
   ========================================================= */
.section-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--tf-gray-700); font-size: 1.08rem; }
.section-header.left { margin-left: 0; text-align: left; }

/* =========================================================
   7. ABOUT / SPLIT
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media img {
    border-radius: var(--tf-radius-lg);
    box-shadow: var(--tf-shadow-lg);
    width: 100%;
}
.split__content h2 { margin-bottom: 20px; }
.split__content p { color: var(--tf-gray-700); }
.split__points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}
.split__points li {
    position: relative;
    padding: 14px 0 14px 36px;
    border-top: 1px solid var(--tf-gray-100);
}
.split__points li:last-child { border-bottom: 1px solid var(--tf-gray-100); }
.split__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 18px;
    height: 18px;
    background: var(--tf-green);
    border-radius: 50%;
}
.split__points li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 28px;
    width: 6px;
    height: 3px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}
.split__points strong {
    display: block;
    color: var(--tf-ink);
    font-weight: 600;
    margin-bottom: 4px;
}
.split__points span {
    color: var(--tf-gray-700);
    font-size: .95rem;
}

@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse > :first-child { order: 0; }
}

/* =========================================================
   8. TESTIMONIAL / PULL QUOTE
   ========================================================= */
.pullquote {
    background: var(--tf-green-light);
    padding: 80px 0;
    text-align: center;
}
.pullquote blockquote {
    font-family: var(--tf-font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.4;
    color: var(--tf-ink);
    max-width: 820px;
    margin: 0 auto;
    font-style: italic;
}
.pullquote cite {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-family: var(--tf-font-sans);
    font-size: .9rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tf-green-dark);
}

/* =========================================================
   9. CTA BAND
   ========================================================= */
.cta-band {
    background: var(--tf-ink);
    color: var(--tf-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: var(--tf-green);
    transform: rotate(30deg);
    opacity: .15;
    border-radius: 24px;
}
.cta-band__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}
.cta-band h2 { color: var(--tf-white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); margin-bottom: 0; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 880px) {
    .cta-band__inner { grid-template-columns: 1fr; }
    .cta-band__actions { justify-content: flex-start; }
}

/* =========================================================
   10. PAGE HEADER (interior pages)
   ========================================================= */
.page-header {
    background: linear-gradient(135deg, #0A0F0B 0%, #15201A 100%);
    color: var(--tf-white);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: var(--tf-green);
    transform: rotate(30deg);
    opacity: .25;
    border-radius: 24px;
}
.page-header::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: var(--tf-green);
    transform: rotate(-20deg);
    opacity: .15;
    border-radius: 24px;
}
.page-header__inner {
    position: relative;
    max-width: 820px;
}
.page-header .eyebrow { color: var(--tf-green); }
.page-header h1 { color: var(--tf-white); margin-bottom: 18px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; }

/* =========================================================
   11. PAGE BODY (default)
   ========================================================= */
.page-body { padding: 80px 0; }
.page-body .container-narrow > * { max-width: 100%; }
.page-body h2 { margin-top: 48px; }
.page-body h3 { margin-top: 36px; }
.page-body ul, .page-body ol { padding-left: 24px; }
.page-body li { margin-bottom: 8px; }

/* =========================================================
   12. FAQ
   ========================================================= */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--tf-white);
    border: 1px solid var(--tf-gray-100);
    border-radius: var(--tf-radius-lg);
    padding: 28px 32px;
    margin-bottom: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--tf-green); box-shadow: var(--tf-shadow); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--tf-font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tf-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--tf-font-sans);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--tf-green);
    transition: transform .2s ease;
    line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
    padding-top: 18px;
    color: var(--tf-gray-700);
}
.faq-item__body p:last-child { margin-bottom: 0; }

/* =========================================================
   13. CONTACT
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-gray-100);
    border-radius: var(--tf-radius-lg);
    padding: 40px;
    box-shadow: var(--tf-shadow);
}
.contact-card h3 { margin-bottom: 6px; font-family: var(--tf-font-serif); font-size: 1.4rem; }
.contact-card p { color: var(--tf-gray-700); margin-bottom: 24px; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--tf-gray-100);
}
.contact-detail:first-of-type { border-top: none; padding-top: 0; }
.contact-detail__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tf-green-light);
    color: var(--tf-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.contact-detail__label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tf-gray-500);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-detail__value {
    font-size: 1rem;
    color: var(--tf-ink);
    font-weight: 500;
    line-height: 1.5;
}
.contact-detail__value a { color: var(--tf-ink); }
.contact-detail__value a:hover { color: var(--tf-green); }

.contact-form { background: var(--tf-gray-50); padding: 40px; border-radius: var(--tf-radius-lg); }
.contact-form label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--tf-gray-700);
    margin-bottom: 8px;
    letter-spacing: .03em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--tf-gray-300);
    border-radius: var(--tf-radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--tf-white);
    margin-bottom: 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--tf-green);
    box-shadow: 0 0 0 3px rgba(0,173,14,0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .form-disclaimer {
    font-size: .8rem;
    color: var(--tf-gray-500);
    margin-top: 12px;
    line-height: 1.5;
}

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
    background: var(--tf-ink);
    color: rgba(255,255,255,.78);
    padding: 72px 0 36px;
}
.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}
.site-footer h4 {
    color: var(--tf-white);
    font-family: var(--tf-font-sans);
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}
.site-footer__brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.site-footer__brand p { font-size: .95rem; color: rgba(255,255,255,.65); max-width: 320px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .95rem; }
.site-footer a:hover { color: var(--tf-green); }
.site-footer__contact p { font-size: .95rem; line-height: 1.7; margin-bottom: 12px; }
.site-footer__contact strong { color: var(--tf-white); display: block; margin-bottom: 4px; font-weight: 600; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__legal-links { display: flex; gap: 24px; }

@media (max-width: 880px) {
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   15. UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-light { background: var(--tf-gray-50); }
.divider {
    width: 60px;
    height: 3px;
    background: var(--tf-green);
    border: 0;
    margin: 0 auto 24px;
}
.section-header.left .divider { margin: 0 0 24px; }

.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ====================================================================
   V8 PREVIEW PARITY ADDITIONS (skyline hero, exhibit stickers, news,
   nameplate, wordmark, contact portrait, text balance)
   ==================================================================== */

/* Header logo - wordmark */
.site-logo img,
.site-logo__wordmark { height: 58px; width: auto; display: block; }
.site-header { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 720px) {
    .site-logo img, .site-logo__wordmark { height: 42px; }
}

/* Footer wordmark replaces broken logo image */
.site-footer__brand img { display: none; }
.site-footer__brand .footer-wordmark {
    font-family: var(--tf-font-serif);
    font-size: 1.6rem; font-weight: 700;
    color: var(--tf-white);
    margin-bottom: 14px; display: block;
    letter-spacing: -.01em;
}
.site-footer__brand .footer-wordmark .accent { color: var(--tf-green); }

/* Smaller services-section images, no container panel */
.split__media img {
    max-height: 360px; width: 100%; object-fit: contain;
    background: transparent; padding: 0; border-radius: 0;
}

/* Exhibit sticker on practice cards */
.exhibit-sticker {
    position: absolute; top: 18px; right: 18px;
    width: 96px; height: auto; z-index: 5;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.18));
    transform: rotate(6deg);
    transition: transform .35s ease;
    pointer-events: none;
}
.practice-card { position: relative; padding-top: 60px; }
.practice-card:nth-child(2n) .exhibit-sticker { transform: rotate(-5deg); }
.practice-card:nth-child(3n) .exhibit-sticker { transform: rotate(8deg); }
.practice-card:nth-child(4n) .exhibit-sticker { transform: rotate(-7deg); }
.practice-card:hover .exhibit-sticker { transform: rotate(0deg) scale(1.05); }
.split__content .exhibit-sticker {
    position: relative; top: auto; right: auto;
    display: inline-block; width: 130px;
    margin-bottom: 18px; transform: rotate(-4deg);
}

/* In the News media wall */
.news-section { padding: 80px 0; background: #FAFAFA; }
.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 40px;
}
.news-card {
    border-radius: var(--tf-radius-lg);
    overflow: hidden; background: #fff;
    box-shadow: var(--tf-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--tf-shadow-lg); }
.news-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.news-card__caption { padding: 18px 22px; }
.news-card__source {
    font-size: .78rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--tf-green);
    font-weight: 600; margin-bottom: 6px;
}
.news-card__title {
    font-family: var(--tf-font-serif); font-size: 1.05rem;
    font-weight: 700; color: var(--tf-ink); line-height: 1.4; margin: 0;
}
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr; } }

/* Animations */
@keyframes tf-ken-burns {
    0% { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}
.hero__visual img {
    animation: tf-ken-burns 22s ease-in-out infinite alternate;
}
.tf-reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.tf-reveal.is-visible { opacity: 1; transform: translateY(0); }
.stat-strip__num { font-variant-numeric: tabular-nums; }

/* Nameplate tucked under appointments */
.nameplate-inline { margin-top: 22px; }
.nameplate-inline img {
    display: block; width: 100%; max-width: 320px; height: auto;
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}
.nameplate-inline__caption {
    margin-top: 10px;
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--tf-gray-500); font-weight: 600;
}

/* Skyline hero (skyline-only variant on home) */
.hero.hero--skyline {
    position: relative; color: #fff;
    background-color: #0A0F0B;
    background-size: cover; background-position: center 35%;
    background-repeat: no-repeat;
}
.hero.hero--skyline::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,15,11,0.35) 0%, rgba(10,15,11,0.15) 40%, rgba(10,15,11,0.15) 60%, rgba(10,15,11,0.45) 100%);
}
.hero.hero--skyline .container { position: relative; z-index: 2; }
.hero.hero--skyline-only { padding: 120px 0 140px; }
.hero.hero--skyline-only .hero__content {
    position: relative; z-index: 2;
    max-width: 720px;
    background: rgba(10, 15, 11, 0.58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 48px 52px;
    border-radius: 14px;
    border-left: 4px solid var(--tf-green);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero.hero--skyline-only .hero__title {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.1; color: #fff;
}
.hero.hero--skyline-only .hero__title .accent {
    color: var(--tf-green);
    background: rgba(0, 173, 14, 0.14);
    padding: 0 8px; border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.hero.hero--skyline-only .hero__lead {
    font-size: 1.1rem; max-width: 100%; color: #fff;
}
.hero.hero--skyline-only .eyebrow { color: var(--tf-green); }
.hero.hero--skyline-only .btn-outline {
    background: var(--tf-green);
    color: #fff; border-color: var(--tf-green);
}
.hero.hero--skyline-only .btn-outline:hover {
    background: var(--tf-green-dark);
    border-color: var(--tf-green-dark); color: #fff;
}
@media (max-width: 720px) {
    .hero.hero--skyline-only { padding: 80px 0 100px; }
    .hero.hero--skyline-only .hero__content { padding: 32px 28px; border-radius: 10px; }
}

/* Contact page: blue suit portrait block */
.contact-portrait {
    margin-bottom: 28px; padding-bottom: 28px;
    border-bottom: 1px solid #E5E7EB;
}
.contact-portrait img {
    display: block; width: 100%; max-width: 240px; height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    margin: 0 0 16px;
}
.contact-portrait__name {
    font-family: var(--tf-font-serif);
    font-size: 1.15rem; font-weight: 700;
    color: var(--tf-ink); line-height: 1.3;
    margin: 0 0 4px;
}
.contact-portrait__title {
    font-size: .78rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--tf-green);
    font-weight: 600;
}

/* Text balance (no widow words on centered text) */
h1, h2, h3, .hero__title, .section-header h2, blockquote {
    text-wrap: balance;
}
.section-header p, .hero__lead, .page-header p,
.news-section p, .pullquote blockquote, .cta-band p {
    text-wrap: pretty;
}
