:root {
  --black: #0f0f11;
  --ink: #1d1d20;
  --muted: #4f4b52;
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --line: #d8cfc2;
  --red: #8b1e2d;
  --red2: #a93242;
  --gold: #d0a044;
  --shadow: 0 24px 70px rgba(15,15,17,.14);
  --radius: 26px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  interpolate-size: allow-keywords;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 4.7vw, 3.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

ul,
ol {
  padding-left: 1.2rem;
}

li {
  margin-bottom: .65rem;
}

.container {
  width: min(1680px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--black);
  padding: .8rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 16px;
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  width: min(1680px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(15,15,17,.92);
  color: var(--paper);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 18px 50px rgba(15,15,17,.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand span,
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand small {
  color: rgba(255,253,249,.72);
  font-size: .76rem;
  line-height: 1.25;
}

.brand-light small {
  color: rgba(255,253,249,.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  color: rgba(255,253,249,.82);
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a {
  padding: .66rem .86rem;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(255,253,249,.1);
  color: var(--paper);
}

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: var(--paper);
  padding: .8rem 1rem;
}

.nav-cta:hover {
  color: var(--paper);
  filter: brightness(1.06);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: relative;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 4px;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255,253,249,.58), rgba(229,221,210,.38));
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(169,50,66,.38), transparent 34%),
    linear-gradient(135deg, #101012, #1d1d20 55%, #3d111a);
  color: var(--paper);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--paper);
}

.section-dark p,
.section-dark li {
  color: rgba(255,253,249,.88);
}

.hero {
  min-height: 92vh;
  padding: 110px 0 38px;
  background-image:
    linear-gradient(90deg, rgba(15,15,17,.08), rgba(15,15,17,.22) 42%, rgba(15,15,17,.7) 77%),
    url("../img/b36740202.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat, no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15,15,17,.2), rgba(15,15,17,.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px);
  opacity: .34;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: clamp(460px, 34vw, 680px);
  margin-left: auto;
  padding-top: 28px;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.06rem, 1.65vw, 1.26rem);
  color: rgba(255,253,249,.86);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.2;
  padding: .92rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: var(--paper);
  box-shadow: 0 16px 42px rgba(139,30,45,.25);
}

.button-primary:hover {
  color: var(--paper);
  box-shadow: 0 20px 48px rgba(139,30,45,.32);
}

.button-secondary {
  border: 1px solid rgba(255,253,249,.22);
  background: rgba(255,253,249,.08);
  color: var(--paper);
}

.button-secondary:hover {
  color: var(--paper);
  background: rgba(255,253,249,.13);
}

.button-light {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--cream);
  color: var(--red);
}

.hero-panel {
  display: none;
}

.portrait-frame {
  overflow: hidden;
  width: min(100%, 380px);
  margin-left: auto;
  border: 1px solid rgba(208,160,68,.36);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,253,249,.98), rgba(240,229,213,.94));
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-proof {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  margin-top: 46px;
  border: 1px solid rgba(208,160,68,.34);
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  padding: 22px 26px;
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.hero-proof span {
  color: rgba(255,253,249,.86);
  font-size: 1.05rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 88px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.narrow {
  max-width: 760px;
  margin-bottom: 36px;
}

.text-stack > * + * {
  margin-top: 1rem;
}

.text-strong p {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.78;
}

.section-dark .text-strong p {
  color: rgba(255,253,249,.96);
}

.section-dark .section-heading .eyebrow {
  color: var(--gold);
}

.mediation-section {
  background-image:
    linear-gradient(90deg, rgba(255,253,249,.9) 0%, rgba(255,253,249,.62) 46%, rgba(255,253,249,.2) 100%),
    url("../img/b36740022.jpg");
  background-position: center, 76% center;
  background-size: cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed;
}

.about-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(15,15,17,.98) 0%, rgba(15,15,17,.91) 38%, rgba(15,15,17,.36) 72%, rgba(15,15,17,.18) 100%),
    url("../img/b36740262.jpg");
  background-position: center, 60% center;
  background-size: cover, auto 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #101012;
}

.education-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(247,242,234,.98) 0%, rgba(247,242,234,.82) 38%, rgba(247,242,234,.14) 70%, rgba(247,242,234,.02) 100%),
    url("../img/b36740592.jpg");
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #f7f2ea;
}

.work-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(15,15,17,.98) 0%, rgba(15,15,17,.91) 38%, rgba(15,15,17,.34) 72%, rgba(15,15,17,.16) 100%),
    url("../img/b36740342.jpg");
  background-position: center, 55% center;
  background-size: cover, auto 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #101012;
}

.about-section::after,
.education-section::after,
.work-section::after {
  display: none;
}

.about-section > .container,
.education-section > .container,
.work-section > .container {
  position: relative;
  z-index: 1;
}

.about-section .split-section,
.work-section .split-section {
  grid-template-columns: minmax(0, min(700px, 100%));
  gap: 18px;
}

