/*
Theme Name: LegalAlex Pro
Theme URI: https://legalalex.com
Author: Alex J. Bell
Author URI: https://legalalex.com
Description: A sharp, high-design theme for Alex J. Bell's law practice. Minimal, confident, and commanding.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legalalex
*/

/* ============================================
   CSS VARIABLES — HIGH DESIGN SYSTEM
   ============================================ */
:root {
    /* Core palette - stark and confident */
    --color-black: #0a0a0a;
    --color-ink: #141414;
    --color-charcoal: #1a1a1a;
    --color-gray-dark: #2a2a2a;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-gray-lighter: #e5e5e5;
    --color-off-white: #f7f7f7;
    --color-white: #ffffff;
    
    /* Accent - refined warm tone */
    --color-accent: #c4a35a;
    --color-accent-dark: #a8893d;
    
    /* Typography - editorial and sharp */
    --font-display: 'Monument Extended', 'Bebas Neue', 'Oswald', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-body: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-2xl: 12rem;
    
    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.2s;
    --duration-medium: 0.4s;
    --duration-slow: 0.8s;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

::selection {
    background: var(--color-ink);
    color: var(--color-white);
}

/* ============================================
   TYPOGRAPHY — SHARP & COMMANDING
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray-light);
    display: block;
    margin-bottom: var(--space-sm);
}

.large-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: var(--color-gray);
}

/* Numbered labels - Studio 11 style */
.number-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-gray-light);
}

.number-label::before {
    content: '[';
}

.number-label::after {
    content: ']';
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: 900px;
}

.container--wide {
    max-width: 1600px;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   BUTTONS — MINIMAL & SHARP
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-out-expo);
}

.btn--primary {
    background: var(--color-ink);
    color: var(--color-white);
    border-color: var(--color-ink);
}

.btn--primary:hover {
    background: var(--color-white);
    color: var(--color-ink);
}

.btn--outline {
    background: transparent;
    color: var(--color-ink);
    border-color: var(--color-ink);
}

.btn--outline:hover {
    background: var(--color-ink);
    color: var(--color-white);
}

.btn--accent {
    background: var(--color-accent);
    color: var(--color-ink);
    border-color: var(--color-accent);
}

.btn--accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn--ghost {
    background: transparent;
    color: var(--color-ink);
    padding: 0;
    border: none;
}

.btn--ghost::after {
    content: '→';
    transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn--ghost:hover::after {
    transform: translateX(4px);
}

/* ============================================
   HEADER — MINIMAL & SHARP
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--duration-medium) var(--ease-out-expo);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--color-gray-lighter);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav a {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--color-ink);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.phone-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link svg {
    width: 14px;
    height: 14px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--color-ink);
    position: absolute;
    left: 6px;
    transition: all var(--duration-fast) ease;
}

.mobile-menu-toggle span:nth-child(1) { top: 10px; }
.mobile-menu-toggle span:nth-child(2) { top: 15px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }

/* ============================================
   HERO — DRAMATIC & MINIMAL
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--color-white);
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-section h1 {
    margin-bottom: var(--space-md);
}

.hero-section h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--duration-slow) var(--ease-out-expo);
}

.hero-image:hover img {
    filter: grayscale(0%);
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 40%;
    height: 40%;
    border: 1px solid var(--color-gray-lighter);
    z-index: -1;
}

/* ============================================
   STATS BAR — BY THE NUMBERS
   ============================================ */
.stats-section {
    padding: var(--space-xl) 0;
    background: var(--color-ink);
    color: var(--color-white);
}

.stats-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.stats-header .eyebrow {
    color: var(--color-gray);
}

.stats-header h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
    border-left: 1px solid var(--color-gray-dark);
}

.stat-item:first-child {
    border-left: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
}

/* ============================================
   PRACTICE AREAS — PROCESS STYLE
   ============================================ */
.practice-section {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.section-header {
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-gray-lighter);
    border: 1px solid var(--color-gray-lighter);
}

.practice-card {
    background: var(--color-white);
    padding: var(--space-lg);
    transition: all var(--duration-medium) var(--ease-out-expo);
    position: relative;
}

.practice-card:hover {
    background: var(--color-off-white);
}

.practice-card .number-label {
    margin-bottom: var(--space-md);
}

.practice-card h3 {
    margin-bottom: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.practice-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.practice-card::after {
    content: '→';
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--color-gray-lighter);
    transition: all var(--duration-fast) ease;
}

