body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(16px, 15px + 0.15vw, 17px);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,  
.font-serif {
    font-family: "Fraunces", "Playfair Display", Georgia, serif;
    color: var(--text-primary);
    letter-spacing: -0.015em;
    font-weight: 500;
}

em {
    font-style: italic;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

p{
    font-size: clamp(14px,2.4vw,16px);
}

section {
    scroll-margin-top: 96px;
}

html {
    scroll-behavior: smooth;
}

/* --------------------- 2. Reusable colour utilities ---------------------- */
.text-ink {
    color: var(--text-primary) !important;
}

.text-ink-70 {
    color: color-mix(in oklab, var(--text-primary) 72%, transparent) !important;
}

.text-brass {
    color: var(--primary) !important;
}

.text-cream {
    color: var(--bg-primary) !important;
}

.text-cream-75 {
    color: color-mix(in oklab, var(--bg-primary) 75%, transparent) !important;
}

.text-cream-60 {
    color: color-mix(in oklab, var(--bg-primary) 60%, transparent) !important;
}

.bg-cream {
    background-color: var(--bg-primary) !important;
}

.bg-beige {
    background-color: var(--bg-secondary) !important;
}

.bg-beige-50 {
    background-color: color-mix(in oklab, var(--bg-secondary) 55%, var(--bg-primary)) !important;
}

.bg-ink {
    background-color: var(--text-primary) !important;
}

.bg-ink-soft {
    background-color: var(--bg-dark) !important;
}

.bg-brass {
    background-color: var(--primary) !important;
}

.border-brass {
    border-color: var(--primary) !important;
}

.border-cream-10 {
    border-color: color-mix(in oklab, var(--bg-primary) 12%, transparent) !important;
}

/* ------------------------- 3. Typography helpers ------------------------- */
.section-label {
    font-size: clamp(9px, 2vw, 12px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.4;
}

.section-label-rule::before {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1px;
    margin-right: .65rem;
    vertical-align: middle;
    background: var(--primary);
}

.main-heading { 
    font-size: clamp(30px, 4vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.common-heading {
    font-size: clamp(26px, 4.2vw, 48px);
    line-height: 1.1;
}

.common-sub-heading {
    font-size: clamp(18px, 1.6vw, 21px);
}

.body-text-lg {
    font-size: clamp(13px, 12.5px + 0.1vw, 14px) !important;
}

.body-text {
    font-size: clamp(12px, 11.5px + 0.1vw, 13px) !important;
}

.body-text-sm {
    font-size: clamp(11px, 10.5px + 0.1vw, 12px) !important;
}
 
.fs-brand {
    font-size: clamp(16px, 15.5px + 0.1vw, 17px) !important;
}
 
.fs-country {
    font-size: clamp(14px, 13.5px + 0.1vw, 15px) !important;
}
 
.fs-tagline {
    font-size: clamp(9px, 8.5px + 0.1vw, 9.5px) !important;
}
 
.fs-badge-label {
    font-size: clamp(9.5px, 9px + 0.1vw, 10px) !important;
}

.ls-wide {
    letter-spacing: .15em;
}

.ls-wider {
    letter-spacing: .2em;
}

/* ------------- 3b. Common spacing / sizing utilities -------------------- */
 
.common-section-padding {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.common-section-padding-top {
    padding-top: var(--section-py);
}

.common-section-padding-bottom {
    padding-bottom: var(--section-py);
}
 
.max-w-xs {
    max-width: 28rem;
}

.max-w-sm {
    max-width: 35rem;
}

.max-w-md {
    max-width: 42rem;
}

.max-w-lg {
    max-width: 48rem;
}
 
.sticky-offset {
    top: 120px;
}
 
.radius-xs {
    border-radius: var(--radius-xs) !important;
}

.radius-sm {
    border-radius: var(--radius-sm) !important;
}

.radius-pill {
    border-radius: var(--radius-pill) !important;
}

/* ------------------------------ 4. Buttons ------------------------------- */
.common-btn-primary,
.common-btn-outline,
.common-btn-accent {
    border-radius: 50rem;
    padding: clamp(8px,2vw,12px) clamp(16px,2vw,24px);
    font-weight: 500;
    font-size: clamp(12px, 2vw, 16px);
    border-width: 1.5px;
    border-style: solid;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .25s ease;
}

.common-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.common-btn-primary:hover,
.common-btn-primary:focus-visible {
    color: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -12px color-mix(in oklab, var(--text-primary) 55%, transparent);
}

.common-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.common-btn-outline:hover,
.common-btn-outline:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
}

.common-btn-accent {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
}

.common-btn-accent:hover,
.common-btn-accent:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--bg-primary);
}

.common-btn-sm {
    padding: .55rem 1.15rem;
    font-size: clamp(12px, 11.5px + 0.1vw, 13px);
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.link-brass {
    color: var(--text-primary);
    transition: color .2s ease;
}

.link-brass:hover {
    color: var(--primary);
}

.link-cream {
    color: color-mix(in oklab, var(--bg-primary) 82%, transparent);
    transition: color .2s ease;
}

.link-cream:hover {
    color: var(--primary);
}

.link-underline-brass {
    color: var(--text-primary);
    border-bottom: 1px solid var(--primary);
    padding-bottom: .25rem;
    font-weight: 500;
    transition: color .2s ease;
}

.link-underline-brass:hover {
    color: var(--primary);
}

/* --------------------------- 5. Shared pieces ---------------------------- */
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(16px, 15.5px + 0.1vw, 17px);
    flex: 0 0 auto;
}

/* Smaller brand-mark variant — footer lockup only. */
.brand-mark-sm {
    width: 36px;
    height: 36px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    flex: 0 0 auto;
}

.shadow-soft {
    box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--text-primary) 55%, transparent);
}

