/* ============================================================
   Deepshikha Mishra — Advocate | Premium Legal Portfolio
   Design tokens + layout + components
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
    /* Color — primary palette */
    --charcoal:       #0F0F10;
    --charcoal-soft:  #1C1C1F;
    --charcoal-line:  #2A2A2E;
    --gold:           #C9A96A;
    --gold-deep:      #A8874A;
    --gold-soft:      rgba(201, 169, 106, 0.18);
    --ivory:          #FAF7F1;
    --ivory-soft:     #F3EEE4;
    --ivory-line:     #E6DFCF;
    --burgundy:       #6B2C2C;
    --muted:          #6B6B70;
    --muted-light:    #9A9AA0;
    --text-on-dark:   #EFE9DD;
    --text-on-light:  #26262A;

    /* Type */
    --font-serif:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hindi:  'Tiro Devanagari Hindi', 'Cormorant Garamond', serif;

    /* Space scale (8px baseline) */
    --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
    --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
    --s-9: 6rem;     --s-10: 8rem;

    /* Radii */
    --r-sm: 4px;     --r-md: 8px;     --r-lg: 14px;

    /* Motion */
    --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 200ms;
    --dur:      450ms;
    --dur-slow: 700ms;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(15,15,16,0.06), 0 1px 3px rgba(15,15,16,0.08);
    --shadow-md: 0 4px 12px rgba(15,15,16,0.08), 0 8px 24px rgba(15,15,16,0.06);
    --shadow-lg: 0 12px 40px rgba(15,15,16,0.12), 0 24px 60px rgba(15,15,16,0.08);
    --shadow-gold: 0 8px 30px rgba(201,169,106,0.20);

    /* Layout */
    --container:  1200px;
    --container-narrow: 960px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-on-light);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--gold-deep); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--s-4); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Selection */
::selection { background: var(--gold); color: var(--charcoal); }

/* ---------- 3. Layout Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    padding: 0 var(--s-5);
    margin: 0 auto;
}
.container-narrow { max-width: var(--container-narrow); }
.section {
    padding: var(--s-10) 0;
    position: relative;
}
.section--dark {
    background: var(--charcoal);
    color: var(--text-on-dark);
}
.section--soft { background: var(--ivory-soft); }

.section-head {
    max-width: 720px;
    margin: 0 auto var(--s-8);
    text-align: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
    margin-bottom: var(--s-4);
}
.section--dark .eyebrow { color: var(--gold); }
.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    margin: 0 0 var(--s-4);
}
.section-lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}
.section--dark .section-lead { color: var(--muted-light); }

/* Gold divider */
.gold-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    margin: var(--s-4) auto var(--s-5);
    border-radius: 2px;
}

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    padding: 0.95rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--r-sm);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--gold {
    background: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}
.btn--gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--charcoal);
}
.btn--outline {
    background: transparent;
    color: var(--text-on-dark);
    border-color: rgba(201, 169, 106, 0.5);
}
.btn--outline:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold);
    transform: translateY(-2px);
}
.btn--dark {
    background: var(--charcoal);
    color: var(--text-on-dark);
    border-color: var(--charcoal);
}
.btn--dark:hover {
    background: var(--charcoal-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gold);
}
.btn--ghost {
    background: transparent;
    color: var(--text-on-light);
    border-color: var(--charcoal);
}
.btn--ghost:hover {
    background: var(--charcoal);
    color: var(--gold);
}

/* ---------- 5. Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: var(--s-4) 0;
    transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(15, 15, 16, 0.96);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    padding: var(--s-3) 0;
    border-bottom-color: var(--gold-soft);
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
}
.brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--ivory);
    line-height: 1;
}
.brand__mark {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.brand__title {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--s-5);            /* tighter than s-6 so items breathe on 1024–1200 range */
    list-style: none;
    margin: 0; padding: 0;
}
.nav__link {
    position: relative;
    color: var(--ivory);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: var(--s-2) 0;
    white-space: nowrap;        /* prevent "Practice Areas" / "Why Choose Me" from wrapping */
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active { color: var(--gold); }
.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.nav__cta { margin-left: var(--s-3); }

/* Hamburger */
.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    color: var(--ivory);
    align-items: center; justify-content: center;
    position: relative;
    z-index: 110;
}
.nav__toggle span {
    display: block;
    position: absolute;
    width: 22px; height: 1.5px;
    background: currentColor;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-on-dark);
    background: radial-gradient(ellipse at center top, #1a1a1e 0%, var(--charcoal) 60%, #050506 100%);
    overflow: hidden;
    padding: var(--s-9) var(--s-5) var(--s-8);
}
.hero__bg {
    position: absolute; inset: 0;
    background-image: url('../images/hero-courthouse.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: contrast(1.05) brightness(0.85);
    z-index: 0;
    will-change: transform;
}
.hero__glow {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(201,169,106,0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero__watermark {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(72vh, 720px);
    color: var(--gold);
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
.hero__sanskrit {
    display: inline-block;
    font-family: var(--font-hindi);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: var(--s-6);
    padding: 0 var(--s-6);
    position: relative;
}
.hero__sanskrit::before,
.hero__sanskrit::after {
    content: "";
    position: absolute;
    top: 50%; width: 40px; height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.hero__sanskrit::before { right: 100%; margin-right: var(--s-3); }
.hero__sanskrit::after  { left: 100%;  margin-left:  var(--s-3); }

.hero__name {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6.5vw, 5.25rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ivory);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}
.hero__profession {
    display: block;
    margin-top: var(--s-3);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    padding-left: 0.5em;
}
.hero__divider {
    width: 80px; height: 1px;
    background: var(--gold);
    margin: var(--s-6) auto var(--s-6);
    opacity: 0.6;
}
.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--text-on-dark);
    max-width: 640px;
    margin: 0 auto var(--s-4);
    font-style: italic;
    line-height: 1.35;
}
.hero__subtext {
    max-width: 560px;
    margin: 0 auto var(--s-7);
    color: var(--muted-light);
    font-size: 1rem;
}
.hero__ctas {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    flex-wrap: wrap;
}
.hero__scroll {
    position: absolute;
    bottom: var(--s-6);
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0.7;
    animation: bounce-slow 3s var(--ease) infinite;
}
.hero__scroll svg { margin: var(--s-2) auto 0; }
@keyframes bounce-slow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 7. About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--s-9);
    align-items: center;
}
.about__portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--ivory-soft) 0%, #EAE1CB 100%);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__portrait::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid var(--gold);
    opacity: 0.4;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
