:root {
    --cream: #FBFAF7;
    --cream-deep: #F3F1EA;
    --clay: #C23B3B;
    --clay-deep: #A22E2E;
    --clay-light: #E59494;
    --ink: #2C4364;
    --ink-soft: #5A7290;
    --sand: #E3ECF5;
    --sand-deep: #C7D8EB;
    --rose: #E2746B;
    --olive: #4A6FA1;
    --white: #FFFFFF;
}

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

/* Safety net: no image should ever render at native pixel size,
   even if it ends up outside a styled wrapper. */
img { max-width: 100%; height: auto; display: block; }

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--ink);
    color: rgba(250,243,232,0.75);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 8px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== HEADER ===== */
header {
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 160px;
    height: 130px;
    border-bottom: 2px solid var(--ink);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-image { height: 120px; width: auto; display: block; object-fit: contain; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    padding: 10px 18px;
    position: relative;
    transition: color 0.2s;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 18px; right: 18px;
    height: 2px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
nav a:hover { color: var(--clay-deep); }
nav a:hover::after { transform: scaleX(1); }

/* Current-page nav item: red text + underline stays on permanently */
nav a.nav-active { color: var(--clay-deep); }
nav a.nav-active::after { transform: scaleX(1); background: var(--clay-deep); }

.header-contact { display: flex; align-items: center; gap: 12px; }
.phone-icon {
    width: 42px; height: 42px;
    background: var(--clay);
    border-radius: 50% 50% 50% 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.phone-icon:hover { background: var(--clay-deep); }
.phone-icon svg { width: 18px; height: 18px; fill: var(--white); }
.contact-info { line-height: 1.3; }
.contact-num { font-size: 0.95rem; font-weight: 700; color: var(--ink); display: block; }
.contact-email { font-size: 0.68rem; font-weight: 500; color: var(--ink-soft); display: block; }

/* ===== HERO (full slider, dark overlay, centered on every slide) ===== */
.hero { position: relative; height: 79vh; min-height: 560px; overflow: hidden; padding-bottom: 100px; }
.hero-lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 120px);
    z-index: 1; pointer-events: none;
}
.hero-container {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    pointer-events: none;
}
.hero-container > * { pointer-events: auto; }
.hero-slider { display: grid; grid-template-areas: "slide"; width: 100%; height: 100%; }
.slide {
    grid-area: slide; height: 100%; width: 100%;
    background-size: 115%; background-position: center; background-repeat: no-repeat;
    opacity: 0; pointer-events: none; transition: opacity 0.7s ease;
    position: relative; display: flex; align-items: center; justify-content: center;
    animation: heroZoomOut 9s ease-out forwards;
    animation-play-state: paused;
}
.slide.active { opacity: 1; pointer-events: auto; animation-play-state: running; }
@keyframes heroZoomOut {
    from { background-size: 115%; }
    to { background-size: 100%; }
}
.slide-overlay { position: absolute; inset: 0; background: rgba(20,30,48,0.82); z-index: 1; }
.slide-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 800px; width: 100%; }

.hero-eyebrow {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--rose); }
.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.01em;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.slider-nav {
    position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 24px; z-index: 3;
}
.slider-arrow {
    background: none; border: 1.5px solid rgba(255,255,255,0.35);
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s;
    color: rgba(255,255,255,0.7);
}
.slider-arrow:hover { border-color: var(--clay); background: rgba(194,59,59,0.18); color: var(--white); }
.slider-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.25s, transform 0.2s; }
.dot.active { background: var(--clay); transform: scale(1.3); }

