/* Putu Simbolon Law Office
   Heraldic palette used as inspiration, not theme:
   argent (white banner) ground, azure structure, or (gold) for ornament,
   gules (crimson) as the rare seal accent. */

:root {
  --argent: #FCFBF8;
  --argent-2: #F3F1EA;
  --white: #FFFFFF;
  --azure: #16224A;
  --azure-2: #24336A;
  --azure-deep: #0F1836;
  --azure-soft: #4A5578;
  --on-azure: #C9CEDD;
  --on-azure-strong: #E4E7EF;
  --or: #B38B2D;
  --or-num: #96741F;
  --or-text: #7D6118;
  --or-light: #E6CF8E;
  --or-button: #D4AF55;
  --gules: #8F1D21;
  --rule: #DEDAD0;
  --rule-azure: rgba(255, 255, 255, 0.16);

  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --caps: "Cormorant SC", "Cormorant Garamond", Garamond, serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 32px;
  --rail: 220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--argent);
  color: var(--azure);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; color: var(--azure-soft); }
strong { color: var(--azure); font-weight: 600; }
a {
  color: var(--azure);
  text-decoration: underline;
  text-decoration-color: var(--or);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--gules); text-decoration-color: var(--gules); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--azure);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.12; margin-bottom: 18px; }
h3 { font-size: 1.45rem; line-height: 1.2; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.caps {
  font-family: var(--caps);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--or-text);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px; top: 12px; z-index: 300;
  background: var(--white); color: var(--azure);
  padding: 10px 16px;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

/* Jerusalem cross mark */
.jx { width: 1em; height: 1em; display: inline-block; flex-shrink: 0; color: var(--or); }

/* Banner hem: the one place all three tinctures meet */
.hem {
  height: 6px;
  background: linear-gradient(90deg, var(--azure-2) 0 70%, var(--or) 70% 85%, var(--gules) 85% 100%);
}

/* ---------- Header (scrolls away; the menu button stays) ---------- */

.site-header { background: var(--azure); border-bottom: 1px solid var(--rule-azure); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
  padding-right: calc(var(--gutter) + 72px);
}
.wordmark {
  display: flex; align-items: center; gap: 12px;
  margin-right: auto;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.wordmark:hover { color: var(--white); }
.wordmark .jx { font-size: 26px; }
.wordmark b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font-family: var(--caps);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--or-light);
  margin-top: 4px;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-azure);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--or-button); }

/* ---------- Menu button + full-screen menu ---------- */

.menu-btn {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 120;
  width: 52px;
  height: 52px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(22, 34, 74, 0.12);
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.menu-btn:hover { transform: scale(1.05); }
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--azure);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.3s ease;
}
.menu-btn span:last-child { width: 14px; justify-self: end; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { width: 22px; transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  overflow-y: auto;
  background: var(--azure);
  color: var(--white);
  display: none;
}
.menu[data-open="true"] {
  display: block;
  animation: menu-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes menu-in {
  from { clip-path: circle(0% at calc(100% - 46px) 42px); }
  to { clip-path: circle(150% at calc(100% - 46px) 42px); }
}
.menu .wm {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 520px;
  height: 520px;
  color: rgba(179, 139, 45, 0.05);
  pointer-events: none;
}
.menu-top { display: flex; align-items: center; height: 84px; border-bottom: 1px solid var(--rule-azure); }
.menu-body {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: end;
  padding-top: 8vh;
  padding-bottom: 64px;
  min-height: calc(100vh - 90px);
}
.menu-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-azure); }
.menu-nav li { border-bottom: 1px solid var(--rule-azure); }
.menu-nav a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.15s ease, padding 0.2s ease;
}
.menu[data-open="true"] .menu-nav li {
  animation: link-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes link-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.menu-nav .rn { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--or-light); }
