/*
Theme Name: Rosemberg Law
Theme URI: https://www.rosemberglaw.com
Author: Christian Gambardella
Description: Custom theme for Rosemberg Law — boutique trial firm in Miami.
Version: 1.0.0
Text Domain: rosemberg
*/

/* ============ DESIGN SYSTEM VARIABLES ============ */
/* Skip link — visually hidden until keyboard focus (WCAG 2.4.1 "Bypass Blocks"). */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}
main[id="content"]:focus { outline: none; }

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #fafafa;
  --paper-3: #f5f5f5;
  --rule: #d4d4d4;
  --rule-soft: #e5e5e5;
  --accent: #0a0a0a;
  --muted: #404040;
  --muted-2: #737373;
}

/* ============ RESET ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

.wrap-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

@media (max-width: 720px) {

  .wrap,
  .wrap-narrow {
    padding: 0 26px;
  }
}

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

/* ============ TOPBAR ============ */
.topbar {
  padding: 22px 0;
  background: #0a0a0a;
  color: #fff;
  position: relative;
  z-index: 1010;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .logo {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-indent: .22em;
  color: #fff;
  line-height: 1;
}

.topbar .logo .m {
  font-weight: 700;
}

.topbar nav {
  display: flex;
  gap: 38px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.topbar nav a {
  position: relative;
  padding-bottom: 3px;
  transition: color .3s ease;
}

.topbar nav a:hover {
  color: #fff;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}

.topbar nav a:hover::after {
  transform: scaleX(1);
}

/* Practice dropdown (desktop) */
.topbar nav .nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  padding-top: 21px;
  /* transparent bridge: keeps hover continuous across the topbar padding */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 1020;
}

.topbar nav .has-dropdown:hover .nav-dropdown,
.topbar nav .has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.topbar nav .nav-dropdown-inner {
  background: #0f0f0f;
  padding: 8px 0;
  min-width: 230px;
}

.topbar nav .nav-dropdown a {
  display: block;
  padding: 12px 24px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .18em;
}

.topbar nav .nav-dropdown a::after {
  display: none;
}

.topbar nav .nav-dropdown a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 140px;
  position: relative;
}

@media (max-width: 720px) {
  .hero {
    padding: 40px 0 80px;
  }
}

.hero .meta {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 64px;
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero .meta .sep {
  width: 24px;
  height: 1px;
  background: var(--rule);
}

.hero h1 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .92;
  letter-spacing: -0.045em;
  max-width: 18ch;
  margin-bottom: 32px;
}

/* Homepage hero is intentionally larger than practice-page heroes (matches briefing landing) */
.hero-lg h1 {
  font-weight: 600;
  font-size: clamp(56px, 9vw, 140px);
}

/* PI direct line inside the hero (personal injury / accidentes) */
.hero .direct {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 22px;
}

.hero .direct .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero .direct .label::before {
  content: "§ ";
  color: var(--muted-2);
}

.hero .direct a {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color .2s ease;
}

.hero .direct a:hover {
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero .direct {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
  }

  .hero .direct a {
    font-size: 36px;
  }
}

.hero .rule {
  width: 64px;
  height: 1px;
  background: var(--ink);
  margin: 56px 0 32px;
}

.hero .deck {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.55;
  color: #262626;
  max-width: 52ch;
}

/* Definition entry (homepage hero) */
.definition-entry {
  margin-top: 36px;
  max-width: 64ch;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink);
}

.definition-entry .pos {
  font-family: "Inter Tight", sans-serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.definition-entry .pron {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: .02em;
}

.definition-entry .defn {
  flex: 1 1 100%;
  font-weight: 400;
  color: #262626;
  margin-top: 2px;
}

@media (min-width: 720px) {
  .definition-entry .defn {
    flex: 1 1 auto;
    margin-top: 0;
  }
}

/* ============ EDITOR'S NOTE / DEFINITION ============ */
.definition {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.definition-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .definition-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .definition {
    padding: 64px 0;
  }
}

.definition .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.definition .label::before {
  content: "§ ";
  color: var(--muted);
}

.definition p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  letter-spacing: -0.008em;
  color: #262626;
}