.about__portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.about__portrait-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gold-deep);
    text-align: center;
    padding: var(--s-6);
    gap: var(--s-4);
}
.about__portrait-placeholder svg { width: 80px; height: 80px; opacity: 0.5; }
.about__portrait-placeholder p {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.about__body {
    position: relative;
    padding-left: var(--s-6);
}
.about__body::before {
    content: "";
    position: absolute;
    left: 0; top: 0.5rem; bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}
.about__heading {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: var(--s-5);
}
.about__text p {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: var(--s-4);
    line-height: 1.75;
}
.about__signature {
    margin-top: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--ivory-line);
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 0.95rem;
}
.about__signature strong {
    display: block;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-on-light);
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}

/* ---------- 8. Practice Areas ---------- */
.practice__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}
.practice-card {
    background: var(--ivory);
    padding: var(--s-6) var(--s-5);
    border-radius: var(--r-md);
    border: 1px solid var(--ivory-line);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}
.practice-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transition: width var(--dur-slow) var(--ease);
}
.practice-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.practice-card:hover::before { width: 100%; }
.practice-card__icon {
    width: 56px; height: 56px;
    background: var(--charcoal);
    color: var(--gold);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--s-5);
    transition: transform var(--dur) var(--ease);
}
.practice-card__icon svg { width: 26px; height: 26px; }
.practice-card:hover .practice-card__icon { transform: scale(1.05) rotate(-3deg); }
.practice-card__title {
    font-size: 1.35rem;
    margin-bottom: var(--s-3);
    color: var(--text-on-light);
}
.practice-card__text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------- 9. Why Choose ---------- */
.why__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-6);
}
.why-card {
    padding: var(--s-6) var(--s-4);
    text-align: center;
    border-right: 1px solid var(--charcoal-line);
    transition: background var(--dur) var(--ease);
}
.why-card:last-child { border-right: 0; }
.why-card:hover { background: rgba(201,169,106,0.04); }
.why-card__icon {
    width: 64px; height: 64px;
    margin: 0 auto var(--s-4);
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.why-card__icon svg { width: 26px; height: 26px; }
.why-card:hover .why-card__icon {
    transform: translateY(-4px);
    background: var(--gold-soft);
}
.why-card__title {
    font-size: 1.1rem;
    color: var(--ivory);
    margin-bottom: var(--s-2);
}
.why-card__text {
    font-size: 0.87rem;
    color: var(--muted-light);
    margin: 0;
    line-height: 1.6;
}

/* ---------- 10. Process Timeline ---------- */
.process { background: var(--ivory-soft); }
.process__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    position: relative;
    margin-top: var(--s-7);
}
.process__line {
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--ivory-line);
    z-index: 0;
}
.process__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.6s var(--ease-out);
}
.process.is-visible .process__line::after { transform: scaleX(1); }

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--s-3);
}
.process-step__badge {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1px solid var(--gold);
    color: var(--gold-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 auto var(--s-4);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
    box-shadow: 0 0 0 8px var(--ivory-soft);
}
.process-step:hover .process-step__badge {
    background: var(--charcoal);
    color: var(--gold);
    transform: translateY(-4px);
}
.process-step__title {
    font-size: 1.15rem;
    margin-bottom: var(--s-2);
}
.process-step__text {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- 11. Consultation CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1f 100%);
    color: var(--text-on-dark);
    padding: var(--s-9) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}
.cta-band::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}
.cta-band__inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta-band__title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    color: var(--ivory);
    margin-bottom: var(--s-4);
}
.cta-band__text {
    color: var(--muted-light);
    font-size: 1.05rem;
    margin-bottom: var(--s-6);
}
.cta-band__buttons {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 12. Contact ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s-8);
    align-items: start;
    margin-top: var(--s-7);
}
.contact-info {
    background: var(--charcoal);
    color: var(--text-on-dark);
    padding: var(--s-7);
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-info::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.contact-info__title {
    font-size: 1.6rem;
    color: var(--ivory);
    margin-bottom: var(--s-2);
}
.contact-info__sub {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: var(--s-6);
}
.contact-item {
    display: flex;
    gap: var(--s-4);
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--charcoal-line);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item__icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.contact-item__value {
    color: var(--ivory);
    font-size: 0.98rem;
    line-height: 1.5;
    word-break: break-word;
}
.contact-item__value a:hover { color: var(--gold); }

.contact-info__map {
    margin-top: var(--s-5);
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid var(--charcoal-line);
    height: 180px;
    background: var(--charcoal-soft);
}
.contact-info__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(0.95); }