.practice-card:hover::after {
    color: var(--color-ink);
    transform: translateX(4px);
}

/* ============================================
   RESULTS — CASE OUTCOMES
   ============================================ */
.results-section {
    padding: var(--space-2xl) 0;
    background: var(--color-off-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.result-card {
    background: var(--color-white);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    border: 1px solid var(--color-gray-lighter);
    transition: all var(--duration-medium) var(--ease-out-expo);
}

.result-card:hover {
    border-color: var(--color-ink);
}

.result-number {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-gray-light);
    padding-top: 0.25rem;
}

.result-content h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-ink);
}

.result-content p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.result-outcome {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
}

.result-outcome svg {
    width: 12px;
    height: 12px;
}

.results-disclaimer {
    text-align: center;
    margin-top: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: var(--color-gray-light);
}

/* ============================================
   ABOUT — EDITORIAL LAYOUT
   ============================================ */
.about-section {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-image {
    position: relative;
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--duration-slow) var(--ease-out-expo);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-lighter);
}

.about-stat .stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-ink);
    line-height: 1;
}

.about-stat .stat-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-light);
    margin-top: 0.25rem;
}

.about-content {
    padding-top: var(--space-md);
}

.about-content h2 {
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.about-content p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-sm);
    max-width: 540px;
}

.about-content p strong {
    color: var(--color-ink);
    font-weight: 500;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-lighter);
}

.about-credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray);
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-lighter);
    transition: all var(--duration-fast) ease;
}

.about-credential:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

.about-credential svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

/* ============================================
   CTA — COMMANDING PRESENCE
   ============================================ */
.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--color-ink);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section .eyebrow {
    color: var(--color-gray);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: var(--color-gray);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.cta-section .btn--primary {
    background: var(--color-white);
    color: var(--color-ink);
    border-color: var(--color-white);
}

.cta-section .btn--primary:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.cta-section .btn--outline {
    color: var(--color-white);
    border-color: var(--color-gray-dark);
}

.cta-section .btn--outline:hover {
    background: var(--color-white);
    color: var(--color-ink);
    border-color: var(--color-white);
}

.cta-phone {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-gray);
}

.cta-phone a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.cta-phone a:hover {
    color: var(--color-accent);
}

/* ============================================
   FOOTER — MINIMAL
   ============================================ */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.7;
}

.footer-section h4 {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

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

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-charcoal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--color-gray);
}

.footer-legal {
    font-size: 0.6875rem;
    color: var(--color-gray-dark);
    max-width: 480px;
    text-align: right;
    line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: var(--space-2xl) 0;
    padding-top: calc(80px + var(--space-xl));
    background: var(--color-off-white);
    min-height: 100vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info h1 {
    margin-bottom: var(--space-md);
}

.contact-info > p {
    font-size: 1.125rem;
    max-width: 440px;
}

.contact-details {
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-ink);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item h4 {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--color-ink);
}

.contact-item a:hover {
    color: var(--color-accent-dark);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-lg);
    border: 1px solid var(--color-gray-lighter);
}

.contact-form .form-group {
    margin-bottom: var(--space-md);
}

.contact-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-gray-lighter);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-ink);
    transition: border-color var(--duration-fast) ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-ink);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* WordPress form styles */
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-gray-lighter);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-ink);
    transition: border-color var(--duration-fast) ease;
}

.wpcf7-form input[type="submit"] {
    background: var(--color-ink);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--color-ink);
    transition: all var(--duration-fast) ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--color-white);
    color: var(--color-ink);
}

/* ============================================
   WORDPRESS ADMIN BAR
   ============================================ */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 500px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-left: none;
        border-bottom: 1px solid var(--color-gray-dark);
        padding-bottom: var(--space-md);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image {
        position: static;
        max-width: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
        --space-2xl: 7rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-cta .btn {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: calc(80px + var(--space-lg)) 0 var(--space-xl);
    }

    .hero-image::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-legal {
        text-align: center;
        max-width: 100%;
    }

    .result-card {
        grid-template-columns: 1fr;
    }

    .result-number {
        margin-bottom: var(--space-xs);
    }
}

/* ============================================
   MOBILE MENU ACTIVE STATE
   ============================================ */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    border-top: 1px solid var(--color-gray-lighter);
}

