/* ==========================================================================
   SN Nkosi Attorneys Inc — Brand Design System
   Ink & Gold. Editorial, restrained, premium.
   Loaded after bootstrap.min.css (grid + forms only) and replaces
   style.css / site.css entirely.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Ink */
    --ink-900: #061321;
    --ink-800: #0a1a2f;
    --ink-700: #10263f;
    --ink-600: #1b3550;

    /* Gold */
    --gold-500: #c6a15b;
    --gold-400: #d4b477;
    --gold-300: #e3cd9c;
    --gold-050: rgba(198, 161, 91, .12);

    /* Neutrals */
    --ivory: #fbf9f6;
    --sand: #f3efe8;
    --line: #e5ded3;
    --line-dark: rgba(255, 255, 255, .14);

    /* Type */
    --text: #1d2733;
    --muted: #5b6b7c;
    --muted-light: rgba(255, 255, 255, .72);

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Space & shape */
    --radius: 2px;
    --radius-lg: 4px;
    --shadow-sm: 0 2px 10px rgba(6, 19, 33, .06);
    --shadow: 0 18px 50px -22px rgba(6, 19, 33, .28);
    --shadow-lg: 0 40px 90px -40px rgba(6, 19, 33, .45);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --topbar-h: 44px;
    --header-h: 92px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* 'clip' rather than 'hidden': it stops sideways panning without turning
       the root into a scroll container, so position: sticky keeps working. */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: .002em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Same reasoning as on html: 'hidden' here would turn the body into a
       scroll container, which makes the sticky header stick to the body box
       instead of the viewport (it then scrolls out of view). 'clip' stops
       sideways panning without creating a scroll container. */
    overflow-x: hidden;
    overflow-x: clip;
    /* Long tokens (emails, URLs) must never push the page wider than the screen */
    overflow-wrap: break-word;
}

img,
iframe,
svg,
video {
    max-width: 100%;
}

body.is-locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ink-800);
    text-decoration: none;
    transition: color .3s var(--ease);
}

a:hover {
    color: var(--gold-500);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.012em;
    color: var(--ink-800);
    margin: 0 0 .6em;
}

p {
    margin: 0 0 1.15rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--ink-800);
}

::selection {
    background: var(--gold-500);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}

/* Typographic scale */
.t-hero {
    font-size: clamp(2.6rem, 6vw, 5.1rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.02em;
}

.t-xl {
    font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.t-lg {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

.t-md {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.t-italic {
    font-style: italic;
    color: var(--gold-500);
}

.lead-text {
    /* full definition in section 34 */
}

/* --------------------------------------------------------------------------
   3. Bootstrap colour overrides (template shipped a cyan primary)
   -------------------------------------------------------------------------- */
.text-primary { color: var(--gold-500) !important; }
.bg-primary { background-color: var(--ink-800) !important; }
.border-primary { border-color: var(--gold-500) !important; }
.bg-dark { background-color: var(--ink-900) !important; }
.text-dark { color: var(--ink-800) !important; }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.section {
    position: relative;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section--tight {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }

.section--ink {
    background: var(--ink-900);
    color: var(--muted-light);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4,
.section--ink h5 {
    color: #fff;
}

.shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.shell--narrow {
    max-width: 900px;
}

.grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Eyebrow / kicker */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin: 0 0 1.25rem;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold-500);
}

.eyebrow--center {
    justify-content: center;
}

.eyebrow--center::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold-500);
}

.section-head {
    max-width: 780px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rule {
    width: 56px;
    height: 2px;
    margin: 1.5rem 0 0;
    background: var(--gold-500);
}

.section-head--center .rule {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn-sn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: 1.05rem 2.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--gold-500);
    color: #fff;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: background .35s var(--ease), color .35s var(--ease),
                border-color .35s var(--ease), transform .35s var(--ease),
                box-shadow .35s var(--ease);
}

.btn-sn:hover {
    background: var(--ink-800);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -18px rgba(6, 19, 33, .6);
}

.btn-sn i {
    font-size: 1rem;
}

.btn-sn--ink {
    background: var(--ink-800);
    color: #fff;
}

.btn-sn--ink:hover {
    background: var(--gold-500);
}

.btn-sn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.btn-sn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink-800);
}

.btn-sn--outline {
    background: transparent;
    border-color: var(--gold-500);
    color: var(--ink-800);
}

.btn-sn--outline:hover {
    background: var(--gold-500);
    color: #fff;
}

.btn-sn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2.25rem;
}

/* Text link with animated gold underline */
.link-gold {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-800);
}

.link-gold::after {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold-500);
    transition: width .35s var(--ease);
}

.link-gold:hover {
    color: var(--gold-500);
}

.link-gold:hover::after {
    width: 38px;
}

/* --------------------------------------------------------------------------
   6. Preloader
   -------------------------------------------------------------------------- */
.sn-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--ink-900);
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.sn-preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.sn-preloader__mark {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: .22em;
    color: #fff;
}

.sn-preloader__mark span {
    color: var(--gold-500);
}

.sn-preloader__bar {
    position: relative;
    width: 160px;
    height: 1px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}