/* Form */
.enquiry-form {
    background: var(--ivory);
    padding: var(--s-7);
    border-radius: var(--r-md);
    border: 1px solid var(--ivory-line);
    box-shadow: var(--shadow-md);
}
.form-title {
    font-size: 1.4rem;
    margin-bottom: var(--s-5);
    color: var(--text-on-light);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
    margin-bottom: var(--s-4);
}
.form-field { display: flex; flex-direction: column; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: var(--s-2);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--ivory-line);
    background: #fff;
    border-radius: var(--r-sm);
    color: var(--text-on-light);
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-radio-group {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    padding-top: var(--s-2);
}
.form-radio {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 0.95rem;
    color: var(--text-on-light);
    cursor: pointer;
}
.form-radio input { accent-color: var(--gold-deep); }
.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}
.form-submit { margin-top: var(--s-4); }
.form-notice {
    padding: var(--s-4);
    border-radius: var(--r-sm);
    margin-bottom: var(--s-4);
    font-size: 0.95rem;
    border: 1px solid;
    display: none;
}
.form-notice.is-visible { display: block; }
.form-notice--ok {
    background: rgba(0, 130, 90, 0.08);
    border-color: rgba(0, 130, 90, 0.35);
    color: #085d43;
}
.form-notice--err {
    background: rgba(180, 30, 30, 0.06);
    border-color: rgba(180, 30, 30, 0.3);
    color: #862121;
}
.form-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: var(--s-2);
}

/* ---------- 13. Footer ---------- */
.site-footer {
    background: #0A0A0B;
    color: var(--muted-light);
    padding: var(--s-9) 0 var(--s-5);
    border-top: 1px solid var(--charcoal-line);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s-7);
    margin-bottom: var(--s-7);
}
.footer__brand .brand__name { color: var(--ivory); font-size: 1.3rem; }
.footer__brand .brand__title { color: var(--gold); }
.footer__tagline {
    font-family: var(--font-hindi);
    color: var(--gold);
    font-size: 1rem;
    margin-top: var(--s-4);
    letter-spacing: 0.1em;
}
.footer__desc {
    color: var(--muted-light);
    font-size: 0.9rem;
    margin-top: var(--s-4);
    max-width: 340px;
    line-height: 1.65;
}
.footer__heading {
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: var(--s-5);
    font-weight: 500;
}
.footer__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: var(--s-3);
}
.footer__list a { color: var(--muted-light); font-size: 0.92rem; }
.footer__list a:hover { color: var(--gold); }
.footer__contact { display: flex; flex-direction: column; gap: var(--s-3); font-size: 0.9rem; }
.footer__contact a { color: var(--muted-light); }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
    padding-top: var(--s-5);
    border-top: 1px solid var(--charcoal-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    font-size: 0.82rem;
    color: var(--muted);
}
.footer__legal { display: flex; gap: var(--s-4); }
.footer__disclaimer {
    background: transparent;
    padding: var(--s-5) 0 0;
    max-width: 900px;
    margin: 0 auto var(--s-5);
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.7;
    text-align: center;
    font-style: italic;
    border-top: 1px dashed var(--charcoal-line);
}