.scroll-hint {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.45); font-size: 0.6rem; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase; z-index: 3; pointer-events: none;
}
.scroll-mouse { width: 20px; height: 30px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 10px; position: relative; }
.scroll-dot {
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 6px; background: var(--clay); border-radius: 2px;
    animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot { 0% { opacity: 1; top: 5px; } 100% { opacity: 0; top: 18px; } }

.eyebrow-first, .eyebrow-second { position: relative; display: inline; }
.slide.active .eyebrow-first::after, .slide.active .eyebrow-second::after {
    content: ''; display: inline-block; width: 2px; height: 0.9em; margin-left: 4px;
    background: var(--clay); vertical-align: text-bottom; animation: heroBlink 0.8s steps(2) infinite;
}
@keyframes heroBlink { 50% { opacity: 0; } }

.btn-primary {
    display: inline-block;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--clay);
    padding: 16px 34px;
    text-decoration: none;
    border-radius: 100px 100px 6px 6px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 6px 20px rgba(193,89,44,0.3);
}
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(193,89,44,0.4); }
.btn-outline {
    display: inline-block;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    padding: 16px 34px;
    text-decoration: none;
    border-radius: 100px 100px 6px 6px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-outline:hover { border-color: var(--clay); color: var(--clay-deep); background: rgba(193,89,44,0.06); }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.55); }
.hero .btn-outline:hover { border-color: var(--clay); color: var(--white); background: rgba(194,59,59,0.18); }

/* ===== STATS BAND ===== */
.stats-band { background: var(--sand-deep); padding: 48px 60px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.stat-item { padding: 18px 28px; text-align: center; border-right: 1px solid rgba(44,67,100,0.1); transition: transform 0.25s ease; }
.stat-item:hover { transform: translateY(-4px); }
.stat-item:hover .stat-number { color: var(--clay-deep); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 600; color: var(--clay); line-height: 1; display: block; transition: color 0.25s ease; }
.stat-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; display: block; }

/* ===== ABOUT ===== */
.about { padding: 110px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1300px; margin: 0 auto; }
.section-tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 16px; color: var(--clay-deep); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); line-height: 1.22; margin-bottom: 22px; }
.section-title em { font-style: italic; color: var(--clay); }
.section-body { font-size: 1rem; font-weight: 400; line-height: 1.85; color: var(--ink-soft); margin-bottom: 18px; }

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(43,34,28,0.15);
    line-height: 0;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 0.80;
}
.about-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s ease; }
.about-image-wrapper:hover .about-image { transform: scale(1.03); }

/* ===== PRACTICE AREAS (slider) ===== */
.practice { background: var(--sand-deep); padding: 110px 60px; position: relative; overflow: hidden; }
.practice-header { text-align: center; margin-bottom: 56px; }
.practice-header .section-tag { color: var(--clay-deep); }
.practice-header .section-title { color: var(--ink); }
.practice-divider { width: 56px; height: 2px; background: var(--clay); margin: 0 auto; border-radius: 2px; }

.practice-slider { max-width: 1100px; margin: 0 auto; position: relative; }
.practice-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 360px;
}
.practice-card {
    background: rgba(255,255,255,0.6);
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(44,67,100,0.1);
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    flex: 0 0 30%;
    opacity: 0.7;
    transform: scale(0.88);
}
.practice-card.is-center {
    background: var(--white);
    box-shadow: 0 24px 50px rgba(44,67,100,0.2);
    border: 1px solid rgba(44,67,100,0.05);
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
}
.practice-icon-wrap {
    width: 56px; height: 56px;
    background: var(--clay);
    border-radius: 50% 50% 50% 6px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.practice-card.is-center .practice-icon-wrap { background: var(--ink); }
.practice-icon { width: 26px; height: 26px; color: var(--white); }
.practice-name { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.practice-desc { font-size: 0.88rem; font-weight: 400; color: var(--ink-soft); line-height: 1.65; }

.practice-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; }
.practice-arrow {
    background: var(--white);
    border: 1.5px solid rgba(44,67,100,0.15);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s;
    color: var(--ink);
}
.practice-arrow:hover { border-color: var(--clay); background: rgba(194,59,59,0.06); color: var(--clay); }
.practice-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.practice-dots { display: flex; gap: 9px; }
.practice-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(44,67,100,0.18); cursor: pointer; transition: background 0.25s, transform 0.2s; }
.practice-dot.active { background: var(--clay); transform: scale(1.3); }

