/* Western Oklahoma Law - "Landscape" direction, Prairie Sky palette.
   Spec: docs/handoff/README.md. Desktop at 1200px and up, tablet 768-1199,
   mobile below 768. */

:root {
  --navy: #1b2f45;
  --navy-darkest: #0f1b29;
  --navy-deeper: #13233a;
  --blue: #2c5f8a;
  --brass: #b8964f;
  --brass-text: #8a6d2f;
  --brass-light: #d9c69a;
  --ink: #16202b;
  --body: #2e3a46;
  --muted: #5f6b78;
  --ground: #f1f2f0;
  --slot: #e4e8ea;
  --hairline: #dfe3e6;
  --chip: #c9d1d8;
  --on-dark: #d6dfe8;
  --on-dark-muted: #b9c6d3;
  --link-dark: #a8c6e0;
  --divider-dark: #2e4764;

  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 64px;
  --header-h: 104px;
  --scrim-rgb: 15, 27, 41;
}

@media (max-width: 1199px) {
  :root { --header-h: 81px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 400 16px/1.7 var(--sans);
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--blue); }

a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; }

ul { padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 12px 18px;
  font-weight: 700;
}

.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */

.eyebrow {
  font: 500 13px/1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow-light { color: var(--brass-light); }
.eyebrow-muted { color: var(--muted); }

.h2 {
  margin-top: 18px;
  font: 400 48px/1.1 var(--serif);
  color: var(--ink);
}

.h2-light { color: #fff; }
.h2-lg { font-size: 52px; line-height: 1.12; margin-top: 20px; }

.lede {
  font-size: 18px;
  line-height: 1.8;
  color: var(--body);
  text-wrap: pretty;
}

.lede + .lede { margin-top: 20px; }
.lede-lg { font-size: 19px; line-height: 1.85; }
.measure-wide { max-width: 82ch; }

.role {
  display: block;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.role-light { color: var(--brass-light); }
.role-lg { font-size: 13px; letter-spacing: .18em; }

.text-link {
  display: inline-block;
  margin-top: 32px;
  font: 700 13px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 6px;
}

.more {
  font: 700 13px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.more-muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 20px 30px;
  font: 700 13px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, color .15s ease;
}

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--on-dark); color: var(--navy); }

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, .7);
  color: #fff;
  padding: 18.5px 28.5px;
}

.btn-brass {
  border: 1.5px solid var(--brass);
  color: #fff;
  padding: 17px 26px;
  white-space: nowrap;
}

.btn-outline:hover,
.btn-brass:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 15px 24px;
  font-size: 12.5px;
}

.btn-navy:hover { background: var(--blue); color: #fff; }

.btn-block { display: block; width: 100%; }

/* ---------- Icons (inline SVG, coloured by CSS) ---------- */

.icon { display: block; flex: none; }
.icon svg { width: 100%; height: 100%; display: block; }
.icon-28 { width: 28px; height: 28px; }
.icon-40 { width: 40px; height: 40px; }
.icon-48 { width: 48px; height: 48px; }
.icon-blue { color: var(--blue); }
.icon-brass { color: var(--brass); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  transition: background-color .2s ease;
}

.site-header.is-solid { background: var(--navy); }

.header-inner {
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: block;
  color: #fff;
  margin-right: auto;
}

.brand:hover { color: #fff; }

.brand svg { height: 53px; width: auto; display: block; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav li { white-space: nowrap; }

/* Just above the 1200px breakpoint the design's 34px gaps don't fit. */
@media (min-width: 1200px) and (max-width: 1359px) {
  .header-inner,
  .main-nav ul { gap: 22px; }
}

.main-nav a {
  display: block;
  padding: 10px 0;
  font: 500 14px/1 var(--sans);
  letter-spacing: .04em;
  color: #fff;
  opacity: .86;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { opacity: 1; color: #fff; }

.main-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--brass);
}

.header-phone {
  border: 1.5px solid var(--brass);
  color: #fff;
  text-decoration: none;
  padding: 15px 22px;
  font: 700 13px/1 var(--sans);
  letter-spacing: .12em;
  white-space: nowrap;
}

.header-phone:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.menu-btn,
.menu-close {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .7);
  color: #fff;
  cursor: pointer;
}

.menu-bars { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.menu-bars span { width: 20px; height: 2px; background: #fff; }

@media (max-width: 1199px) {
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
  .brand svg { height: 38px; }
  .main-nav { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 767px) {
  .header-phone { display: none; }
}

/* Mobile menu panel */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav-top {
  height: var(--header-h);
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--divider-dark);
  flex: none;
}

.mobile-nav-top .brand svg { height: 38px; }

.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--brass-light);
  font: 300 24px/1 var(--sans);
}

.mobile-nav nav { flex: 1; padding: 12px var(--gutter); }

.mobile-nav nav a {
  display: block;
  min-height: 48px;
  padding: 17px 0;
  border-bottom: 1px solid var(--divider-dark);
  font: 400 26px/1.2 var(--serif);
  color: #fff;
  text-decoration: none;
}

.mobile-nav nav a[aria-current="page"] { color: var(--brass-light); }

.mobile-nav-call {
  padding: 24px var(--gutter) 28px;
  background: var(--navy-deeper);
}

.mobile-nav-call .btn {
  margin-top: 16px;
  padding: 18px;
  font-size: 14px;
  letter-spacing: .08em;
}

/* ---------- Banners (photo + scrim + text) ---------- */

.banner,
.hero,
.focus-band,
.profile-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-darkest);
  color: #fff;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banner-tall { min-height: 520px; }

.banner-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim, linear-gradient(90deg, rgba(var(--scrim-rgb), .95) 0%, rgba(var(--scrim-rgb), .8) 50%, rgba(var(--scrim-rgb), .3) 100%));
}