.main-nav.active ul {
    flex-direction: column;
    gap: 0;
}

.main-nav.active li {
    border-bottom: 1px solid var(--color-gray-lighter);
}

.main-nav.active li:last-child {
    border-bottom: none;
}

.main-nav.active a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--duration-slow) var(--ease-out-expo) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp var(--duration-slow) var(--ease-out-expo) forwards;
}

/* ============================================
   LEGALALEX BRAND IDENTITY — LOGO MARK
   ============================================ */
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-legal {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a2744;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-alex {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #c4a35a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-legal,
.logo-alex {
    display: inline;
}

.logo-sub {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-top: 3px;
}

/* ============================================
   PAGE HERO — SUB-PAGE VARIANT
   ============================================ */
.page-hero {
    padding: 9rem 0 6rem;
    background: #0e1825;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(196,163,90,0.06) 100%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,163,90,0.4), transparent);
}

.page-hero--appeals {
    background: #0a1520;
}

.page-hero--design {
    background: #0d1a2e;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.page-hero-content .eyebrow {
    color: #c4a35a;
    margin-bottom: 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
}

.page-hero-content h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 620px;
}

.page-hero-content h1 em {
    font-style: italic;
    color: #c4a35a;
}

.page-hero-content .hero-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.page-hero-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 200px;
}

.hero-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.hero-stat-card--accent {
    background: rgba(196,163,90,0.12);
    border-color: rgba(196,163,90,0.3);
}

.hero-stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.hero-stat-card--accent .hero-stat-number {
    color: #c4a35a;
}

.hero-stat-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   PHILOSOPHY / PULL QUOTE
   ============================================ */
.philosophy-section {
    padding: 5rem 0;
    background: #f8f6f2;
    border-bottom: 1px solid #ede9e2;
}

.pull-quote-block {
    position: relative;
    padding: 0 3rem;
}

.pull-quote-mark {
    position: absolute;
    left: 0;
    top: -1rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: #c4a35a;
    opacity: 0.4;
}

.pull-quote-block blockquote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 300;
    font-style: italic;
    color: #1a2744;
    line-height: 1.6;
    border: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   PRACTICE DETAIL CARDS
   ============================================ */
.subpage-practice {
    padding: 6rem 0;
    background: #ffffff;
}

.practice-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #e8e4dc;
    border: 1px solid #e8e4dc;
    margin-top: 3rem;
}

.practice-detail-card {
    background: #ffffff;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

.pdc-number {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #c4a35a;
    min-width: 28px;
    padding-top: 4px;
}

.pdc-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.pdc-content > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

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

.pdc-list li {
    font-size: 0.875rem;
    color: #777;
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.pdc-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #c4a35a;
    font-size: 0.75rem;
}

/* ============================================
   VERDICTS SECTION
   ============================================ */
.verdicts-section {
    padding: 6rem 0;
    background: #f8f6f2;
}

.verdicts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.verdict-item {
    background: #ffffff;
    border: 1px solid #e8e4dc;
    padding: 2rem;
    position: relative;
}

.verdict-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #e8e4dc;
}

.verdict-outcome {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 0.875rem;
}

.verdict-outcome--win {
    background: rgba(26, 39, 68, 0.08);
    color: #1a2744;
}

.verdict-item::before {
    background: #1a2744;
}

.verdict-outcome--msj {
    background: rgba(196,163,90,0.12);
    color: #8a6e2a;
}

.verdict-item:has(.verdict-outcome--msj)::before {
    background: #c4a35a;
}

.verdict-item h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.verdict-item p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.verdict-court {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
}

/* ============================================
   DIFFERENTIATOR SECTION
   ============================================ */
.differentiator-section {
    padding: 6rem 0;
    background: #ffffff;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
}

.diff-content .eyebrow {
    margin-bottom: 1rem;
}

.diff-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: #1a2744;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.diff-content p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.diff-credentials {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e4dc;
}

.diff-cred-item {
    text-align: center;
}

.diff-cred-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2744;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.diff-cred-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
}

.diff-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-sidebar-card {
    background: #f8f6f2;
    border: 1px solid #e8e4dc;
    padding: 1.75rem;
}

.diff-sidebar-card--accent {
    background: rgba(26, 39, 68, 0.03);
    border-color: rgba(26, 39, 68, 0.12);
}

.diff-sidebar-card h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c4a35a;
    margin-bottom: 1rem;
}

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