.sn-preloader__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold-500);
    transform: translateX(-100%);
    animation: sn-load 1.1s var(--ease) infinite;
}

@keyframes sn-load {
    to { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   7. Topbar
   -------------------------------------------------------------------------- */
.sn-topbar {
    background: var(--ink-900);
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    letter-spacing: .04em;
}

.sn-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--topbar-h);
}

.sn-topbar__group {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.sn-topbar a,
.sn-topbar span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .68);
    white-space: nowrap;
}

.sn-topbar a:hover {
    color: #fff;
}

.sn-topbar i {
    font-size: .8rem;
    color: var(--gold-500);
}

.sn-topbar__socials {
    display: flex;
    gap: .35rem;
}

.sn-topbar__socials a {
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    font-size: .72rem;
}

.sn-topbar__socials a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .sn-topbar { display: none; }
}

/* --------------------------------------------------------------------------
   8. Header / navigation
   -------------------------------------------------------------------------- */
.sn-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .4s var(--ease);
}

/* Scrolled state changes nothing but the shadow: the bar keeps a constant
   height so it never shifts or resizes under the cursor while reading. */
.sn-header.is-stuck {
    box-shadow: 0 12px 40px -24px rgba(6, 19, 33, .35);
}

.sn-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

/* Brand */
.sn-brand {
    display: flex;
    align-items: center;
    gap: .95rem;
    /* Allowed to shrink on narrow screens instead of forcing the header wider */
    min-width: 0;
}

/* The logo is a wide lockup (roughly 3:1) — never crop it to a square.
   Fix the height, let the width follow the natural aspect ratio. */
/* Navbar uses the square badge on its own (img/logo-mark.png); the firm
   name is set in type alongside it rather than baked into the image. */
.sn-brand__mark {
    height: 58px;
    width: auto;
    flex: 0 0 auto;
    object-fit: contain;
}

.sn-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.sn-brand__name {
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--ink-800);
}

.sn-brand__tag {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-500);
}

/* Desktop nav */
.sn-nav {
    display: flex;
    align-items: center;
    gap: 2.35rem;
    margin-left: auto;
}

.sn-nav__link {
    position: relative;
    padding: .35rem 0;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-800);
}

.sn-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-500);
    transition: width .35s var(--ease);
}

.sn-nav__link:hover::after,
.sn-nav__link.is-active::after {
    width: 100%;
}

.sn-nav__link.is-active {
    color: var(--gold-500);
}

.sn-header__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.sn-header__phone {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-right: 1rem;
    border-right: 1px solid var(--line);
}

/* Direct child only, so the WhatsApp glyph keeps its own colour */
.sn-header__phone > i {
    color: var(--gold-500);
    font-size: 1.05rem;
}

.sn-header__phone-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sn-header__phone-label {
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .12rem;
}

/* Primary line: the mobile number, which is also the WhatsApp number */
.sn-header__phone-num {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .93rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--ink-800);
    white-space: nowrap;
}

.sn-header__phone-num:hover {
    color: var(--gold-500);
}

.sn-header__phone-num .fa-whatsapp {
    font-size: .86rem;
    color: #25d366;
}

/* Secondary line: the office number */
.sn-header__phone-num--alt {
    font-size: .82rem;
    font-weight: 500;
    color: var(--muted);
}

.sn-header__cta .btn-sn {
    padding: .9rem 1.6rem;
}

/* Burger */
.sn-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
}

.sn-burger span {
    display: block;
    height: 1.5px;
    background: var(--ink-800);
    transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.sn-burger span:nth-child(2) { width: 70%; }

.sn-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sn-burger.is-open span:nth-child(2) { opacity: 0; }
.sn-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.sn-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 950;
    width: min(400px, 88vw);
    padding: 2rem 2rem 2.5rem;
    background: var(--ink-900);
    color: var(--muted-light);
    transform: translateX(100%);
    /* Hidden while parked off-screen so it cannot register as page width */
    visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s var(--ease);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.sn-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.sn-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line-dark);
}

.sn-drawer__brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
}

.sn-drawer__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}

.sn-drawer__close:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.sn-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.sn-drawer__nav a {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: #fff;
}

.sn-drawer__nav a:hover,
.sn-drawer__nav a.is-active {
    color: var(--gold-500);
    padding-left: .5rem;
}

.sn-drawer__meta {
    margin-top: auto;
    padding-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    font-size: .9rem;
}

.sn-drawer__meta a {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--muted-light);
}

.sn-drawer__meta a:hover { color: var(--gold-500); }

.sn-drawer__meta i {
    color: var(--gold-500);
    width: 18px;
}

.sn-scrim {
    position: fixed;
    inset: 0;
    z-index: 940;
    background: rgba(6, 19, 33, .6);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
}

.sn-scrim.is-open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199.98px) {
    .sn-nav,
    .sn-header__phone { display: none; }
    .sn-burger { display: flex; }
    :root { --header-h: 78px; }
}

@media (max-width: 1399.98px) {
    .sn-nav { gap: 1.8rem; }
    .sn-brand__mark { height: 52px; }
}

