/* ==========================================================================
   Law Offices of Frank Satalino — satalinolaw.com
   Design system: "Architectural Elegance"
   ========================================================================== */

:root {
  --navy: #17252B;
  --navy-deep: #0F1A1E;
  --bronze: #B58B62;
  --bronze-ink: #7E5B3A;          /* darker bronze for small text on light grounds (AA) */
  --ivory: #EEEAE2;
  --charcoal: #363B3E;
  --white: #FFFFFF;
  --muted: #62676A;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(96px, 13vw, 176px);
  --header-h: 88px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --hair-light: rgba(54, 59, 62, .18);
  --hair-dark: rgba(255, 255, 255, .14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
em { font-style: italic; }
section[id] { scroll-margin-top: 0; }

::selection { background: var(--bronze); color: var(--navy); }

:focus-visible {
  outline: 1px solid var(--bronze);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--bronze); color: var(--navy);
  font-weight: 600; font-size: 14px; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-light { background: var(--ivory); color: var(--charcoal); }
.section-dark  { background: var(--navy); color: var(--ivory); }

/* ---------- Typographic primitives ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--navy);
  text-wrap: balance;
}
.display em { color: var(--bronze-ink); font-weight: 300; }
.section-dark .display { color: var(--ivory); }
.section-dark .display em { color: var(--bronze); }

.section-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-label .idx {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--bronze-ink);
}
.section-label .idx::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.section-dark .section-label .idx { color: var(--bronze); }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bronze-ink);
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--bronze);
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-io);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-solid { background: var(--bronze); color: var(--navy); }
.btn-solid::before { background: var(--ivory); }
.btn-solid:hover { border-color: var(--ivory); }

.btn-outline { color: var(--ivory); padding: 12px 20px; font-size: 11.5px; }
.btn-outline::before { background: var(--bronze); }
.btn-outline:hover { color: var(--navy); }

.text-link {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 6px;
  transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 100% 1px; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 14px; color: var(--ivory); }
.wordmark-mark { width: 38px; height: 38px; flex: none; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-small {
  font-size: 9.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  opacity: .72; margin-bottom: 6px;
}
.wordmark-name {
  font-family: var(--serif); font-weight: 500; font-size: 1.28rem;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ivory);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex; align-items: center; gap: 40px;
  height: var(--header-h);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
  transition: height .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(23, 37, 43, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--hair-dark);
}
.site-header.is-scrolled .header-inner { height: 72px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  transition: color .3s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--bronze); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-io);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--white); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0;
  background: none; border: 1px solid var(--hair-dark); color: var(--ivory); cursor: pointer;
}
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after {
  display: block; width: 20px; height: 1px; background: currentColor; margin: 0 auto;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after  { transform: translateY(6px); width: 13px; }
.menu-open .menu-toggle-lines { background: transparent; }
.menu-open .menu-toggle-lines::before { transform: rotate(45deg); }
.menu-open .menu-toggle-lines::after  { transform: rotate(-45deg); width: 20px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--navy);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ol li { border-bottom: 1px solid var(--hair-dark); }
.mobile-menu ol a {
  display: flex; align-items: baseline; gap: 20px; padding: 20px 0;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 400; line-height: 1.1;
}
.mobile-menu ol a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--bronze); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 10px; padding-top: 40px; font-size: 15px; color: rgba(255,255,255,.75); }
.mobile-menu-foot a:first-child { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--navy); color: var(--ivory);
  overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero-media img { object-fit: cover; object-position: 68% 38%; filter: saturate(.82) contrast(1.04); }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(23,37,43,.95) 0%, rgba(23,37,43,.84) 38%, rgba(23,37,43,.5) 62%, rgba(23,37,43,.08) 100%),
    linear-gradient(0deg, rgba(23,37,43,.85) 0%, rgba(23,37,43,0) 42%),
    linear-gradient(180deg, rgba(23,37,43,.55) 0%, rgba(23,37,43,0) 22%);
}

.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
}
.grid-lines span { border-left: 1px solid rgba(255, 255, 255, .06); }
.grid-lines span:last-child { border-right: 1px solid rgba(255, 255, 255, .06); }

.hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 10vh, 112px); }

.hero-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hero-meta span:first-child { color: var(--bronze); }
.hero-meta .rule { width: 56px; height: 1px; background: var(--bronze); }

.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 7.4vw, 7.4rem);
  line-height: .98; letter-spacing: -.018em;
  color: var(--white);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--bronze); font-weight: 300; text-shadow: 0 2px 30px rgba(23,37,43,.55); }

.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  max-width: 1040px;
}
.hero-lede { max-width: 44ch; font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, .84); }

.hero-coords {
  position: absolute; right: var(--gutter); top: 50%;
  writing-mode: vertical-rl; transform: translateY(-50%);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 0;
  width: 24px; height: 96px; display: flex; justify-content: center;
}
.scroll-line { position: relative; width: 1px; height: 100%; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--bronze);
  animation: scrollcue 2.4s var(--ease-io) 2.2s 3 both;
}
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Hero entrance */
.js .hero-media img { transform: scale(1.09); transition: transform 2.8s var(--ease); }
.js .hero-title .line > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.js .hero-meta, .js .hero-foot, .js .hero-coords, .js .scroll-cue {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.2s var(--ease) .6s, transform 1.2s var(--ease) .6s;
}
.js .hero-meta { transition-delay: .15s; }
.js .hero-meta .rule { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io) .5s; }
.js .hero-foot { border-top-color: transparent; transition: opacity 1.2s var(--ease) .75s, transform 1.2s var(--ease) .75s, border-color 1.4s var(--ease) .9s; }

.is-loaded .hero-media img { transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.035); transition-duration: 1.8s; }
.hero-media { transform: translate3d(0, var(--hero-shift, 0px), 0); will-change: transform; }
.is-loaded .hero-title .line > span { transform: none; }
.is-loaded .hero-meta, .is-loaded .hero-foot, .is-loaded .hero-coords, .is-loaded .scroll-cue { opacity: 1; transform: none; }
.is-loaded .hero-coords { transform: translateY(-50%); }
.is-loaded .hero-meta .rule { transform: none; }
.is-loaded .hero-foot { border-top-color: rgba(255, 255, 255, .2); }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: var(--section-y) 0; position: relative; }
.about::before {   /* faint architectural column lines on the light ground */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(54,59,62,.05) 1px, transparent 1px);
  background-size: 20% 100%;
  background-position: var(--gutter) 0;
}