@media (max-width: 900px) {
    .practice-track { flex-direction: column; min-height: auto; gap: 16px; }
    .practice-card { flex: 1 1 100%; opacity: 1; transform: none; }
    .practice-card.is-center { transform: none; }
}

/* ===== WHY US ===== */
.why { padding: 110px 60px; max-width: 1300px; margin: 0 auto; }
.why-header { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--sand); }
.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-check { width: 36px; height: 36px; border-radius: 50% 50% 50% 6px; background: var(--clay); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.why-check svg { width: 16px; height: 16px; stroke: var(--white); stroke-width: 2.5; fill: none; }
.why-item-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.why-item-body { font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); line-height: 1.7; }

.why-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(43,34,28,0.15);
    line-height: 0;
}
.why-image { width: 100%; height: auto; max-height: 440px; display: block; object-fit: cover; transition: transform 0.5s ease; }
.why-image-wrapper:hover .why-image { transform: scale(1.03); }

/* ===== CONTACT ===== */
.contact { background: var(--sand-deep); padding: 110px 60px; position: relative; overflow: hidden; }
.contact-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact .section-tag { color: var(--clay-deep); }
.contact .section-title { color: var(--ink); }

.contact-info-block { display: flex; flex-direction: column; gap: 26px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
    width: 44px; height: 44px;
    background: var(--clay);
    border-radius: 50% 50% 50% 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-detail-icon svg {
    width: 18px; height: 18px; display: block;
    fill: none; stroke: var(--white); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.contact .contact-detail-label { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-deep); display: block; margin-bottom: 3px; font-weight: 700; }
.contact-detail-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 14px; background: var(--white); padding: 30px; border-radius: 28px 28px 8px 8px; box-shadow: 0 16px 40px rgba(43,34,28,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.contact .form-group label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }

input, textarea, select {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--sand);
    padding: 12px 14px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--clay); }
input::placeholder, textarea::placeholder { color: var(--ink-soft); opacity: 0.5; }
textarea { height: 110px; }

.contact .btn-primary { border: none; cursor: pointer; align-self: flex-start; }

/* ===== MAP ===== */
.map-wrap { max-width: 1900px; margin: 0 auto; padding: 10px 0; }
.map-frame { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 4px 20px rgba(43,34,28,0.08); }


/* ===== FOOTER ===== */
footer { background: var(--ink); color: rgba(250,243,232,0.6); padding: 56px 150px 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(250,243,232,0.1); flex-wrap: wrap; gap: 32px; }
.footer-logo-image { width: 140px; height: auto; display: block; }
.footer-desc { font-size: 0.85rem; font-weight: 400; color: rgba(250,243,232,0.4); max-width: 260px; line-height: 1.7; margin-top: 12px; }
.footer-links h4 { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; font-weight: 700; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links ul li a { font-size: 0.88rem; font-weight: 400; color: rgba(250,243,232,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--rose); }
.footer-links li:not(:has(a)) { font-size: 0.88rem; color: rgba(250,243,232,0.55); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: 400; color: rgba(250,243,232,0.3); }

/* ===== Carousel mechanics retained, restyled ===== */
.hero-slider-dotbar { display: none; }

@media (max-width: 900px) {
    .topbar { padding: 8px 20px; font-size: 0.65rem; }
    header { padding: 0 20px; height: 76px; }
    nav { display: none; }
    .logo-image { height: 56px; }
    .hero { min-height: 480px; padding-bottom: 70px; }
    .slider-nav { bottom: 50px; }
    .scroll-hint { bottom: 14px; }
    .about, .contact-inner { grid-template-columns: 1fr; }
    .about { padding: 60px 20px; gap: 36px; }
    .about-image-wrapper { max-width: 100%; }
    .practice-grid { grid-template-columns: 1fr; }
    .practice { padding: 60px 20px; }
    .stats-band { grid-template-columns: repeat(2,1fr); padding: 32px 20px; }
    .why { padding: 60px 20px; }
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact { padding: 60px 20px; }
    .form-row { grid-template-columns: 1fr; }
    footer { padding: 40px 20px 24px; }
}
@keyframes waHop {
    0%, 84%, 100% { transform: translateY(0); }
    88% { transform: translateY(-16px); }
    91% { transform: translateY(0); }
    93% { transform: translateY(-6px); }
    94.5% { transform: translateY(0); }
    96% { transform: translateY(-2px); }
    97% { transform: translateY(0); }
}

.wa-float {
    animation: waHop 5s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
}

.wa-float:hover {
    animation-play-state: paused;
}

.story-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(44,67,100,0.14);
    line-height: 0;
    aspect-ratio: 1 / 0.80;
}
.story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.story-image-wrap:hover img { transform: scale(1.03); }
/* =========================================================
   ABOUT PAGE — additions (append to end of style.css)
   Styles every class used in about.html that wasn't yet
   defined in style.css (that's why images were oversized
   and text had no typography applied).
   ========================================================= */

