:root {
  color-scheme: light;
  --ink: #171512;
  --ink-soft: #292520;
  --paper: #f2ecdf;
  --paper-light: #faf7f0;
  --paper-deep: #e5dccb;
  --oxblood: #6d2028;
  --oxblood-dark: #4c151b;
  --brass: #a8844d;
  --line: rgba(23, 21, 18, 0.18);
  --line-light: rgba(250, 247, 240, 0.2);
  --muted: #6d655a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 11px 16px;
  transform: translateY(-160%);
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

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

:focus-visible {
  outline: 3px solid #d6a65e;
  outline-offset: 4px;
}

.masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--paper-light);
}

.masthead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead-meta p {
  margin: 0;
}

.masthead-meta a {
  text-decoration: none;
}

.masthead-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  overflow: hidden;
  max-width: 270px;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  opacity: 0.7;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav a {
  position: relative;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.primary-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 220ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  transition: background 180ms ease, color 180ms ease;
}

.nav-contact:hover {
  background: var(--paper-light);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.global-status {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  padding: 14px 18px;
  border-left: 4px solid var(--oxblood);
  background: var(--paper-light);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.24);
  font-size: 0.82rem;
}

.global-status p {
  margin: 0;
}

.global-status button,
.state-message button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 3px 0;
  background: transparent;
  color: var(--oxblood);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 880px;
  height: min(940px, 100svh);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
}

.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.76) 34%, rgba(10, 9, 8, 0.12) 67%, rgba(10, 9, 8, 0.36) 100%), linear-gradient(0deg, rgba(10, 9, 8, 0.48), transparent 42%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 10vw;
  height: 100%;
  padding-top: 180px;
  padding-bottom: 112px;
}

.hero-copy {
  max-width: 730px;
}

.kicker {
  margin: 0 0 22px;
  color: #d6b980;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.kicker-dark {
  color: var(--oxblood);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.6vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.hero-lead {
  max-width: 580px;
  margin: 34px 0 0;
  color: rgba(250, 247, 240, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-light {
  background: var(--paper-light);
  color: var(--ink);
}

.button-light:hover {
  background: #e6d7bf;
}

.button-ink {
  min-width: 240px;
  background: var(--ink);
  color: var(--paper-light);
}

.button-ink:hover {
  background: var(--oxblood);
}

.button:disabled {
  transform: none;
  cursor: wait;
  opacity: 0.56;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  padding: 6px 0;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.arrow-link span {
  transition: transform 180ms ease;
}

.arrow-link:hover span {
  transform: translate(3px, 3px);
}

.arrow-link-light {
  color: rgba(250, 247, 240, 0.82);
}

.hero-note {
  align-self: end;
  max-width: 330px;
  padding: 28px 0 0 28px;
  border-top: 1px solid rgba(250, 247, 240, 0.56);
  border-left: 1px solid rgba(250, 247, 240, 0.56);
}

.folio-number {
  color: #d6b980;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-note blockquote {
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.06;
}

.hero-note p {
  margin: 0;
  color: rgba(250, 247, 240, 0.64);
  font-size: 0.74rem;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  color: rgba(250, 247, 240, 0.65);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(96px, 10vw, 152px);
}

.manifesto {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.section-index {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.manifesto h2,
.section-heading h2,
.journal h2,
.figures h2,
.team h2,
.voices h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.manifesto-copy {
  padding-top: 43px;
}

.manifesto-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.principles {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.principles span {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.24rem;
}

.practice {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 10vw;
  align-items: end;
  margin-bottom: 72px;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.practice-list {
  counter-reset: practice;
  border-top: 1px solid var(--line);
}

.practice-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.65fr) minmax(280px, 1fr) 32px;
  gap: 28px;
  align-items: start;
  padding: 34px 18px 34px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: practice;
  transition: padding 220ms ease, background 220ms ease;
}

.practice-item:hover {
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.38);
}

.practice-item::before {
  color: var(--oxblood);
  content: counter(practice, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.practice-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.practice-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.practice-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.practice-services li {
  position: relative;
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 600;
}

.practice-services li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--brass);
  content: "";
}

.practice-arrow {
  color: var(--oxblood);
  font-size: 1.2rem;
}

.journal {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
}

.journal::after {
  position: absolute;
  top: -130px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(214, 185, 128, 0.18);
  border-radius: 50%;
  content: "";
}

.journal-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 88px);
}

.journal-intro {
  position: sticky;
  top: 150px;
  align-self: start;
}

.journal h2 {
  font-size: clamp(3rem, 4.8vw, 4.8rem);
}

.journal-intro > p:last-child {
  margin: 28px 0 0;
  color: rgba(250, 247, 240, 0.6);
  font-size: 0.86rem;
}

.journal-column-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.journal-column-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.journal-column-head span {
  color: rgba(250, 247, 240, 0.42);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-list article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line-light);
}

.journal-list time,
.journal-list .case-label {
  color: #d6b980;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
}

.journal-list h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.34rem, 1.8vw, 1.72rem);
  font-weight: 500;
  line-height: 1.12;
}

