@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --stone: #f3eee5;
  --ink: #302522;
  --muted: #655c56;
  --line: #d9cfc3;
  --wine: #501f30;
  --wine-dark: #3c1724;
  --copper: #885741;
  --gold: #ebc69e;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, summary, input[type="checkbox"] { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
button { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #965b27; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #ead0b6; color: #32121d; }
.wrap { width: min(100% - clamp(2.5rem, 11.1vw, 10rem), 78rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: .75rem; left: .75rem; z-index: 15; padding: .65rem 1rem; color: var(--paper); background: var(--wine); }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 em, h2 em { font-weight: 400; }
h2 { font-size: clamp(2.75rem, 4.6vw, 4.6rem); letter-spacing: -.025em; line-height: 1.04; }
h3 { line-height: 1.15; }
main:focus { outline: 0; }

/* Shared masthead */
.site-header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 5.1rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; text-decoration: none; color: var(--wine); }
.brand img { width: 2.65rem; height: auto; }
.brand-type { display: grid; align-content: center; gap: .12rem; }
.brand-name { font: 400 2.2rem/.91 var(--serif); letter-spacing: -.025em; }
.brand-sub { font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .13em; }
.primary-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1.35rem, 2.7vw, 2.8rem); }
.primary-nav a, .site-footer nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; }
.primary-nav a { position: relative; padding-block: .55rem; }
.primary-nav a:hover, .primary-nav [aria-current="page"], .site-footer nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .42em; text-decoration-thickness: 1px; }
.primary-nav .office-link { padding: .65rem 1.1rem; border: 1px solid #9a7681; border-radius: .13rem; color: var(--wine); }
.primary-nav .office-link:hover { background: var(--wine); color: var(--paper); text-decoration: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid var(--line); background: transparent; border-radius: .125rem; color: var(--wine); font-weight: 600; }
.menu-lines { position: relative; width: 1rem; height: .6rem; border-block: 1.5px solid currentColor; }

/* Cover */
.hero { background: radial-gradient(ellipse at 80% 30%, #572735 0, #491e2c 44%, #3d1825 100%); color: var(--paper); }
.hero-inner { min-height: clamp(31rem, 39vw, 38rem); display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(1.8rem, 4.8vw, 5rem); padding-block: clamp(2.5rem, 3.8vw, 4rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; font: 600 .79rem/1.35 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--copper); }
.rule { position: relative; display: inline-block; flex: none; width: 1.9rem; height: 1px; background: currentColor; }
.rule::after { content: ""; position: absolute; width: .25rem; height: .25rem; right: 0; top: 50%; background: currentColor; transform: translateY(-50%) rotate(45deg); }
.hero-location { color: var(--gold); }
.hero h1 { margin: clamp(1.3rem, 2vw, 2rem) 0 1.5rem; font-size: clamp(5rem, 8.45vw, 8.5rem); line-height: .88; letter-spacing: -.027em; }
.hero h1 em { display: inline-block; color: var(--gold); padding-bottom: .045em; }
.hero-intro { color: #f1e4dd; font-size: clamp(1.02rem, 1.24vw, 1.16rem); line-height: 1.63; max-width: 25rem; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.6rem; margin-top: 1.85rem; }
.button { min-height: 3.05rem; display: inline-flex; justify-content: center; align-items: center; gap: .6rem; padding: .72rem 1.35rem; border: 1px solid transparent; border-radius: .15rem; font-size: .94rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.button-paper { color: var(--wine-dark); background: #f7eedd; }
.button-paper:hover { background: #fffaf1; }
.button-wine { background: var(--wine); color: white; }
.button-wine:hover { background: #693044; }
.hero-text-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.9rem; color: #fbf3e8; font-size: .94rem; font-weight: 500; text-decoration: none; }
.hero-text-link .icon { color: var(--gold); }
.hero-text-link:hover { text-decoration: underline; text-underline-offset: .35em; }
.hero a:focus-visible { outline-color: #f9d1a5; }
.hero-art { width: 100%; max-width: 35.8rem; justify-self: end; }
.arch-frame { --arch: 50% 50% .1rem .1rem / 62% 62% .1rem .1rem; border: 1px solid #b28d71; padding: .43rem; border-radius: var(--arch); }
.arch-print { overflow: hidden; aspect-ratio: 1.43; border-radius: var(--arch); background: #f3dfbf; }
.arch-print img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-art figcaption { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: .85rem; color: #e6cbbb; font: italic 1.12rem/1.2 var(--serif); letter-spacing: .025em; }
.hero-art figcaption span { width: 2rem; height: 1px; background: #a57c6c; }

/* Visitor directory and chambers */
.directory { padding-block: clamp(3.1rem, 4.8vw, 5.2rem) clamp(3.8rem, 5.4vw, 6rem); }
.section-heading h2, .chambers-grid h2 { margin-top: .8rem; }
.section-heading h2 em, .chambers-grid h2 em, .inner-hero h1 em { color: var(--wine); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.95rem, 1.65vw, 1.55rem); margin-top: clamp(1.6rem, 2.3vw, 2.15rem); }
.directory-card { position: relative; display: block; padding: clamp(1.35rem, 2vw, 2.15rem); border: 1px solid var(--line); background: #fdfbf6; text-decoration: none; color: var(--ink); transition: border-color .15s, background-color .15s; }
.directory-card:hover, .directory-card:focus-visible { border-color: #997d70; background: #f6efe5; }
.directory-card:hover h3, .directory-card:focus-visible h3 { color: var(--wine); text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.card-icon { display: inline-grid; place-items: center; width: 2.85rem; height: 2.85rem; background: #f0e7dc; color: #714331; border-radius: .12rem; }
.card-icon .icon { width: 1.75rem; height: 1.75rem; }
.directory-card h3 { font-size: clamp(1.8rem, 2.45vw, 2.45rem); margin: 1.05rem 0 .48rem; letter-spacing: -.018em; }
.directory-card p, .office-note p, .side-note p, .section-sub, .resource-row > span:nth-child(2) > span, .check-item > span > span, .prose p { color: var(--muted); }
.directory-card p { max-width: 31ch; line-height: 1.55; }
.chambers-section { border-block: 1px solid var(--line); background: var(--stone); padding-block: clamp(3.5rem, 5.5vw, 6.1rem); }
.chambers-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: clamp(2rem, 7vw, 7.5rem); }
.section-intro { max-width: 31rem; font-size: 1.125rem; color: var(--muted); margin-top: 1.15rem; }
.office-note { border-left: 1px solid #c9b7a5; padding-left: clamp(1.8rem, 4vw, 4.1rem); }
.location-title { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.location-title h3 { font-size: 2rem; }
.small-icon { display: inline-flex; color: var(--copper); }
.office-note p { max-width: 45ch; }
.text-link { display: inline-block; color: var(--wine); font-size: .96rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.text-link:hover { text-decoration-thickness: 2px; }
.office-note .text-link, .side-note .text-link, .profile-link { margin-top: 1rem; }

/* Interior pages */
.inner-hero { padding: 1.4rem 0 clamp(2.7rem, 4.8vw, 4.6rem); background: var(--stone); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: .7rem; align-items: center; color: var(--muted); padding-block: .25rem; margin-bottom: clamp(1.6rem, 3.1vw, 3.15rem); font-size: .875rem; }
.breadcrumbs a { color: var(--wine); }
.inner-hero h1 { font-size: clamp(3.8rem, 7vw, 7.2rem); line-height: .97; letter-spacing: -.035em; margin: .9rem 0 1rem; }
.inner-hero .wrap > p:last-of-type:not(.eyebrow) { max-width: 38rem; color: var(--muted); font-size: 1.12rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, .85fr); align-items: start; gap: clamp(2.5rem, 6.2vw, 6.8rem); padding-block: clamp(3rem, 5vw, 5.6rem); }
.content-grid h2, .prose h2 { font-size: clamp(2.05rem, 3.15vw, 3.25rem); }
.side-note { border-top: 2px solid #a4775d; background: var(--stone); padding: clamp(1.3rem, 2.25vw, 2.4rem); }
.side-note h2 { font-size: clamp(1.9rem, 2.45vw, 2.45rem); margin: .9rem 0 .6rem; }
.checklist-heading { display: flex; gap: .7rem; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.count { font-size: .94rem; font-weight: 600; color: var(--wine); }
.section-sub { margin: .6rem 0 1.5rem; }
.check-items { padding: 0; margin: 0; border: 0; min-width: 0; }
.check-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem .2rem; border-top: 1px solid var(--line); cursor: pointer; }
.check-item:last-child, .resource-row:last-child { border-bottom: 1px solid var(--line); }
.check-item:hover { background: #f5f0e8; }
.check-item input { width: 1.28rem; height: 1.28rem; margin: .28rem 0 0; flex: none; accent-color: var(--wine); }
.check-item > span, .resource-row > span:nth-child(2) { display: grid; gap: .2rem; }
.check-item strong { font-size: 1.1rem; font-weight: 600; }
.print-actions { margin-top: 1.6rem; }
.resource-group + .resource-group { margin-top: 2.6rem; }
.resource-group h2 { margin-bottom: 1rem; }
.resource-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.12rem; padding: 1.25rem .1rem; align-items: start; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.resource-row > .icon { width: 1.05rem; height: 1.05rem; margin-top: .45rem; color: var(--copper); }
.resource-row strong { font: 400 1.72rem/1.2 var(--serif); }
.resource-row small { color: var(--copper); font-size: .85rem; }
.resource-row:hover strong { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1px; }
.prose-region { padding-block: clamp(3rem, 5vw, 5.4rem); }
.prose { max-width: 45rem; }
.prose h2 { margin-bottom: .7rem; }
.prose p + h2 { margin-top: 2.15rem; }
.prose .text-link, .not-found .button { margin-top: 1.7rem; }
.not-found { padding-block: clamp(5rem, 10vw, 10rem); }

/* Advocate profile and practice index */
.profile-areas { margin: .7rem 0 0; padding-left: 1.2rem; }
.profile-areas li + li { margin-top: .35rem; }
.profile-areas a, .court-list a, .practice-index a { color: var(--wine); text-decoration-thickness: 1px; }
.court-list, .practice-index ul { list-style: none; margin: 0; padding: 0; }
.court-list li { border-top: 1px solid var(--line); }
.court-list li:last-child { border-bottom: 1px solid var(--line); }
.court-list a { display: block; padding: .75rem 0; font-weight: 500; }
.practice-layout { display: grid; grid-template-columns: minmax(14rem, .75fr) minmax(0, 2fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(2.75rem, 4.5vw, 5.4rem); }
.practice-index { background: var(--stone); border-top: 2px solid #a4775d; padding: 1.3rem 1.5rem; }
.practice-index h2 { font-size: 2.1rem; margin-bottom: .65rem; }
.practice-index a { display: block; padding: .43rem 0; }
.practice-entries section { max-width: 47rem; border-top: 1px solid var(--line); padding-block: 1.7rem; }
.practice-entries section:first-child { border-top: 0; padding-top: 0; }
.practice-entries section:last-child { padding-bottom: 0; }
.practice-entries h2 { font-size: clamp(2.15rem, 3.2vw, 3.3rem); margin-bottom: .65rem; }
.practice-entries section:target h2 { color: var(--wine); }
.practice-entries p, .practice-entries li { color: var(--muted); }
.practice-entries ul { margin: 0; padding-left: 1.25rem; }
.practice-entries li { padding-left: .2rem; }
.practice-entries li + li { margin-top: .45rem; }
.practice-entries li::marker { color: var(--copper); }
.practice-entries .text-link { margin-top: .65rem; }

/* Footer */
.site-footer { background: var(--paper); }
.footer-main, .footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; }
.footer-main { padding-block: 2rem; }
.site-footer nav { gap: 1.5rem; flex-wrap: wrap; }
.footer-base { padding-block: 1.1rem 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (max-width: 900px) {
  .hero-inner { gap: 1.5rem; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(4.9rem, 9vw, 6rem); }
  .hero-actions { gap: .6rem 1.1rem; }
  .arch-print { aspect-ratio: 1.18; }
  .content-grid { gap: 2rem; }
  .site-footer nav { gap: 1rem; }
}
@media (max-width: 70em) {
  .header-inner { min-height: 4.4rem; flex-wrap: wrap; gap: 0; padding-block: .65rem; }
  .brand img { width: 2.35rem; }
  .brand-name { font-size: 1.95rem; }
  .primary-nav { flex: 1 0 100%; align-items: stretch; flex-direction: column; gap: 0; margin-top: .6rem; border-top: 1px solid var(--line); }
  .primary-nav a, .primary-nav .office-link { padding: .7rem .15rem; border: 0; }
  .primary-nav .office-link:hover { color: var(--wine); background: transparent; text-decoration: underline; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - clamp(2.5rem, 8.8vw, 4rem)); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.9rem; min-height: auto; padding: clamp(2.3rem, 7vw, 3.6rem) 0 1.65rem; }
  .hero h1 { font-size: clamp(4.8rem, 15.6vw, 6.6rem); margin: 1.05rem 0; }
  .hero-intro { max-width: 31rem; font-size: 1.02rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-art { justify-self: center; max-width: 28rem; }
  .arch-print { aspect-ratio: 1.64; }
  .hero-art figcaption { margin-top: .65rem; }
  .directory { padding-block: 2.9rem 3rem; }
  .directory-grid, .chambers-grid, .content-grid, .practice-layout { grid-template-columns: 1fr; }
  .directory-grid { gap: .65rem; margin-top: 1.4rem; }
  .directory-card { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .25rem 1rem; padding: 1.15rem; }
  .directory-card .card-icon { grid-row: span 2; margin-top: .1rem; }
  .directory-card h3 { margin: 0; }
  .directory-card p { max-width: none; }
  .chambers-grid { gap: 1.5rem; }
  .office-note { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
  .content-grid { gap: 2.4rem; }
  .practice-layout { gap: 2rem; }
  .practice-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .footer-base { gap: .4rem 1rem; flex-wrap: wrap; align-items: start; }
  .inner-hero { padding-top: .9rem; }
  .eyebrow { letter-spacing: .12em; }
}
@media (max-width: 380px) {
  .hero-actions { column-gap: .75rem; }
  .hero-actions .button { padding-inline: .85rem; }
  .resource-row { gap: .75rem; }
  .resource-row .card-icon { width: 2.45rem; height: 2.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media print {
  @page { margin: 18mm; }
  body { color: black; background: white; font-size: 10.5pt; }
  .site-header, .site-footer, .skip-link, .breadcrumbs, .print-actions, .side-note, .count, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .inner-hero { background: white; padding: 0 0 5mm; }
  .page-visitor-guide .inner-hero .eyebrow { display: none; }
  .page-visitor-guide .inner-hero::before { content: "Sneha Law Chambers · Hyderabad"; display: block; color: #3c1724; margin-bottom: 3mm; }
  .inner-hero h1 { font-size: 35pt; margin: 0 0 3mm; }
  .inner-hero .wrap > p:last-of-type:not(.eyebrow) { font-size: 11pt; }
  .content-grid { display: block; padding-block: 6mm; }
  .content-grid h2 { font-size: 22pt; }
  .page-visitor-guide .section-sub { display: none; }
  .check-items { margin-top: 3mm; }
  .check-item { padding: 4mm 0; break-inside: avoid; }
  .check-item input { width: 12pt; height: 12pt; print-color-adjust: exact; }
  .check-item strong { font-size: 12pt; }
}