/* ===== WHATSAPP BUTTON (class-based version used on about.html) ===== */
.wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--clay);
    border-radius: 50% 50% 50% 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(194,59,59,0.4);
    transition: transform 0.3s ease;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-btn img { width: 30px; height: 30px; display: block; filter: invert(1); }

/* ===== PAGE TITLE BAR (non-home pages: page name above a breadcrumb trail,
   roughly half the height of the homepage hero — no slider, no scroll hint) ===== */
.page-title-bar {
    position: relative;
    background:
        linear-gradient(rgba(23,35,53,0.82), rgba(23,35,53,0.82)),
        url('img/breadcrumb/lady-justice-statue.jpg') center/cover no-repeat;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
}
.page-title-lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 120px);
    z-index: 1; pointer-events: none;
}
.page-title-inner { position: relative; z-index: 2; }
.page-title-heading {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
}
.page-title-crumb {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}
.page-title-crumb a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.page-title-crumb a:hover { color: var(--rose); }
.page-title-crumb .crumb-sep { margin: 0 8px; opacity: 0.5; }

/* ===== STATS BAND — suffix (band itself already styled) ===== */
.stat-suffix { font-size: 1.4rem; }

/* ===== STORY ===== */
.story {
    padding: 110px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}
.story-year {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}
.story-year-num {
    font-family: 'Fraunces', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--clay);
    line-height: 1;
}
.story-year-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.5;
}
.story-image-frame { margin-bottom: 26px; }
.story-reg {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--sand-deep);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.3s ease;
}
.story-reg:hover { background: var(--sand); }
.story-reg-icon {
    width: 46px; height: 46px;
    background: var(--clay);
    border-radius: 50% 50% 50% 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.story-reg-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story-reg-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clay-deep);
    margin-bottom: 4px;
}
.story-reg-title {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.story-reg-body {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
}

/* ===== IMPACT BAND — testimonial + animated counters (replaces plain stats band) ===== */
.impact-band {
    position: relative;
    background: var(--ink);
    padding: 90px 60px;
    overflow: hidden;
}
.impact-band-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.impact-quote {
    position: relative;
    max-width: 720px;
    margin: 0 auto 64px;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
}
.impact-quote-mark {
    display: block;
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--rose);
    opacity: 0.7;
    margin-bottom: 8px;
}
.impact-quote cite {
    display: block;
    margin-top: 22px;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 44px;
}
.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    transition: transform 0.25s ease;
}
.impact-stat:hover { transform: translateY(-4px); }
.impact-num-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.impact-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--rose);
    line-height: 1;
    transition: color 0.25s ease;
}
.impact-stat:hover .impact-num { color: var(--white); }
.impact-suffix { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--rose); }
.impact-stat:hover .impact-suffix { color: var(--white); }
.impact-label {
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

/* ===== TIMELINE ===== */
.timeline-section { padding: 110px 60px; }
.timeline-inner { max-width: 900px; margin: 0 auto; }
.timeline-header { text-align: center; margin-bottom: 64px; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background: var(--sand-deep);
    transform: translateX(-50%);
}
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    padding: 26px 0;
}
.timeline-content {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 10px 28px rgba(44,67,100,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(44,67,100,0.16);
}
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-year { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--clay); margin-bottom: 8px; }
.timeline-event-title { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.timeline-event-body { font-size: 0.86rem; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.timeline-dot-wrap { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--clay); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--sand-deep); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.timeline-item:hover .timeline-dot { transform: scale(1.3); box-shadow: 0 0 0 4px var(--sand-deep); }
.timeline-empty { width: 100%; }

/* ===== VALUES — reworked: full-width editorial rows ===== */
.values { padding: 110px 60px; }
.values-inner { max-width: 980px; margin: 0 auto; }
.values-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.values-list { display: flex; flex-direction: column; }
.value-row {
    display: grid;
    grid-template-columns: 84px 64px 1fr;
    align-items: center;
    gap: 32px;
    padding: 38px 20px;
    border-top: 1px solid var(--sand);
    transition: background 0.3s ease, padding-left 0.3s ease;
}
.value-row:last-child { border-bottom: 1px solid var(--sand); }
.value-row:hover { background: var(--sand); padding-left: 32px; }
.value-row-number {
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--sand-deep);
    line-height: 1;
    transition: color 0.3s ease;
}
.value-row:hover .value-row-number { color: var(--clay-light); }
.value-row-icon {
    width: 58px; height: 58px;
    background: var(--clay);
    border-radius: 50% 50% 50% 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.value-row:hover .value-row-icon { transform: rotate(-8deg) scale(1.08); }
.value-row-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-row-title { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.value-row-body { font-size: 0.92rem; line-height: 1.85; color: var(--ink-soft); max-width: 620px; }

/* ===== HOW WE WORK ===== */
.how-we-work { background: var(--sand-deep); padding: 110px 60px; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 64px; }

/* Switched to Flexbox for easier centering of the wrapped row */
.how-steps { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 48px 16px; /* 48px row gap, 16px column gap */
}

.how-step { 
    text-align: center; 
    flex: 1 1 280px; 
    max-width: 320px; 
    cursor: default;
}

.how-step-dot {
    width: 62px; height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.how-step:hover .how-step-dot {
    background: var(--clay);
    border-color: var(--clay);
    transform: scale(1.12);
    box-shadow: 0 10px 24px rgba(194,59,59,0.3);
}

.how-step-num { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--clay); transition: color 0.3s ease; }
.how-step:hover .how-step-num { color: var(--white); }
.how-step-title { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; transition: color 0.3s ease; }
.how-step:hover .how-step-title { color: var(--clay-deep); }
.how-step-body { font-size: 0.82rem; line-height: 1.7; color: var(--ink-soft); }

/* New Arrow Styles */
.how-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 19px; /* Perfectly aligns the 24px arrow with the middle of the 62px dot */
    color: var(--clay, #c2a68c); /* Uses your variable, fallback if needed */
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.how-arrow svg {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.how-arrow:hover { transform: translateX(6px); }
.how-arrow:hover svg { opacity: 1; }

/* Forces the layout to drop to a new line */
.how-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .how-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .how-step {
        width: 100%;
        max-width: 450px;
    }
    .how-break {
        display: none; /* Let natural flow handle it */
    }
    .how-arrow {
        padding-top: 0;
        transform: rotate(90deg); /* Points arrows down on mobile */
    }
}

/* ===== FINAL CTA — reworked: full-bleed white band, centered, pill badges ===== */
.final-cta {
    position: relative;
    background: var(--white);
    padding: 110px 60px;
    text-align: center;
    overflow: hidden;
}
.final-cta.final-cta--sand { background: var(--sand); }
.final-cta-lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(44,67,100,0.025) 0px, rgba(44,67,100,0.025) 1px, transparent 1px, transparent 120px);
    z-index: 1; pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.final-cta-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin: 16px 0 20px;
}
.final-cta-title em { font-style: italic; color: var(--clay); }
.final-cta-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 36px;
}
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.final-cta-promises { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.promise-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    border: 1px solid var(--sand-deep);
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.promise-pill:hover { background: var(--clay); border-color: var(--clay); color: var(--white); transform: translateY(-2px); }
.promise-pill:hover svg { stroke: var(--white); }
.final-cta--sand .promise-pill { background: var(--white); }
.promise-pill svg { width: 14px; height: 14px; stroke: var(--clay); stroke-width: 2.5; fill: none; flex-shrink: 0; transition: stroke 0.25s ease; }

/* ===== PRACTICE PAGE — intro ===== */
.practice-intro { background: var(--white); padding: 100px 60px 20px; text-align: center; }
.practice-intro-inner { max-width: 700px; margin: 0 auto; }

/* ===== PRACTICE PAGE — carousel (reuses homepage .practice-slider/.practice-card system) ===== */
.practice-carousel-section { background: var(--white); padding: 70px 60px 110px; }
.practice-carousel-section .practice-card { background: var(--sand); border: 1px solid var(--sand-deep); padding: 0 28px 32px; overflow: visible; }
.practice-carousel-section .practice-card.is-center { background: var(--white); border: 1px solid rgba(44,67,100,0.08); }
.practice-card-image-wrap {
    position: relative;
    margin: 0 -28px 40px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 1 / 0.68;
}
.practice-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.practice-card-image-wrap .practice-icon-wrap {
    position: absolute;
    bottom: -24px; left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(44,67,100,0.25);
}
.practice-carousel-section .practice-card-content { text-align: center; }
.practice-card-btn {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clay-deep);
    background: none;
    border: 1.5px solid var(--clay);
    padding: 10px 22px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.practice-card-btn:hover { background: var(--clay); color: var(--white); }
.practice-card.is-center .practice-card-btn { border-color: var(--ink); color: var(--ink); }
.practice-card.is-center .practice-card-btn:hover { background: var(--ink); color: var(--white); }

/* ===== PRACTICE PAGE — Read More modal ===== */
.practice-modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(44,67,100,0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.practice-modal-overlay.active { display: flex; }
.practice-modal {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    max-width: 480px;
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 70px rgba(20,30,48,0.35);
}
.practice-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.practice-modal-close:hover { background: var(--white); }
.practice-modal-close svg { width: 15px; height: 15px; stroke: var(--ink); stroke-width: 2.2; fill: none; }
.practice-modal-image-wrap { position: relative; aspect-ratio: 1 / 0.62; overflow: hidden; }
.practice-modal-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.practice-modal-body { padding: 46px 42px 42px; }
.practice-modal-image-wrap .practice-modal-icon {
    position: absolute;
    bottom: -26px; left: 42px;
    margin-bottom: 0;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(44,67,100,0.25);
}
.practice-modal-icon {
    width: 58px; height: 58px;
    background: var(--clay);
    border-radius: 50% 50% 50% 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    margin-bottom: 22px;
}
.practice-modal-icon svg { width: 25px; height: 25px; }
.practice-modal-title { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); margin: 16px 0 14px; }
.practice-modal-desc { font-size: 0.94rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 24px; }
.practice-modal-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.practice-modal-list li { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.practice-modal-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--sand);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.practice-modal-check svg { width: 12px; height: 12px; stroke: var(--clay); stroke-width: 3; fill: none; }

/* ===== CONTACT PAGE — intro (white) ===== */
.contact-page-intro { background: var(--white); padding: 100px 60px 20px; text-align: center; }
.contact-page-intro-inner { max-width: 700px; margin: 0 auto; }

/* ===== CONTACT PAGE — office location cards (white section) ===== */
.offices-page { background: var(--white); padding: 90px 60px 110px; }
.offices-page-inner { max-width: 1100px; margin: 0 auto; }
.offices-page-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.offices-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(44,67,100,0.09);
    border: 1px solid var(--sand);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.office-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(44,67,100,0.16);
}
.office-card-head { background: var(--ink); padding: 26px 30px; }
.office-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 8px;
}
.office-name { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; color: var(--white); }
.office-card-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 20px; }
.office-detail { display: flex; gap: 14px; align-items: flex-start; }
.office-detail-icon {
    width: 38px; height: 38px;
    background: var(--sand);
    border-radius: 50% 50% 50% 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}