.about-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 48px;
  position: relative;
}
.about-year { grid-column: 1 / 5; align-self: start; position: sticky; top: 120px; }
.year-numeral {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(6.5rem, 16vw, 15rem); line-height: .78; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--bronze);
  margin-left: -.06em;
  font-variant-numeric: lining-nums;
}
.year-caption {
  display: block; margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--bronze); max-width: 280px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.9;
  color: var(--bronze-ink);
}

.about-body { grid-column: 6 / 13; }
.about-body .display { max-width: 18ch; }
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 40px;
  border-top: 1px solid var(--hair-light);
}
.about-cols p:first-child {
  grid-column: 1 / -1;
  font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.45; color: var(--navy);
  max-width: 38ch;
}

.about-quote {
  position: relative;
  margin: clamp(96px, 12vw, 160px) 0 0;
  padding-left: calc(100% / 12 * 2);
}
.about-quote::before {
  content: "“"; position: absolute; left: calc(100% / 12 * 2 - .55em); top: -.12em;
  font-family: var(--serif); font-size: clamp(6rem, 12vw, 10rem); line-height: 1; color: var(--bronze);
}
.about-quote p {
  max-width: 30ch;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.75rem, 3.4vw, 3.1rem); line-height: 1.18; color: var(--navy);
  text-indent: -.35em;
}

/* Schedule — styled like an architectural drawing schedule */
.schedule {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 56px;
  margin-top: clamp(96px, 12vw, 160px);
  counter-reset: matter client;
}
.schedule-head { grid-column: 1 / 5; padding-top: 18px; border-top: 1px solid var(--navy); }
.schedule-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
.schedule-head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.schedule-list { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--navy); }
.schedule-list li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--hair-light);
  font-size: 1.02rem; color: var(--navy);
  transition: padding-left .5s var(--ease), color .3s;
}
.schedule-list li::before {
  counter-increment: matter; content: "M." counter(matter, decimal-leading-zero);
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--bronze-ink); min-width: 38px;
}
.schedule-list--clients li::before { counter-increment: client; content: "C." counter(client, decimal-leading-zero); }
.schedule-list li:hover { padding-left: 8px; }

.principles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(96px, 12vw, 160px);
  border-top: 1px solid var(--hair-light);
}
.principles li { padding: 36px 28px 0 28px; border-left: 1px solid var(--hair-light); }
.principles li:first-child { border-left: 0; padding-left: 0; }
.p-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--bronze-ink); line-height: 1; }
.principles h3 { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; color: var(--navy); }
.principles p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 26ch; }

/* ==========================================================================
   Practice areas
   ========================================================================== */