@media (max-width: 575.98px) {
    /* The badge carries no text, so the typeset name stays visible here. */
    .sn-brand__mark { height: 44px; }
    .sn-brand__name { font-size: 1.02rem; }
    .sn-brand__tag { font-size: .5rem; letter-spacing: .2em; }
    .sn-header__cta .btn-sn { display: none; }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.sn-hero {
    position: relative;
    min-height: clamp(560px, 88vh, 880px);
    display: flex;
    align-items: center;
    background: var(--ink-900);
    overflow: hidden;
}

.sn-hero__slides {
    position: absolute;
    inset: 0;
}

.sn-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}

.sn-hero__slide.is-active {
    opacity: 1;
}

.sn-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sn-hero__slide.is-active img {
    animation: sn-kenburns 12s ease-out forwards;
}

@keyframes sn-kenburns {
    from { transform: scale(1.02); }
    to { transform: scale(1.14); }
}

.sn-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(6, 19, 33, .94) 0%, rgba(6, 19, 33, .78) 44%, rgba(6, 19, 33, .38) 100%),
        linear-gradient(to top, rgba(6, 19, 33, .85), transparent 55%);
}

.sn-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 12vw, 9rem);
}

.sn-hero__content {
    max-width: 780px;
}

.sn-hero .eyebrow {
    color: var(--gold-400);
}

.sn-hero .eyebrow::before {
    background: var(--gold-400);
}

.sn-hero__title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.sn-hero__text {
    max-width: 560px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.075rem;
    line-height: 1.85;
}

/* Hero credentials strip */
.sn-hero__marks {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.sn-hero__mark {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sn-hero__mark i {
    font-size: 1.15rem;
    color: var(--gold-500);
}

/* Hero controls */
.sn-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .85rem;
}

/* Clear the quick-contact bar that overlaps the hero on large screens */
@media (min-width: 992px) {
    .sn-hero__dots { bottom: 110px; }
}

.sn-hero__dot {
    width: 44px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background .3s var(--ease);
}

.sn-hero__dot.is-active {
    background: var(--gold-500);
}

/* Hero bottom quick cards */
.sn-quickbar {
    position: relative;
    z-index: 4;
    margin-top: -74px;
}

.sn-quickbar__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold-500);
}

.sn-quickbar__item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.25rem;
    border-right: 1px solid var(--line);
    transition: background .35s var(--ease);
}

.sn-quickbar__item:last-child { border-right: 0; }

.sn-quickbar__item:hover {
    background: var(--sand);
}

.sn-quickbar__item i {
    font-size: 1.5rem;
    color: var(--gold-500);
}

.sn-quickbar__item span {
    display: block;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .25rem;
}

.sn-quickbar__item strong {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    display: block;
}

@media (max-width: 991.98px) {
    .sn-quickbar { margin-top: 0; }
    .sn-quickbar__grid { grid-template-columns: 1fr; }
    .sn-quickbar__item { border-right: 0; border-bottom: 1px solid var(--line); }
    .sn-hero__marks { gap: 1.25rem 2rem; }
}

/* --------------------------------------------------------------------------
   10. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.sn-pagehero {
    position: relative;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
    background: var(--ink-900);
    overflow: hidden;
}

.sn-pagehero__bg {
    position: absolute;
    inset: 0;
}

.sn-pagehero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.sn-pagehero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(6, 19, 33, .95), rgba(6, 19, 33, .72));
}

.sn-pagehero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sn-pagehero__title {
    color: #fff;
    margin-bottom: 1rem;
}

.sn-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.sn-crumbs a {
    color: rgba(255, 255, 255, .7);
}

.sn-crumbs a:hover { color: var(--gold-500); }

.sn-crumbs li + li::before {
    content: "/";
    margin-right: .75rem;
    color: rgba(255, 255, 255, .35);
}

.sn-crumbs li[aria-current] {
    color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   11. Figures & framed media
   -------------------------------------------------------------------------- */
.figure-sn {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.figure-sn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.figure-sn:hover img {
    transform: scale(1.06);
}

.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* About composition */
.about-stack {
    position: relative;
    padding-bottom: 4.5rem;
    padding-right: 3.5rem;
}

.about-stack__main {
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.about-stack__frame {
    position: absolute;
    top: 2rem;
    right: 0;
    bottom: 2.5rem;
    left: 3rem;
    border: 1px solid var(--gold-500);
    z-index: 1;
}

.about-stack__inset {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 48%;
    border: 8px solid var(--ivory);
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    left: -1.5rem;
    bottom: 5.5rem;
    z-index: 4;
    padding: 1.5rem 1.75rem;
    background: var(--ink-900);
    border-left: 3px solid var(--gold-500);
    color: #fff;
    box-shadow: var(--shadow);
    max-width: 220px;
}

.about-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    color: var(--gold-400);
}

.about-badge span {
    display: block;
    margin-top: .4rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
}

/* Signature block */
.signature {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.signature img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex: 0 0 auto;
}

.signature__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink-800);
    line-height: 1.2;
}

.signature__role {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-500);
}

/* Feature ticks */
.tick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.tick-list li {
    position: relative;
    padding-left: 1.9rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
}

.tick-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .1rem;
    font-size: .7rem;
    color: var(--gold-500);
}

.section--ink .tick-list li { color: var(--muted-light); }