/* Starts below the header: these photos have little room above the heads. */
.banner-side .banner-img {
  left: auto;
  top: var(--header-h);
  height: calc(100% - var(--header-h));
  width: min(48%, 680px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}

/* Keeps the header readable where it crosses the photo. */
.banner-side .banner-scrim {
  background: linear-gradient(180deg, rgba(var(--scrim-rgb), .55) 0, rgba(var(--scrim-rgb), 0) 180px);
}

.banner-body {
  position: relative;
  padding: calc(var(--header-h) + 48px) var(--gutter) 72px;
}

.banner-with-icon { display: flex; align-items: flex-end; gap: 28px; }

.banner-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  color: var(--brass);
  flex: none;
}

.banner-icon svg { width: 100%; height: 100%; display: block; }

.banner-right .banner-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.crumbs {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.banner-title {
  margin-top: 20px;
  max-width: 20ch;
  font: 400 64px/1.08 var(--serif);
  letter-spacing: -.015em;
  color: #fff;
}

.banner-tall .banner-title { font-size: 76px; line-height: 1.05; }
.banner-with-icon .banner-title { font-size: 80px; line-height: 1; }
.banner-right .banner-title { max-width: 16ch; font-size: 68px; line-height: 1.05; }

/* A heading set line by line (one sentence per line) keeps each line whole. */
.banner-title-lines,
.banner-right .banner-title-lines { max-width: none; }
.banner-title-lines span { display: block; white-space: nowrap; }

@media (max-width: 767px) {
  .banner-title-lines span { white-space: normal; }
}

/* ---------- Layout helpers ---------- */

.section { padding: 104px var(--gutter); }
.section-flush-bottom { padding-bottom: 0; padding-top: 88px; }
.section-flush-bottom + .section { padding-top: 64px; }

.split-7-5 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}

.brass-aside {
  border-left: 2px solid var(--brass);
  padding-left: 32px;
}

.brass-aside p:last-child {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.8;
}

.headshot-note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Home ---------- */

/* 900px tall per the design, but never taller than the screen, so the
   practice strip is always visible on the first screen. */
.hero {
  min-height: clamp(720px, 100vh, 900px);
  min-height: clamp(720px, 100svh, 900px);
  display: flex;
  flex-direction: column;
}

/* The photo is 3:2 with Lady Justice in the right third. Wide screens crop top
   and bottom, so the focal point sits high enough to keep the scales in view;
   narrow screens crop the sides, so it sits right to keep the statue. */
.hero .banner-img { object-position: 78% 35%; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--scrim-rgb), 0) calc(100% - 320px), rgba(var(--scrim-rgb), .9) 100%),
    linear-gradient(90deg, rgba(var(--scrim-rgb), .94) 0%, rgba(var(--scrim-rgb), .82) 42%, rgba(var(--scrim-rgb), .35) 100%);
}

