:root {
  --ink: #121820;
  --ink-soft: #202936;
  --paper: #f1ede4;
  --paper-deep: #e5ddcf;
  --ivory: #fbfaf6;
  --white: #ffffff;
  --gold: #b78b3b;
  --gold-bright: #d3aa5d;
  --muted: #667078;
  --line: #d8d1c5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Aptos, "Segoe UI", Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --shadow: 0 24px 70px rgb(12 17 23 / 16%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

@font-face {
  font-family: "Linotte Utility";
  src: url("/assets/fonts/linotte-heavy.woff2") format("woff2");
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; z-index: -1; inset: 0; opacity: 0.42; pointer-events: none; background: radial-gradient(circle at 8% 4%, rgb(210 173 107 / 12%), transparent 22%), radial-gradient(circle at 92% 72%, rgb(18 24 32 / 7%), transparent 26%); }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.utility-bar { background: #0c1117; color: #c8cdd0; font-size: 0.75rem; letter-spacing: 0.035em; }
.utility-bar__inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.utility-bar p { margin: 0; }
.utility-bar__contact { display: flex; align-items: center; gap: 20px; }
.utility-bar__contact a + a { position: relative; }
.utility-bar__contact a + a::before { content: ""; position: absolute; top: 50%; left: -10px; width: 2px; height: 2px; border-radius: 50%; background: #68737b; transform: translateY(-50%); }
.utility-bar__contact a { display: inline-flex; align-items: center; }
.utility-bar a { color: #edf0f2; text-decoration: none; }
.utility-bar a:hover { color: var(--gold-bright); }

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: rgb(251 250 246 / 96%);
  border-bottom: 1px solid rgb(18 24 32 / 10%);
  backdrop-filter: blur(14px);
  transition: background 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}
.site-header::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(183 139 59 / 72%), transparent); opacity: 0; transform: scaleX(.78); transition: opacity 420ms ease, transform 420ms ease; }
.site-header.is-scrolled { background: rgb(251 250 246 / 88%); border-color: transparent; box-shadow: 0 12px 36px rgb(12 17 23 / 9%); }
.site-header.is-scrolled::after { opacity: 1; transform: scaleX(1); }
.header-main { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { width: 61px; height: 60px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px; }
.brand strong { font-family: var(--serif); font-size: 1.33rem; font-weight: 500; letter-spacing: 0.025em; line-height: 1.05; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: clamp(21px, 2.5vw, 38px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; color: #293139; font-family: "Linotte Utility", var(--sans); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.075em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); transform: scaleX(0); transform-origin: center; transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; }

.home-hero { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--ink); }
.home-hero__image { position: absolute; inset: -2%; background: linear-gradient(90deg, rgb(6 10 15 / 96%) 0%, rgb(6 10 15 / 81%) 43%, rgb(6 10 15 / 32%) 100%), url("/assets/images/hero-library-v2.png") center / cover no-repeat; transform: scale(1.025); animation: hero-drift 18s cubic-bezier(.2,.65,.25,1) both infinite alternate; }
.home-hero__image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 79% 45%, rgb(213 170 93 / 17%), transparent 27%); mix-blend-mode: screen; }
.home-hero::after { content: ""; position: absolute; right: 6.5vw; bottom: 0; width: 1px; height: 150px; background: var(--gold); }
.home-hero__layout { position: relative; z-index: 1; min-height: 760px; display: grid; grid-template-columns: minmax(0, 1fr) 355px; align-items: end; gap: 70px; padding-top: 140px; padding-bottom: 76px; }
.home-hero__copy { align-self: center; max-width: 750px; padding-bottom: 24px; }
.home-hero h1 { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(3.5rem, 6.4vw, 6.15rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.05; }
.home-hero h1 em { display: inline-block; padding-top: 0.025em; color: var(--gold-bright); font-weight: 400; }
.home-hero__intro { max-width: 590px; color: #e3e5e6; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.5; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { position: relative; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.095em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: background 280ms cubic-bezier(.2,.8,.2,1), border 280ms cubic-bezier(.2,.8,.2,1), color 280ms cubic-bezier(.2,.8,.2,1), transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms cubic-bezier(.2,.8,.2,1); }
.button::before { content: ""; position: absolute; top: -140%; width: 45%; height: 360%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent); transform: translateX(-300%) rotate(18deg); transition: transform 650ms cubic-bezier(.2,.8,.2,1); }
.button:hover::before { transform: translateX(510%) rotate(18deg); }
.button > span, .button { isolation: isolate; }
.button:hover { box-shadow: 0 13px 28px rgb(0 0 0 / 23%); transform: translateY(-3px); }
.button--gold { background: var(--gold); border-color: var(--gold); color: #11151a; }
.button--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button--quiet { border-color: rgb(255 255 255 / 52%); color: var(--white); }
.button--quiet:hover { border-color: var(--white); background: rgb(255 255 255 / 8%); }
.hero-note { position: relative; padding: 30px 30px 28px; overflow: hidden; border: 1px solid rgb(255 255 255 / 19%); border-top: 3px solid var(--gold); border-radius: var(--radius-md); background: linear-gradient(135deg, rgb(17 25 35 / 73%), rgb(12 17 24 / 45%)); box-shadow: 0 22px 70px rgb(0 0 0 / 26%); backdrop-filter: blur(16px) saturate(120%); }
.hero-note::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 35%, rgb(255 255 255 / 9%), transparent 65%); transform: translateX(-125%); animation: glass-sheen 9s ease-in-out 1.4s infinite; }
.hero-note > span { color: var(--gold-bright); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-note p { margin: 16px 0 20px; color: #d9dddf; font-size: 0.86rem; line-height: 1.65; }
.text-button, .button-reset { padding: 0; border: 0; background: transparent; color: var(--gold); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 0.28em; }
.text-button--light { color: var(--gold-bright); font-size: 0.78rem; }

.editorial-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(60px, 10vw, 150px); align-items: start; }
.editorial-split h2, .section-heading h2, .members-intro h2, .enquiry-copy h2, .form-heading h2, .contact-details h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4.4vw, 4.25rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.03; }
.prose { color: #3f4850; }
.prose p { margin-bottom: 1.35em; }
.prose--large { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.75; }
.prose .standfirst { color: var(--ink); font-size: 1.25em; line-height: 1.55; }
.lead-prose { padding-top: 6px; font-size: 1.06rem; }
.inline-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.inline-link span { color: var(--gold); font-size: 1.15rem; transition: transform 160ms ease; }
.inline-link:hover span { transform: translateX(4px); }

.visual-manifesto { padding: 0 clamp(20px, 5vw, 76px); background: var(--ink); }
.visual-manifesto__frame { position: relative; min-height: clamp(490px, 49vw, 620px); overflow: hidden; border-radius: var(--radius-lg); }
.visual-manifesto__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 13 18 / 64%) 0%, rgb(8 13 18 / 19%) 66%); pointer-events: none; }
.visual-manifesto img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; transition: transform 1.4s cubic-bezier(.2,.65,.2,1); }
.visual-manifesto__frame:hover img { transform: scale(1.035); }
.visual-manifesto__glass { position: absolute; z-index: 1; left: clamp(26px, 6vw, 85px); bottom: clamp(26px, 6vw, 75px); width: min(520px, calc(100% - 52px)); padding: clamp(27px, 4vw, 46px); border: 1px solid rgb(255 255 255 / 19%); border-top: 3px solid var(--gold); border-radius: var(--radius-md); background: linear-gradient(135deg, rgb(12 19 28 / 80%), rgb(16 24 34 / 53%)); box-shadow: 0 28px 80px rgb(0 0 0 / 28%); backdrop-filter: blur(18px) saturate(130%); color: var(--white); }
.visual-manifesto__glass .eyebrow { color: var(--gold-bright); }
.visual-manifesto__glass h2 { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.98; }
.visual-manifesto__glass p:not(.eyebrow) { margin-bottom: 25px; color: #e0e4e6; }

.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 50px; margin-bottom: 54px; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); }
.section-heading--light > p { color: #aab1b6; }
.section-heading--light h2 { color: var(--white); }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #3a424b; border-radius: var(--radius-md); }
.practice-card { position: relative; min-height: 285px; display: flex; flex-direction: column; padding: 28px 26px 24px; overflow: hidden; border-right: 1px solid #3a424b; border-bottom: 1px solid #3a424b; color: var(--white); text-decoration: none; transition: background 300ms ease, transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease; }
.practice-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 84% 12%, rgb(211 170 93 / 20%), transparent 35%); transition: opacity 320ms ease; }
.practice-card > * { position: relative; z-index: 1; }
.practice-card:hover { z-index: 2; background: #1b2430; box-shadow: 0 18px 32px rgb(0 0 0 / 18%); transform: translateY(-5px); }
.practice-card:hover::before { opacity: 1; }
.practice-card__number { color: var(--gold-bright); font-family: var(--serif); font-size: 0.9rem; }
.practice-card h3 { margin: 42px 0 14px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.practice-card p { margin-bottom: 20px; color: #adb4b9; font-size: 0.87rem; line-height: 1.55; }
.card-link { margin-top: auto; color: var(--gold-bright); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.members-section { background: #f6f3ec; }
.members-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(60px, 9vw, 130px); }
.members-intro > p:not(.eyebrow) { max-width: 390px; margin: 24px 0; color: var(--muted); }
.member-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: member; }
.member-list li { min-height: 86px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); counter-increment: member; transition: padding 260ms cubic-bezier(.2,.8,.2,1), background 260ms ease; }
.member-list li:hover { padding-inline: 14px; background: rgb(255 255 255 / 42%); }
.member-list li::before { content: "0" counter(member); color: var(--gold); font-family: var(--serif); font-size: 0.78rem; grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 8px; }
.member-list span { align-self: start; margin-top: 10px; font-family: var(--serif); font-size: 1.33rem; grid-column: 1; grid-row: 1; }
.member-list small { color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; grid-column: 2; grid-row: 1; }

.enquiry-section { background: var(--paper-deep); }
.enquiry-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.enquiry-copy > p:not(.eyebrow) { max-width: 480px; margin: 26px 0 40px; color: #555d62; }
.office-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.office-mini address { font-style: normal; font-size: 0.87rem; color: #555d62; }
.office-mini strong { color: var(--ink); }

.inner-hero { --hero-image: url("/assets/images/practice-documents-v1.png"); position: relative; min-height: 430px; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.inner-hero--about { --hero-image: url("/assets/images/about-chambers-v1.png"); }
.inner-hero--practice { --hero-image: url("/assets/images/practice-documents-v1.png"); }
.inner-hero--people { --hero-image: url("/assets/images/people-corridor-v1.png"); }
.inner-hero--careers { --hero-image: url("/assets/images/careers-study-v1.png"); }
.inner-hero--contact { --hero-image: url("/assets/images/contact-arrival-v1.png"); }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 13 18 / 92%) 0%, rgb(8 13 18 / 66%) 54%, rgb(8 13 18 / 36%) 100%), var(--hero-image) center / cover no-repeat; }
.inner-hero::after { content: ""; position: absolute; left: calc((100vw - min(1180px, calc(100vw - 48px))) / 2); bottom: 0; width: 94px; height: 4px; background: var(--gold); }
.inner-hero__content { position: relative; padding-top: 90px; padding-bottom: 72px; }
.inner-hero h1 { max-width: 850px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(3.3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.98; }
.inner-hero__content > p:last-child { max-width: 630px; margin-bottom: 0; color: #d8dcdf; font-family: var(--serif); font-size: 1.2rem; }

.story-grid { display: grid; grid-template-columns: 280px minmax(0, 720px); justify-content: center; gap: clamp(60px, 10vw, 140px); }
.story-rail { position: relative; isolation: isolate; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; overflow: hidden; border-left: 3px solid var(--gold); border-radius: var(--radius-md); background: linear-gradient(160deg, rgb(8 13 19 / 86%) 0%, rgb(8 13 19 / 66%) 58%, rgb(8 13 19 / 82%) 100%), url("/assets/images/about-library-v1.png") 58% center / 112% auto; color: var(--white); transition: background-size 900ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease; }
.story-rail:hover { background-size: 118% auto; box-shadow: 0 20px 42px rgb(12 17 23 / 15%); }
.story-rail::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(9 14 20 / 36%), transparent 76%); }
.story-rail span, .story-rail strong { position: relative; z-index: 1; }
.story-rail span { color: var(--gold-bright); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.story-rail strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: var(--radius-md); }
.principles-grid article { min-height: 260px; padding: 30px; border-left: 1px solid #c8bfae; }
.principles-grid article:last-child { border-right: 1px solid #c8bfae; }
.principles-grid span { color: var(--gold); font-family: var(--serif); }
.principles-grid h2 { margin: 58px 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.principles-grid p { margin: 0; color: #5d625f; }

.practice-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(55px, 8vw, 110px); padding-top: 90px; padding-bottom: 120px; align-items: start; }
.practice-index { position: sticky; top: 155px; }
.practice-index ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.practice-index li { border-bottom: 1px solid var(--line); }
.practice-index a { display: grid; grid-template-columns: 32px 1fr; gap: 9px; padding: 12px 0; color: #414a51; font-size: 0.79rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.practice-index a:hover { color: var(--gold); }
.practice-index a span { color: var(--gold); font-family: var(--serif); font-size: 0.74rem; }
.practice-index__note { margin-top: 25px; color: var(--muted); font-size: 0.78rem; }
.practice-detail { scroll-margin-top: 140px; padding: 0 0 85px; margin-bottom: 82px; border-bottom: 1px solid var(--line); }
.practice-detail:last-child { margin-bottom: 0; border-bottom: 0; }
.practice-detail > header { display: grid; grid-template-columns: 48px 1fr; gap: 26px; }
.practice-detail > header > span { padding-top: 39px; color: var(--gold); font-family: var(--serif); }
.practice-detail h2 { margin-bottom: 15px; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.98; }
.practice-detail__summary { max-width: 720px; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }
.practice-detail__body { display: grid; grid-template-columns: 1fr 0.85fr; gap: 70px; padding: 45px 0 0 74px; }
.practice-detail__body h3 { margin-bottom: 18px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.service-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.service-list li { position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); color: #454d53; font-size: 0.86rem; }
.service-list li::before { content: ""; position: absolute; top: 20px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.people-section .section-heading { margin-bottom: 30px; }
.people-table { border-top: 1px solid var(--ink); }
.person-row { min-height: 125px; display: grid; grid-template-columns: 85px 1fr 0.55fr; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); transition: padding 140ms cubic-bezier(.2,.9,.25,1), background 140ms ease; }
.person-row:hover { padding-inline: 11px; background: #f5f1e8; }
.person-row__number { color: var(--gold); font-family: var(--serif); }
.person-row h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; letter-spacing: -0.025em; }
.person-row p { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }

.contact-layout { display: grid; grid-template-columns: 0.68fr 1.32fr; gap: clamp(70px, 10vw, 150px); align-items: start; }
.contact-details { position: sticky; top: 155px; }
.contact-details > p { color: var(--muted); }
.contact-details h2 { margin-bottom: 40px; }
.contact-block { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-block h3 { margin-bottom: 7px; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-block p, .contact-block address { margin: 0; color: #41494f; font-style: normal; }
.contact-block a { text-decoration: none; }
.form-heading { margin-bottom: 32px; }
.form-heading h2 { margin-bottom: 22px; }
.form-heading > p:last-child { max-width: 650px; color: var(--muted); }
.plain-list { padding-left: 20px; color: #4a5258; }
.career-layout .contact-details > p:not(.eyebrow) { max-width: 360px; }

.office-map-section { padding: clamp(76px, 9vw, 118px) 0; background: #0c1117; color: var(--white); }
.office-map__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.office-map__heading .eyebrow { color: var(--gold-bright); }
.office-map__heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -0.04em; line-height: .98; }
.office-map__switcher { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 12px; background: rgb(255 255 255 / 6%); }
.office-map__switcher button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 8px; background: transparent; color: #c8cdd1; cursor: pointer; font-family: "Linotte Utility", var(--sans); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.office-map__switcher button[aria-pressed="true"] { background: var(--gold); color: #111820; box-shadow: 0 5px 16px rgb(0 0 0 / 18%); }
.office-map__canvas { position: relative; min-height: 490px; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); background: #16202a; box-shadow: 0 30px 80px rgb(0 0 0 / 28%); }
.office-map__tiles { position: absolute; inset: 0; overflow: hidden; background: #d8dedb; }
.office-map__tile-grid { position: absolute; top: 50%; left: 50%; width: max(100%, 768px); display: grid; grid-template-columns: repeat(3, 1fr); aspect-ratio: 1; opacity: 0; transform: translate(-50%, -50%) scale(1.025); transition: opacity 300ms ease, transform 520ms cubic-bezier(.2,.8,.2,1); }
.office-map__tile-grid img { width: 100%; height: 100%; display: block; object-fit: cover; }
.office-map__tiles[data-active-map="panchkula"] [data-map-tile-grid="panchkula"], .office-map__tiles[data-active-map="mumbai"] [data-map-tile-grid="mumbai"] { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.office-map__canvas:hover .office-map__tile-grid { transform: translate(-50%, -50%) scale(1.014); }
.office-map__canvas.is-changing .office-map__tile-grid { opacity: .56; }
.office-map__caption { position: absolute; top: 22px; left: 22px; max-width: min(350px, calc(100% - 44px)); padding: 16px 18px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 12px; background: rgb(10 16 23 / 76%); box-shadow: 0 14px 36px rgb(0 0 0 / 22%); backdrop-filter: blur(14px); pointer-events: none; }
.office-map__caption span { color: var(--gold-bright); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.office-map__caption p { margin: 5px 0 0; color: #e2e5e7; font-family: var(--serif); font-size: 1rem; line-height: 1.42; }
.office-map__directions { position: absolute; right: 22px; bottom: 22px; display: inline-flex; gap: 9px; align-items: center; padding: 12px 15px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 10px; background: rgb(10 16 23 / 80%); color: #f0f2f3; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; box-shadow: 0 14px 36px rgb(0 0 0 / 22%); backdrop-filter: blur(14px); transition: background 220ms ease, border-color 220ms ease, transform 220ms ease; }
.office-map__directions:hover { border-color: var(--gold); background: #182331; transform: translateY(-2px); }
.office-map__directions span { color: var(--gold-bright); font-size: 1rem; }
.office-map__attribution { position: absolute; bottom: 18px; left: 22px; color: #536069; font-size: .62rem; letter-spacing: .02em; text-shadow: 0 1px 2px rgb(255 255 255 / 78%); }
.office-map__attribution a { color: inherit; }

.form-card { position: relative; padding: clamp(28px, 4vw, 48px); overflow: hidden; border-top: 3px solid var(--gold); border-radius: var(--radius-md); background: linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(250 247 240 / 90%)); box-shadow: 0 18px 55px rgb(18 24 32 / 10%); }
.form-card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(130deg, transparent 42%, rgb(183 139 59 / 6%), transparent 68%); }
.form-card > * { position: relative; z-index: 1; }
.form-card--compact { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; margin-bottom: 7px; color: #303940; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.field small { color: var(--muted); font-size: 0.9em; font-weight: 500; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfc8bb; border-radius: var(--radius-sm); outline: 0; background: #fcfbf8; color: var(--ink); }
.field input, .field select { min-height: 48px; padding: 9px 12px; }
.field textarea { min-height: 122px; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(183 139 59 / 18%); }
.field--file > label:first-child { display: block; margin-bottom: 7px; color: #303940; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.file-picker { min-height: 48px; display: flex; align-items: center; gap: 13px; padding: 5px 7px; border: 1px solid #cfc8bb; border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.file-picker:hover { border-color: #ae8540; background: #fffcf5; }
.file-input:focus-visible + .file-picker { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(183 139 59 / 18%); }
.file-picker__action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border-radius: 8px; background: var(--gold); color: #151c23; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: background 180ms ease, transform 180ms ease; }
.file-picker:hover .file-picker__action { background: var(--gold-bright); transform: translateY(-1px); }
.file-picker__name { min-width: 0; overflow: hidden; color: #666e73; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.file-picker.has-file .file-picker__name { color: #263037; font-weight: 650; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 4px 0 22px; color: #515960; font-size: 0.78rem; }
.consent input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--gold); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.form-status { min-height: 1.6em; margin: 14px 0 0; color: #2e6745; font-size: 0.85rem; font-weight: 650; }
.form-status[data-state="error"] { color: #a52626; }
.form-card[aria-busy="true"] .button { opacity: 0.7; cursor: wait; }

.site-footer { background: #0c1117; color: #c0c6ca; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 0.9fr 1.1fr; gap: 55px; padding-top: 72px; padding-bottom: 62px; }
.footer-brand img { width: 78px; height: 77px; object-fit: contain; margin-bottom: 20px; }
.footer-brand p { max-width: 275px; color: #9ca4aa; font-size: 0.86rem; }
.footer-grid h2 { margin-bottom: 20px; color: var(--gold-bright); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 7px; }
.footer-grid a { color: #d3d8da; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-grid address { margin-bottom: 20px; color: #9ca4aa; font-size: 0.82rem; font-style: normal; }
.footer-grid address strong { color: #d9dddf; }
.footer-base { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #2b323a; color: #737d84; font-size: 0.7rem; }
.footer-base p { margin: 0; }

.legal-dialog { width: min(810px, calc(100vw - 32px)); max-height: min(820px, calc(100vh - 32px)); padding: 0; border: 1px solid rgb(255 255 255 / 28%); border-radius: var(--radius-lg); color: #eff2f3; background: rgb(14 22 31 / 78%); box-shadow: 0 30px 100px rgb(0 0 0 / 55%); backdrop-filter: blur(24px) saturate(135%); }
.legal-dialog::backdrop { background: rgb(4 8 13 / 72%); backdrop-filter: blur(11px) saturate(75%); }
.legal-dialog[open] { animation: dialog-arrive 440ms cubic-bezier(.16,.86,.25,1) both; }
.legal-dialog__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: min(820px, calc(100vh - 32px)); }
.legal-dialog__heading { padding: 32px 38px 24px; border-bottom: 1px solid rgb(255 255 255 / 15%); background: rgb(255 255 255 / 5%); }
.legal-dialog__heading .eyebrow { margin-bottom: 8px; }
.legal-dialog h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; line-height: 1; }
.legal-dialog__body { overflow-y: auto; padding: 25px 38px; color: #d9dee1; font-size: 0.9rem; }
.legal-dialog__body p { margin-bottom: 15px; }
.legal-dialog__body ul { margin: 0; padding-left: 22px; }
.legal-dialog__body li { margin-bottom: 8px; }
.legal-dialog__actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 38px; border-top: 1px solid rgb(255 255 255 / 15%); background: rgb(255 255 255 / 6%); }
.legal-dialog__actions p { max-width: 300px; margin: 0; color: #b9c0c5; font-size: 0.73rem; }

@keyframes hero-drift { from { transform: scale(1.025) translate3d(0, 0, 0); } to { transform: scale(1.075) translate3d(-0.8%, -0.5%, 0); } }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes glass-sheen { 0%, 18% { transform: translateX(-125%); } 36%, 100% { transform: translateX(125%); } }

.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.motion-ready .home-hero__copy, .motion-ready .hero-note { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 800ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1); }
.motion-ready .home-hero__copy.is-visible, .motion-ready .hero-note.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.error-page h1 { margin-bottom: 15px; font-family: var(--serif); font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 400; }
.error-page > p:not(.eyebrow) { color: var(--muted); }
.error-page .button { margin-top: 20px; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 36px, 860px); }
  .utility-bar__inner { justify-content: flex-end; }
  .utility-bar p { display: none; }
  .header-main { min-height: 82px; }
  .menu-toggle { display: inline-flex; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--gold); color: #7a5617; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; height: calc(100dvh - 118px); overflow-y: auto; padding: 35px 30px; background: var(--ivory); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .site-nav a::after { display: none; }
  .home-hero__layout { grid-template-columns: 1fr; gap: 30px; padding-top: 90px; }
  .home-hero__copy { align-self: end; }
  .hero-note { max-width: 520px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; }
  .members-layout, .enquiry-layout, .contact-layout { grid-template-columns: 1fr; }
  .office-map__heading { align-items: start; flex-direction: column; }
  .contact-details { position: static; }
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .contact-details > .eyebrow, .contact-details > h2, .contact-details > p, .contact-details > .plain-list { grid-column: 1 / -1; }
  .practice-layout { grid-template-columns: 1fr; }
  .practice-index { position: static; }
  .practice-index ol { display: grid; grid-template-columns: 1fr 1fr; }
  .practice-index li:nth-child(odd) { padding-right: 20px; }
  .practice-index li:nth-child(even) { padding-left: 20px; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 30px); }
  .section { padding: 72px 0; }
  .utility-bar { display: none; }
  .site-nav { height: calc(100dvh - 82px); padding-inline: 15px; }
  .brand img { width: 50px; height: 49px; }
  .brand strong { font-size: 1.1rem; }
  .brand small { display: none; }
  .home-hero { min-height: 720px; }
  .home-hero__image { background-position: 58% center; }
  .home-hero__layout { min-height: 720px; padding-top: 70px; padding-bottom: 36px; }
  .home-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .home-hero__intro { font-size: 1.08rem; }
  .button-row { flex-direction: column; align-items: stretch; }
  .hero-note { padding: 23px; }
  .editorial-split { grid-template-columns: 1fr; gap: 40px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 240px; }
  .members-layout { gap: 45px; }
  .member-list li { min-height: 98px; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .member-list span, .member-list small { grid-column: 1; }
  .member-list span { grid-row: 1; margin-top: 10px; }
  .member-list small { grid-row: 2; }
  .office-mini { grid-template-columns: 1fr; }
  .visual-manifesto { padding: 0; }
  .visual-manifesto__frame { min-height: 620px; }
  .visual-manifesto__frame::after { background: linear-gradient(0deg, rgb(8 13 18 / 77%) 0%, rgb(8 13 18 / 19%) 82%); }
  .visual-manifesto__glass { right: 15px; bottom: 18px; left: 15px; width: auto; padding: 26px 22px; }
  .visual-manifesto__glass h2 { font-size: 2.45rem; }
  .inner-hero { min-height: 370px; }
  .inner-hero__content { padding-top: 70px; padding-bottom: 54px; }
  .inner-hero h1 { font-size: 3.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-rail { min-height: 210px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article, .principles-grid article:last-child { min-height: 210px; border-right: 1px solid #c8bfae; border-bottom: 1px solid #c8bfae; }
  .principles-grid h2 { margin-top: 35px; }
  .practice-layout { padding-top: 65px; padding-bottom: 80px; }
  .practice-index ol { display: block; }
  .practice-index li:nth-child(odd), .practice-index li:nth-child(even) { padding: 0; }
  .practice-detail { margin-bottom: 65px; padding-bottom: 65px; }
  .practice-detail > header { grid-template-columns: 1fr; gap: 5px; }
  .practice-detail > header > span { padding-top: 0; }
  .practice-detail h2 { font-size: 2.7rem; }
  .practice-detail__body { grid-template-columns: 1fr; gap: 35px; padding: 30px 0 0; }
  .person-row { min-height: 118px; grid-template-columns: 45px 1fr; gap: 15px; padding: 18px 0; }
  .person-row h2 { font-size: 1.75rem; }
  .person-row p { grid-column: 2; }
  .contact-details { display: block; }
  .office-map__canvas { min-height: 430px; }
  .office-map__caption { top: 15px; left: 15px; }
  .office-map__directions { right: 15px; bottom: 15px; }
  .office-map__attribution { bottom: 14px; left: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-base { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 0; }
  .legal-dialog__heading { padding: 25px 22px 18px; }
  .legal-dialog__body { padding: 20px 22px; font-size: 0.82rem; }
  .legal-dialog__actions { display: block; padding: 18px 22px; }
  .legal-dialog__actions p { margin-bottom: 14px; }
  .legal-dialog__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