/* ---------- 14. Floating Buttons ---------- */
.fab {
    position: fixed;
    right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab--whatsapp {
    bottom: 24px;
    background: #25D366;
    color: #fff;
}
.fab--whatsapp::before {
    content: "";
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: fab-pulse 2.2s var(--ease) infinite;
}
@keyframes fab-pulse {
    0%   { transform: scale(1);   opacity: 0.65; }
    100% { transform: scale(1.6); opacity: 0; }
}
.fab--whatsapp:hover { transform: scale(1.08); }
.fab--top {
    bottom: 96px;
    background: var(--charcoal);
    color: var(--gold);
    border: 1px solid var(--gold);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab--top:hover { background: var(--gold); color: var(--charcoal); }

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    z-index: 200;
    transition: width 80ms linear;
}

/* ---------- 15. Legal pages ---------- */
.page {
    padding-top: 120px;
    padding-bottom: var(--s-9);
    background: var(--ivory);
    min-height: 60vh;
}
.page__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--s-5);
}
.page h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--s-3);
}
.page h2 {
    font-size: 1.35rem;
    margin: var(--s-6) 0 var(--s-3);
    color: var(--text-on-light);
}
.page p { color: var(--muted); line-height: 1.75; }
.page__eyebrow {
    color: var(--gold-deep);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--s-3);
}
.page a { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page a:hover { color: var(--charcoal); }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1024px) {
    .practice__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid      { grid-template-columns: repeat(3, 1fr); }
    .why-card       { border-right: 0; border-bottom: 1px solid var(--charcoal-line); padding: var(--s-5); }
    .about__grid    { grid-template-columns: 1fr; gap: var(--s-7); }
    .about__body    { padding-left: 0; padding-top: var(--s-5); }
    .about__body::before { display: none; }
    .contact__grid  { grid-template-columns: 1fr; }
    .footer__grid   { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses to hamburger at any width where it would crowd.
   Threshold bumped from 768 → 1080 so small-desktop / tablet widths
   don't wrap "Practice Areas" or "Why Choose Me". */
@media (max-width: 1080px) {
    .nav__toggle { display: flex; }
    .nav__cta { display: none; }
    .nav__menu {
        position: fixed;
        top: 0; right: 0;
        width: min(85vw, 340px);
        height: 100vh;
        background: var(--charcoal);
        border-left: 1px solid var(--gold-soft);
        flex-direction: column;
        justify-content: center;
        gap: var(--s-6);
        padding: var(--s-8) var(--s-6);
        transform: translateX(105%);
        transition: transform var(--dur-slow) var(--ease-out);
        box-shadow: -20px 0 50px rgba(0,0,0,0.3);
    }
    .nav.is-open .nav__menu { transform: translateX(0); }
    .nav__link { font-size: 1rem; padding: var(--s-3) 0; }
}

@media (max-width: 768px) {
    :root { --s-9: 4rem; --s-10: 5rem; }
    .section { padding: var(--s-10) 0; }

    .hero { min-height: 92vh; padding-top: var(--s-8); }
    .hero__ctas .btn { flex: 1 1 100%; }
    .practice__grid { grid-template-columns: 1fr; }
    .why__grid      { grid-template-columns: 1fr; gap: 0; }
    .why-card:last-child { border-bottom: 0; }

    .process__timeline { grid-template-columns: 1fr; gap: var(--s-6); }
    .process__line { display: none; }
    .process-step { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4); align-items: start; }
    .process-step__badge { margin: 0; box-shadow: none; }

    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
    .footer__bottom { flex-direction: column; text-align: center; }

    .contact-info, .enquiry-form { padding: var(--s-5); }
    .fab { right: 18px; width: 52px; height: 52px; }
    .fab--whatsapp { bottom: 18px; }
    .fab--top { bottom: 82px; }
}

@media (max-width: 480px) {
    .hero__sanskrit::before, .hero__sanskrit::after { display: none; }
    .hero__profession { letter-spacing: 0.4em; font-size: 0.72rem; }
}

/* ============================================================
   EDITORIAL ADDITIONS  ·  November 2026
   Disclaimer modal, editorial hero, ethos, practice grid,
   section-marks and ornamental corners.
   ============================================================ */

/* ---- Reusable editorial primitives ---- */

/* Roman-numeral section mark */
.section-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 var(--s-2);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 2px;
    background: transparent;
}
.section-mark--dark {
    border-color: var(--gold-deep);
    color: var(--gold-deep);
}
.section-mark__label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
}
.section-mark__label--light { color: var(--gold); }
.section-mark-row {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
}
.section-mark-row--center { justify-content: center; }

/* Book-plate ornamental corners (used on hero, modal, cards, sections) */
.orn-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    pointer-events: none;
    color: var(--gold);
}
.orn-corner::before,
.orn-corner::after {
    content: "";
    position: absolute;
    background: currentColor;
    opacity: 0.75;
}
.orn-corner--tl { top: 14px;    left: 14px;    }
.orn-corner--tr { top: 14px;    right: 14px;   }
.orn-corner--bl { bottom: 14px; left: 14px;    }
.orn-corner--br { bottom: 14px; right: 14px;   }
.orn-corner--tl::before, .orn-corner--tr::before,
.orn-corner--bl::before, .orn-corner--br::before {
    width: 18px; height: 1px; top: 0;
}
.orn-corner--tl::after, .orn-corner--tr::after,
.orn-corner--bl::after, .orn-corner--br::after {
    width: 1px; height: 18px; left: 0;
}
.orn-corner--tl::before, .orn-corner--tl::after { top: 0;      left: 0;    }
.orn-corner--tr::before { right: 0; left: auto; }
.orn-corner--tr::after  { right: 0; left: auto; }
.orn-corner--bl::before { bottom: 0; top: auto; }
.orn-corner--bl::after  { bottom: 0; top: auto; }
.orn-corner--br::before { bottom: 0; right: 0; top: auto; left: auto; }
.orn-corner--br::after  { bottom: 0; right: 0; top: auto; left: auto; }

/* Ghost button variants for dark surfaces */
.btn--ghost-light {
    background: transparent;
    color: var(--muted-light);
    border-color: rgba(239, 233, 221, 0.25);
}
.btn--ghost-light:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201,169,106,0.06);
}
.btn--outline-warm {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn--outline-warm:hover {
    background: var(--gold);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ============================================================
   1.  DISCLAIMER SPLASH MODAL (Bar Council compliance)
   ============================================================ */
.dc-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-5);
    background: rgba(6, 6, 8, 0.86);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    opacity: 0;
    transition: opacity 400ms var(--ease-out);
    overflow-y: auto;
}
.dc-overlay[hidden] { display: none; }
.dc-overlay.is-visible { opacity: 1; }