.menu-nav b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
}
.menu-nav em {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--on-azure);
  margin-top: 4px;
}
.menu-nav .go { color: var(--or-light); font-size: 1.4rem; transition: transform 0.2s ease; }
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--white); padding-left: 12px; }
.menu-nav a:hover .go { transform: translateX(4px); }
.menu-nav a[aria-current="page"] em { color: var(--or-light); }
.menu-side { max-width: 380px; }
.menu-side .caps { color: var(--or-light); display: block; margin-bottom: 14px; }
.menu-side a.menu-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--rule-azure);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.menu-side a.menu-cta:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--or-light); }
.menu-side a.menu-cta.primary { background: var(--or-button); border-color: var(--or-button); color: var(--azure); }
.menu-side a.menu-cta.primary:hover { background: #E0BE68; }
.menu-side .menu-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.menu-side .menu-cta span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; }
.menu-side .menu-cta small { font-weight: 400; font-size: 0.82rem; opacity: 0.8; }
.menu-side p { color: var(--on-azure); font-size: 0.88rem; margin-top: 18px; }
html.menu-open { overflow: hidden; }

/* ---------- Contact dropdown ---------- */

.contact { position: relative; display: inline-block; }
.contact-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--azure);
  color: var(--white);
  border: 0;
  border-radius: 0;
  padding: 14px 24px;
  font: 600 0.92rem/1.3 var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.contact-toggle:hover { background: var(--azure-2); }
.contact-toggle .chev { width: 14px; height: 14px; transition: transform 0.18s ease; }
.contact[data-open="true"] .chev { transform: rotate(180deg); }
.on-azure .contact-toggle { background: var(--or-button); color: var(--azure); }
.on-azure .contact-toggle:hover { background: #E0BE68; }
.site-header .contact-toggle { padding: 11px 18px; font-size: 0.86rem; }

.contact-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--or);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.24);
  padding: 8px;
  display: none;
  z-index: 60;
}
.site-header .contact-panel, .site-footer .contact-panel { left: auto; right: 0; }
.contact.center .contact-panel { left: 50%; transform: translateX(-50%); }
.contact[data-open="true"] .contact-panel { display: block; }
.contact-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--azure);
  font-weight: 500;
  font-size: 0.92rem;
}
.contact-panel a:hover { background: var(--argent-2); color: var(--azure); }
.contact-panel .icon { width: 18px; height: 18px; color: var(--or-text); flex-shrink: 0; }
.contact-panel span { display: flex; flex-direction: column; line-height: 1.35; }
.contact-panel small { color: var(--azure-soft); font-weight: 400; font-size: 0.8rem; }

/* ---------- Heroes: one treatment per page, photo always full height ---------- */

.hero { position: relative; background: var(--azure); color: var(--white); overflow: hidden; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.kicker .jx { font-size: 18px; }
.kicker .caps { color: var(--or-light); }
.hero h1 {
  color: var(--white);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.4vw, 3.9rem);
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--or-light); }
.hero .lede { color: var(--on-azure); font-size: 1.12rem; max-width: 52ch; margin: 24px 0 32px; }
.hero .lede strong { color: var(--white); }
.cred {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-azure);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  font-size: 0.92rem;
}
.cred .caps { color: var(--or-light); }
.cred span:not(.caps) { color: var(--on-azure-strong); }
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 40px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule-azure);
}
.subnav a { color: var(--on-azure); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.subnav a:hover { color: var(--white); }

/* Shared hero media: fills its cell edge to edge, settles in on load */
.hero-media { margin: 0; position: relative; min-height: 100%; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 28px 20px;
  background: linear-gradient(transparent, rgba(10, 16, 38, 0.82));
  font-size: 0.84rem;
  color: var(--on-azure-strong);
}
.hero-media figcaption .caps { display: block; color: var(--or-light); font-size: 1rem; }

/* Copy column aligned to the page grid while the photo bleeds */
.hero-copy { align-self: center; padding: 88px 0; }
.edge-left { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.edge-right { padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }

/* Home: copy left, portrait bleeding off the right edge */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 44vw; min-height: min(860px, calc(100vh - 90px)); }
.hero-split .hero-copy { padding-right: 64px; }

/* About: portrait column bleeding off the left edge, copy right */
.hero-portrait { display: grid; grid-template-columns: 40vw minmax(0, 1fr); min-height: min(820px, calc(100vh - 90px)); }
.hero-portrait .hero-copy { padding-left: 72px; }
.hero-portrait .hero-media img { object-position: center 18%; }

/* Practice: the photo is the hero; copy sits on it */
.hero-cinema { min-height: min(820px, calc(100vh - 90px)); display: flex; align-items: flex-end; }
.hero-cinema .hero-media { position: absolute; inset: 0; }
.hero-cinema .hero-media img { object-position: center 62%; }
.hero-cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 22, 50, 0.92) 0%, rgba(14, 22, 50, 0.7) 38%, rgba(14, 22, 50, 0.08) 70%),
    linear-gradient(0deg, rgba(14, 22, 50, 0.85) 0%, rgba(14, 22, 50, 0) 45%);
}
.hero-cinema .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 0; }
.hero-cinema .hero-copy { max-width: 620px; padding: 140px 0 40px; }
.hero-cinema .subnav { margin-top: 0; padding: 18px 0 22px; }