.shadow-card {
    box-shadow: 0 20px 60px -30px color-mix(in oklab, var(--text-primary) 40%, transparent);
}

.rounded-2 {
    border-radius: var(--radius-xs) !important;
}

.hairline-t {
    border-top: 1px solid var(--border-color);
}
.hairline-loop:first-child .hairline-t{
    border-top: 0px;
}

.hairline-loop:nth-child(2) .hairline-t{
    border-top: 0px;
}

.hairline-b {
    border-bottom: 1px solid var(--border-color);
}

.hairline {
    border: 1px solid var(--border-color);
}

/* ------------------------------- 6. Navbar ------------------------------- */
.site-header {
    z-index: 1040;
}

.utility-strip {
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: clamp(11px, 10.5px + 0.1vw, 12px);
    letter-spacing: .02em;
    height: 36px;
    overflow: hidden;
    transition: height .3s ease, opacity .3s ease;
}

.site-header.is-scrolled .utility-strip {
    height: 0;
    opacity: 0;
}

.main-bar {
    background: color-mix(in oklab, var(--bg-primary) 72%, transparent);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled .main-bar {
    background: color-mix(in oklab, var(--bg-primary) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5);
}

.main-bar-inner {
    height: 80px;
    transition: height .3s ease;
}

.site-header.is-scrolled .main-bar-inner {
    height: 64px;
}

.nav-pill {
    border: 1px solid var(--border-color);
    background: color-mix(in oklab, var(--bg-secondary) 55%, transparent);
    border-radius: 50rem;
    padding: .35rem .5rem;
}

.nav-pill .nav-link {
    border-radius: 50rem;
    padding: .35rem 1rem;
    font-size: clamp(12.5px, 12px + 0.1vw, 13.5px);
    color: color-mix(in oklab, var(--text-primary) 78%, transparent);
    transition: background .2s ease, color .2s ease;
}

.nav-pill .nav-link:hover,
.nav-pill .nav-link.active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.btn-burger {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.offcanvas-drawer {
    background: var(--bg-primary);
    max-width: 88vw;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(16px, 15.5px + 0.1vw, 17px);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.drawer-link:hover {
    color: var(--primary);
}

/* -------------------------------- 7. Hero -------------------------------- */
.hero {
    padding-top: 96px;
}

/* Intro box next to the headline (bordered, sits on the page bg) */
.hero-intro-box {
    border: 1px solid var(--border-color);
    background: color-mix(in oklab, var(--bg-secondary) 32%, var(--bg-primary));
}

/* Small brass arrow badge inside the primary hero CTA */
.btn-arrow-badge {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-primary);
    font-size: clamp(10px, 9.5px + 0.1vw, 11px);
    flex: 0 0 auto;
    transition: transform .25s ease;
}

.common-btn-primary:hover .btn-arrow-badge {
    transform: translate(2px, -2px);
}


.hero-portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.hero-side-stack {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-side-tile-image {
    flex: 0 0 42%;
    overflow: hidden;
}

.hero-side-tile-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-credentials {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-credentials-name {
    font-size: clamp(17px, 1.4vw, 19px);
}

/* --------------------------- 8. Cards / sections ------------------------- */
.stat-col {
    border-left: 1px solid color-mix(in oklab, var(--bg-primary) 12%, transparent);
}

.stat-num {
    font-size: clamp(30px, 5vw, 60px);
    line-height: 1;
    color: var(--primary);
}

.badge-circle {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45);
    position: absolute;
    right: -1rem;
    bottom: -2rem;
}

.tile-link {
    border: 1px solid var(--border-color);
    background: color-mix(in oklab, var(--bg-secondary) 42%, var(--bg-primary));
    transition: border-color .25s ease;
    height: 100%;
}

.tile-link:hover {
    border-color: var(--primary);
}

.tile-link:hover .bi-arrow-up-right {
    transform: translate(2px, -2px);
}

.tile-link .bi-arrow-up-right {
    transition: transform .25s ease;
}

.practice-card .practice-img-wrap {
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

.practice-card img {
    transition: transform .5s ease;
}

.practice-card:hover img {
    transform: scale(1.04);
}

.practice-card .practice-rule {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}

.practice-card:hover .practice-rule {
    transform: scaleX(1);
}

.practice-card h3 {
    transition: color .25s ease;
}

.practice-card:hover h3 {
    color: var(--primary);
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    transition: all .3s ease-in-out;
}

.process-list::before {
    content: "";
    position: absolute;
    transition: all .3s ease-in-out;
    left: 45px;
    top: 2rem;
    bottom: 1rem;
    border-left: 1px dashed color-mix(in oklab, var(--primary) 45%, transparent);
    height: calc(100% - 90px);
}

.process-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(14px, 13.5px + 0.1vw, 15px);
    background: var(--bg-primary);
    color: var(--primary);
    border: 1px solid color-mix(in oklab, var(--primary) 60%, transparent);
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.process-item.is-active .process-num {
    background: var(--primary);
    color: var(--bg-primary);
}

.process-item.is-active .process-body {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}
.process-body span{
    font-size: clamp(14px,2.4vw,16px);
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    height: 100%;
}

/* Name + stars row under each quote — fixed gap, not flex auto-margin. */
.testimonial-footer {
    margin-top: 2rem !important;
}

.section-watermark-icon {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    font-size: clamp(224px, 24vw, 352px);
    line-height: 1;
    color: color-mix(in oklab, var(--primary) 10%, transparent);
    pointer-events: none;
}

.cta-watermark-icon {
    position: absolute;
    left: -4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(288px, 31vw, 448px);
    line-height: 1;
    color: color-mix(in oklab, var(--bg-primary) 5%, transparent);
    pointer-events: none;
}

.faq-inset {
    position: absolute;
    right: -1rem;
    bottom: -2rem;
    width: 160px;
    height: 208px;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
    overflow: hidden;
}

/* ------------------------------ 9. Accordion ----------------------------- */
.accordion-editorial .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
}

.accordion-editorial .accordion-item:first-of-type {
    border-top: 1px solid var(--border-color);
}

.accordion-editorial .accordion-button {
    background: transparent;
    box-shadow: none;
    padding: 1.15rem 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(16px, 15.5px + 0.15vw, 18px);
    color: var(--text-primary);
    gap: 1rem;
}

.accordion-editorial .accordion-button:not(.collapsed) {
    color: var(--text-primary);
}

.accordion-editorial .accordion-button::after {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    content: "\F282";
    /* bi-chevron-down */
    font-family: "bootstrap-icons";
    font-size: clamp(11px, 10.5px + 0.1vw, 13px);
    display: grid;
    place-items: center;
    transition: transform .3s ease;
}

.accordion-editorial .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-editorial .accordion-body {
    padding: 0 3rem 1.5rem 0;
    color: var(--text-secondary);
}

.accordion-editorial .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}
.architecht-by a{
    color: var(--primary);
    text-decoration: underline;
}
#year{
    color: var(--primary);
}

/* --------------------------- 10. Responsive ------------------------------ */
@media (min-width: 768px) {
    .hero { 
        padding-top: 170px;
    }
}

@media (min-width: 992px) {
    
    .hero-fold {
        display: flex;
        flex-direction: column;
        padding-bottom: 28px;
    }

    .hero-fold > .section-label,
    .hero-fold > .row:not(.hero-collage-row) {
        flex: 0 0 auto;
    }

    .hero-collage-row {
        flex: 1 1 0;
        min-height: 200px;
    }
 
    .hero-collage-row > [class*="col-"] {
        position: relative;
        min-height: 0;
    }

    .hero-portrait {
        inset: 0;
        aspect-ratio: auto;
    }

    .hero-side-stack {
        inset: 0;
        height: auto;
    }

    .hero-credentials {
        position: absolute;
        inset: 0;
        height: auto;
    }
}

@media (max-width: 991.98px) {
    .process-list::before {
        left: 30px;
    }

    /* Collage columns stop stretching to a shared height once they wrap
       to individual rows, so give the side stack a real height again. */
    .hero-side-stack,
    .hero-credentials {
        height: auto;
    }

    .hero-side-tile-image {
        flex: 0 0 220px;
    }

    .hero-credentials {
        margin-top: var(--space-lg);
    }
}

@media (max-width: 767.98px) {
    .badge-circle {
        width: 104px;
        height: 104px;
        right: -.5rem;
        bottom: -1.5rem;
    }

    .section-watermark-icon {
        right: -2rem;
        bottom: -2rem;
    }

    .cta-watermark-icon {
        left: -6rem;
    }

    .stat-col:nth-child(odd) {
        border-left: 0;
    }

    .accordion-editorial .accordion-body {
        padding-right: 0;
    }

    .hero-portrait {
        aspect-ratio: 3 / 4;
    }
}
 

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}