.dc-modal {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: linear-gradient(180deg, #14140f 0%, #0F0F10 100%);
    color: var(--text-on-dark);
    border: 1px solid var(--gold-soft);
    border-radius: 4px;
    padding: 56px 48px 40px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    transform: translateY(20px);
    transition: transform 500ms var(--ease-out);
}
.dc-overlay.is-visible .dc-modal { transform: translateY(0); }
.dc-modal::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.dc-modal__mark {
    width: 52px; height: 52px;
    margin: 0 auto var(--s-4);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
}
.dc-modal__mark svg { width: 24px; height: 24px; }
.dc-modal__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: var(--s-3);
}
.dc-modal__title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--ivory);
    margin: 0 0 var(--s-3);
    letter-spacing: 0.02em;
}
.dc-modal__rule {
    width: 40px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
    margin: 0 auto var(--s-5);
}
.dc-modal__body {
    text-align: left;
    color: var(--muted-light);
    font-size: 0.93rem;
    line-height: 1.72;
    margin-bottom: var(--s-6);
    max-height: 40vh;
    overflow-y: auto;
    padding-right: var(--s-3);
}
.dc-modal__body p { margin-bottom: var(--s-3); }
.dc-modal__body p:last-child { margin-bottom: 0; }
.dc-modal__body strong { color: var(--ivory); }
.dc-modal__body::-webkit-scrollbar { width: 6px; }
.dc-modal__body::-webkit-scrollbar-thumb { background: rgba(201,169,106,0.3); border-radius: 3px; }

.dc-modal__actions {
    display: flex;
    gap: var(--s-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s-5);
}
.dc-modal__actions .btn { flex: 1 1 auto; min-width: 180px; }
.dc-modal__foot {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--gold-deep);
    margin: 0;
    padding-top: var(--s-4);
    border-top: 1px solid rgba(201,169,106,0.15);
}
.dc-modal__foot span[lang="sa"] {
    font-family: var(--font-hindi);
    font-style: normal;
    color: var(--gold);
}
.dc-corner {
    position: absolute;
    width: 18px; height: 18px;
    pointer-events: none;
}
.dc-corner::before, .dc-corner::after {
    content: ""; position: absolute; background: var(--gold);
}
.dc-corner::before { width: 14px; height: 1px; }
.dc-corner::after  { width: 1px; height: 14px; }
.dc-corner--tl { top: 12px; left: 12px; }
.dc-corner--tr { top: 12px; right: 12px; }
.dc-corner--bl { bottom: 12px; left: 12px; }
.dc-corner--br { bottom: 12px; right: 12px; }
.dc-corner--tr::before, .dc-corner--tr::after { right: 0; }
.dc-corner--bl::before, .dc-corner--bl::after { bottom: 0; }
.dc-corner--br::before, .dc-corner--br::after { bottom: 0; right: 0; }

/* Body lock while modal open */
body.dc-locked { overflow: hidden; }

@media (max-width: 640px) {
    .dc-modal { padding: 48px 24px 32px; }
    .dc-modal__title { font-size: 1.6rem; }
    .dc-modal__body { max-height: 46vh; padding-right: 0; }
    .dc-modal__actions .btn { min-width: 0; width: 100%; }
}

/* ============================================================
   2.  EDITORIAL HERO
   ============================================================ */
.hero-ed {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 var(--s-9);
    color: var(--text-on-dark);
    background:
        radial-gradient(ellipse at 20% 10%, rgba(201,169,106,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(107,44,44,0.10) 0%, transparent 55%),
        linear-gradient(160deg, #101013 0%, #0A0A0C 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-ed__bg-grain {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(201,169,106,0.06) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.4;
    pointer-events: none;
}
.hero-ed__bg-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
/* Book-plate corners at outer edges of hero */
.hero-ed > .orn-corner { color: var(--gold); opacity: 0.7; }

.hero-ed__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: var(--s-9);
    align-items: center;
}

/* ---- Content column ---- */
.hero-ed__content { max-width: 620px; }
.hero-ed__meta {
    display: flex; align-items: center; gap: var(--s-3);
    margin-bottom: var(--s-6);
}
.hero-ed__meta .section-mark {
    background: rgba(201,169,106,0.06);
}

.hero-ed__name {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
    color: var(--ivory);
    margin: 0;
    display: flex; flex-direction: column;
}
.hero-ed__name-first {
    display: block;
    padding-left: 2px;
}
.hero-ed__name-last {
    display: block;
    font-style: italic;
    color: var(--gold);
    padding-left: 1.2em;
    margin-top: -0.05em;
}

.hero-ed__rule {
    width: 80px; height: 1px;
    background: var(--gold);
    opacity: 0.7;
    margin: var(--s-5) 0 var(--s-4);
}
.hero-ed__role {
    display: flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin: 0 0 var(--s-6);
    flex-wrap: wrap;
}
.hero-ed__role .dot { color: var(--gold); }

.hero-ed__quote {
    font-family: var(--font-hindi);
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    color: var(--gold);
    margin: 0 0 var(--s-4);
    line-height: 1.4;
    letter-spacing: 0.06em;
    position: relative;
    padding: 0 var(--s-5);
    display: inline-block;
}
.hero-ed__quote-mark {
    font-family: var(--font-serif);
    color: var(--gold-deep);
    font-size: 2.4rem;
    line-height: 0.5;
    position: absolute;
    top: 0.4em;
    left: 0;
}
.hero-ed__quote-mark--r { left: auto; right: 0; }

.hero-ed__lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-on-dark);
    max-width: 500px;
    margin: 0 0 var(--s-7);
    opacity: 0.9;
}