.hero-body {
  position: relative;
  flex: 1;
  padding: calc(var(--header-h) + 48px) var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 500 14px/1.3 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.hero-eyebrow .rule { width: 48px; height: 2px; background: var(--brass); flex: none; }

.hero-title {
  margin-top: 28px;
  max-width: 13ch;
  font: 400 92px/1.02 var(--serif);
  letter-spacing: -.02em;
  color: #fff;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.hero-ctas .btn-white { padding: 22px 34px; }
.hero-ctas .btn-outline { padding: 20.5px 30px; }

.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.hero-strip li + li { border-left: 1px solid rgba(255, 255, 255, .14); }

.hero-strip a {
  height: 100%;
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.hero-strip a:hover { background: rgba(255, 255, 255, .06); }

.strip-name { font: 400 28px/1.1 var(--serif); color: #fff; }
.strip-short { font-size: 14.5px; line-height: 1.6; color: var(--on-dark); }

.intro-split {
  padding: 120px var(--gutter);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.big-stat {
  font: 300 220px/.85 var(--serif);
  letter-spacing: -.04em;
  color: var(--navy);
}

.big-stat span { color: var(--brass); }

.stat-caption {
  margin-top: 20px;
  font: 500 13px/1.5 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-split .lede { margin-top: 28px; max-width: 62ch; }

.focus-band {
  min-height: 560px;
  display: flex;
  align-items: center;
}

.focus-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--scrim-rgb), .25) 0%, rgba(var(--scrim-rgb), .85) 50%, rgba(var(--scrim-rgb), .95) 100%);
}

.focus-body {
  position: relative;
  margin-left: auto;
  width: 720px;
  max-width: 100%;
  padding: 88px var(--gutter);
}

.focus-quote {
  margin-top: 24px;
  font: 400 46px/1.18 var(--serif);
  color: #fff;
}

.focus-body .btn { margin-top: 36px; }

.team-band {
  background: var(--navy);
  padding: 112px var(--gutter);
  color: var(--on-dark);
}

.team-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.team-card {
  position: relative;
  display: block;
  height: 520px;
  overflow: hidden;
  background: var(--divider-dark);
  text-decoration: none;
}

.team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transition: transform .4s ease;
}

.team-card:hover img { transform: scale(1.03); }

.team-card .headshot-note { top: 28px; left: 28px; bottom: auto; color: var(--on-dark); }

.team-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(180deg, rgba(var(--scrim-rgb), 0), rgba(var(--scrim-rgb), .95));
}

.team-card-text {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card-name { font: 400 34px/1.1 var(--serif); color: #fff; }
.team-card-short { font-size: 15px; line-height: 1.6; color: var(--on-dark); }

.counsel-row {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--divider-dark);
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
}

.counsel-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  flex: none;
}

.counsel-name { font: 400 24px/1.2 var(--serif); color: #fff; white-space: nowrap; }
.counsel-row:hover .counsel-name { text-decoration: underline; }
.counsel-line { flex: 1; font-size: 15.5px; line-height: 1.6; color: var(--on-dark); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-split-text { padding: 104px var(--gutter); }
.contact-split .h2 { font-size: 44px; line-height: 1.15; }

.contact-address {
  margin-top: 36px;
  font-size: 18px;
  line-height: 1.7;
}

.contact-phone {
  display: inline-block;
  margin-top: 20px;
  font: 400 44px/1 var(--serif);
  color: var(--navy);
  text-decoration: none;
}

.contact-phone:hover { color: var(--blue); }

.contact-meta {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-meta a { text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

.map {
  position: relative;
  min-height: 520px;
  background: var(--slot);
}

.map iframe,
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- About ---------- */

.roster-band {
  background: var(--ground);
  padding: 72px var(--gutter) 104px;
}

.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.roster-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  text-decoration: none;
}

/* Square slots: the headshots are portrait, so a wide slot cuts off chins. */
.roster-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--slot);
}

.roster-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.roster-photo .headshot-note { left: 16px; bottom: 16px; font-size: 10.5px; }

.roster-text {
  padding: 22px 24px 26px;
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.is-counsel .roster-text { border-top-color: var(--brass); }

.roster-name { font: 400 24px/1.2 var(--serif); color: var(--ink); }
.roster-card:hover .roster-name { color: var(--blue); }

.memoriam {
  background: var(--navy);
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
  color: var(--on-dark);
}

.memoriam img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1);
}