.definition p+p {
  margin-top: 28px;
  color: var(--ink-soft);
}

/* ============ PRACTICE AREAS (TABS) ============ */
.practice {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .practice {
    padding: 72px 0;
  }
}

.practice-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}

@media (max-width: 900px) {
  .practice-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
}

.practice-head .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.practice-head .label::before {
  content: "§ ";
  color: var(--muted);
}

.practice-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 26ch;
}

/* Tabs */
/* Lines are drawn by the grid: the container's ink background shows through
   1px gaps between the tabs. The tabs themselves carry no borders, so there
   are no thin 1px borders to anti-alias into grey/2px lines on hi-dpi screens.
   The active tab shares the container's ink colour, so its side gaps blend in. */
.tabs {
  display: flex;
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  margin-bottom: 48px;
}

.tab {
  flex: 1;
  padding: 22px 24px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  background: var(--paper);
  border: none;
  transition: all .3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tab .num {
  color: var(--muted-2);
  font-size: 9px;
}

.tab:hover {
  color: var(--ink);
}

.tab.active {
  background: var(--ink);
  color: var(--paper);
}

.tab.active .num {
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 720px) {
  .tabs {
    flex-direction: column;
  }

  .tab {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: rise .6s ease forwards;
}

/* Work list (homepage practice tabs) */
.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 56px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.work-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.work-item .num {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted);
  font-weight: 600;
  padding-top: 6px;
}

.work-item .body h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.work-item .body p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #262626;
  max-width: 64ch;
}

@media (max-width: 720px) {
  .work-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
}

.panel-note {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--paper-2);
  border-left: 2px solid var(--ink);
  font-family: "Inter Tight", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: #262626;
  max-width: 64ch;
}

/* ============ POSTURE ============ */
.posture {
  padding: 140px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .posture {
    padding: 80px 0;
  }
}

.posture .wrap-narrow {
  text-align: center;
}

.posture .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 56px;
}

.posture .statement {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  max-width: 24ch;
  margin: 0 auto;
}

.posture .attribution {
  margin-top: 56px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ FOR WHOM ============ */
.for-whom {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .for-whom {
    padding: 72px 0;
  }
}

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .for-whom-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.for-whom .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.for-whom .label::before {
  content: "§ ";
  color: var(--muted);
}

.for-whom .clients {
  display: flex;
  flex-direction: column;
}

.for-whom .client {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.28;
  color: var(--ink);
}

.page-id-1245 .for-whom .client,
.page-id-2061 .for-whom .client {
  font-size: clamp(21px, 2.2vw, 30px);
}

/* Counsel on the Matter (business litigation & intellectual property) */
.counsel {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .counsel {
    padding: 64px 0;
  }
}

.counsel-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .counsel-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.counsel .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.counsel .label::before {
  content: "§ ";
  color: var(--muted);
}

.counsel-body p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 64ch;
}

.counsel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap .25s ease;
}

.counsel-link:hover {
  gap: 18px;
}

.for-whom .client:last-child {
  border-bottom: 1px solid var(--rule);
}

/* ============ M-IS-FOR BRAND SECTION ============ */
.m-is-for {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

@media (max-width: 900px) {
  .m-is-for {
    padding: 64px 0;
  }
}

.m-is-for .wordmark {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 6.5vw, 80px);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-indent: .18em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 36px;
}

.m-is-for .wordmark .m {
  font-weight: 700;
}

.m-is-for .rule {
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto 40px;
}

.m-is-for .lines {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m-is-for .line {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.m-is-for .line .lead-m,
.m-is-for .line .place {
  font-weight: 600;
}

/* ============ DISCRETION (dark) ============ */
.discretion {
  padding: 110px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 720px) {
  .discretion {
    padding: 72px 0;
  }
}

.discretion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .discretion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.discretion .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
}

.discretion .label::before {
  content: "§ ";
  color: rgba(255, 255, 255, .5);
}

.discretion h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
}

.discretion h2 em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
}

.discretion .right p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  max-width: 44ch;
}

.discretion .right p+p {
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
}

/* ============ INQUIRY FORM ============ */
.inquiry {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .inquiry {
    padding: 80px 0;
  }
}

