/* NMSK Legals: nmsklegals.com. Off-white ground, gold lettering. */

@font-face { font-family: 'NMSK Sans'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-ext-wght-normal.34b9c504ca.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'NMSK Sans'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-wght-normal.3100e775e8.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'NMSK Serif'; font-style: normal; font-display: swap; font-weight: 200 900; src: url('/assets/fonts/source-serif-4-latin-ext-wght-normal.d10ccbbd0d.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'NMSK Serif'; font-style: normal; font-display: swap; font-weight: 200 900; src: url('/assets/fonts/source-serif-4-latin-wght-normal.382475f382.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'NMSK Devanagari'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/noto-sans-devanagari-devanagari-wght-normal.3b3cae4d26.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'NMSK Devanagari Serif'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/noto-serif-devanagari-devanagari-wght-normal.bab9ee27c0.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }

:root {
  --paper: #FBF8F2;
  --band: #F3EDE2;
  --card: #FFFFFF;
  --line: #E6DCC8;
  --rule: #D8C59A;
  --rule-gold: #C9A85C;
  --ink: #2A2622;
  --ink-soft: #4A433C;
  --muted: #6B6259;
  --gold: #7A5A1C;
  --gold-display: #8A6A23;
  --gold-deep: #5F440F;
  --sans: 'NMSK Sans', 'NMSK Devanagari', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --serif: 'NMSK Serif', 'NMSK Devanagari Serif', Georgia, 'Times New Roman', serif;
  --deva: 'NMSK Devanagari', 'NMSK Sans', 'Nirmala UI', 'Kohinoor Devanagari', 'Noto Sans Devanagari', system-ui, sans-serif;
  --deva-serif: 'NMSK Devanagari Serif', 'NMSK Serif', 'Nirmala UI', 'Kohinoor Devanagari', serif;
  --system-deva: 'Nirmala UI', 'Kohinoor Devanagari', 'Noto Sans Devanagari', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[lang="hi"] { font-family: var(--deva); }
html[lang="hi"] body { font-family: var(--deva); line-height: 1.75; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .serif { font-family: var(--deva-serif); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.skip-link { position: absolute; left: 12px; top: -100px; z-index: 50; padding: 10px 16px; background: var(--card); border: 1px solid var(--gold); border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-lg { width: 28px; height: 28px; }
.icon-sm { width: 18px; height: 18px; stroke-width: 2; }

/* top line */
.topbar { background: var(--band); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--muted); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 6px; padding-bottom: 6px; }
.topbar-end { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.topbar a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.topbar a:hover { color: var(--gold); }
.lang { display: flex; align-items: center; gap: 10px; }
.lang .current { color: var(--gold); font-weight: 600; }
.lang .sep { color: #9A8F84; }
.lang a[lang="hi"] { font-size: 14px; }
html[lang="en"] a[lang="hi"] { font-family: var(--system-deva); }
@media (max-width: 640px) { .topbar-place { display: none; } .topbar .wrap { justify-content: flex-start; } }

/* header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 68px; }
.brand-name { display: block; font-family: var(--serif); font-size: 27px; line-height: 32px; font-weight: 600; color: var(--gold-display); letter-spacing: 0.005em; }
.brand-tag { display: block; font-size: 11px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
html[lang="hi"] .brand-tag { font-size: 13px; letter-spacing: 0; text-transform: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-top: 2px; border-bottom: 2px solid transparent; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); font-weight: 600; border-bottom-color: var(--rule-gold); }
@media (max-width: 640px) {
  .brand img { width: 54px; }
  .brand-name { font-size: 23px; line-height: 28px; }
  .nav { gap: 0 18px; }
  .nav a { font-size: 15px; }
}

/* text pieces */
.eyebrow { margin: 0; font-size: 12px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
html[lang="hi"] .eyebrow { font-size: 14px; letter-spacing: 0; text-transform: none; }
h2.title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 40px); line-height: 1.2; letter-spacing: -0.005em; color: var(--gold-display); }
.lead { margin: 0; font-size: 17px; line-height: 28px; color: var(--muted); }
.section { padding: 88px 0; }
.section-band { background: var(--band); }
.section-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 660px; margin-bottom: 40px; }
@media (max-width: 640px) { .section { padding: 56px 0; } .section-head { margin-bottom: 28px; } }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gold); text-decoration: none; }
.more:hover { color: var(--gold-deep); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 4px; font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-solid { background: var(--gold); color: #FFFFFF; }
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #FFFFFF; }
.btn-line { background: transparent; color: var(--gold); }
.btn-line:hover { background: var(--band); color: var(--gold-deep); }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }

/* home hero */
.hero { padding: 28px; }
.hero-frame { max-width: 1256px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; border: 1px solid var(--rule); box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--line); }
.hero-text { flex: 1 1 440px; max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6vw, 78px); line-height: 1.04; letter-spacing: -0.01em; color: var(--gold-display); }
.hero .sub { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 32px; color: var(--gold); }
html[lang="hi"] .hero .sub { font-family: var(--deva-serif); }
.hero p.intro { margin: 0; max-width: 540px; font-size: 18px; line-height: 30px; color: var(--ink-soft); }
.hero .actions { margin-top: 10px; }
.hero-mark { flex: 0 1 420px; display: flex; justify-content: center; }
.hero-mark img { width: 100%; max-width: 420px; }
@media (max-width: 640px) {
  .hero { padding: 14px; }
  .hero-frame { gap: 24px; }
  .hero-mark { order: -1; flex-basis: 100%; }
  .hero-mark img { max-width: 230px; }
}

/* at a glance */
.glance { background: var(--card); border-bottom: 1px solid var(--line); }
.glance .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 28px 48px; padding-top: 36px; padding-bottom: 36px; }
.glance-item { display: flex; flex-direction: column; gap: 6px; }
.glance .value { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 30px; color: var(--ink); }
html[lang="hi"] .glance .value { font-family: var(--deva); font-size: 18px; }
.glance .value a { color: var(--ink); text-decoration: none; }
.glance .value a:hover { color: var(--gold); }
.glance .note { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }

/* areas of practice */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); column-gap: 64px; border-bottom: 1px solid var(--line); }
.areas li { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.areas .num { width: 28px; flex-shrink: 0; font-family: var(--serif); font-size: 15px; line-height: 28px; color: var(--gold); }
.areas h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--ink); }
.areas p { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--muted); }

/* two columns that stack */
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; }
.split-narrow { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split-wide { flex: 2 1 480px; min-width: 0; }
.split-main { flex: 2 1 600px; min-width: 0; }
.split-side { flex: 1 1 300px; min-width: 0; }

/* particulars */
.particulars { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); column-gap: 48px; }
.particulars > div { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.particulars dt { margin: 0; font-size: 12px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
html[lang="hi"] .particulars dt { font-size: 14px; letter-spacing: 0; text-transform: none; }
.particulars dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 28px; color: var(--ink); }
html[lang="hi"] .particulars dd { font-family: var(--deva); font-size: 17px; }

.rows { margin: 0; border-bottom: 1px solid var(--line); }
.rows > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows dt { flex: 0 0 160px; margin: 0; font-size: 12px; line-height: 28px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
html[lang="hi"] .rows dt { font-size: 14px; letter-spacing: 0; text-transform: none; }
.rows dd { flex: 1 1 260px; margin: 0; font-size: 17px; line-height: 28px; color: var(--ink); }
.rows dd a { color: var(--ink); }
.rows dd a:hover { color: var(--gold); }
.nowrap { white-space: nowrap; }
.rows dd .soft { display: block; font-size: 15px; line-height: 24px; color: var(--muted); }
.rows-wide dt { flex-basis: 300px; }
.rows-wide dd { font-size: 18px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px 56px; }
.feature { display: flex; flex-direction: column; gap: 10px; color: var(--gold); }
.feature h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--ink); }
.feature p { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.note-text { margin: 36px 0 0; max-width: 860px; font-size: 17px; line-height: 28px; color: var(--ink); }

.items { display: flex; flex-direction: column; gap: 28px; }
.item { display: flex; gap: 16px; align-items: flex-start; color: var(--gold); }
.item h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--ink); }
.item p { margin: 6px 0 0; font-size: 16px; line-height: 26px; color: var(--muted); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 640px) { .card { padding: 24px 20px; } }
.card h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 36px; color: var(--gold-display); }
.card .big { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 32px; color: var(--ink); }
.card .small { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }
.card hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.signed { font-weight: 600; }
.signed span { font-weight: 400; color: var(--muted); }