@media (max-width: 767.98px) {
    .tick-list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   12. Practice area cards
   -------------------------------------------------------------------------- */
.practice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 2.15rem;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease),
                border-color .45s var(--ease);
}

.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card__num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--sand);
    transition: color .45s var(--ease);
}

.practice-card:hover .practice-card__num {
    color: var(--gold-050);
}

.practice-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1.6rem;
    background: var(--sand);
    color: var(--gold-500);
    font-size: 1.5rem;
    transition: background .45s var(--ease), color .45s var(--ease);
}

.practice-card:hover .practice-card__icon {
    background: var(--ink-900);
    color: var(--gold-400);
}

.practice-card__title {
    font-size: 1.3rem;
    margin-bottom: .8rem;
}

.practice-card__text {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.practice-card .link-gold {
    margin-top: auto;
}

/* Intro cell that sits inside the practice grid */
.practice-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .5rem 1.5rem .5rem 0;
}

.practice-intro h2 {
    margin-bottom: 1rem;
}

.practice-intro p {
    /* full definition in section 34 */
    margin-bottom: 1.75rem;
}

/* Dark CTA cell that closes the practice grid */
.practice-card--cta {
    background: var(--ink-900);
    border-color: var(--ink-900);
    justify-content: center;
}

.practice-card--cta::before { transform: scaleX(1); }

.practice-card--cta .practice-card__num { color: rgba(255, 255, 255, .07); }

.practice-card--cta .practice-card__icon {
    background: rgba(255, 255, 255, .07);
    color: var(--gold-400);
}

.practice-card--cta .practice-card__title { color: #fff; }

.practice-card--cta .practice-card__text { color: var(--muted-light); }

.practice-card--cta .link-gold { color: var(--gold-400); }

.practice-card--cta:hover .practice-card__icon {
    background: var(--gold-500);
    color: #fff;
}

/* --------------------------------------------------------------------------
   13. Value / why-choose cards
   -------------------------------------------------------------------------- */
.value-card {
    height: 100%;
    padding: 2.35rem 2rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
    transition: background .4s var(--ease), border-color .4s var(--ease),
                transform .4s var(--ease);
}

.value-card:hover {
    background: rgba(198, 161, 91, .09);
    border-color: rgba(198, 161, 91, .45);
    transform: translateY(-6px);
}

.value-card i {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 1.7rem;
    color: var(--gold-500);
}

.value-card h3 {
    font-size: 1.22rem;
    color: #fff;
    margin-bottom: .65rem;
}

.value-card p {
    color: var(--muted-light);
    font-size: .94rem;
    line-height: 1.8;
    margin: 0;
}

/* Light variant */
.value-card--light {
    background: #fff;
    border-color: var(--line);
}

.value-card--light:hover {
    background: #fff;
    border-color: var(--gold-500);
    box-shadow: var(--shadow);
}

.value-card--light h3 { color: var(--ink-800); }
.value-card--light p { color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Stats / counters
   -------------------------------------------------------------------------- */
.sn-stats {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: var(--ink-900);
    overflow: hidden;
}

.sn-stats__bg {
    position: absolute;
    inset: 0;
    opacity: .16;
}

.sn-stats__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sn-stats__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid var(--line-dark);
}

.stat:last-child { border-right: 0; }

.stat__num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    font-weight: 500;
    line-height: 1;
    color: var(--gold-400);
}

.stat__num small {
    font-size: .5em;
    margin-left: .1em;
}

.stat__label {
    margin-top: .85rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 767.98px) {
    .sn-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; }
    .stat:nth-child(2n) { border-right: 0; }
}

/* --------------------------------------------------------------------------
   15. Process timeline
   -------------------------------------------------------------------------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}

.process::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--line);
}

.process__step {
    position: relative;
    text-align: center;
    padding: 0 .75rem;
}

.process__dot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    background: var(--ivory);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-500);
    transition: background .4s var(--ease), color .4s var(--ease);
}

.process__step:hover .process__dot {
    background: var(--gold-500);
    color: #fff;
}

.process__step h3 {
    font-size: 1.18rem;
    margin-bottom: .55rem;
}

.process__step p {
    font-size: .93rem;
    color: var(--muted);
    line-height: 1.78;
    margin: 0;
}

@media (max-width: 767.98px) {
    .process { grid-template-columns: 1fr; gap: 2.5rem; }
    .process::before { display: none; }
}

/* --------------------------------------------------------------------------
   16. Services accordion
   -------------------------------------------------------------------------- */
.sn-accordion {
    border-top: 1px solid var(--line);
}

.sn-accordion__item {
    border-bottom: 1px solid var(--line);
    background: #fff;
    transition: box-shadow .4s var(--ease);
}

.sn-accordion__item.is-open {
    box-shadow: var(--shadow);
}

.sn-accordion__trigger {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .35s var(--ease);
}

.sn-accordion__trigger:hover {
    background: var(--sand);
}

.sn-accordion__index {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--gold-500);
    min-width: 34px;
}

.sn-accordion__label {
    flex: 1 1 auto;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink-800);
    transition: color .35s var(--ease);
}

.sn-accordion__item.is-open .sn-accordion__label {
    color: var(--gold-500);
}