.inquiry-head {
  text-align: center;
  margin-bottom: 80px;
}

.inquiry-head .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 32px;
}

.inquiry-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto;
}

.inquiry-head .deck {
  margin-top: 28px;
  font-family: "Inter Tight", sans-serif;
  font-style: italic;
  font-size: 18px;
  color: #262626;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

form.inquiry-form {
  max-width: 720px;
  margin: 0 auto;
}

.field {
  border-bottom: 1px solid var(--ink);
  padding: 22px 0 16px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}

.field label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.field label .req {
  color: var(--ink);
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.008em;
  padding: 4px 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: .6;
  font-style: italic;
  font-family: "Inter Tight", sans-serif;
}

.field select {
  appearance: none;
  cursor: pointer;
}

@media (max-width: 720px) {
  .field {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.form-footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.form-footer .note {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.7;
}

.form-footer .note .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #1ea96b;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(30, 169, 107, .18);
}

button.submit {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 22px 36px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: background .3s ease, gap .3s ease;
}

button.submit:hover {
  gap: 22px;
}

button.submit .arr {
  font-family: "Inter Tight", sans-serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

/* Form feedback messages */
.form-message {
  padding: 16px 20px;
  margin-top: 24px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
}

.form-message.success {
  background: #f0faf5;
  border-left: 3px solid #1ea96b;
  color: #1a7a50;
}

.form-message.error {
  background: #fdf5f5;
  border-left: 3px solid #c0392b;
  color: #7a1a1a;
}

/* ============ COLOPHON ============ */
footer.colophon {
  padding: 64px 0 56px;
  border-top: 1px solid var(--rule);
}

.colophon-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .colophon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.colophon h5 {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.colophon .brand .logo {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-indent: .22em;
  color: var(--ink);
}

.colophon .brand .logo .m {
  font-weight: 700;
}

.colophon .brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.6;
}

.colophon ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.colophon ul a {
  font-family: "Inter Tight";
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.colophon ul a:hover {
  color: var(--ink);
}

.colophon .meta {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 600px) {
  .colophon .meta {
    flex-direction: column;
  }
}

.disclaimer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 1.65;
  color: #262626;
  max-width: 90ch;
}

.disclaimer strong {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============ PRACTICE PAGES — THE WORK ============ */
.the-work {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

@media (max-width: 900px) {
  .the-work {
    padding: 72px 0;
  }
}

.the-work-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .the-work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.the-work-grid .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.the-work-grid .label::before {
  content: "§ ";
  color: var(--muted);
}

/* What We Litigate list */
.litigate-list {
  display: flex;
  flex-direction: column;
}

.litigate-item {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.litigate-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.litigate-item h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.litigate-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

/* Section label helper (shared across practice pages) */
.section-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.section-label::before {
  content: "§ ";
  color: var(--muted);
}

/* ============ PERSONAL INJURY — DIRECT LINE ============ */
/* FEES section (personal injury / accidentes) — briefing .fee layout */
.fee {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

@media (max-width: 720px) {
  .fee {
    padding: 64px 0;
  }
}

.fee-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .fee-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.fee .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.fee .label::before {
  content: "§ ";
  color: var(--muted-2);
}

.fee-body p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 64ch;
}

.fee-body p:last-child {
  margin-bottom: 0;
}

.fee-callout {
  margin-top: 32px;
  padding: 28px 32px;
  border-left: 2px solid var(--ink);
  background: var(--paper);
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 56ch;
}

/* ============ BIO PAGE ============ */
.bio-intro {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.bio-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.bio-content .name {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: .95;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.bio-content .title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 40px;
}

.bio-content p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: #262626;
}

.bio-content p+p {
  margin-top: 20px;
}

.bio-matters {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

.matters-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .matters-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
}

.matters-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.matter-group {
  margin-bottom: 48px;
}

.matter-group:last-child {
  margin-bottom: 0;
}

.matter-group-title {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0;
}

.matter-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.matter-item .num {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 600;
}

.matter-item .desc {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.008em;
}

@media (max-width: 720px) {
  .matter-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.bio-credentials {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

@media (max-width: 900px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credential-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
}

.credential-item:first-child {
  border-top: 1px solid var(--rule);
}

.bio-media {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.media-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.media-item:first-child {
  border-top: 1px solid var(--rule);
}

.media-item .outlet {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.media-item .description {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
}

/* ============ BIO PAGE — HERO GRID + PORTRAIT ============ */
.hero--bio {
  padding: 80px 0 100px;
}

@media (max-width: 720px) {
  .hero--bio {
    padding: 48px 0 64px;
  }
}

.hero--bio h1 {
  font-weight: 500;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: .95;
  letter-spacing: -0.038em;
  max-width: none;
  margin-bottom: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.portrait {
  width: 100%;
  aspect-ratio: 7 / 8;
  background: #1a1a1a;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, .4) 100%),
    radial-gradient(ellipse at 50% 30%, #2a2a2a 0%, #0a0a0a 60%);
  position: relative;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
}

.portrait::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 78%;
  background: radial-gradient(ellipse at 50% 25%, #3a3a3a 0%, #1c1c1c 55%, transparent 70%);
  border-radius: 50% 50% 8% 8% / 60% 60% 8% 8%;
}

.portrait.has-photo::after {
  display: none;
}

.portrait-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

.portrait-caption span {
  display: block;
  margin-top: 4px;
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
  color: rgba(255, 255, 255, .6);
}

/* Over a real photo, sit the caption on a faint translucent panel so the
   white text stays legible against light areas of the image. */
.portrait.has-photo .portrait-caption {
  padding: 10px 14px;
  background: rgba(10, 10, 10, .42);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border-radius: 5px;
}

.hero .role {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero .contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
}

.hero .contact-line a {
  color: var(--ink);
}

.hero .contact-line a:hover {
  color: var(--muted);
}

/* ============ BIO PAGE — SECTION LAYOUT ============ */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.section-body p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.62;
  color: #262626;
  max-width: 62ch;
}

.section-body p+p {
  margin-top: 20px;
}

.section-body p.lead {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 56ch;
}

/* ============ BIO PAGE — REPRESENTATIVE MATTERS ============ */
.matters-section .matters-intro {
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 48px;
  font-style: italic;
}

.matter-group-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.matter-list {
  display: flex;
  flex-direction: column;
}

.matter {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.matter:last-child {
  border-bottom: none;
}

.matter .matter-num {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--muted-2);
  padding-top: 4px;
}

.matter .matter-desc {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  max-width: 70ch;
}

@media (max-width: 720px) {
  .matter {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
}

/* ============ BIO PAGE — CREDENTIALS ============ */
.section.credentials {
  background: var(--paper-2);
}

.cred-list {
  display: flex;
  flex-direction: column;
}

.cred-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.cred-item:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .cred-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
}

.cred-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cred-value {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}

.cred-value ul {
  list-style: none;
}

.cred-value li {
  padding: 3px 0;
}

.cred-value .year {
  color: var(--muted-2);
  font-size: 14px;
  margin-left: 8px;
  white-space: nowrap;
}

/* ============ BIO PAGE — PRESS STRIP (dark) ============ */
.press-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .press-strip {
    padding: 64px 0;
  }
}

.press-head {
  margin-bottom: 56px;
}

.press-head .section-label {
  color: rgba(255, 255, 255, .6);
}

.press-head .section-label::before {
  color: rgba(255, 255, 255, .35);
}

.press-head h2 {
  margin-top: 16px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 24ch;
}

.press-outlets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

@media (max-width: 900px) {
  .press-outlets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .press-outlets {
    grid-template-columns: 1fr;
  }
}

.press-outlet {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}

@media (max-width: 900px) {
  .press-outlet:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .press-outlet {
    border-right: none;
  }
}

.press-strip .footnote {
  margin-top: 32px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  max-width: 64ch;
  line-height: 1.6;
}

/* ============ CTA STRIP ============ */
.cta {
  padding: 120px 0;
  text-align: center;
}

@media (max-width: 720px) {
  .cta {
    padding: 72px 0;
  }
}

.cta .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}

.cta h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta a.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 36px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: gap .3s ease;
}

.cta a.cta-btn:hover {
  gap: 22px;
}

/* ============ CONTACT PAGE — DIRECTORY ============ */
.directory {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .directory {
    padding: 64px 0;
  }
}

.directory-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.directory-list {
  display: flex;
  flex-direction: column;
}

.dir-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.dir-item:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .dir-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
}

.dir-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dir-value {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}

.dir-value a {
  transition: color .2s ease;
}

.dir-value a:hover {
  color: var(--muted);
}

.dir-value .secondary {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted-2);
}

/* Contact page hero: tighter bottom padding, border, and gap to deck */
.page-id-744 .hero {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}

.page-id-744 .hero .deck {
  margin-top: 24px;
}

/* ============ CONTACT PAGE — LEGACY GRID (unused) ============ */
.contact-grid {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0;
  }
}

.contact-directory {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-row:first-child {
  border-top: 1px solid var(--rule);
}

.contact-row .key {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.contact-row .val {
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}

.contact-row .val a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ CONTACT MAP ============ */
.contact-map {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

@media (max-width: 720px) {
  .contact-map {
    padding: 56px 0;
  }
}

.contact-map-head {
  margin-bottom: 36px;
}

.contact-map-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
}

.contact-map-frame {
  width: 100% !important;
  height: 420px;
  border: 1px solid var(--rule);
  display: block;
  min-width: 0;
  max-width: 100%;
  background: var(--paper);
  filter: grayscale(0.9) contrast(1.05);
  transition: filter .4s ease;
}

.contact-map-frame:hover {
  filter: grayscale(0) contrast(1);
}

@media (max-width: 720px) {
  .contact-map-frame {
    height: 320px;
  }
}

.contact-map-caption {
  margin-top: 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 64ch;
}

/* ============ CLIENT PORTAL — ACCESS ============ */
.access {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .access {
    padding: 64px 0;
  }
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.access-body p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 60ch;
  margin-bottom: 24px;
}

.access-body p:last-of-type {
  margin-bottom: 36px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 20px 32px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: gap .3s ease;
}

.login-btn:hover {
  gap: 22px;
}

.login-note {
  margin-top: 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.6;
}

.login-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s ease;
}

.login-note a:hover {
  border-bottom-color: var(--ink);
}

/* ============ CLIENT PORTAL — PAYMENTS ============ */
.payments {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

@media (max-width: 720px) {
  .payments {
    padding: 64px 0;
  }
}

.payments-head {
  margin-bottom: 48px;
}

.payments-head h2 {
  margin-top: 24px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 24ch;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .pay-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.pay-card {
  display: block;
  padding: 40px 36px;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: border-color .3s ease, transform .3s ease;
}

.pay-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.pay-card .num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 24px;
}

.pay-card h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}

.pay-card p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 32px;
}

.pay-card .open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  transition: gap .3s ease;
}

.pay-card:hover .open {
  gap: 18px;
}

/* ============ ANIMATIONS ============ */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards;
}

.reveal.d1 {
  animation-delay: .1s;
}

.reveal.d2 {
  animation-delay: .35s;
}

.reveal.d3 {
  animation-delay: .6s;
}

.reveal.d4 {
  animation-delay: .9s;
}

/* ============ GLOBAL em/h OVERRIDES ============ */
em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

/* ============ MOBILE HAMBURGER + DRAWER ============ */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: #fff;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1010;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  margin: 5px auto;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  color: #fff;
  z-index: 1000;
  padding: 90px 32px 48px;
  transform: translateY(-100%);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer[aria-hidden="false"] {
  transform: translateY(0);
}

.mobile-drawer .drawer-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 22px;
}

.mobile-drawer .drawer-label::before {
  content: "§ ";
}

.mobile-drawer .drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer .drawer-links a {
  display: block;
  padding: 18px 0;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: padding-left .35s ease;
}

.mobile-drawer .drawer-links a:hover,
.mobile-drawer .drawer-links a:focus {
  padding-left: 8px;
}

.mobile-drawer .drawer-section {
  margin-top: 36px;
}

.mobile-drawer .drawer-section .drawer-label {
  margin-bottom: 14px;
}

.mobile-drawer .drawer-section .drawer-links a {
  padding: 14px 0;
  font-size: 20px;
}

.mobile-drawer .drawer-cta {
  margin-top: auto;
  padding-top: 40px;
}

.mobile-drawer .drawer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #0a0a0a;
  padding: 18px 28px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.mobile-drawer .drawer-footer {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.mobile-drawer .drawer-footer a {
  color: rgba(255, 255, 255, .85);
}

.mobile-drawer .drawer-footer a:hover {
  color: #fff;
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .topbar nav {
    display: none;
  }

  .topbar .logo {
    font-size: 12px;
    letter-spacing: .18em;
    text-indent: .18em;
  }

  .topbar {
    padding: 16px 0;
  }

  .hero .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero .meta .sep {
    display: none;
  }

  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 8px;
  }

  .colophon-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .colophon .brand p {
    max-width: none;
  }

  .cta h2,
  .closing h2 {
    font-size: clamp(32px, 9vw, 44px) !important;
  }

  section {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 480px) {

  .wrap,
  .wrap-narrow {
    padding: 0 22px !important;
  }

  .hero h1 {
    letter-spacing: -0.025em;
  }
}

@media (min-width: 721px) {
  .mobile-drawer {
    display: none;
  }
}

/* ── 404 ─────────────────────────────────────────────── */
.hero--404 {
  padding-bottom: 80px;
}

.posture--404 {
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.posture--404 .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.posture--404 .label::before {
  content: "§ ";
}

.four-oh-four-nav {
  padding: 80px 0 120px;
}

.fof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fof-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 32px;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background .18s, color .18s;
}

.fof-item:hover {
  background: var(--ink);
  color: var(--paper);
}

.fof-item .num {
  font-family: "Inter Tight", sans-serif;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  transition: color .18s;
}

.fof-item:hover .num {
  color: rgba(255, 255, 255, .5);
}

.fof-item .label {
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .fof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fof-item {
    padding: 28px 20px;
  }

  .fof-item .label {
    font-size: 15px;
  }

  .four-oh-four-nav {
    padding: 60px 0 80px;
  }
}

/* ── Inquiry success state ── */
.inquiry-success {
  padding: 48px 0;
}

.inquiry-success-rule {
  width: 32px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 32px;
}

.inquiry-success-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}

/* ============================================================
   THANK YOU / CONFIRMATION PAGES
   ============================================================ */
.hero--simple {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--rule);
}

.hero--simple h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 20px 0 0;
}

