/* Text-only homepage hero */
.signature-hero .hero-grid { display: block; min-height: 0; }
.signature-hero .hero-copy-block { max-width: 980px; padding-bottom: 54px; }
.hero-text-slides { display: grid; }
.hero-text-slide { grid-area: 1 / 1; min-width: 0; }
.hero-text-slide[hidden] { display: block; visibility: hidden; pointer-events: none; }
.signature-hero .hero-text-slide h1,
.signature-hero .hero-text-slide h2 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(3rem, 6.5vw, 6.1rem); line-height: 1.04;
    letter-spacing: -.045em; margin: 0; max-width: 980px;
}
.hero-text-slide h2 em { color: var(--gold); font-weight: 400; }
.hero-text-slide .hero-lede { max-width: 720px; }
.hero-text-slide.is-entering { animation: hero-text-enter .5s ease both; }
@keyframes hero-text-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-slider-controls, .hero-slider-dots { display: flex; align-items: center; gap: 10px; }
.hero-slider-controls { margin: 0 0 28px; flex-wrap: wrap; }
.hero-slider-controls[hidden] { display: none; }
.hero-slider-controls button {
    min-width: 44px; min-height: 44px; padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
    background: transparent; color: #fff; font: inherit; cursor: pointer;
}
.hero-slider-controls button:hover, .hero-slider-dots button[aria-pressed="true"] {
    background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.hero-slider-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero-slider-controls [data-hero-pause] { font-size: .75rem; margin-left: 6px; }
.signature-hero .hero-proof { max-width: 760px; }
@media (max-width: 680px) {
    .signature-hero .hero-copy-block { padding-bottom: 36px; }
    .hero-slider-controls { gap: 6px; }
    .hero-slider-dots { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .hero-text-slide.is-entering { animation: none; } }

/* ==========================================
   HOMEPAGE CUSTOM STYLES
========================================== */

.sk-expertise-section,
.sk-expertise-section *,
.sk-reviews-section,
.sk-reviews-section * {
    box-sizing: border-box;
}

/* ==========================================
   TESTIMONIALS
========================================== */

.sk-reviews-section {
    background: #eee9e3;
    padding: 48px 0 43px;
    overflow: hidden;
}

.sk-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 27px;
}

.sk-reviews-header h2 {
    font-family: 'EB Garamond', Georgia, serif;
    color: #30202c;
    font-size: clamp(29px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -.7px;
    margin: 14px 0 10px;
}

.sk-reviews-header p {
    font-size: 14px;
    line-height: 1.7;
    color: #687789;
    margin: 0;
}

/* CAROUSEL */

.sk-reviews-frame {
    position: relative;
    padding: 0 18px;
}

.sk-reviews-window {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.sk-reviews-track {
    display: flex;
    gap: 10px;
    will-change: transform;
    transform: translate3d(0,0,0);
}

/* FIVE CARDS ON WIDE DESKTOP */

.sk-review-card {
    flex: 0 0 calc((100% - 40px) / 5);
    min-width: 0;
    min-height: 330px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 16px 16px 20px;

    background: #ffffff;
    border-radius: 13px;
    text-align: center;

    box-shadow: 0 8px 20px rgba(22,41,65,.035);
}

.sk-review-avatar {
    display: block;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #eee8e0;
}

.sk-review-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 8px 0 9px;
}

.sk-review-star {
    color: #d18a08;
    font-size: 20px;
    line-height: 1;
}

.sk-review-star.empty {
    color: #d1d1d1;
}

.sk-review-message {
    color: #34445b;
    font-size: 13px;
    font-style: italic;
    line-height: 1.55;
    margin: 0 0 15px;
    overflow-wrap: anywhere;
}

.sk-review-author {
    margin-top: auto;
}

.sk-review-author strong {
    display: block;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 16px;
    color: #30202c;
    margin-bottom: 4px;
}

.sk-review-author span {
    display: block;
    font-size: 12px;
    color: #657386;
    line-height: 1.5;
}

/* ARROWS */

.sk-review-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    background: #30202c;
    color: #ffffff;
    border: 0;
    border-radius: 50%;

    font-size: 28px;
    cursor: pointer;

    box-shadow: 0 5px 15px rgba(6,34,79,.14);
    transition: background .25s ease;
}

.sk-review-arrow:hover {
    background: #9c7740;
}

.sk-review-arrow.prev {
    left: -4px;
}

.sk-review-arrow.next {
    right: -4px;
}

.sk-review-arrow:focus-visible {
    outline: 3px solid #c8ae7c;
    outline-offset: 3px;
}

/* PAGINATION */

.sk-review-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 19px;
}

.sk-review-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8cdd2;
    cursor: pointer;
}

.sk-review-dot.active {
    background: #c68a17;
}

.sk-review-dot:focus-visible {
    outline: 2px solid #30202c;
    outline-offset: 3px;
}

.sk-reviews-disclaimer {
    max-width: 820px;
    margin: 18px auto 0;
    font-size: 11px;
    line-height: 1.6;
    color: #788595;
    text-align: center;
}

/* ==========================================
   MEDIUM SCREENS
========================================== */

@media (max-width: 1120px) {

    .sk-expertise-section .sk-expertise-row
    .sk-expertise-card {
        gap: 11px !important;
        padding: 18px 12px !important;
    }

    .sk-expertise-icon {
        flex-basis: 46px !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px;
    }

    .sk-expertise-icon svg {
        width: 26px;
        height: 26px;
    }

    .sk-expertise-content h3 {
        font-size: 16px;
    }

    .sk-expertise-content p {
        font-size: 12px;
    }

    .sk-review-card {
        flex-basis: calc((100% - 20px) / 3);
    }
}

/* TABLET */