.sn-accordion__icon {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background .35s var(--ease), border-color .35s var(--ease),
                transform .45s var(--ease);
}

.sn-accordion__icon::before,
.sn-accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--ink-800);
    transform: translate(-50%, -50%);
    transition: background .35s var(--ease), opacity .35s var(--ease);
}

.sn-accordion__icon::before { width: 13px; height: 1.5px; }
.sn-accordion__icon::after { width: 1.5px; height: 13px; }

.sn-accordion__trigger:hover .sn-accordion__icon,
.sn-accordion__item.is-open .sn-accordion__icon {
    background: var(--gold-500);
    border-color: var(--gold-500);
    transform: rotate(180deg);
}

.sn-accordion__trigger:hover .sn-accordion__icon::before,
.sn-accordion__trigger:hover .sn-accordion__icon::after,
.sn-accordion__item.is-open .sn-accordion__icon::before,
.sn-accordion__item.is-open .sn-accordion__icon::after {
    background: #fff;
}

.sn-accordion__item.is-open .sn-accordion__icon::after {
    opacity: 0;
}

.sn-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .55s var(--ease);
}

.sn-accordion__body {
    padding: 0 clamp(1.25rem, 3vw, 2.25rem) 2.5rem;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
}

.sn-accordion__copy > *:first-child { margin-top: 0; }

.sn-accordion__copy p,
.sn-accordion__copy li {
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.85;
}

.sn-accordion__copy h4 {
    margin: 1.75rem 0 .75rem;
    font-size: 1.1rem;
    color: var(--ink-800);
}

.sn-accordion__copy ul {
    margin: 0 0 1.25rem;
    padding-left: 0;
    list-style: none;
}

.sn-accordion__copy ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .3rem;
}

.sn-accordion__copy ul li::before {
    content: "";
    position: absolute;
    left: .25rem;
    top: .62rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-500);
}

.sn-accordion__copy .sn-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: 0;
    transform: none;
    top: .05rem;
    font-size: .68rem;
    color: var(--gold-500);
    width: auto;
    height: auto;
}

.sn-accordion__copy .sn-check-list li {
    padding-left: 1.6rem;
}

.sn-accordion__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 3px solid var(--gold-500);
}

.sn-accordion__media .btn-sn {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 991.98px) {
    .sn-accordion__body { grid-template-columns: 1fr; }
    .sn-accordion__media { order: -1; }
}

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.sn-quotes {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.sn-quotes__mark {
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: .8;
    color: var(--gold-500);
    opacity: .5;
}

.sn-quotes__track {
    position: relative;
    min-height: 210px;
}

.sn-quotes__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}

.sn-quotes__item.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sn-quotes__text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ink-800);
    margin-bottom: 1.75rem;
}

.section--ink .sn-quotes__text { color: #fff; }

.sn-quotes__who {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.sn-quotes__meta {
    display: block;
    margin-top: .35rem;
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--muted);
}

.section--ink .sn-quotes__meta { color: rgba(255, 255, 255, .6); }

.sn-quotes__dots {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-top: 2.25rem;
}

.sn-quotes__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.sn-quotes__dots button.is-active {
    background: var(--gold-500);
    transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.sn-cta {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: var(--ink-800);
    overflow: hidden;
}

.sn-cta::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 161, 91, .22), transparent 65%);
    pointer-events: none;
}

.sn-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.sn-cta__inner h2 {
    color: #fff;
    margin: 0 0 .5rem;
    max-width: 620px;
}

.sn-cta__inner p {
    color: var(--muted-light);
    margin: 0;
    max-width: 560px;
}

.sn-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

/* --------------------------------------------------------------------------
   19. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

@media (max-width: 991.98px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-panel {
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--ink-900);
    border-top: 3px solid var(--gold-500);
    box-shadow: var(--shadow);
}

.contact-panel h2 { color: #fff; }

.contact-panel p {
    color: var(--muted-light);
    font-size: .95rem;
}

.contact-panel a { color: var(--gold-400); }
.contact-panel a:hover { color: #fff; }

/* Fields */
.field {
    position: relative;
    margin-bottom: 1.1rem;
}

.field__label {
    display: block;
    margin-bottom: .5rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.field__input,
.field__select,
.field__area {
    width: 100%;
    padding: .95rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color .3s var(--ease), background .3s var(--ease),
                box-shadow .3s var(--ease);
}

.field__area {
    min-height: 150px;
    resize: vertical;
}

.field__input::placeholder,
.field__area::placeholder {
    color: rgba(255, 255, 255, .35);
}

.field__input:focus,
.field__select:focus,
.field__area:focus {
    outline: none;
    border-color: var(--gold-500);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, .16);
}

.field__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c6a15b' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.5rem;
}

.field__select option {
    background: var(--ink-900);
    color: #fff;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

@media (max-width: 575.98px) {
    .field-row { grid-template-columns: 1fr; }
}

.form-note {
    margin-top: 1rem;
    font-size: .8rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
}

/* Contact info cards */
.info-card {
    display: flex;
    gap: 1.35rem;
    padding: 1.65rem 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color .4s var(--ease), transform .4s var(--ease),
                box-shadow .4s var(--ease);
}

.info-card + .info-card { margin-top: 1rem; }

.info-card:hover {
    border-color: var(--gold-500);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--gold-500);
    font-size: 1.15rem;
    transition: background .4s var(--ease), color .4s var(--ease);
}