.journal-list p {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 15px;
  color: rgba(250, 247, 240, 0.54);
  font-size: 0.76rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.journal-list a {
  display: inline-flex;
  gap: 7px;
  color: rgba(250, 247, 240, 0.8);
  font-size: 0.67rem;
  font-weight: 700;
  text-decoration: none;
}

.journal-list a:hover {
  color: #d6b980;
}

.figures {
  padding-block: clamp(82px, 8vw, 120px);
  background: var(--paper-deep);
}

.figures-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 8vw;
  align-items: end;
}

.figures h2 {
  max-width: 8ch;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
}

.figure-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.figure-item {
  padding: 28px 24px 0;
  border-left: 1px solid var(--line);
}

.figure-item strong {
  display: block;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.figure-item span {
  display: block;
  margin-top: 17px;
  font-size: 0.72rem;
  font-weight: 700;
}

.figure-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.6;
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 7vw;
  align-items: end;
  margin-bottom: 70px;
}

.team-heading .kicker {
  grid-column: 1;
  margin-bottom: -4px;
}

.team-heading h2 {
  grid-column: 1 / span 2;
  max-width: 11ch;
}

.team-heading > p:last-child {
  grid-column: 2;
  margin: -64px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}

.lawyer-card {
  grid-column: span 4;
  min-width: 0;
}

.lawyer-card:first-child {
  grid-column: span 6;
}

.lawyer-card:nth-child(2) {
  grid-column: span 6;
  padding-top: 70px;
}

.lawyer-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: var(--paper-deep);
}

.lawyer-card:first-child .lawyer-portrait,
.lawyer-card:nth-child(2) .lawyer-portrait {
  aspect-ratio: 4 / 3.7;
}

.lawyer-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.04);
  transition: filter 300ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lawyer-card:hover img {
  transform: scale(1.025);
  filter: saturate(0.9) contrast(1.02);
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e2d7c4, #cfc0aa);
  color: rgba(109, 32, 40, 0.55);
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
}

.lawyer-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.lawyer-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}

.lawyer-body p {
  margin: 6px 0 0;
  color: var(--oxblood);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-contact {
  align-self: start;
  color: var(--muted);
  font-size: 1.05rem;
  text-decoration: none;
}

.voices {
  background: var(--oxblood-dark);
  color: var(--paper-light);
}

.voices-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.1fr);
  gap: 10vw;
  align-items: start;
}

.voices h2 {
  font-size: clamp(3.2rem, 5vw, 5.2rem);
}

.testimonial {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid rgba(250, 247, 240, 0.4);
}