.admission-list li {
    font-size: 0.875rem;
    color: #555;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    line-height: 1.4;
}

.admission-list li:last-child {
    border-bottom: none;
}

/* ============================================
   FLAT FEE SECTION
   ============================================ */
.flat-fee-section {
    padding: 6rem 0;
    background: #0e1825;
}

.flat-fee-section .section-header .eyebrow {
    color: #c4a35a;
}

.flat-fee-section .section-header h2 {
    color: #ffffff;
}

.flat-fee-section .large-text {
    color: rgba(255,255,255,0.6);
}

.fee-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.fee-tier-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 4px;
}

.fee-tier-card--featured {
    background: rgba(196,163,90,0.1);
    border-color: rgba(196,163,90,0.3);
    position: relative;
}

.fee-tier-card--featured::before {
    content: 'Most Common';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #c4a35a;
    color: #0e1825;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 0 0 4px 4px;
}

.fee-tier-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.fee-tier-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #c4a35a;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fee-tier-sub {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.fee-tier-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
}

.fee-tier-list li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    padding: 0.4rem 0;
    padding-left: 1.125rem;
    position: relative;
    line-height: 1.4;
}

.fee-tier-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #c4a35a;
}

.fee-note {
    margin-top: 2.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #c4a35a;
}

.fee-note p {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.fee-note p:last-child {
    margin-bottom: 0;
}

.ghostwrite-note {
    font-style: italic;
    opacity: 0.8;
}

/* ============================================
   APPELLATE ELEMENTS SECTION
   ============================================ */
.appellate-elements-section {
    padding: 6rem 0;
    background: #ffffff;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #e8e4dc;
    margin-top: 3rem;
}

.element-item {
    padding: 2.25rem;
    border-right: 1px solid #e8e4dc;
    border-bottom: 1px solid #e8e4dc;
}

.element-item:nth-child(3n) {
    border-right: none;
}

.element-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.element-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1a2744;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #c4a35a;
    display: inline-block;
}

.element-item p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   APPELLATE RECORD SECTION
   ============================================ */
.appellate-record-section {
    padding: 6rem 0;
    background: #f8f6f2;
}

.record-court-block {
    margin-top: 4rem;
    background: #ffffff;
    border: 1px solid #e8e4dc;
}

.record-court-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #1a2744;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.record-court-icon {
    font-size: 1.25rem;
    opacity: 0.6;
}

.record-court-header h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.record-court-note {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c4a35a;
    margin-left: auto;
}

.record-cases-list {
    padding: 0;
}

.record-case {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #f0ece4;
    position: relative;
}

.record-case:last-child {
    border-bottom: none;
}

.record-case--win {
    background: rgba(26,39,68,0.02);
}

.record-case--win::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1a2744;
}

.record-case-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.record-case-cite {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.625rem;
    font-style: italic;
}

.record-case-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.record-case-outcome {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0ece4;
    border-radius: 2px;
}

.record-case-outcome--favorable {
    color: #1a2744;
    background: rgba(26,39,68,0.08);
}

/* ============================================
   ENGAGEMENT STEPS
   ============================================ */
.engagement-section {
    padding: 6rem 0;
    background: #ffffff;
}

.engagement-steps {
    margin-top: 3rem;
    position: relative;
}

.engagement-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, #c4a35a, #e8e4dc);
}

.engagement-step {
    display: flex;
    gap: 2rem;
    padding: 0 0 2.5rem 0;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #1a2744;
    color: #ffffff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px #e8e4dc;
}

.step-content {
    padding-top: 0.75rem;
}

.step-content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.65;
}

/* ============================================
   WHO SECTION — DESIGN & CONSTRUCTION
   ============================================ */
.who-section {
    padding: 6rem 0;
    background: #ffffff;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.who-card {
    background: #f8f6f2;
    border: 1px solid #e8e4dc;
    padding: 2rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.who-card:hover {
    border-color: #c4a35a;
    transform: translateY(-2px);
}

.who-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.who-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.75rem;
}

.who-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   CHAPTER 150 SECTION
   ============================================ */
.chapter-section {
    padding: 6rem 0;
    background: #1a2744;
}

.chapter-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.chapter-content .eyebrow {
    color: #c4a35a;
}

.chapter-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.chapter-content .large-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.chapter-content p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.chapter-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-highlight {
    padding: 1.25rem;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid #c4a35a;
}