.practice { padding: var(--section-y) 0; background: var(--charcoal); position: relative; }
.practice::before { /* bronze seam marking the light→dark transition */
  content: ""; position: absolute; top: 0; left: var(--gutter); width: 1px; height: clamp(56px, 8vw, 104px);
  background: var(--bronze);
}

.practice-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.practice-head .section-label { grid-column: 1 / -1; }
.practice-head .display { grid-column: 1 / 8; max-width: 14ch; }
.practice-intro { grid-column: 9 / 13; font-size: 1rem; color: rgba(255, 255, 255, .74); }

.practice-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.pa { position: relative; overflow: hidden; color: var(--ivory); background: var(--navy); }
.pa--a { grid-column: 1 / 8;  min-height: clamp(440px, 46vw, 620px); }
.pa--b { grid-column: 8 / 13; min-height: clamp(440px, 46vw, 620px); }
.pa--c { grid-column: 1 / 5;  min-height: 440px; }
.pa--d { grid-column: 5 / 13; min-height: 440px; }
.pa--e { grid-column: 1 / 7;  min-height: 360px; }
.pa--f { grid-column: 7 / 13; min-height: 360px; }

.pa-media { position: absolute; inset: 0; }
.pa-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.6) sepia(.22) brightness(.74) contrast(1.06);
  transform: scale(1.001);
  transition: transform 1.6s var(--ease), filter 1.2s var(--ease);
}
.pa--b .pa-media img { object-position: 50% 70%; }
.pa--d .pa-media img { object-position: 50% 30%; }
.pa--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,37,43,.94) 0%, rgba(23,37,43,.55) 38%, rgba(23,37,43,0) 70%);
}
.pa:hover .pa-media img { transform: scale(1.045); filter: grayscale(.15) sepia(.1) brightness(.82) contrast(1.04); }

.pa-body {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: clamp(28px, 3vw, 44px);
}
.pa-body::before {
  content: ""; display: block; width: 40px; height: 1px; background: var(--bronze);
  margin-bottom: 24px; transition: width .8s var(--ease-io);
}
.pa:hover .pa-body::before { width: 112px; }
.pa-num {
  font-variant-numeric: lining-nums;
  position: absolute; right: clamp(28px, 3vw, 44px); bottom: clamp(28px, 3vw, 44px);
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 5.4vw, 5.4rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(181, 139, 98, .9);
  transition: color .8s var(--ease);
}
.pa:hover .pa-num { color: rgba(181, 139, 98, .25); }
.pa h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.7vw, 2.6rem); line-height: 1.05;
  max-width: 14ch; padding-right: 96px;
}
.pa p { margin-top: 12px; max-width: 36ch; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); padding-right: 96px; }

.pa--type { background: var(--navy); border: 1px solid var(--hair-dark); }
.pa--type::before { /* bronze top line that draws on hover */
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 1px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-io);
}
.pa--type:hover::before { transform: scaleX(1); }
.pa-art {
  position: absolute; top: 0; right: 0; width: 72%; height: 78%;
  color: var(--bronze); opacity: .32;
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.pa--type:hover .pa-art { opacity: .7; transform: translate(-6px, 6px); }

.litigation-band {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center;
  margin-top: 16px; padding: 36px 0 0;
  border-top: 1px solid var(--hair-dark);
}
.lb-label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.litigation-band p { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.35; color: var(--ivory); max-width: 46ch; }

/* ==========================================================================
   Attorney
   ========================================================================== */
.attorney { padding: var(--section-y) 0; background: var(--white); }
.attorney-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 64px; }

.portrait { grid-column: 1 / 6; align-self: start; position: sticky; top: 112px; }
.portrait-frame { position: relative; margin: 0 22px 22px 0; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--bronze); pointer-events: none;
}
.portrait-frame picture { position: relative; display: block; overflow: hidden; background: var(--ivory); aspect-ratio: 4 / 5; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.88) contrast(1.02); }
.portrait figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--hair-light);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

.attorney-body { grid-column: 7 / 13; }
.attorney-name {
  margin-top: 20px;
  font-weight: 300; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .96;
}
.attorney-lede { margin-top: 36px; font-size: 1.08rem; line-height: 1.75; max-width: 54ch; }

.credentials { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 56px; }
.cred { padding: 26px 0 30px; border-top: 1px solid var(--hair-light); }
.cred dt { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-ink); margin-bottom: 14px; }
.cred li { font-size: 15.5px; line-height: 1.5; color: var(--navy); padding: 5px 0; }
.cred .muted { font-size: 14px; color: var(--muted); }
.review-flag {
  display: inline-block; margin-top: 6px;
  padding: 2px 8px; border: 1px dashed var(--bronze); background: #FBF6EF;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-ink);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; isolation: isolate; padding: var(--section-y) 0 clamp(80px, 10vw, 128px); overflow: hidden; }
.contact-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8.4vw, 8.4rem); line-height: .94; letter-spacing: -.02em;
  color: var(--white); max-width: 11ch;
}
.contact-title em { color: var(--bronze); }
.contact-lede { margin-top: 28px; font-size: 1.05rem; color: rgba(255, 255, 255, .78); }