.memoriam-name { margin-top: 20px; font: 400 64px/1.05 var(--serif); }
.memoriam-name a { color: #fff; text-decoration: none; }
.memoriam-name a:hover { text-decoration: underline; }
.memoriam-dates { margin-top: 12px; font: 300 32px/1 var(--serif); color: var(--brass-light); }
.memoriam-bio { margin-top: 28px; font-size: 18px; line-height: 1.8; max-width: 60ch; }

/* ---------- Practice areas ---------- */

.area-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.area-card {
  height: 100%;
  background: var(--ground);
  border-top: 3px solid var(--blue);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.area-card:hover { background: var(--slot); }
.area-card-name { font: 400 30px/1.1 var(--serif); color: var(--ink); }
.area-card-long { flex: 1; font-size: 15.5px; line-height: 1.7; color: var(--body); }

.focus-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-darkest);
  padding: 112px var(--gutter);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 72px;
  align-items: center;
}

.focus-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  opacity: .3;
}

.focus-panel-text,
.clients-panel { position: relative; }

.focus-panel-text .btn { margin-top: 36px; }

.clients-panel {
  background: rgba(var(--scrim-rgb), .85);
  border: 1px solid var(--divider-dark);
  padding: 36px;
}

.clients-panel ul { margin-top: 18px; }

.clients-panel li {
  padding: 14px 0;
  border-top: 1px solid var(--divider-dark);
  font: 400 19px/1.35 var(--serif);
  color: #fff;
}