/* Research: copy left, a diptych of two photographs */
.hero-diptych { display: grid; grid-template-columns: minmax(0, 1fr) 48vw; min-height: min(820px, calc(100vh - 90px)); }
.hero-diptych .hero-copy { padding-right: 64px; }
.diptych-media { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 6px; background: var(--or-button); }
.diptych-media .hero-media + .hero-media img { animation-delay: 0.15s; object-position: 96% center; }

/* ---------- Photographs in the body ---------- */

.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.figure.land img { aspect-ratio: 3 / 2; }
.figure.tall img { aspect-ratio: 3 / 4; }
.figure figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid var(--azure);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--azure-soft);
}
.figure figcaption .caps { display: block; font-size: 1rem; }

/* Feature: a key photograph that stays in view while its section scrolls */
.feature { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 72px; align-items: start; }
.feature.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.feature.flip > .feature-media { order: 2; }
.feature-media { position: sticky; top: 32px; }
.seclabel { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.seclabel .num { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--gules); font-variant-numeric: lining-nums; }

/* Cinematic photo band with caption */
.photo-band { position: relative; margin: 0; overflow: hidden; color: var(--white); background: var(--azure); }
.photo-band img { width: 100%; height: min(72vh, 680px); object-fit: cover; object-position: center 30%; }
.photo-band figcaption {
  padding: 28px 0 34px;
  background: var(--azure);
  border-top: 2px solid var(--or-button);
}
.photo-band .caps { display: block; color: var(--or-light); margin-bottom: 6px; }
.photo-band p { color: var(--white); font-family: var(--display); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.35; max-width: 56ch; margin: 0; }

/* Evidence: a photograph set beside the figures it supports */
.evidence { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 56px; align-items: stretch; }
.evidence .figure { display: flex; flex-direction: column; }
.evidence .figure img { flex: 1; aspect-ratio: auto; min-height: 420px; }
.evidence .record { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.evidence .record > div:nth-child(3) { border-left: 0; padding-left: 0; }
.evidence .record > div:nth-child(n+3) { border-top: 1px solid var(--rule); }

/* Pair of photographs side by side */
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }

/* Scroll reveal (only when JS is running) */
.js .reveal { overflow: hidden; }
.js .reveal img { clip-path: inset(10% 0 0 0); transform: scale(1.05); transition: clip-path 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in img { clip-path: inset(0); transform: none; }

/* ---------- Margin-rail sections ---------- */

.sec { padding: 104px 0; border-top: 1px solid var(--rule); }
.hero + .sec, .sec.flush { border-top: 0; }
.sec.tint { background: var(--argent-2); border-top: 0; }
.sec .wrap:not(.feature) { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 48px; }
.rail-inner { position: sticky; top: 32px; }
.rail .num { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--gules); font-variant-numeric: lining-nums; }
.rail .caps { display: block; margin-top: 2px; font-size: 1.12rem; }
.intro { max-width: 62ch; margin-bottom: 44px; }
.intro p:last-child { margin-bottom: 0; }