.hero-ed__ctas {
    display: flex; gap: var(--s-4);
    flex-wrap: wrap;
    margin-bottom: var(--s-8);
}

.hero-ed__factbar {
    list-style: none; margin: 0; padding: var(--s-5) 0 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    border-top: 1px solid rgba(201,169,106,0.2);
}
.hero-ed__factbar li { display: flex; flex-direction: column; gap: 4px; }
.factbar__k {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.factbar__v {
    font-family: var(--font-serif);
    color: var(--ivory);
    font-size: 0.98rem;
    line-height: 1.4;
}

/* ---- Ornamental aside ---- */
.hero-ed__aside { position: relative; }
.hero-ed__plate {
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 380px;
    margin-left: auto;
    padding: 44px 32px 32px;
    border: 1px solid rgba(201,169,106,0.3);
    background:
        linear-gradient(180deg, rgba(201,169,106,0.03) 0%, transparent 100%);
    color: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.hero-ed__plate::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201,169,106,0.15);
    pointer-events: none;
}
.hero-ed__engrave {
    width: 60%;
    height: auto;
    color: var(--gold);
    opacity: 0.85;
    margin: 0 auto;
}
.hero-ed__plate-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding-top: var(--s-4);
    border-top: 1px solid rgba(201,169,106,0.15);
    width: 80%;
}
.plate-caption__k {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted-light);
    font-weight: 500;
}
.plate-caption__v {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--ivory);
    letter-spacing: 0.06em;
    line-height: 1;
    margin: 4px 0 6px;
}
.plate-dash {
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--gold);
    margin: 0 6px;
    vertical-align: middle;
    opacity: 0.6;
}

.hero-ed__scroll {
    position: absolute;
    bottom: var(--s-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: var(--s-3);
    color: var(--gold);
    z-index: 3;
}
.hero-ed__scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, var(--gold));
    animation: line-slide 2.4s var(--ease) infinite;
}
@keyframes line-slide {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-ed__scroll-text {
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

/* ============================================================
   3.  ETHOS SECTION
   ============================================================ */
.ethos {
    position: relative;
    padding: var(--s-10) var(--s-5);
    background: var(--ivory);
    text-align: center;
    overflow: hidden;
}
.ethos::before,
.ethos::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 60%; max-width: 500px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}
.ethos::before { top: 0; }
.ethos::after  { bottom: 0; }
.ethos > .orn-corner { color: var(--gold); opacity: 0.5; }

.ethos__meta {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-6);
}
.ethos__sanskrit {
    font-family: var(--font-hindi);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--charcoal);
    margin: 0 0 var(--s-3);
    line-height: 1.15;
    letter-spacing: 0.06em;
}
.ethos__translation {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-deep);
    margin: 0 0 var(--s-5);
    letter-spacing: 0.02em;
}
.ethos__flourish {
    display: flex; align-items: center; justify-content: center;
    gap: var(--s-3);
    color: var(--gold);
    margin-bottom: var(--s-6);
}
.ethos__flourish-line {
    width: 100px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ethos__body {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto var(--s-5);
    font-style: italic;
}
.ethos__attrib {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0;
}

/* ============================================================
   4.  EDITORIAL PRACTICE AREAS
   ============================================================ */
.practice-ed {
    padding: var(--s-10) 0;
    background: var(--charcoal);
    color: var(--text-on-dark);
    position: relative;
}
.practice-ed::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.practice-ed__head {
    max-width: 1200px;
    margin: 0 auto var(--s-8);
    padding: 0 var(--s-5);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: var(--s-6);
}
.practice-ed__meta {
    display: inline-flex;
    align-items: center; gap: var(--s-3);
}
.practice-ed__meta .section-mark {
    color: var(--gold); border-color: var(--gold);
}
.practice-ed__meta .section-mark__label { color: var(--gold); }
.practice-ed__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--ivory);
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-align: center;
}
.practice-ed__title em {
    color: var(--gold);
    font-style: italic;
}
.practice-ed__lede {
    color: var(--muted-light);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 280px;
    margin: 0;
    text-align: right;
}

.practice-ed__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-5);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--s-6);
    align-items: start;
}