.clients-panel li span { font: 400 14px/1 var(--sans); color: var(--on-dark-muted); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.chips li {
  border: 1px solid var(--chip);
  padding: 12px 18px;
  font: 500 14.5px/1 var(--sans);
  color: var(--navy);
}

.speak-card {
  background: var(--navy);
  padding: 36px;
  color: var(--on-dark);
}

.speak-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.speak-list li { display: flex; gap: 18px; align-items: center; }
.speak-list img { width: 64px; height: 78px; object-fit: cover; flex: none; }
.speak-name { display: block; font: 400 24px/1.2 var(--serif); color: #fff; text-decoration: none; }
.speak-name:hover { color: #fff; text-decoration: underline; }
.speak-line { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.4; }
.speak-card .btn { margin-top: 28px; padding: 18px; letter-spacing: .12em; }

.other-areas {
  background: var(--ground);
  padding: 56px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}

.other-areas .eyebrow { font-size: 12px; }

.other-areas a {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 24px/1 var(--serif);
  color: var(--navy);
  text-decoration: none;
}

.other-areas a:hover { text-decoration: underline; }

/* ---------- Attorney profiles ---------- */

.profile-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.profile-card { display: flex; flex-direction: column; background: var(--ground); }

.profile-card-photo {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--slot);
}

.profile-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.profile-card-text {
  flex: 1;
  padding: 32px;
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.7;
}

.profile-card-text a:not(.btn) { text-decoration: none; }
.profile-card-text a:not(.btn):hover { text-decoration: underline; }
.profile-card-name { font: 400 32px/1.1 var(--serif); color: var(--ink); }
.profile-card .btn { align-self: flex-start; margin-top: auto; }
.profile-card-text p:nth-last-of-type(1) { margin-bottom: 10px; }

.counsel-band {
  background: var(--navy);
  padding: 72px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.counsel-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  text-decoration: none;
}

.counsel-item img { width: 140px; height: 172px; object-fit: cover; object-position: 50% 15%; }
.is-memoriam img { filter: grayscale(1); }
.counsel-item .eyebrow { display: block; font-size: 12px; }
.counsel-item-name { display: block; margin-top: 14px; font: 400 32px/1.1 var(--serif); color: #fff; }
.counsel-item:hover .counsel-item-name { text-decoration: underline; }
.counsel-item-bio { display: block; margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--on-dark); }

.profile-hero {
  min-height: 620px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.profile-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.profile-hero.is-memoriam .profile-hero-img { filter: grayscale(1); }

/* Photos too small to fill the hero are shown near native size, edge faded. */
.small-photo .profile-hero-img {
  width: auto;
  max-width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0, #000 35%);
}

.profile-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 44%, rgba(27, 47, 69, 0) 70%);
}

.profile-hero-body {
  position: relative;
  max-width: 760px;
  padding: calc(var(--header-h) + 48px) var(--gutter) 72px;
}

.profile-hero-name {
  margin-top: 20px;
  font: 400 84px/1 var(--serif);
  color: #fff;
}

.profile-hero .role { margin-top: 16px; }

.profile-contacts {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.profile-contacts dt {
  font: 500 11.5px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.profile-contacts dd {
  margin-top: 10px;
  font: 400 26px/1 var(--serif);
  color: #fff;
}

.profile-contacts dd a { color: #fff; text-decoration: none; }
.profile-contacts dd a:hover { text-decoration: underline; }
.profile-contacts .profile-email { margin-top: 12px; font: 500 17px/1 var(--sans); }
.profile-contacts .profile-email a { color: var(--link-dark); }

.profile-body {
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 72px;
  align-items: start;
}

.profile-body.no-aside { grid-template-columns: minmax(0, 8fr) 4fr; }
.profile-body .lede-lg { font-size: 19px; line-height: 1.8; }

.facts { margin-top: 40px; }

.facts > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}

.facts dt {
  font: 500 12px/1.5 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.facts dd { font-size: 17px; line-height: 1.7; color: var(--ink); }

.clients-card {
  background: var(--ground);
  padding: 32px;
  border-top: 3px solid var(--brass);
}

.clients-card .eyebrow { font-size: 12px; }
.clients-card ul { margin-top: 16px; }
.clients-card li { padding: 14px 0; border-top: 1px solid var(--hairline); }
.client-name { display: block; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.client-place { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Legal resources ---------- */

.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  height: 100%;
  min-height: 280px;
  background: var(--ground);
  border-top: 3px solid var(--blue);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
}

a.resource-card:hover { background: var(--slot); }
.resource-n { font: 300 48px/1 var(--serif); color: var(--brass-text); }
.resource-name { flex: 1; font: 400 30px/1.15 var(--serif); color: var(--ink); }

.cta-strip {
  background: var(--navy);
  padding: 64px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-strip p { font: 400 34px/1.25 var(--serif); color: #fff; }
.cta-strip .btn { white-space: nowrap; letter-spacing: .12em; }

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

.contact-hero {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* The embed centres on the office, so the map starts near the end of the
   720px text column: that puts the pin about two-thirds across, clear of the
   text, while keeping Google's attribution in the bottom-right corner visible. */
.contact-map {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 640px;
  filter: grayscale(1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 240px);
  mask-image: linear-gradient(90deg, transparent 0, #000 240px);
}

/* Slides the embed's address card (top-left corner) up behind the header. */
.contact-map iframe {
  top: -90px;
  height: calc(100% + 90px);
}

.contact-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--scrim-rgb), .6) 0, rgba(var(--scrim-rgb), 0) 200px),
    linear-gradient(90deg, rgba(var(--scrim-rgb), .96) 0, rgba(var(--scrim-rgb), .92) 720px, rgba(var(--scrim-rgb), .2) 1000px, rgba(var(--scrim-rgb), .12) 100%);
}

.contact-body {
  position: relative;
  max-width: 720px;
  padding: calc(var(--header-h) + 72px) var(--gutter) 88px;
}

.contact-intro { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--on-dark); }

.phone-bar {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  padding: 26px 30px;
  font: 400 40px/1 var(--serif);
}

.phone-bar:hover { background: var(--on-dark); color: var(--navy); }
.phone-bar-call { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

.contact-cols {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark);
}

.contact-cols .eyebrow { font-size: 11.5px; letter-spacing: .18em; margin-bottom: 10px; }
.contact-cols a { color: var(--link-dark); text-decoration: none; }
.contact-cols a:hover { text-decoration: underline; }

.contact-cols .directions-link {
  display: inline-block;
  margin-top: 14px;
  font: 700 12.5px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 6px;
}

.contact-cols .directions-link:hover { color: var(--brass-light); text-decoration: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-darkest);
  color: var(--on-dark);
}

.footer-grid {
  padding: 88px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.site-footer .eyebrow { font-size: 12px; }

.footer-phone {
  display: inline-block;
  margin-top: 20px;
  font: 300 76px/1 var(--serif);
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
}

.footer-phone:hover { color: var(--on-dark); }

.footer-address { margin-top: 24px; font-size: 16px; line-height: 1.7; }
.footer-address a { color: var(--link-dark); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }

.footer-nav {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a { font: 400 19px/1.3 var(--serif); color: #fff; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.disclaimer {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--on-dark);
  text-wrap: pretty;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 400 17px/1.2 var(--serif);
  color: #fff;
}

.monogram { width: 34px; height: 34px; color: var(--brass); flex: none; }
.monogram svg { width: 100%; height: 100%; display: block; }
.footer-tag { font-size: 14px; line-height: 1.4; color: var(--on-dark-muted); }

/* ---------- Tablet: 768-1199 ---------- */

@media (max-width: 1199px) {
  .h2 { font-size: 40px; }
  .h2-lg { font-size: 42px; }

  .banner { min-height: 400px; }
  .banner-title,
  .banner-right .banner-title { font-size: 52px; }
  .banner-tall .banner-title { font-size: 60px; }
  .banner-with-icon .banner-title { font-size: 64px; }

  .hero { min-height: 0; }
  .hero-body { padding-top: calc(var(--header-h) + 96px); padding-bottom: 88px; }
  .hero-title { font-size: 74px; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip li:nth-child(3) { border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }

  .intro-split,
  .split-7-5,
  .focus-panel,
  .profile-body,
  .profile-body.no-aside { grid-template-columns: 1fr; gap: 56px; }

  .big-stat { font-size: 176px; }

  .team-cards,
  .profile-cards { grid-template-columns: 1fr 1fr; }

  .roster,
  .area-cards { grid-template-columns: 1fr 1fr; }

  .contact-split { grid-template-columns: 1fr; }
  .contact-split-text { padding-top: 88px; padding-bottom: 72px; }
  .map { min-height: 420px; }

  .memoriam { grid-template-columns: 240px 1fr; gap: 48px; }
  .memoriam img { width: 240px; height: 300px; }
  .memoriam-name { font-size: 52px; }

  .counsel-band { grid-template-columns: 1fr; gap: 48px; }

  .profile-hero-name { font-size: 68px; }
  .profile-hero-img { width: 62%; }

  .resource-cards { grid-template-columns: 1fr 1fr 1fr; }
  .cta-strip p { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-phone { font-size: 64px; }
}

/* ---------- Mobile: below 768 ---------- */

@media (max-width: 767px) {
  .section { padding: 64px var(--gutter); }
  .section-flush-bottom { padding-top: 56px; padding-bottom: 0; }
  .section-flush-bottom + .section { padding-top: 40px; }

  .eyebrow { font-size: 11.5px; letter-spacing: .18em; }
  .h2,
  .h2-lg { font-size: 32px; line-height: 1.15; }
  .lede,
  .lede-lg { font-size: 17px; line-height: 1.75; }

  .btn { padding: 18px 22px; }

  .banner,
  .banner-tall { min-height: 340px; }
  .banner-scrim,
  .banner-side .banner-scrim { background: linear-gradient(180deg, rgba(var(--scrim-rgb), .55) 0%, rgba(var(--scrim-rgb), .75) 40%, rgba(var(--scrim-rgb), .96) 100%); }
  .banner-side .banner-img { top: 0; height: 100%; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .banner-body { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
  .banner-title,
  .banner-tall .banner-title,
  .banner-right .banner-title,
  .banner-with-icon .banner-title { font-size: 40px; line-height: 1.08; }
  .banner-right .banner-body { align-items: flex-start; text-align: left; }
  .banner-with-icon { flex-direction: column; align-items: flex-start; gap: 20px; }
  .banner-icon { width: 48px; height: 48px; margin: 0; }

  .hero { min-height: 0; }
  .hero .banner-img { object-position: 80% 30%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(var(--scrim-rgb), .55) 0%, rgba(var(--scrim-rgb), .75) 40%, rgba(var(--scrim-rgb), .96) 100%); }
  .hero-body { min-height: 640px; justify-content: flex-end; padding-top: calc(var(--header-h) + 64px); padding-bottom: 36px; }
  .hero-eyebrow { gap: 12px; font-size: 11.5px; letter-spacing: .18em; }
  .hero-eyebrow .rule { width: 32px; }
  .hero-title { margin-top: 18px; font-size: 44px; line-height: 1.05; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 28px; }
  .hero-ctas .btn-white,
  .hero-ctas .btn-outline { padding: 20px; }

  /* The hero strip becomes the 2x2 practice-area grid from the mobile artboard. */
  .hero-strip { background: #fff; border-top: 0; padding: 40px var(--gutter); gap: 10px; }
  .hero-strip li + li,
  .hero-strip li:nth-child(n+3) { border: 0; }
  .hero-strip a {
    background: var(--ground);
    border-top: 3px solid var(--blue);
    padding: 20px 16px;
    min-height: 120px;
    gap: 14px;
  }
  .hero-strip a:hover { background: var(--slot); }
  .hero-strip .icon { width: 32px; height: 32px; color: var(--blue); }
  .strip-name { font-size: 21px; color: var(--ink); }
  .strip-short { display: none; }

  .intro-split { padding: 64px var(--gutter); gap: 32px; }
  .big-stat { font-size: 128px; }
  .stat-caption { font-size: 12px; }

  .focus-band { min-height: 0; }
  .focus-scrim { background: rgba(var(--scrim-rgb), .82); }
  .focus-body { padding: 72px var(--gutter); }
  .focus-quote { font-size: 30px; }

  .team-band { padding: 64px var(--gutter); }
  .team-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .team-cards { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .team-card { height: 440px; }
  .team-card-name { font-size: 28px; }
  .counsel-row { flex-wrap: wrap; gap: 12px 16px; }
  .counsel-line { flex-basis: 100%; }

  .contact-split-text { padding: 64px var(--gutter); }
  .contact-split .h2 { font-size: 30px; }
  .contact-phone { font-size: 36px; }
  .map { min-height: 320px; }

  .roster-band { padding: 0 var(--gutter) 64px; }
  .roster { grid-template-columns: 1fr 1fr; gap: 12px; }
  .roster-band { padding-top: 40px; }
  .roster-text { padding: 16px; }
  .roster-name { font-size: 20px; }

  .memoriam { grid-template-columns: 1fr; padding: 64px var(--gutter); gap: 32px; }
  .memoriam img { width: 100%; max-width: 320px; height: 360px; }
  .memoriam-name { font-size: 40px; }
  .memoriam-dates { font-size: 26px; }
  .memoriam-bio { font-size: 17px; }

  .area-cards,
  .profile-cards,
  .resource-cards { grid-template-columns: 1fr; gap: 16px; }
  .area-card { padding: 32px 24px; }
  .area-card-name { font-size: 26px; }
  .resource-card { min-height: 0; }

  .focus-panel { padding: 64px var(--gutter); gap: 40px; }
  .clients-panel { padding: 24px; }

  .speak-card { padding: 28px 24px; }
  .other-areas { padding: 40px var(--gutter); flex-direction: column; align-items: flex-start; gap: 20px; }

  .profile-card-photo { height: 360px; }
  .counsel-band { padding: 56px var(--gutter); }
  .counsel-item { grid-template-columns: 96px 1fr; gap: 20px; }
  .counsel-item img { width: 96px; height: 118px; }
  .counsel-item-name { font-size: 26px; margin-top: 10px; }

  .profile-hero { min-height: 0; }
  .profile-hero-img,
  .small-photo .profile-hero-img { width: 100%; max-width: none; height: 420px; object-position: 50% 15%; -webkit-mask-image: none; mask-image: none; }
  .profile-hero-fade { background: linear-gradient(180deg, rgba(27, 47, 69, 0) 0%, rgba(27, 47, 69, 0) 220px, var(--navy) 420px); }
  .profile-hero-body { padding-top: 340px; padding-bottom: 48px; }
  .profile-hero.no-photo .profile-hero-body { padding-top: calc(var(--header-h) + 64px); }
  .profile-hero-name { font-size: 44px; }
  .profile-contacts dd { font-size: 22px; }
  .profile-body { padding: 56px var(--gutter) 64px; gap: 40px; }
  .facts > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .facts dd { font-size: 16px; }
  .clients-card { padding: 24px; }

  .cta-strip { flex-direction: column; align-items: flex-start; padding: 48px var(--gutter); gap: 24px; }
  .cta-strip p { font-size: 26px; }

  .contact-hero { min-height: 0; }
  .contact-map { position: relative; left: auto; height: 320px; order: 2; -webkit-mask-image: none; mask-image: none; }
  .contact-map iframe { top: 0; height: 100%; }
  .contact-scrim { display: none; }
  .contact-body { padding: calc(var(--header-h) + 40px) var(--gutter) 48px; }
  .phone-bar { font-size: 30px; padding: 22px 20px; }
  .contact-cols { grid-template-columns: 1fr; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px var(--gutter) 40px; }
  .footer-phone { font-size: 44px; margin-top: 14px; }
  .footer-address { font-size: 15px; }
  .disclaimer { font-size: 13.5px; line-height: 1.7; }
  .footer-mark { font-size: 15px; }
}

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