.ch-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c4a35a;
    margin-bottom: 0.375rem;
}

.ch-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

.chapter-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 6rem;
}

.chapter-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    text-align: center;
}

.cs-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #c4a35a;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.cs-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* ============================================
   DESIGN APPEALS GRID
   ============================================ */
.design-appeals-section {
    padding: 6rem 0;
    background: #f8f6f2;
}

.design-appeals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.design-appeal-item {
    background: #ffffff;
    border: 1px solid #e8e4dc;
    padding: 1.75rem;
    position: relative;
}

.design-appeal-item--win::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a2744;
}

.da-court {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c4a35a;
    margin-bottom: 0.5rem;
}

.da-case {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.da-desc {
    font-size: 0.8125rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.da-outcome {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    padding: 0.2rem 0.625rem;
    background: #f0ece4;
    border-radius: 2px;
    display: inline-block;
}

.design-appeal-item--win .da-outcome {
    color: #1a2744;
    background: rgba(26,39,68,0.08);
}

/* ============================================
   RESULTS DISCLAIMER (SHARED)
   ============================================ */
.results-disclaimer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
    text-align: center;
}

/* ============================================
   SECTION HEADER REFINEMENT
   ============================================ */
.section-header {
    margin-bottom: 1rem;
}

.section-header .eyebrow {
    color: #c4a35a;
    letter-spacing: 0.22em;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #1a2744;
    margin-bottom: 1rem;
}

.section-header .large-text {
    max-width: 680px;
    color: #666;
}

/* ============================================
   RESPONSIVE — SUB-PAGES
   ============================================ */
@media (max-width: 1024px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .page-hero-stat-stack {
        flex-direction: row;
        min-width: unset;
    }
    
    .hero-stat-card {
        flex: 1;
    }
    
    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .chapter-inner {
        grid-template-columns: 1fr;
    }
    
    .chapter-stat-stack {
        flex-direction: row;
        position: static;
    }
    
    .fee-tier-grid {
        grid-template-columns: 1fr;
    }
    
    .elements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .element-item:nth-child(3n) {
        border-right: 1px solid #e8e4dc;
    }
    
    .element-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 7rem 0 4rem;
    }
    
    .practice-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .verdicts-grid {
        grid-template-columns: 1fr;
    }
    
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .design-appeals-grid {
        grid-template-columns: 1fr;
    }
    
    .record-cases-list {
        padding: 0;
    }
    
    .record-case {
        padding: 1.25rem;
    }
    
    .diff-credentials {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .page-hero-stat-stack {
        flex-direction: column;
    }
    
    .hero-stat-card {
        flex: unset;
    }
    
    .chapter-stat-stack {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .elements-grid {
        grid-template-columns: 1fr;
    }
    
    .element-item:nth-child(n) {
        border-right: none;
    }
}

/* ============================================
   FOOTER BRAND UPDATES
   ============================================ */
.footer-brand-row {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 3rem;
}

.footer-logomark {
    display: flex;
    flex-direction: column;
}

.footer-logo-legal {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline;
}

.footer-logo-alex {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #c4a35a;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline;
}

.footer-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 0.5rem;
}

.footer-section--about p {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badge {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c4a35a;
    border: 1px solid rgba(196,163,90,0.3);
    padding: 0.25rem 0.625rem;
    border-radius: 2px;
}

.footer-courts {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-courts-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.375rem;
}

.footer-courts-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
}

/* Practice card link */
.practice-card-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #c4a35a);
    text-decoration: none;
    transition: opacity 0.2s;
}

.practice-card-link:hover {
    opacity: 0.7;
}

/* ============================================
   FRACTIONAL GC PAGE
   ============================================ */

.page-hero--fgc {
    background: #0d1f14;
}

/* Comparison Section */
.comparison-section {
    padding: 6rem 0;
    background: #ffffff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 3rem;
    border: 1px solid #e8e4dc;
}

.comparison-col-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #e8e4dc;
}

.comparison-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.comparison-col--traditional .comparison-label {
    color: #aaa;
}

.comparison-col--fractional .comparison-label {
    color: #1a2744;
}

.comparison-col--traditional {
    border-right: 1px solid #e8e4dc;
    background: #fafafa;
}

.comparison-col--fractional {
    background: #ffffff;
}

.comparison-list {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
}