/* Featured card */
.practice-featured {
    position: relative;
    padding: var(--s-8) var(--s-6) var(--s-6);
    border: 1px solid rgba(201,169,106,0.25);
    background: linear-gradient(180deg, rgba(201,169,106,0.04) 0%, transparent 100%);
    color: var(--ivory);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.practice-featured::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 3px; height: 40px;
    background: var(--gold);
}
.practice-featured__num {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: var(--s-6);
}
.practice-featured__icon {
    width: 60px; height: 60px;
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--s-5);
    border: 1px solid var(--gold);
    border-radius: 50%;
}
.practice-featured__icon svg { width: 26px; height: 26px; }
.practice-featured__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ivory);
    margin: 0 0 var(--s-4);
    line-height: 1.15;
}
.practice-featured__text {
    color: var(--muted-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--s-6);
    flex-grow: 1;
}
.practice-featured__link {
    display: inline-flex; align-items: center; gap: var(--s-3);
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: var(--s-4);
    border-top: 1px solid rgba(201,169,106,0.2);
    transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.practice-featured__link:hover {
    gap: var(--s-4);
    color: var(--ivory);
}
.practice-featured__link svg { width: 14px; height: 14px; }

/* Rest rows */
.practice-ed__rest {
    display: flex; flex-direction: column;
}
.practice-row {
    display: grid;
    grid-template-columns: auto 44px 1fr auto;
    align-items: center;
    gap: var(--s-5);
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--charcoal-line);
    transition: padding var(--dur) var(--ease);
    cursor: default;
}
.practice-row:first-child { border-top: 1px solid var(--charcoal-line); }
.practice-row:hover {
    padding-left: var(--s-3);
}
.practice-row:hover .practice-row__title { color: var(--gold); }
.practice-row:hover .practice-row__arrow { color: var(--gold); transform: translateX(4px); }
.practice-row__num {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold-deep);
    letter-spacing: 0.15em;
    min-width: 28px;
}
.practice-row__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(201,169,106,0.25);
    border-radius: 50%;
    transition: border-color var(--dur) var(--ease);
}
.practice-row:hover .practice-row__icon { border-color: var(--gold); }
.practice-row__icon svg { width: 20px; height: 20px; }
.practice-row__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--ivory);
    margin: 0 0 4px;
    transition: color var(--dur) var(--ease);
}
.practice-row__text {
    color: var(--muted-light);
    font-size: 0.9rem;
    margin: 0; line-height: 1.55;
}
.practice-row__arrow {
    color: var(--muted);
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.practice-row__arrow svg { width: 18px; height: 18px; }

.practice-ed__note {
    max-width: 1200px; margin: var(--s-7) auto 0;
    padding: 0 var(--s-5);
    color: var(--muted);
    font-size: 0.8rem;
    font-style: italic;
    display: flex; align-items: center; gap: var(--s-3);
}
.practice-ed__note-mark {
    width: 30px; height: 1px; background: var(--gold-deep); opacity: 0.5;
    flex-shrink: 0;
}
.practice-ed__note code {
    background: rgba(201,169,106,0.08);
    padding: 2px 6px;
    border-radius: 2px;
    color: var(--gold);
    font-size: 0.78rem;
}

/* Preserve old section variants used elsewhere */
.about__meta {
    display: inline-flex;
    align-items: center; gap: var(--s-3);
    margin-bottom: var(--s-5);
}

/* ============================================================
   5.  RESPONSIVE — editorial layouts
   ============================================================ */
@media (max-width: 1024px) {
    .hero-ed__inner {
        grid-template-columns: 1fr;
        gap: var(--s-8);
        text-align: left;
    }
    .hero-ed__aside {
        display: flex;
        justify-content: center;
    }
    .hero-ed__plate { margin: 0 auto; max-width: 320px; }

    .practice-ed__head {
        grid-template-columns: 1fr;
        gap: var(--s-4);
        text-align: center;
    }
    .practice-ed__title { text-align: center; }
    .practice-ed__lede { max-width: none; text-align: center; margin: 0 auto; }
    .practice-ed__meta { justify-content: center; }
    .practice-ed__grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

@media (max-width: 768px) {
    .hero-ed { padding-top: 110px; min-height: auto; }
    .hero-ed__inner { padding: 0 var(--s-5); }
    .hero-ed__name-last { padding-left: 0.6em; }
    .hero-ed__ctas .btn { flex: 1 1 100%; }
    .hero-ed__factbar { grid-template-columns: 1fr; gap: var(--s-3); }
    .hero-ed__quote { padding: 0 var(--s-4); font-size: 1.3rem; }
    .hero-ed__plate { max-width: 280px; padding: 32px 24px 24px; }

    .practice-row {
        grid-template-columns: 32px 40px 1fr;
        gap: var(--s-3);
        padding: var(--s-4) 0;
    }
    .practice-row__arrow { display: none; }
    .practice-featured { padding: var(--s-6) var(--s-5); }
    .practice-featured__title { font-size: 1.65rem; }

    .ethos__body { font-size: 1.05rem; }
    .ethos__flourish-line { width: 60px; }
}

/* ============================================================
   6.  FOOTER — KarmaTeQ credit strip
   ============================================================ */
.footer__credit {
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(201,169,106,0.12);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}
.footer__credit a {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.24em;
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    margin-left: var(--s-3);
    transition: color var(--dur) var(--ease);
}
.footer__credit a:hover { color: var(--ivory); }
.footer__credit-mark {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(201,169,106,0.15);
}

/* ============================================================
   7.  TEXT-ONLY BRAND (nav + footer) — no SVG mark
   ============================================================ */
.brand--text {
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;              /* never let it wrap or squeeze */
}
.brand__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--ivory);
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;         /* keep "Adv. Deepshikha Mishra" on one line */
    transition: color var(--dur-fast) var(--ease);
}
.brand__wordmark .brand__name { white-space: nowrap; }
.brand--text:hover .brand__wordmark { color: var(--gold); }
.brand__prefix {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.brand__wordmark .brand__name {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    color: inherit;
    letter-spacing: 0.02em;
}
.footer__brand .brand__wordmark .brand__name { font-size: 1.35rem; color: var(--ivory); }
.footer__brand .brand__prefix { font-size: 1.05rem; }
@media (max-width: 768px) {
    .brand__prefix { font-size: 0.9rem; }
    .brand__wordmark .brand__name { font-size: 1.1rem; }
}

/* ============================================================
   8.  HERO — Nyaya Devi portrait replacement
   ============================================================ */
.hero-ed__portrait {
    position: relative;
    margin: 0 0 0 auto;
    max-width: 400px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(201,169,106,0.35);
    background: #0A0A0C;
    color: var(--gold);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.hero-ed__portrait::before {
    content: "";
    position: absolute; inset: 10px;
    border: 1px solid rgba(201,169,106,0.18);
    pointer-events: none;
    z-index: 3;
}
.hero-ed__portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(0.9) contrast(1.05);
    transform: scale(1.02);
    transition: transform 1.6s var(--ease);
}
.hero-ed__portrait:hover img { transform: scale(1.06); }
.hero-ed__portrait-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center top, transparent 45%, rgba(0,0,0,0.55) 100%),
        linear-gradient(180deg, transparent 55%, rgba(15,15,16,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-ed__portrait .hero-ed__plate-caption {
    position: absolute;
    left: 50%; bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    padding-top: var(--s-4);
    width: 76%;
}
.hero-ed__portrait .plate-caption__v { color: var(--ivory); }

/* ============================================================
   9.  ETHOS — 2-column with courtroom figure
   ============================================================ */
.ethos-ed {
    position: relative;
    padding: var(--s-10) 0;
    background: var(--ivory);
    overflow: hidden;
}
.ethos-ed::before,
.ethos-ed::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 60%; max-width: 500px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}
.ethos-ed::before { top: 0; }
.ethos-ed::after  { bottom: 0; }
.ethos-ed > .orn-corner { color: var(--gold); opacity: 0.45; }

.ethos-ed__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-9);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-5);
}
.ethos-ed__text { max-width: 520px; }
.ethos-ed__meta {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
}
.ethos-ed__sanskrit {
    font-family: var(--font-hindi);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--charcoal);
    margin: 0 0 var(--s-3);
    line-height: 1.15;
    letter-spacing: 0.06em;
}
.ethos-ed__translation {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-deep);
    margin: 0 0 var(--s-5);
    letter-spacing: 0.02em;
}
.ethos-ed__flourish {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--gold);
    margin-bottom: var(--s-5);
}
.ethos-ed__flourish-line { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ethos-ed__body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 var(--s-5);
    font-style: italic;
}
.ethos-ed__attrib {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0;
}