/* Practice index (home) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--azure); }
.index li { border-bottom: 1px solid var(--rule); }
.index a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.2fr) 24px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 8px;
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease;
}
.index a:hover { background: var(--white); padding-left: 18px; color: var(--azure); }
.index .rn { font-family: var(--display); font-size: 2.1rem; font-weight: 600; color: var(--or-num); line-height: 1; }
.index h3 { font-size: 1.55rem; }
.index p { margin: 0; font-size: 0.94rem; }
.index .go { color: var(--or-text); transition: transform 0.2s ease, color 0.2s ease; }
.index a:hover .go { transform: translateX(4px); color: var(--gules); }
.index a:hover .rn { color: var(--gules); }
.flag { display: block; font-family: var(--caps); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gules); margin-bottom: 4px; }

/* Three-up ruled columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--azure); }
.cols > div { padding: 24px 28px 8px 0; }
.cols > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.cols h3 { font-size: 1.4rem; margin-bottom: 10px; }
.cols p { font-size: 0.94rem; margin: 0; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.grid { border-top: 0; gap: 0 56px; }
.cols.grid > div { padding: 22px 0; border-top: 1px solid var(--rule); border-left: 0; }
.cols.grid > div + div { padding-left: 0; }
.cols.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Plain two-column split for short lists */
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }

/* Record figures */
.record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--azure); }
.record > div { padding: 28px 24px 8px 0; }
.record > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.record .fig { display: block; font-family: var(--display); font-size: 3.6rem; font-weight: 600; line-height: 1.1; color: var(--azure); font-variant-numeric: lining-nums; }
.record .caps { display: block; margin: 12px 0 6px; }
.record p { font-size: 0.9rem; margin: 0; }

/* Ruled lists */
.rlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--azure); }
.rlist > li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rlist .caps { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.rlist p { margin: 0; }
.rlist.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
.rlist.two > li { border-top: 1px solid var(--rule); border-bottom: 0; }
.rlist.two > li:nth-child(-n+2) { border-top-color: var(--azure); }
.section-note { font-size: 0.88rem; color: var(--azure-soft); margin-top: 22px; }

/* Bulleted text lists: a small gold cross as the marker */
ul.marks { list-style: none; margin: 0 0 1em; padding: 0; }
ul.marks > li { position: relative; padding-left: 22px; margin-bottom: 0.6em; color: var(--azure-soft); font-size: 0.96rem; }
ul.marks > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(var(--or), var(--or)) center / 9px 1.6px no-repeat,
    linear-gradient(var(--or), var(--or)) center / 1.6px 9px no-repeat;
}

/* Term lists (research interests, practice summaries) */
.terms { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.55; color: var(--azure); max-width: 46ch; }
.terms span + span::before { content: " · "; color: var(--or); }

/* Definition list */
dl.defs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
dl.defs > div { padding: 18px 0; border-top: 1px solid var(--rule); }
dl.defs dt { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--azure); line-height: 1.32; }
dl.defs dd { margin: 4px 0 0; color: var(--azure-soft); font-size: 0.95rem; }
dl.defs.one { grid-template-columns: 1fr; }

/* Quote band */
.band { display: grid; grid-template-columns: 1fr 1fr; background: var(--azure); color: var(--white); }
.band .q {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.band .jx { font-size: 34px; margin-bottom: 26px; }
.band blockquote {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.15;
}
.band cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--caps); font-weight: 600; letter-spacing: 0.04em; color: var(--or-light); font-size: 1.05rem; }
.band img { width: 100%; height: 100%; min-height: 520px; max-height: 640px; object-fit: cover; object-position: center 60%; }

/* Founder block */
.founder-name { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.founder-title { display: block; font-family: var(--caps); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.03em; color: var(--or-text); margin: 6px 0 26px; }
.motto {
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--rule);
}
.motto p.q { font-family: var(--display); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--azure); margin: 0 0 8px; }
.motto p { font-size: 0.94rem; margin: 0; }

/* Career roles */
.role { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.role:first-of-type { border-top: 1px solid var(--azure); }
.role-dates { display: block; font-family: var(--caps); font-weight: 600; font-size: 1rem; color: var(--gules); letter-spacing: 0.02em; }
.role-org { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--azure); margin-top: 4px; }
.role h3 { font-size: 1.45rem; margin-bottom: 8px; }
.role p { font-size: 0.96rem; }