.info-card:hover .info-card__icon {
    background: var(--ink-900);
    color: var(--gold-400);
}

.info-card h3 {
    font-size: .74rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}

.info-card p,
.info-card a {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink-800);
    line-height: 1.5;
}

.info-card a:hover { color: var(--gold-500); }

.map-frame {
    position: relative;
    margin-top: 1.25rem;
    border: 1px solid var(--line);
    padding: 8px;
    background: #fff;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
    filter: grayscale(.35) contrast(1.05);
    transition: filter .5s var(--ease);
}

.map-frame:hover iframe { filter: none; }

.hours-card {
    margin-top: 1rem;
    padding: 1.75rem;
    background: var(--sand);
    border-left: 3px solid var(--gold-500);
}

.hours-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.hours-card dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem 1rem;
    margin: 0;
    font-size: .92rem;
}

.hours-card dt { color: var(--muted); }

.hours-card dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink-800);
}

/* Social row */
.social-row {
    display: flex;
    gap: .6rem;
}

.social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: #fff;
    font-size: .9rem;
    transition: background .35s var(--ease), border-color .35s var(--ease),
                transform .35s var(--ease);
}

.social-row a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: #fff;
    transform: translateY(-3px);
}

.social-row--light a {
    border-color: var(--line);
    color: var(--ink-800);
}

.social-row--light a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   20. Legal documents (privacy / terms)
   -------------------------------------------------------------------------- */
.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 120px;
    padding: 1.75rem;
    background: var(--sand);
    border-top: 3px solid var(--gold-500);
}

.legal-toc h2 {
    font-size: .72rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.15rem;
    font-size: .88rem;
    line-height: 1.55;
}

.legal-toc li { margin-bottom: .5rem; }

.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--gold-500); }

.legal-doc {
    padding: clamp(1.75rem, 4vw, 3.25rem);
    background: #fff;
    border: 1px solid var(--line);
}

.legal-doc > p:first-of-type {
    font-size: 1.05rem;
    color: var(--ink-800);
}

.legal-doc h4 {
    margin: 2.5rem 0 .9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 1.3rem;
    scroll-margin-top: 140px;
}

.legal-doc h4:first-of-type {
    margin-top: 1.75rem;
}

.legal-doc p,
.legal-doc li {
    color: var(--muted);
    line-height: 1.9;
}

.legal-doc ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.25rem;
}

.legal-doc ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .4rem;
}

.legal-doc ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .85rem;
    width: 6px;
    height: 6px;
    border: 1px solid var(--gold-500);
    transform: rotate(45deg);
}

.legal-doc hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1rem;
    background: var(--sand);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.legal-meta i { color: var(--gold-500); }

@media (max-width: 991.98px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.sn-footer {
    background: var(--ink-900);
    color: var(--muted-light);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
}

.sn-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 3.5rem;
}

.sn-footer h3 {
    font-size: .74rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.6rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line-dark);
    position: relative;
}

.sn-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 1px;
    background: var(--gold-500);
}

.sn-footer__brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.5rem;
}

/* Full logo on a white plate — the source file is a JPEG with a solid
   background, so a plate reads as deliberate against the dark footer. */
.sn-footer__brand img {
    height: 46px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    background: #fff;
    padding: 6px 9px;
    border-radius: var(--radius);
}

.sn-footer__brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.sn-footer__brand span {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.sn-footer p {
    font-size: .93rem;
    line-height: 1.85;
    color: var(--muted-light);
}

.sn-footer__links {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sn-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .93rem;
    color: var(--muted-light);
}

.sn-footer__links a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .75rem;
    color: var(--gold-500);
    transition: transform .3s var(--ease);
}

.sn-footer__links a:hover {
    color: #fff;
}

.sn-footer__links a:hover::before {
    transform: translateX(3px);
}

.sn-footer__contact {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sn-footer__contact li {
    display: flex;
    gap: .85rem;
    font-size: .93rem;
    line-height: 1.65;
}

.sn-footer__contact i {
    flex: 0 0 auto;
    margin-top: .35rem;
    color: var(--gold-500);
    width: 16px;
}

.sn-footer__contact a { color: var(--muted-light); }
.sn-footer__contact a:hover { color: #fff; }

.sn-footer__disclaimer {
    padding: 2.25rem 0;
    border-top: 1px solid var(--line-dark);
}

.sn-footer__disclaimer p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .48);
}

.sn-footer__disclaimer strong { color: rgba(255, 255, 255, .7); }

.sn-copyright {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line-dark);
}

.sn-copyright__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
}

.sn-copyright a { color: rgba(255, 255, 255, .75); }
.sn-copyright a:hover { color: var(--gold-500); }