.about-section .section-heading,
.about-section .text-stack,
.work-section .section-heading,
.work-section .text-stack {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-shadow: 0 3px 22px rgba(0,0,0,.72);
}

.about-section .section-heading h2,
.work-section .section-heading h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3.4vw, 3rem);
  overflow-wrap: anywhere;
}

.education-card {
  display: block;
  width: min(100%, 610px);
  margin-right: auto;
  background: rgba(255,253,249,.86);
  backdrop-filter: blur(5px);
}

.education-card .check-list {
  margin-top: 26px;
}

.mediation-info {
  margin-top: clamp(28px, 5vw, 58px);
}

.mediation-info details {
  overflow: hidden;
  border: 1px solid rgba(139,30,45,.18);
  border-left: 5px solid var(--gold);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,253,249,.96), rgba(247,242,234,.95)),
    var(--paper);
  box-shadow: 0 18px 54px rgba(15,15,17,.1);
}

.mediation-info details::details-content {
  overflow: hidden;
  block-size: 0;
  opacity: 0;
  transition: block-size .34s ease, opacity .24s ease;
}

.mediation-info details[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.mediation-info summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  padding: 22px 26px;
  list-style: none;
}

.mediation-info summary::-webkit-details-marker {
  display: none;
}

.mediation-info summary::after {
  content: "+";
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(139,30,45,.09);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 800;
  transition: transform .24s ease, background .24s ease, color .24s ease;
}

.mediation-info details[open] summary::after {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--paper);
}

.mediation-info-body {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 0 26px 28px;
  transform: translateY(-8px);
  transition: transform .28s ease;
}

.mediation-info details[open] .mediation-info-body {
  transform: translateY(0);
}

.mediation-info-tagline {
  margin-top: 26px;
  color: var(--red);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.mediation-info-body h4 {
  margin: 4px 0 0;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mediation-info-body p {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.76;
}

.mediation-info-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mediation-info-body li {
  margin: 0;
  border: 1px solid rgba(208,160,68,.36);
  border-radius: 999px;
  background: rgba(255,253,249,.82);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 720;
  padding: .46rem .72rem;
}

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

.focus-card,
.education-card,
.info-panel,
.vita-card,
.contact-form,
.legal-card,
.thanks-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.86);
  box-shadow: var(--shadow);
}

.focus-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-color: rgba(139,30,45,.18);
  background:
    linear-gradient(180deg, rgba(139,30,45,.07), transparent 112px),
    var(--paper);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}

.focus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139,30,45,.32);
  box-shadow: 0 28px 74px rgba(15,15,17,.18);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #4a141b);
  color: var(--paper);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(139,30,45,.22);
}

.focus-card h3 {
  color: var(--black);
}

.focus-card p {
  color: var(--ink);
}

.focus-card ul {
  margin: .4rem 0 1.2rem;
  color: var(--ink);
  font-size: 1.01rem;
}

.education-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .78fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border-color: rgba(208,160,68,.42);
  background:
    linear-gradient(135deg, rgba(255,253,249,.96), rgba(245,235,219,.94)),
    var(--paper);
}

.education-card h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.05rem, 4vw, 3.2rem);
}

.education-card p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.74;
}

.education-card .check-list {
  display: grid;
  gap: 12px;
  align-self: start;
  margin: 0;
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: rgba(255,253,249,.78);
  padding: 24px 24px 22px 28px;
  box-shadow: 0 14px 36px rgba(15,15,17,.08);
}