details.more { margin-top: 6px; }
details.more summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--azure);
  border-bottom: 1px solid var(--or);
  padding-bottom: 2px;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--or-text);
  border-bottom: 1.6px solid var(--or-text);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}
details.more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
details.more summary:hover { color: var(--gules); }
.matters { margin-top: 18px; }
.matters h4 { font-family: var(--caps); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; color: var(--or-text); margin: 20px 0 8px; }
.matters h4:first-child { margin-top: 0; }

/* Practice area entries (practice page) */
.area { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--rule); }
.area:first-child { border-top: 0; padding-top: 0; }
.area .rn { display: block; font-family: var(--display); font-size: 4rem; font-weight: 600; line-height: 1; color: var(--or-num); }
.area h2 { margin-bottom: 14px; }
.area .specialization { margin: 18px 0 0; padding: 20px 24px; background: var(--argent-2); border-top: 1px solid var(--or); }
.area .specialization p { margin: 0; font-size: 0.96rem; }
.rep { margin-top: 26px; }
.rep .caps { display: block; margin-bottom: 10px; font-size: 1rem; }

/* Publications */
.pub-group + .pub-group { margin-top: 56px; }
.pub-group h3 { font-size: 1.6rem; padding-bottom: 12px; border-bottom: 1px solid var(--azure); }
.bib { list-style: none; margin: 0; padding: 0; counter-reset: bib var(--start, 0); }
.bib li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); counter-increment: bib; }
.bib .yr { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--azure-soft); font-variant-numeric: lining-nums; }
.bib .yr::after { content: counter(bib); display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 500; color: var(--or-text); margin-top: 2px; }
.bib .t { font-family: var(--display); font-size: 1.32rem; font-weight: 600; line-height: 1.3; color: var(--azure); text-decoration: none; }
a.t:hover { color: var(--gules); }
.bib .src { display: block; font-size: 0.9rem; color: var(--azure-soft); margin-top: 6px; }
.tag { font-family: var(--caps); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; color: var(--or-text); white-space: nowrap; margin-left: 6px; }
.tag.seal { color: var(--gules); }
.profile-links { margin-top: 32px; font-size: 0.92rem; color: var(--azure-soft); }

/* Speaking, grouped by year */
.year-group { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.year-group:first-child { border-top: 1px solid var(--azure); }
.year-group .year { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--gules); line-height: 1.2; }
.year-group ul.marks { margin: 0; }

/* Media coverage */
ol.media { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
ol.media li { break-inside: avoid; padding: 16px 0; border-top: 1px solid var(--rule); }
ol.media a { font-family: var(--display); font-weight: 600; font-size: 1.18rem; line-height: 1.3; text-decoration: none; }
ol.media .outlet { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--azure-soft); }

/* Closing consultation block */
.close { position: relative; overflow: hidden; background: var(--azure); color: var(--white); padding: 112px 0; }
.close .wm { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 460px; height: 460px; color: rgba(179, 139, 45, 0.06); pointer-events: none; }
.close .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: end; }
.close .caps { color: var(--or-light); }
.close h2 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.3rem); margin: 14px 0 18px; }
.close p { color: var(--on-azure); max-width: 50ch; }
.close .side { border-left: 1px solid var(--rule-azure); padding-left: 32px; font-size: 0.94rem; color: var(--on-azure); }
.close .side strong { display: block; color: var(--white); }
.close .side p { margin: 4px 0 0; }