@media (max-width: 991.98px) {
    .sn-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .sn-footer__grid { grid-template-columns: 1fr; }
    .sn-copyright__inner { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   22. Floating actions
   -------------------------------------------------------------------------- */
.sn-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 880;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.sn-float a,
.sn-float button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 12px 28px -12px rgba(6, 19, 33, .6);
    transition: transform .35s var(--ease), background .35s var(--ease);
}

.sn-float a:hover,
.sn-float button:hover {
    transform: translateY(-3px);
    color: #fff;
}

.sn-float__wa { background: #25d366; }
.sn-float__wa:hover { background: #1fb457; }

.sn-float__call { background: var(--gold-500); }
.sn-float__call:hover { background: var(--ink-800); }

.sn-float__top {
    background: var(--ink-800);
    opacity: 0;
    visibility: hidden;
}

.sn-float__top.is-visible {
    opacity: 1;
    visibility: visible;
}

.sn-float__top:hover { background: var(--gold-500); }

/* Mobile sticky action bar */
.sn-actionbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 890;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ink-900);
    border-top: 1px solid var(--line-dark);
}

.sn-actionbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .7rem 0;
    color: rgba(255, 255, 255, .8);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sn-actionbar a i {
    font-size: 1.05rem;
    color: var(--gold-500);
}

.sn-actionbar a + a { border-left: 1px solid var(--line-dark); }

@media (max-width: 767.98px) {
    .sn-actionbar { display: grid; }
    body { padding-bottom: 62px; }
    .sn-float { bottom: 74px; right: 16px; }
    .sn-float__wa,
    .sn-float__call { display: none; }
}

/* --------------------------------------------------------------------------
   23. Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}

[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.96); }

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   24. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--2 { grid-template-columns: 1fr; }

    .about-stack {
        padding-right: 0;
        padding-bottom: 3rem;
    }

    .about-stack__frame { left: 1.5rem; }
    .about-badge { left: 0; bottom: 0; }
    .about-stack__inset { width: 42%; right: 0; bottom: -2rem; }
}

@media (max-width: 767.98px) {
    .grid--4,
    .grid--3 { grid-template-columns: 1fr; }

    .about-stack__inset { display: none; }
    .about-badge { position: static; margin-top: 1.5rem; max-width: none; }
    .about-stack { padding-bottom: 0; }
    .about-stack__frame { display: none; }

    .sn-cta__inner { flex-direction: column; align-items: flex-start; }
    .btn-sn { padding: .95rem 1.7rem; font-size: .74rem; }
}

/* --------------------------------------------------------------------------
   25. Career / credentials timeline
   -------------------------------------------------------------------------- */
.cv-list {
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
}

.cv-list li {
    position: relative;
    margin-left: .5rem;
    padding: 0 0 1.85rem 2.25rem;
    border-left: 1px solid var(--line-dark);
}

.cv-list li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.cv-list li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: .5rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold-500);
}

.cv-list h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: .3rem;
}

.cv-list span {
    display: block;
    margin-bottom: .35rem;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.cv-list p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--muted-light);
}

.cv-list--light li { border-left-color: var(--line); }
.cv-list--light li:last-child { border-left-color: transparent; }
.cv-list--light h3 { color: var(--ink-800); }
.cv-list--light p { color: var(--muted); }

/* --------------------------------------------------------------------------
   26. Practice-area jump nav (services page)
   -------------------------------------------------------------------------- */
.jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    padding: 0;
    list-style: none;
}

.jump-nav a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-800);
    transition: background .3s var(--ease), border-color .3s var(--ease),
                color .3s var(--ease);
}

.jump-nav a i { color: var(--gold-500); transition: color .3s var(--ease); }

.jump-nav a:hover {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: #fff;
}

.jump-nav a:hover i { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   27. Callout panel
   -------------------------------------------------------------------------- */
.callout {
    display: flex;
    gap: 1.35rem;
    padding: 1.85rem 2rem;
    background: var(--sand);
    border-left: 3px solid var(--gold-500);
}

.callout i {
    flex: 0 0 auto;
    margin-top: .2rem;
    font-size: 1.35rem;
    color: var(--gold-500);
}

.callout h3 {
    font-size: 1.2rem;
    margin-bottom: .45rem;
}

.callout p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   28. Brand card — a letterhead-style panel built from the badge, used where
   a portrait would otherwise sit. Replaces borrowed stock photography.
   -------------------------------------------------------------------------- */
.brand-card {
    position: relative;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.3rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 50% 22%, rgba(198, 161, 91, .16), transparent 58%),
        linear-gradient(168deg, #ffffff 0%, var(--sand) 100%);
    border: 1px solid rgba(198, 161, 91, .55);
    box-shadow: var(--shadow-lg);
    text-align: center;
    overflow: hidden;
}

/* Inner hairline, the way a printed letterhead is ruled */
.brand-card::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(198, 161, 91, .32);
    pointer-events: none;
}

.brand-card__badge {
    position: relative;
    z-index: 2;
    width: min(56%, 190px);
    height: auto;
}

.brand-card__name {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink-800);
}

.brand-card__rule {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 1px;
    background: var(--gold-500);
}

.brand-card__meta {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-500);
}

.brand-card__note {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 24ch;
    font-size: .86rem;
    line-height: 1.7;
    color: var(--muted);
}

@media (max-width: 767.98px) {
    .brand-card {
        aspect-ratio: 4 / 3;
    }

    .brand-card__badge {
        width: min(42%, 150px);
    }
}