.office-detail:hover .office-detail-icon { background: var(--clay); }
.office-detail-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
.office-detail:hover .office-detail-icon svg { stroke: var(--white); }
.office-detail-label { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 4px; }
.office-detail-value { font-size: 0.9rem; font-weight: 500; color: var(--ink); line-height: 1.55; }
.office-detail-value a { color: var(--ink); text-decoration: none; }
.office-detail-value a:hover { color: var(--clay-deep); }

/* ===== CONTACT PAGE — maps, side by side (blue) ===== */
.maps-section { background: var(--sand-deep); padding: 90px 60px 110px; }
.maps-section-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.map-block-title { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.map-frame { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(44,67,100,0.1); }
.map-block-address { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .page-title-bar { min-height: 240px; padding: 50px 20px; }
    .story { grid-template-columns: 1fr; padding: 60px 20px; gap: 36px; }
    .values, .how-we-work, .final-cta, .timeline-section { padding: 60px 20px; }
    .value-row { grid-template-columns: 48px 1fr; row-gap: 14px; padding: 28px 12px; }
    .value-row-icon { order: -1; }
    .value-row:hover { padding-left: 12px; }
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 40px 1fr; padding: 18px 0; }
    .timeline-item .timeline-empty { display: none; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item .timeline-content { text-align: left; }
    .timeline-dot-wrap { order: -1; }
    .practice-intro { padding: 60px 20px 10px; }
    .practice-carousel-section { padding: 40px 20px 60px; }
    .practice-modal-body { padding: 34px 26px 30px; }
    .practice-modal-image-wrap .practice-modal-icon { left: 26px; }
    .contact-page-intro { padding: 60px 20px 10px; }
    .offices-page { padding: 60px 20px; }
    .offices-page-grid { grid-template-columns: 1fr; }
    .maps-section { padding: 60px 20px; }
    .maps-section-inner { grid-template-columns: 1fr; }
    .impact-band { padding: 60px 20px; }
    .impact-stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

/* =========================================================
   HOMEPAGE PRACTICE CARDS — image-with-icon variant
   The base .practice-card rule above has equal padding on
   every side (36px 28px), which is correct for the plain
   icon-only cards. On the homepage the cards now include a
   full-width image at the top (.practice-card-image-wrap),
   and that top padding was leaving a visible white gap above
   the photo. This scopes a flush-top layout — matching how
   .practice-carousel-section already handles it on
   practice.html — to just the homepage .practice section so
   the icon-only usage elsewhere is untouched.
   ========================================================= */
.practice .practice-card { padding: 0 28px 32px; overflow: hidden; }
.practice .practice-card-image-wrap {
    position: relative;
    margin: 0 -28px 24px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 1 / 0.68;
}
.practice .practice-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.practice .practice-card-image-wrap .practice-icon-wrap {
    position: absolute;
    bottom: -24px; left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(44,67,100,0.25);
}
.practice .practice-card-content { padding-top: 28px; text-align: center; }