.quote-mark {
  position: absolute;
  top: -3px;
  left: 0;
  color: #d6b980;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.testimonial blockquote {
  margin: 38px 0 52px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.testimonial-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-meta strong,
.testimonial-meta span {
  display: block;
}

.testimonial-meta strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-meta > div > span {
  margin-top: 4px;
  color: rgba(250, 247, 240, 0.55);
  font-size: 0.68rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(250, 247, 240, 0.38);
  background: transparent;
  color: var(--paper-light);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.testimonial-controls button:hover {
  background: var(--paper-light);
  color: var(--oxblood-dark);
}

.testimonial-controls p {
  min-width: 42px;
  margin: 0;
  color: rgba(250, 247, 240, 0.52);
  font-family: var(--serif);
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 150px);
}

.contact h2 {
  max-width: 10ch;
}

.contact-aside > p:not(.kicker):not(.contact-disclaimer) {
  max-width: 480px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact address {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-style: normal;
}

.contact address a {
  width: fit-content;
  text-decoration-color: rgba(23, 21, 18, 0.3);
  text-underline-offset: 4px;
}

.contact-disclaimer {
  max-width: 400px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.62rem;
}

.contact-form-wrap {
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact form {
  display: grid;
  gap: 27px;
}

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

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.form-row label span {
  color: var(--oxblood);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px 12px;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row textarea {
  min-height: 132px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--oxblood);
  box-shadow: 0 1px 0 var(--oxblood);
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: #a12632;
}

.turnstile-slot {
  min-height: 66px;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-status[data-kind="error"] {
  color: #9f1e2b;
}

.form-status[data-kind="success"] {
  color: #356a44;
}

.footer {
  padding: 70px 0 24px;
  background: var(--ink);
  color: var(--paper-light);
}

.footer-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 55px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark-light {
  color: #d6b980;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.footer-brand p {
  margin: 2px 0 0;
  color: rgba(250, 247, 240, 0.52);
  font-size: 0.68rem;
}

.footer nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

.footer nav a,
.footer-meta a {
  color: rgba(250, 247, 240, 0.75);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
}

.footer nav a:hover,
.footer-meta a:hover {
  color: #d6b980;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(250, 247, 240, 0.4);
  font-size: 0.59rem;
}

.footer-meta p {
  margin: 0;
}

.section-state:empty {
  display: none;
}

.state-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.section-state-dark .state-message {
  border-color: var(--line-light);
  color: rgba(250, 247, 240, 0.56);
}

.section-state-dark .state-message button {
  color: #d6b980;
}

.loading-lines {
  display: grid;
  gap: 14px;
  padding: 28px 0;
}

.loading-lines i {
  width: min(100%, 480px);
  height: 13px;
  background: linear-gradient(90deg, rgba(23, 21, 18, 0.07), rgba(23, 21, 18, 0.15), rgba(23, 21, 18, 0.07));
  background-size: 200% 100%;
  animation: loading 1.5s infinite linear;
}

.loading-lines i:nth-child(2) {
  width: min(78%, 360px);
}

.loading-lines i:nth-child(3) {
  width: min(58%, 280px);
}

.section-state-dark .loading-lines i {
  background: linear-gradient(90deg, rgba(250, 247, 240, 0.05), rgba(250, 247, 240, 0.14), rgba(250, 247, 240, 0.05));
  background-size: 200% 100%;
}

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

.hero .reveal {
  animation: entrance 820ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .hero-note {
  animation-delay: 180ms;
}

@keyframes loading {
  to { background-position: -200% 0; }
}

@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 17px;
  }

  .primary-nav a {
    font-size: 0.67rem;
  }

  .journal-shell {
    grid-template-columns: 1fr 1fr;
  }

  .journal-intro {
    position: static;
    grid-column: 1 / -1;
    max-width: 760px;
  }

  .figures-shell {
    grid-template-columns: 1fr;
  }

  .figures h2 {
    max-width: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 36px, 1240px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .masthead-meta {
    display: none;
  }

  .masthead-main {
    min-height: 76px;
  }

  .brand-copy strong {
    max-width: 190px;
    font-size: 1.2rem;
  }

  .brand-copy small {
    font-size: 0.52rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    padding: 9px 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle i,
  .menu-toggle i::before {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle i::before {
    transform: translateY(-6px);
  }

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

  .menu-toggle[aria-expanded="true"] i::before {
    transform: rotate(-90deg);
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 20px;
    border-top: 3px solid var(--oxblood);
    background: var(--paper-light);
    color: var(--ink);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.76rem;
  }

  .nav-contact {
    margin-top: 12px;
    border: 0;
    background: var(--ink);
    color: var(--paper-light);
    text-align: center;
  }

  .hero {
    min-height: 800px;
    height: auto;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(10, 9, 8, 0.93), rgba(10, 9, 8, 0.46)), linear-gradient(0deg, rgba(10, 9, 8, 0.78), transparent 52%);
  }

  .hero-visual img {
    object-position: 57% center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 150px;
    padding-bottom: 90px;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(3.6rem, 15vw, 6.8rem);
  }

  .hero-note {
    max-width: 390px;
  }

  .hero-scroll {
    display: none;
  }

  .manifesto,
  .section-heading,
  .voices-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-index {
    width: 72px;
  }

  .manifesto-copy {
    max-width: 620px;
    padding-top: 0;
  }

  .section-heading {
    gap: 28px;
  }

  .practice-item {
    grid-template-columns: 52px minmax(0, 0.72fr) minmax(0, 1fr) 20px;
    gap: 18px;
  }

  .team-heading {
    display: block;
  }

  .team-heading h2 {
    margin-top: 0;
  }

  .team-heading > p:last-child {
    max-width: 520px;
    margin: 24px 0 0;
  }

  .lawyer-card,
  .lawyer-card:first-child,
  .lawyer-card:nth-child(2) {
    grid-column: span 6;
    padding-top: 0;
  }

  .contact-form-wrap {
    padding: 30px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 28px, 1240px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.86rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-layout {
    gap: 46px;
    padding-top: 130px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17.5vw, 5.2rem);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: fit-content;
  }

  .hero-note {
    margin-left: 28px;
    padding: 20px 0 0 20px;
  }

  .hero-note blockquote {
    margin: 12px 0 16px;
    font-size: 1.65rem;
  }

  .section {
    padding-block: 82px;
  }

  .manifesto h2,
  .section-heading h2,
  .journal h2,
  .figures h2,
  .team h2,
  .voices h2,
  .contact h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .practice-item {
    grid-template-columns: 40px 1fr 22px;
    padding: 28px 0;
  }

  .practice-detail {
    grid-column: 2 / -1;
  }

  .practice-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .journal-shell {
    grid-template-columns: 1fr;
  }

  .journal-intro {
    grid-column: auto;
  }

  .journal-column-precedents {
    margin-top: 30px;
  }

  .journal-list article {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .figure-list {
    grid-template-columns: 1fr;
  }

  .figure-item {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 0 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .figure-item strong {
    grid-row: 1 / span 2;
  }

  .figure-item span {
    align-self: end;
    margin: 0;
  }

  .team-list {
    display: block;
  }

  .lawyer-card {
    margin-bottom: 42px;
  }

  .lawyer-card .lawyer-portrait,
  .lawyer-card:first-child .lawyer-portrait,
  .lawyer-card:nth-child(2) .lawyer-portrait {
    aspect-ratio: 4 / 4.2;
  }

  .testimonial blockquote {
    font-size: 2.2rem;
  }

  .testimonial-meta {
    align-items: start;
    flex-direction: column;
  }

  .form-split {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .contact-form-wrap {
    margin-inline: -14px;
    padding: 28px 20px;
  }

  .button-ink {
    width: 100%;
  }

  .footer-main,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer nav {
    flex-wrap: wrap;
  }

  .global-status {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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