.comparison-list li {
    font-size: 0.9375rem;
    line-height: 1.5;
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f0ece4;
    position: relative;
    color: #555;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list--negative li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ccc;
    font-size: 0.75rem;
    top: 0.7rem;
}

.comparison-list--positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c4a35a;
    font-size: 0.75rem;
    font-weight: 700;
    top: 0.7rem;
}

.comparison-list--positive li {
    color: #333;
}

/* Covered Section */
.covered-section {
    padding: 6rem 0;
    background: #f8f6f2;
}

.covered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #e8e4dc;
    border: 1px solid #e8e4dc;
    margin-top: 3rem;
}

.covered-card {
    background: #ffffff;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

.covered-number {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #c4a35a;
    min-width: 28px;
    padding-top: 4px;
}

.covered-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Who Fits Table */
.whofits-section {
    padding: 6rem 0;
    background: #ffffff;
}

.whofits-table {
    margin-top: 3rem;
    border: 1px solid #e8e4dc;
}

.whofits-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    border-bottom: 1px solid #e8e4dc;
}

.whofits-row:last-child {
    border-bottom: none;
}

.whofits-row--header {
    background: #1a2744;
}

.whofits-cell {
    padding: 1.25rem 1.75rem;
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

.whofits-cell--type {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2744;
    border-right: 1px solid #e8e4dc;
    display: flex;
    align-items: center;
}

.whofits-row--header .whofits-cell {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    align-items: center;
    display: flex;
}

.whofits-row--header .whofits-cell--type {
    color: rgba(255,255,255,0.5);
    border-right-color: rgba(255,255,255,0.1);
}

.whofits-row:not(.whofits-row--header):hover {
    background: #faf8f4;
}

/* Retainer Tiers */
.tiers-section {
    padding: 6rem 0;
    background: #1a2744;
}

.tiers-section .section-header .eyebrow {
    color: #c4a35a;
}

.tiers-section .section-header h2 {
    color: #ffffff;
}

.tiers-section .large-text {
    color: rgba(255,255,255,0.55);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    align-items: start;
}

.tier-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 4px;
    position: relative;
}

.tier-card--featured {
    background: rgba(196,163,90,0.1);
    border-color: rgba(196,163,90,0.35);
    padding-top: 3.25rem;
}

.tier-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #c4a35a;
    color: #1a2744;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 0 0 4px 4px;
    white-space: nowrap;
}

.tier-name {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.75rem;
}

.tier-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #c4a35a;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
}

.tier-ideal {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
    margin-bottom: 1.75rem;
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
}

.tier-list li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    padding: 0.4rem 0;
    padding-left: 1.125rem;
    position: relative;
    line-height: 1.4;
}

.tier-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #c4a35a;
}

.tier-cta {
    width: 100%;
    text-align: center;
    display: block;
}

/* Depth Section */
.depth-section {
    padding: 6rem 0;
    background: #ffffff;
}

.depth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid #e8e4dc;
    margin-top: 3rem;
}

.depth-item {
    padding: 2.5rem;
    border-right: 1px solid #e8e4dc;
    border-bottom: 1px solid #e8e4dc;
}

.depth-item:nth-child(2n) {
    border-right: none;
}

.depth-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.depth-statute {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c4a35a;
    margin-bottom: 0.625rem;
}

.depth-item h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.depth-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* Onboarding Section */
.onboarding-section {
    padding: 6rem 0;
    background: #f8f6f2;
}

/* Responsive */
@media (max-width: 1024px) {
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .comparison-col--traditional {
        border-right: none;
        border-bottom: 1px solid #e8e4dc;
    }
    .covered-grid {
        grid-template-columns: 1fr;
    }
    .whofits-row {
        grid-template-columns: 1fr;
    }
    .whofits-cell--type {
        border-right: none;
        border-bottom: 1px solid #e8e4dc;
        background: #f8f6f2;
    }
    .depth-grid {
        grid-template-columns: 1fr;
    }
    .depth-item:nth-child(n) {
        border-right: none;
    }
    .depth-item:last-child {
        border-bottom: none;
    }
}

.whofits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.whofits-card {
    background: #f8f6f2;
    border: 1px solid #e8e4dc;
    border-top: 3px solid #1a2744;
    padding: 2rem;
}

.whofits-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.75rem;
}

.whofits-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .whofits-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .whofits-cards {
        grid-template-columns: 1fr;
    }
}