.contact-links {
  display: grid; grid-template-columns: 1fr 1.25fr 1.2fr;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark);
}
.contact-links li + li { border-left: 1px solid var(--hair-dark); }
.contact-links a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 40px 32px 36px;
  transition: background-color .6s var(--ease);
}
.contact-links li:first-child a { padding-left: 0; }
.contact-links a::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-io);
}
.contact-links a:hover::before, .contact-links a:focus-visible::before { transform: scaleX(1); }
.contact-links a:hover { background: rgba(181, 139, 98, .06); }
.cl-label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.cl-value {
  margin-top: 22px; margin-bottom: 32px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.15; color: var(--white);
}
.cl-value--email, .cl-value--addr { font-size: clamp(1.4rem, 2vw, 1.9rem); overflow-wrap: anywhere; }
.cl-action {
  margin-top: auto; display: inline-flex; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
  transition: color .4s;
}
.cl-action span { transition: transform .5s var(--ease); }
.contact-links a:hover .cl-action { color: var(--bronze); }
.contact-links a:hover .cl-action span { transform: translateX(4px); }
.contact-note { margin-top: 40px; max-width: 70ch; font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 80px 0 36px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; align-items: start; }
.footer-contact, .footer-bar { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a, .footer-bar a { width: fit-content; transition: color .3s; }
.footer-contact a:hover, .footer-bar a:hover { color: var(--bronze); }
.footer-bar a { color: var(--bronze); }
.disclaimer {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: 96ch; font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, .58);
}
.footer-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .58);
}
.to-top:hover { color: var(--bronze); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav ul { gap: 26px; }
  .header-cta { display: none; }
  .practice-intro { grid-column: 8 / 13; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-coords { display: none; }

  .about-year { grid-column: 1 / -1; position: static; display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
  .year-caption { margin-top: 0; }
  .about-body { grid-column: 1 / -1; }
  .about-quote { padding-left: 48px; }
  .about-quote::before { left: -6px; }
  .schedule-head, .schedule-list { grid-column: 1 / -1; }
  .schedule { row-gap: 24px; }
  .schedule-list + .schedule-head { margin-top: 32px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles li:nth-child(3) { border-left: 0; padding-left: 0; }
  .principles li { padding-bottom: 36px; }

  .practice-head .display, .practice-intro { grid-column: 1 / -1; }
  .practice-intro { margin-top: 24px; max-width: 56ch; }
  .pa--a, .pa--b, .pa--d { grid-column: 1 / -1; min-height: 460px; }
  .pa--c, .pa--e, .pa--f { grid-column: span 6; min-height: 360px; }
  .pa--f { grid-column: 1 / -1; }
  .litigation-band { grid-template-columns: 1fr; gap: 16px; }

  .portrait { grid-column: 1 / -1; position: static; max-width: 480px; }
  .attorney-body { grid-column: 1 / -1; }

  .contact-links { grid-template-columns: 1fr; }
  .contact-links li + li { border-left: 0; border-top: 1px solid var(--hair-dark); }
  .contact-links a { padding: 32px 0; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .wordmark { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero-media img { object-position: 78% 40%; }
  .hero-shade { background: linear-gradient(0deg, rgba(23,37,43,.96) 0%, rgba(23,37,43,.86) 55%, rgba(23,37,43,.55) 85%, rgba(23,37,43,.7) 100%); }
  body { font-size: 16px; }
  .wordmark-name { font-size: 1.1rem; letter-spacing: .1em; }
  .wordmark-small { font-size: 8.5px; }
  .wordmark-mark { width: 32px; height: 32px; }
  .hero-meta { gap: 12px; font-size: 10.5px; letter-spacing: .2em; }
  .hero-meta .rule { width: 28px; }
  .hero-foot { gap: 28px; }
  .hero-foot .btn { width: 100%; justify-content: space-between; }
  .scroll-cue { display: none; }
  .grid-lines { grid-template-columns: repeat(3, 1fr); }
  .grid-lines span:nth-child(n+4) { display: none; }
  .grid-lines span:nth-child(3) { border-right: 1px solid rgba(255,255,255,.06); }

  .about-cols { grid-template-columns: 1fr; }
  .schedule-list { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li { border-left: 0; padding: 28px 0; border-top: 1px solid var(--hair-light); }
  .principles li:first-child { border-top: 0; }
  .principles h3 { margin-top: 16px; }

  .pa--c, .pa--e, .pa--f { grid-column: 1 / -1; min-height: 320px; }
  .pa--a, .pa--b, .pa--d { min-height: 420px; }
  .pa h3, .pa p { padding-right: 0; }
  .pa-num { top: 24px; bottom: auto; font-size: 3rem; }

  .credentials { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .portrait figcaption { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   Reduced motion — everything is visible and static
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-meta, .js .hero-foot, .js .scroll-cue { opacity: 1; transform: none; }
  .js .hero-coords { opacity: 1; }
  .js .hero-title .line > span, .js .hero-media img, .js .hero-meta .rule { transform: none; }
  .js .hero-foot { border-top-color: rgba(255, 255, 255, .2); }
  .pa:hover .pa-media img { transform: none; }
}

/* ==========================================================================
   Interactive layer
   ========================================================================== */

/* Scroll progress hairline */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: left; }

/* Live section tracker */
.section-tracker {
  display: flex; align-items: center; gap: 12px;
  padding-left: 24px; border-left: 1px solid var(--hair-dark);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.section-tracker.is-active { opacity: 1; transform: none; }
.st-idx { color: var(--bronze); }

/* Live clock */
.hero-clock { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.clock-dot { position: relative; width: 6px; height: 6px; background: var(--bronze); border-radius: 50%; }
.clock-dot::after {
  content: ""; position: absolute; inset: -4px; border: 1px solid var(--bronze); border-radius: 50%;
  opacity: 0; animation: pulse 2.8s var(--ease) 1.6s 4;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* "2003" fills with bronze as you scroll */
.year-numeral {
  background-image: linear-gradient(0deg, rgba(181,139,98,.92) calc(var(--fill, 0) * 100%), transparent calc(var(--fill, 0) * 100%));
  -webkit-background-clip: text; background-clip: text;
}

/* Photo panels: curtain reveal on entry */
.js .pa--photo.reveal .pa-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--d, 0s); }
.js .pa--photo.reveal.is-visible .pa-media { clip-path: inset(0 0 0 0); }

/* Linework draws itself when a panel enters */
.js .pa-art path:not([stroke-dasharray]), .js .pa-art rect {
  stroke-dasharray: 700; stroke-dashoffset: 700;
  transition: stroke-dashoffset 2.6s var(--ease-io) .3s;
}
.js .pa.is-visible .pa-art path:not([stroke-dasharray]), .js .pa.is-visible .pa-art rect { stroke-dashoffset: 0; }
.pa-art { translate: var(--px, 0px) var(--py, 0px); transition: opacity .8s var(--ease), transform 1.4s var(--ease), translate .9s var(--ease); }

/* Cursor spotlight */
.pa-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(181,139,98,.16), transparent 60%);
  transition: opacity .6s var(--ease);
}
.pa:hover .pa-glow { opacity: 1; }
.pa--photo .pa-glow { z-index: 1; mix-blend-mode: screen; }
.pa-body { z-index: 2; }

/* Copy email */
.contact-links li { position: relative; }
.copy-btn {
  position: absolute; top: 36px; right: 28px;
  padding: 6px 12px; background: none; cursor: pointer;
  border: 1px solid var(--hair-dark); color: rgba(255,255,255,.72);
  font: 600 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .3s, color .3s, background-color .3s;
}
.copy-btn:hover { border-color: var(--bronze); color: var(--bronze); }
.copy-btn.is-copied { background: var(--bronze); border-color: var(--bronze); color: var(--navy); }

@media (max-width: 960px) {
  .section-tracker { margin-left: auto; border-left: 0; padding-left: 0; }
  .menu-toggle { margin-left: 16px; }
  .copy-btn { top: 30px; right: 0; }
}
@media (max-width: 640px) {
  .section-tracker .st-name { display: none; }
  .hero-meta .rule:nth-of-type(2) { display: none; }
  .hero-clock { flex-basis: 100%; }
}
@media (max-width: 400px) { .section-tracker { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-media { transform: none !important; }
  .js .pa--photo.reveal .pa-media { clip-path: none; }
  .js .pa-art path, .js .pa-art rect { stroke-dashoffset: 0 !important; }
  .pa-art { translate: none; }
}

@media print {
  .site-header, .scroll-cue, .grid-lines, .hero-media, .hero-shade { display: none !important; }
  .hero, .section-dark, .practice, .site-footer { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