/* Footer */
.site-footer { background: var(--azure-deep); color: var(--on-azure); padding: 64px 0 32px; font-size: 0.9rem; }
.site-footer a { color: var(--on-azure-strong); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--or-light); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-azure); }
.footer-top .wordmark { margin-bottom: 14px; }
.footer-top p { color: var(--on-azure); margin: 0 0 6px; font-size: 0.88rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 24px; font-size: 0.82rem; }
.footer-bottom p { color: #AEB5CA; margin: 0 0 6px; max-width: 64ch; }

/* 404 */
.not-found { padding-bottom: 96px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .record > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; }
  .close .wrap, .menu-body, .footer-top, .feature, .feature.flip, .evidence, .pair { grid-template-columns: 1fr; }
  .feature { gap: 32px; }
  .feature.flip > .feature-media { order: 0; }
  .feature-media { position: static; }
  .feature-media .figure img { aspect-ratio: 4 / 3; }
  .evidence .figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-split, .hero-portrait, .hero-diptych { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy, .hero-split .hero-copy, .hero-portrait .hero-copy, .hero-diptych .hero-copy { padding: 56px var(--gutter) 48px; }
  .hero-split .hero-media, .hero-diptych .diptych-media { height: 72vh; min-height: 440px; }
  .hero-portrait .hero-media { order: 2; height: 72vh; min-height: 440px; }
  .hero-cinema { min-height: 88vh; }
  .hero-cinema::after { background: linear-gradient(0deg, rgba(14, 22, 50, 0.95) 0%, rgba(14, 22, 50, 0.7) 50%, rgba(14, 22, 50, 0.15) 100%); }
  .hero-cinema .hero-copy { padding: 120px 0 28px; }
  .sec { padding: 72px 0; }
  .sec .wrap:not(.feature), .area { grid-template-columns: 1fr; gap: 16px; }
  .rail-inner { position: static; display: flex; gap: 10px; align-items: baseline; }
  .area .rn { font-size: 3rem; }
  .index a { grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 14px; }
  .index p { grid-column: 2; }
  .index .go { grid-row: 1; grid-column: 3; }
  .two-up, .cols, .cols.two, .cols.grid.three, .rlist.two, dl.defs { grid-template-columns: 1fr; }
  .cols > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .rlist.two > li:nth-child(2) { border-top-color: var(--rule); }
  .band { grid-template-columns: 1fr; }
  .band .q { padding: 64px var(--gutter); }
  .band img { min-height: 0; height: 420px; }
  .photo-band img { height: 60vh; }
  .role { grid-template-columns: 1fr; gap: 6px; }
  ol.media { columns: 1; }
  .close .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-azure); padding-top: 20px; }
  .menu-body { gap: 40px; align-items: start; padding-top: 4vh; }
}

@media (max-width: 600px) {
  .site-header .wrap { height: 76px; gap: 12px; padding-right: calc(var(--gutter) + 58px); }
  .wordmark small { display: none; }
  .wordmark b { font-size: 1.2rem; }
  .wordmark .jx { font-size: 22px; }
  .site-header .contact-toggle { padding: 10px 12px; font-size: 0.8rem; gap: 6px; }
  .site-header .wrap { justify-content: space-between; }
  .wordmark { margin-right: 0; }
  .site-header .contact-panel { right: -58px; }
  .menu-btn { top: 12px; right: 12px; width: 48px; height: 48px; }
  .record { grid-template-columns: 1fr; }
  .record > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .bib li, .year-group { grid-template-columns: 1fr; gap: 4px; }
  .bib .yr::after { display: inline; margin-left: 8px; }
  .cred { grid-template-columns: 1fr; gap: 2px; }
  .cred span:not(.caps) { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Footer dropdown opens upward */
.site-footer .contact-panel { top: auto; bottom: calc(100% + 6px); }

/* Stacked list groups inside a feature column */
.stack > div + div { margin-top: 32px; }
.stack h3 { margin-bottom: 12px; }

/* Practice area with its own photograph */
.area.with-media { grid-template-columns: var(--rail) minmax(0, 1fr) 300px; }
.area-media { position: sticky; top: 32px; }
.area-media img { aspect-ratio: 4 / 5; }
.photo-band .wrap { position: relative; }
@media (max-width: 900px) {
  .area.with-media { grid-template-columns: 1fr; }
  .area-media { position: static; max-width: 420px; }
}

/* Practice index beside a photograph: description under the title */
.feature .index a { grid-template-columns: 60px minmax(0, 1fr) 24px; gap: 6px 18px; }
.feature .index p { grid-column: 2; }
.feature .index .go { grid-row: 1; grid-column: 3; }