.education-section .education-card {
  display: block;
  width: min(100%, 820px);
  margin-left: max(24px, calc((100% - 1680px) / 2));
  margin-right: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.education-section .education-card .check-list {
  margin-top: 26px;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 28px;
  box-shadow: none;
}

.education-section .education-card h2 {
  max-width: 100%;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  overflow-wrap: normal;
}

.check-list,
.cross-list,
.vita-card ul {
  list-style: none;
  padding-left: 0;
}

.check-list li,
.cross-list li,
.vita-card li {
  position: relative;
  padding-left: 1.85rem;
}

.check-list li::before,
.cross-list li::before,
.vita-card li::before {
  position: absolute;
  left: 0;
  top: .05rem;
  color: var(--red);
  font-weight: 900;
}

.check-list li::before,
.vita-card li::before {
  content: "✓";
}

.cross-list li::before {
  content: "–";
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  counter-reset: timeline;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 999px;
  background: rgba(139,30,45,.14);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 24px;
  width: 3px;
  height: var(--timeline-progress, 0%);
  max-height: calc(100% - 48px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  transition: height .45s ease;
}

.timeline li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: start;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,249,.82);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(15,15,17,.07);
  position: relative;
  z-index: 1;
  opacity: .72;
  transform: translateY(12px) scale(.985);
  transition: opacity .3s ease, transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.timeline li.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(208,160,68,.62);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(15,15,17,.11);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #efe4d3;
  border: 1px solid rgba(208,160,68,.42);
  color: var(--red);
  position: relative;
  z-index: 2;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.timeline li.is-active span {
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: var(--paper);
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(139,30,45,.22);
  transform: scale(1.05);
}

.timeline h3,
.timeline p {
  margin-bottom: .35rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-panel {
  padding: clamp(26px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.info-panel h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.info-panel li {
  color: var(--ink);
  font-size: 1.04rem;
}

.info-panel-positive {
  border-color: rgba(63,113,74,.58);
  background: linear-gradient(135deg, rgba(63,113,74,.22), rgba(255,253,249,.96) 48%);
  box-shadow: 0 24px 62px rgba(63,113,74,.13);
}

.info-panel-limit {
  border-color: rgba(139,30,45,.52);
  background: linear-gradient(135deg, rgba(139,30,45,.2), rgba(255,253,249,.96) 48%);
  box-shadow: 0 24px 62px rgba(139,30,45,.13);
}

.info-panel-positive::before,
.info-panel-limit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
}

.info-panel-positive::before {
  background: linear-gradient(90deg, #3f714a, rgba(63,113,74,.28));
}

.info-panel-limit::before {
  background: linear-gradient(90deg, var(--red), rgba(139,30,45,.28));
}

.info-panel-positive .check-list li::before {
  content: "+";
  color: #2f683b;
}

.info-panel-limit .cross-list li::before {
  content: "–";
  color: var(--red);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .72fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.vita-card {
  padding: 30px;
  background: var(--paper);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(247,242,234,.4), rgba(255,253,249,.9)),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.contact-details div {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.contact-details dt {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
}

.email-contact {
  align-self: center;
  max-width: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.78);
  padding: 32px;
  box-shadow: var(--shadow);
}

.email-contact h3 {
  margin-bottom: .8rem;
}

.email-contact p:not(.eyebrow) {
  margin-bottom: 1.4rem;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.checkbox-field {
  color: var(--ink);
  font-weight: 730;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: .86rem .95rem;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(139,30,45,.1);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .96rem;
  line-height: 1.5;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: .14rem;
  accent-color: var(--red);
}

.site-footer {
  background: var(--black);
  color: var(--paper);
  padding: 38px 0;
}

.site-footer p {
  color: rgba(255,253,249,.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) auto minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--paper);
}

.simple-header {
  background: var(--black);
  color: var(--paper);
  padding: 26px 0;
}

.legal-page {
  padding: clamp(54px, 9vw, 96px) 0;
}

.legal-card {
  max-width: 850px;
  padding: clamp(28px, 6vw, 58px);
}

.legal-card h1,
.thanks-card h1 {
  max-width: 100%;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  overflow-wrap: anywhere;
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-intro {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 0;
}

.thanks-card {
  max-width: 760px;
  padding: clamp(32px, 7vw, 72px);
  background: rgba(255,253,249,.94);
  color: var(--ink);
}

.thanks-card h1 {
  color: var(--ink);
}

.thanks-card p {
  color: var(--muted);
}

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

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: rgba(15,15,17,.97);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: .9rem 1rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    transform: translateY(6px) rotate(90deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    transform: translateY(-6px);
    opacity: 0;
  }

  .hero-grid,
  .split-section,
  .education-card,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-panel {
    min-height: auto;
  }

  .portrait-frame {
    margin-right: auto;
  }

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

  .portrait-card,
  .portrait-card-tall,
  .portrait-card-wide {
    grid-column: span 6;
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
    padding-inline: 8px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
    padding: 10px 10px 10px 16px;
  }

  .brand span {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: .68rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline::before,
  .timeline::after {
    left: 52px;
  }

  .footer-grid {
    gap: 18px;
  }

  .hero {
    background-position: 26% center;
  }

  .hero-copy {
    max-width: none;
    margin-left: 0;
    padding: 24px 20px;
    border-radius: 24px;
    background: rgba(15,15,17,.66);
    backdrop-filter: blur(8px);
  }

  .mediation-info summary {
    align-items: flex-start;
    padding: 20px;
  }

  .mediation-info-body {
    padding: 0 20px 24px;
  }

  .mediation-section,
  .about-section,
  .education-section,
  .work-section {
    background-attachment: scroll;
  }

  .about-section::after,
  .education-section::after,
  .work-section::after {
    width: 100%;
    opacity: .24;
  }

  .about-section .split-section,
  .work-section .split-section {
    grid-template-columns: 1fr;
  }

  .education-section .education-card {
    width: 100%;
    margin-left: 0;
  }

  .about-section,
  .work-section {
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 2rem;
  }

  .focus-card,
  .contact-form,
  .info-panel,
  .vita-card {
    padding: 22px;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .timeline::after {
    height: calc(100% - 48px);
    transition: none;
  }

  .timeline li {
    opacity: 1;
    transform: none;
  }

  .mediation-info summary::after {
    transition: none;
  }

  .mediation-info details::details-content,
  .mediation-info-body {
    transition: none;
  }
}