.floating-actions {
    position: fixed;
    right: clamp(14px, 3vw, 32px);
    bottom: clamp(14px, 3vw, 32px);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.6vw, 14px);
}

.floating-btn {
    position: relative;
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-primary);
    font-size: clamp(18px, 2.3vw, 22px);
    box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .4);
    transition: transform .25s ease, box-shadow .25s ease;
}

.floating-btn:hover,
.floating-btn:focus-visible {
    color: var(--bg-primary);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5);
}

.floating-btn-whatsapp {
    background: #25d366;
}

.floating-btn-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: floating-pulse 2.4s ease-out infinite;
}

.floating-btn-call {
    background: var(--text-primary);
}

.floating-btn-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: .4rem .9rem;
    border-radius: var(--radius-pill);
    font-size: clamp(11px, 1.1vw, 13px);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.floating-btn:hover .floating-btn-tooltip,
.floating-btn:focus-visible .floating-btn-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes floating-pulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}



/* ===== ABOUT PAGE (about.html) — missing in live ===== */
.img-grayscale {
    filter: grayscale(1);
}

.quote-bordered {
    border-left: 2px solid var(--primary);
    padding-left: 1.25rem;
}

.principle-card,
.credential-card {
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: border-color .25s ease;
    height: 100%;
}

.principle-card:hover,
.credential-card:hover {
    border-color: var(--primary);
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 27px;
    top: .5rem;
    bottom: .5rem;
    border-left: 1px dashed color-mix(in oklab, var(--primary) 40%, transparent);
}