.hero--simple .deck {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}

/* ============================================================
   PROSE — privacy policy, legal text pages
   ============================================================ */
.prose {
  max-width: 680px;
  line-height: 1.75;
  color: var(--ink);
}

.prose h3 {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 48px 0 16px;
}

.prose h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 32px 0 8px;
  color: var(--ink);
}

.prose p {
  margin: 0 0 20px;
}

/* Privacy / legal pages — section blocks (.policy-section markup from briefing). */
.prose .policy-section { margin-bottom: 56px; }
.prose .policy-section:last-child { margin-bottom: 0; }
.prose .policy-section h2 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  text-transform: none;
}
.prose .policy-section h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 32px 0 14px;
  text-transform: none;
}
.prose .policy-section p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 64ch;
}
.prose .policy-section p:last-child { margin-bottom: 0; }
.prose .policy-section a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--muted-2);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}
.prose .policy-section a:hover { text-decoration-color: var(--ink); }
.prose .policy-section em { font-style: italic; }
@media (max-width: 720px) {
  .prose .policy-section { margin-bottom: 40px; }
  .prose .policy-section h3 { margin-top: 24px; }
}

.inquiry-success-deck {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.6;
}

/* ——— Homepage Notice (bottom-right card) ——— */
.site-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  width: calc(100vw - 48px);
  background: var(--paper);
  color: var(--ink);
  padding: 28px 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 2px;
}

.site-notice[hidden] {
  display: none;
}

.site-notice__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  padding: 0;
  border-radius: 50%;
}

.site-notice__close:hover,
.site-notice__close:focus-visible {
  color: var(--ink);
  background: var(--paper-3);
  outline: none;
}

.site-notice__title {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
  padding-right: 28px;
}

.site-notice__body p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 10px;
}

.site-notice__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 540px) {
  .site-notice {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    padding: 24px 22px 20px;
  }
}