@media (max-width: 900px) {

    .sk-expertise-section .sk-expertise-rows
    .sk-expertise-row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .sk-expertise-section .sk-expertise-row
    .sk-expertise-card {
        min-height: 175px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .sk-expertise-section {
        padding: 48px 0 55px !important;
    }

    .sk-expertise-section > .sk-expertise-inner {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .sk-expertise-heading {
        display: block;
    }

    .sk-expertise-heading h2 {
        font-size: 29px;
        margin-bottom: 18px;
    }

    .sk-expertise-section .sk-expertise-rows
    .sk-expertise-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 13px !important;
        margin-bottom: 13px !important;
    }

    .sk-expertise-section .sk-expertise-row
    .sk-expertise-card {
        padding: 20px 17px !important;
        gap: 16px !important;
        min-height: 160px;
    }

    .sk-expertise-icon {
        flex-basis: 60px !important;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px;
    }

    .sk-expertise-icon svg {
        width: 32px;
        height: 32px;
    }

    .sk-expertise-content h3 {
        font-size: 18px;
    }

    .sk-expertise-content p {
        font-size: 13px;
    }

    .sk-reviews-section {
        padding: 48px 0 40px;
    }

    .sk-reviews-header h2 {
        font-size: 30px;
    }

    .sk-reviews-frame {
        padding: 0 13px;
    }

    .sk-review-card {
        flex-basis: 100%;
        min-height: 315px;
    }

    .sk-review-arrow {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .sk-review-arrow.prev {
        left: -8px;
    }

    .sk-review-arrow.next {
        right: -8px;
    }
}

/* Practice area introduction and independently scrolling service list. */
.home-practices { background: #261b24; color: #fff; padding: 80px 0; }
.home-practices-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.home-practices-label { display: flex; align-items: center; gap: 14px; color: #d5bd90; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.home-practices-label::before { content: ''; width: 32px; height: 1px; background: #d5bd90; }
.home-practices-intro h2 { font-size: clamp(44px, 5.3vw, 76px); line-height: 1.08; font-weight: 400; letter-spacing: -.025em; margin: 34px 0; }
.home-practices-intro h2 em { color: #c8ae7c; font-weight: 400; }
.home-practices-intro p { max-width: 360px; color: #c5b9c2; line-height: 1.8; }
.home-practices-all { display: inline-flex; align-items: center; gap: 28px; padding: 18px 0 12px; margin-top: 14px; border-bottom: 1px solid #c8ae7c; color: #e0cba1; font-size: 13px; }
.home-practices-logo { width: 110px; height: 110px; object-fit: contain; margin-top: 52px; }
.home-practices-list { max-height: 600px; overflow-y: auto; padding-right: 16px; scrollbar-width: none; -ms-overflow-style: none; }
.home-practice-item { position: relative; padding: 38px 24px 42px; border-top: 1px solid #ffffff2b; }
.home-practice-item:first-child { background: #ffffff03; }
.home-practice-item:last-child { border-bottom: 1px solid #ffffff2b; }
.home-practice-number { color: #d5bd90; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.home-practice-arrow { position: absolute; right: 24px; top: 28px; color: #c8ae7c; font-size: 28px; }
.home-practice-item h3 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; line-height: 1.14; margin: 36px 0 24px; max-width: 95%; }
.home-practice-item p { color: #c5b9c2; max-width: 430px; line-height: 1.8; margin-bottom: 28px; }
.home-practice-item a { display: inline-flex; gap: 18px; color: #e0cba1; font-size: 12px; letter-spacing: .03em; }
.home-practices a:hover { color: #fff; }
.home-practices a:focus-visible, .home-practices-list:focus-visible { outline: 2px solid #c8ae7c; outline-offset: 4px; }
.practice-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
 .home-practices { padding: 56px 0; }
 .home-practices-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
 .home-practices-intro h2 { margin: 26px 0; }
 .home-practices-logo { margin-top: 28px; width: 85px; height: 85px; }
 .home-practices-list { max-height: min(560px, 75svh); min-height: 280px; padding-right: 12px; }
 .home-practice-item { padding: 28px 14px 32px; }
 .home-practice-arrow { right: 14px; top: 20px; }
}

.home-practices-list::-webkit-scrollbar { display: none; }

/* Philosophy: white surfaces, black copy and burgundy Latin motto. */
.home-page .statement-section { background: #fff; color: #000; }
.home-page .statement-art { background: #fff; border-color: rgba(0,0,0,.12); }
.home-page .statement-art span { color: #30202c; }
.home-page .statement-art img { opacity: 1; }
.home-page .statement-copy .eyebrow,
.home-page .statement-copy h2,
.home-page .statement-copy > p,
.home-page .principles b,
.home-page .principles span { color: #000; }
.home-page .principles div { border-top-color: rgba(0,0,0,.15); }
.home-page .statement-section::after { color: rgba(0,0,0,.025); }

/* Vision and mission share the practice area's palette. */
.vision-mission-section { background: #261b24; color: #fff; }
.vision-mission-section h2 { font-size: clamp(40px, 4.5vw, 64px); font-weight: 400; line-height: 1.1; margin: 28px 0 40px; }
.vision-mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.vision-mission-card { padding: clamp(24px, 3vw, 42px); border: 1px solid #ffffff2b; background: #ffffff03; }
.vision-mission-number { color: #d5bd90; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.vision-mission-card h3 { color: #fff; font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; line-height: 1.14; margin: 28px 0 20px; }
.vision-mission-card p { color: #c5b9c2; line-height: 1.8; margin: 0; }
@media (max-width: 680px) {
 .vision-mission-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* Hide slider navigation controls while preserving automatic sliding. */
.home-page .hero-slider-controls,
.home-page .sk-review-arrow,
.home-page .sk-review-pagination {
    display: none !important;
}