.ethos-ed__figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(201,169,106,0.35);
    box-shadow: var(--shadow-lg);
    color: var(--gold);
    background: #0F0F10;
}
.ethos-ed__figure::before {
    content: "";
    position: absolute; inset: 10px;
    border: 1px solid rgba(201,169,106,0.15);
    z-index: 2; pointer-events: none;
}
.ethos-ed__figure img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02) brightness(0.95);
    transform: scale(1.02);
    transition: transform 1.8s var(--ease);
}
.ethos-ed__figure:hover img { transform: scale(1.06); }
.ethos-ed__caption {
    position: absolute;
    left: 24px; right: 24px; bottom: 24px;
    z-index: 3;
    color: var(--ivory);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    text-align: center;
    padding-top: var(--s-3);
    text-shadow: 0 1px 12px rgba(0,0,0,0.7);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55) 100%);
    padding: var(--s-4);
}
.ethos-ed__caption-line {
    display: block;
    width: 30px; height: 1px;
    background: var(--gold);
    margin: 0 auto var(--s-2);
}

/* Hide old ethos styles (superseded but preserved for safety) */
.ethos { display: none; }

/* ============================================================
   10.  PRACTICE FEATURED — with law-books photo
   ============================================================ */
.practice-featured {
    padding: 0;                       /* image now flush to top */
    overflow: hidden;
    background: linear-gradient(180deg, rgba(201,169,106,0.04) 0%, transparent 100%);
}
.practice-featured::before {
    top: 0; left: 0;
    width: 3px; height: 60px;
    z-index: 4;
}
.practice-featured__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0A0A0C;
}
.practice-featured__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.02) brightness(0.85);
    transform: scale(1.02);
    transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.practice-featured:hover .practice-featured__image img {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.05) brightness(0.9);
}
.practice-featured__image-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,15,16,0.7) 100%);
    pointer-events: none;
    z-index: 1;
}
.practice-featured__image .practice-featured__num {
    position: absolute;
    top: var(--s-5); left: var(--s-6);
    margin: 0;
    z-index: 2;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.24em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.practice-featured__body {
    padding: var(--s-6) var(--s-6) var(--s-6);
    display: flex; flex-direction: column;
    flex-grow: 1;
}
.practice-featured__body .practice-featured__title { margin-top: 0; }
.practice-featured__body .practice-featured__text { flex-grow: 1; }

/* ============================================================
   11.  RESPONSIVE — new image blocks
   ============================================================ */
@media (max-width: 1024px) {
    .ethos-ed__grid { grid-template-columns: 1fr; gap: var(--s-7); }
    .ethos-ed__figure { max-width: 520px; margin: 0 auto; }
    .ethos-ed__text   { max-width: 620px; margin: 0 auto; text-align: left; }
}
@media (max-width: 768px) {
    .hero-ed__portrait { max-width: 320px; margin: 0 auto; }
    .practice-featured__body { padding: var(--s-5); }
    .ethos-ed__figure { max-width: none; }
}