/* --------------------------------------------------------------------------
   29. Mobile stability — nothing may exceed the viewport width
   Flex and grid children default to min-width:auto, so a long unbreakable
   token (info@snattorneys.co.za, PAIAComplaints@inforegulator.org.za) forces
   its row wider than the screen and the whole page pans sideways. These rules
   let those rows shrink and let the tokens break.
   -------------------------------------------------------------------------- */

/* Contact cards: icon is fixed width, the text column must be able to shrink */
.info-card > div {
    min-width: 0;
}

.info-card p,
.info-card a {
    overflow-wrap: anywhere;
}

/* Footer contact list carries the same email and address strings */
.sn-footer__contact li {
    min-width: 0;
}

.sn-footer__contact a,
.sn-footer__links a {
    overflow-wrap: anywhere;
}

/* Legal pages contain the Information Regulator address and a long email */
.legal-doc,
.legal-toc a {
    overflow-wrap: break-word;
}

.legal-doc a {
    overflow-wrap: anywhere;
}

/* Dark enquiry panel and its links */
.contact-panel,
.contact-panel a {
    overflow-wrap: anywhere;
    min-width: 0;
}

/* Quick contact bar stacks on small screens; let its rows shrink */
.sn-quickbar__item > div {
    min-width: 0;
}

.sn-quickbar__item strong {
    overflow-wrap: anywhere;
}

/* Drawer contact rows */
.sn-drawer__meta a {
    overflow-wrap: anywhere;
}

/* Accordion rows: the label must wrap rather than widen the row */
.sn-accordion__label,
.sn-accordion__copy {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Generic guards for the layout primitives */
.shell,
.section {
    max-width: 100%;
}

.grid > *,
.sn-footer__grid > *,
.contact-grid > * {
    min-width: 0;
}

/* Header row children shrink before the header grows */
.sn-header__inner > * {
    min-width: 0;
}

.sn-header__cta {
    flex-shrink: 0;
}

/* Embedded map */
.map-frame,
.map-frame iframe {
    max-width: 100%;
}

/* Very narrow handsets */
@media (max-width: 400px) {
    .sn-brand { gap: .7rem; }
    .sn-brand__name { font-size: .95rem; }
    .sn-brand__tag { font-size: .46rem; letter-spacing: .16em; }
    .sn-brand__mark { height: 40px; }
    .info-card { padding: 1.35rem 1.25rem; gap: 1rem; }
    .info-card__icon { width: 46px; height: 46px; font-size: 1rem; }
    .info-card p,
    .info-card a { font-size: 1rem; }
    .btn-sn { padding: .9rem 1.35rem; font-size: .7rem; letter-spacing: .12em; }
}


/* --------------------------------------------------------------------------
   32. Justified body copy
   --------------------------------------------------------------------------
   Prose is justified across the site. Justification only affects lines that
   wrap, so single-line and closing lines still sit on the start edge, which is
   normal justified behaviour. Hyphenation is enabled to keep word spacing even
   in the narrower columns (practice cards, accordion service lists).
   -------------------------------------------------------------------------- */
p,
li,
dd,
blockquote,
figcaption {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Blocks that are deliberately centred keep their alignment */
.section-head--center p,
.sn-pagehero__inner p,
.stat p,
.process__step p,
.sn-quotes p,
.brand-card p,
.sn-copyright p {
    text-align: center;
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* Navigation, breadcrumbs, contact rows and small print stay unjustified */
.sn-nav li,
.sn-drawer__nav li,
.sn-crumbs li,
.jump-nav li,
.sn-footer__links li,
.sn-footer__contact li,
.info-card p,
.form-note {
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
}


/* --------------------------------------------------------------------------
   33. Sticky-header anchor offsets
   --------------------------------------------------------------------------
   The header stays fixed at the top of the viewport, so anchor targets need to
   stop clear of it rather than sliding underneath. Tracks --header-h, which
   steps down on smaller screens.
   -------------------------------------------------------------------------- */
.sn-accordion__item,
#contact {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}


/* --------------------------------------------------------------------------
   34. Unified sub-headings, About section font, Practice intro font
   -------------------------------------------------------------------------- */

/* --- Sub-headings: every h4 in the accordion uses the same face/size/colour -*/
.sn-accordion__copy h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: -.01em;
    margin: 1.75rem 0 .75rem;
}

/* --- About the Firm (home & about pages) ------------------------------------ */
/* Use the display font for the body paragraphs to give it the editorial feel   */
/* consistent with headings; also justified (reinforcing the global rule).       */
.lead-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
}

/* --- Practice areas intro cell (home page) ---------------------------------- */
.practice-intro p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.85;
    text-align: justify;
    text-justify: inter-word;
}

/* --- Stat counter prefix symbol -------------------------------------------- */
/* Keeps the "+" the same display font and size as the number beside it.        */
.stat__num {
    font-family: var(--font-display);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   35. Justify About heading and Practice Areas heading
   -------------------------------------------------------------------------- */
/* Both headings removed from justify — at large display sizes justified text
   creates excessive word gaps. The body paragraphs below are justified instead. */