.timeline-fill {
    position: absolute;
    left: 27px;
    top: .5rem;
    height: 0;
    border-left: 1px solid var(--primary);
    transition: height .5s ease;
    pointer-events: none;
}

.timeline-year {
    min-width: 54px;
    height: 54px;
    padding: 0 .35rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: var(--primary);
    font-size: clamp(10px, 9.5px + 0.1vw, 11px);
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    transition: background-color .3s ease, color .3s ease;
}

.timeline-item.is-active .timeline-year {
    background: var(--primary);
    color: var(--text-primary);
}


/* ===== CONTACT PAGE (contact.html) — missing in live ===== */
.fs-form-heading {
    font-size: clamp(22px, 1.35rem + 0.6vw, 28px);
}

.common-form-control {
    background-color: color-mix(in oklab, var(--bg-secondary) 30%, var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(13px, 12.5px + 0.1vw, 14px);
    padding-top: .8rem;
    padding-bottom: .8rem;
    padding-left: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

input.common-form-control,
textarea.common-form-control {
    padding-right: 1rem;
}

.common-form-control::placeholder {
    color: color-mix(in oklab, var(--text-secondary) 60%, transparent);
    opacity: 1;
}

.common-form-control:focus {
    background-color: var(--bg-primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 16%, transparent);
    outline: none;
}

select.common-form-control {
    cursor: pointer;
}

textarea.common-form-control {
    resize: vertical;
    min-height: 132px;
}

.contact-form .form-check-input {
    width: 1.05em;
    height: 1.05em;
    margin-top: .2em;
    border-color: var(--border-color);
    cursor: pointer;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.contact-form .form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 16%, transparent);
}

.contact-form .form-check-label {
    cursor: pointer;
}

.reach-col {
    border-bottom: 1px solid var(--border-color);
}

.reach-col:last-child {
    border-bottom: 0;
}


/* ===== PRACTICE LISTING PAGE (practice.html) — missing in live ===== */
.practice-icon-circle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: clamp(15px, 14.5px + 0.1vw, 16px);
    flex: 0 0 auto;
}