.place { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--gold); }
.place strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 28px; color: var(--ink); }
.place span { display: block; font-size: 14px; line-height: 22px; color: var(--muted); }

/* sample client message */
.message { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.message p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink); }
.message p[lang="hi"] { line-height: 26px; }
.message .foot { font-size: 13px; line-height: 20px; color: var(--muted); }
.message .replies { display: flex; flex-direction: column; gap: 8px; }
.message .reply { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--gold); font-size: 15px; line-height: 22px; font-weight: 600; }
.caption { margin: 10px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 48px; }
.notes > div { padding-top: 18px; border-top: 1px solid var(--line); }
.notes h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 26px; color: var(--ink); }
.notes p { margin: 8px 0 0; font-size: 15px; line-height: 24px; color: var(--ink-soft); }

/* inner page title */
.page-title { padding: 72px 0 48px; }
.page-title .wrap > div { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.page-title h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 56px); line-height: 1.12; letter-spacing: -0.01em; color: var(--gold-display); }
.page-title p { margin: 0; font-size: 18px; line-height: 30px; color: var(--muted); }
@media (max-width: 640px) { .page-title { padding: 44px 0 32px; } }
.page-body { padding: 8px 0 96px; }
@media (max-width: 640px) { .page-body { padding-bottom: 64px; } }

.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 8px; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 32px; color: var(--gold-display); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 28px; color: var(--ink-soft); }
.prose ul { padding-left: 22px; }

/* footer */
.site-footer { background: var(--band); border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--ink-soft); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer-brand { flex: 2 1 320px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand img { width: 56px; }
.footer-brand .brand-name { font-size: 23px; line-height: 28px; }
.footer-brand p { margin: 0; max-width: 360px; font-size: 14px; line-height: 22px; color: var(--muted); }
.footer-col { flex: 1 1 170px; display: flex; flex-direction: column; }
.footer-col .eyebrow { margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink-soft); text-decoration: none; font-size: 15px; line-height: 22px; }
.footer-col a:hover { color: var(--gold); }
.footer-col img { width: 22px; height: 22px; border-radius: 5px; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 21px; color: var(--muted); }
.footer-legal p { margin: 0; max-width: 880px; }

/* first-visit notice */
dialog.notice { width: calc(100% - 32px); max-width: 660px; max-height: calc(100% - 32px); overflow: auto; padding: 40px 48px 34px; border: 0; border-radius: 10px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(70, 52, 20, 0.22); }
dialog.notice::backdrop { background: rgba(42, 38, 34, 0.55); }
@media (max-width: 640px) { dialog.notice { padding: 26px 20px 22px; } }
.notice-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.notice-top .brand img { width: 52px; }
.notice-top .brand-name { font-size: 22px; line-height: 28px; }
.notice h2 { margin: 22px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 40px; color: var(--gold-display); }
html[lang="hi"] .notice h2 { font-family: var(--deva-serif); font-size: 28px; }
.notice p { margin: 0; color: var(--ink-soft); }
.notice ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.notice li { display: flex; gap: 14px; align-items: flex-start; }
.notice li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; background: var(--rule-gold); flex-shrink: 0; }
.notice .actions { margin-top: 24px; }
.notice .small { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); }

/* 404 */
.lost { padding: 96px 0 120px; }
.lost .wrap > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.lost h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 52px; color: var(--gold-display); }
.lost p { margin: 0; font-size: 18px; line-height: 30px; color: var(--ink-soft); }

@media print {
  .topbar, .nav, .actions, dialog.notice, .skip-link { display: none !important; }
  body { background: #FFFFFF; }
  .hero-frame { box-shadow: none; }
}