.practice-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: .3rem .9rem;
    font-size: clamp(11px, 10.5px + 0.1vw, 12px);
    color: var(--text-secondary);
    line-height: 1.4;
}

.enquire-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: clamp(13px, 12.5px + 0.1vw, 14px);
}

.enquire-link:hover {
    color: var(--primary);
}

.enquire-arrow {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: clamp(11px, 10.5px + 0.1vw, 12px);
    flex: 0 0 auto;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}

.enquire-link:hover .enquire-arrow {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
    transform: translate(2px, -2px);
}

.practice-row {
    border-bottom: 1px solid var(--border-color);
}

.practice-row:last-child {
    border-bottom: 0;
}

body:has(.hero.bg-ink) .main-bar {
    background: var(--bg-primary);
    backdrop-filter: none;
}


/* ===== PRACTICE DETAIL PAGES (practice-civil-property.html, practice-criminal-law.html) — missing in live ===== */
.hero-detail-card {
    border: 1px solid color-mix(in oklab, var(--bg-primary) 14%, transparent);
    background: color-mix(in oklab, var(--bg-primary) 3%, transparent);
}

.tag-pill-dark {
    display: inline-flex;
    align-items: center;
    border: 1px solid color-mix(in oklab, var(--bg-primary) 24%, transparent);
    border-radius: var(--radius-pill);
    padding: .3rem .9rem;
    font-size: clamp(11px, 10.5px + 0.1vw, 12px);
    color: color-mix(in oklab, var(--bg-primary) 85%, transparent);
}

.btn-arrow-badge-ink {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: clamp(10px, 9.5px + 0.1vw, 11px);
    flex: 0 0 auto;
    transition: transform .25s ease;
}

.common-btn-accent:hover .btn-arrow-badge-ink {
    transform: translate(2px, -2px);
}

.handle-cell {
    border-bottom: 1px solid var(--border-color);
}

.handle-cell:last-child {
    border-bottom: 0;
}

.divider-col {
    border-bottom: 1px solid var(--border-color);
}

.divider-col:last-child {
    border-bottom: 0;
}

.process-numeral {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(26px, 2.4vw, 34px);
    color: var(--border-color);
    line-height: 1;
}

.related-card {
    color: inherit;
    transition: background-color .25s ease;
}

.related-card:hover {
    background: color-mix(in oklab, var(--bg-secondary) 35%, var(--bg-primary));
}

.related-card:hover .enquire-arrow {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--bg-primary);
    transform: translate(2px, -2px);
}

.cta-kicker {
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary);
    font-size: clamp(20px, 1.8vw, 26px);
}


/* ===== NEW responsive rules — missing in live ===== */
@media (min-width: 768px) {
    .reach-col {
        border-bottom: 0;
        border-right: 1px solid var(--border-color);
    }

    .reach-col:last-child {
        border-right: 0;
    }

    .handle-cell:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    .handle-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }

    .handle-cell:nth-child(n+3) {
        border-bottom: 0;
    }

    .divider-col {
        border-bottom: 0;
        border-right: 1px solid var(--border-color);
    }

    .divider-col:last-child {
        border-right: 0;
    }
}

@media (max-width: 575.98px) {
    .timeline-list::before,
    .timeline-fill {
        left: 22px;
    }

    .timeline-year {
        min-width: 44px;
        height: 44px;
    }
}


/* ============== Blog pages ============== */

.filter-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: .5rem 1.1rem;
    font-size: clamp(12px, 11.5px + 0.1vw, 13px);
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.filter-pill:hover {
    border-color: var(--primary);
}

.filter-pill.is-active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}
 
.post-category-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    padding: .3rem .9rem;
    font-size: clamp(10.5px, 10px + 0.1vw, 11.5px);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}
 
.reading-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1050;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
}
 
.article-body h2 {
    font-size: clamp(24px, 2.2vw, 30px);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-size: clamp(19px, 1.8vw, 23px);
    margin-top: 2.25rem;
    margin-bottom: .75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: .5rem;
}

.article-body li::marker {
    color: var(--primary);
}

.article-body blockquote {
    margin: 2.25rem 0;
}

.article-body>*:first-child {
    margin-top: 0;
}
