/* Dewey, Cheatem & Howe
   A firm that takes itself completely seriously. The jokes live in the fine print. */

@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette: green leather desk tops, brass fittings, Portland stone, ink and a lawyer's redline. */
  --green-950: #0E1D17;
  --green-900: #12261F;
  --green-800: #1C3A30;
  --brass: #B4955A;
  --brass-hover: #C6A96F;
  --brass-soft: #CDB27C;
  --brass-ink: #7A5F2E;
  --paper: #F3F2EE;
  --stone: #E4E2DA;
  --ink: #16231E;
  --ink-2: #46524C;
  --ink-3: #66706B;
  --on-dark: #EEEBE2;
  --on-dark-2: rgba(238, 235, 226, 0.74);
  --on-dark-3: rgba(238, 235, 226, 0.66);
  --redline: #A3302A;
  --redline-on-dark: #E8A595;
  --rule: rgba(22, 35, 30, 0.14);
  --rule-strong: rgba(22, 35, 30, 0.42);
  --rule-dark: rgba(238, 235, 226, 0.18);

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --section-pad: clamp(80px, 10vw, 148px);
  --col-gap: clamp(20px, 3vw, 40px);

  --fn: var(--redline);
  color-scheme: light;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brass);
  color: var(--green-950);
  font: 600 0.875rem/1 var(--font-sans);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Type ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.45rem + 2.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.625rem);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Footnote references: the redline. */
.fn-ref {
  font: 600 0.62em/0 var(--font-sans);
  vertical-align: super;
  margin-left: 0.06em;
  letter-spacing: 0;
}
.fn-ref a {
  color: var(--fn);
  text-decoration: none;
  padding: 0.1em 0.2em;
  border-radius: 2px;
}
.fn-ref a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Fine print: where the firm tells the truth. */
.fineprint {
  position: relative;
  max-width: 68ch;
  margin-top: 40px;
  padding-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.fineprint::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.fineprint li {
  position: relative;
  padding: 2px 6px 2px calc(6px + 1.5em);
  margin-left: -6px;
  border-radius: 2px;
}
.fineprint li + li { margin-top: 6px; }
.fineprint li::before {
  content: attr(data-n);
  position: absolute;
  left: 6px;
  top: 0.32em;
  font: 600 0.75rem/1.4 var(--font-sans);
  font-style: normal;
  color: var(--fn);
}
.fineprint--light { color: var(--on-dark-2); }
.fn-back {
  font-style: normal;
  text-decoration: none;
  color: var(--fn);
  margin-left: 0.2em;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.25em;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 0.875rem/1.1 var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--lg { padding: 1.1em 1.6em; font-size: 0.9375rem; }
.btn--brass { background: var(--brass); color: var(--green-950); }
.btn--brass:hover { background: var(--brass-hover); }

.text-link {
  font: 500 0.9375rem/1.4 var(--font-sans);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.2s ease;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--on-dark); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(18, 38, 31, 0.97);
  box-shadow: 0 1px 0 rgba(180, 149, 90, 0.32);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(18, 38, 31, 0.9); backdrop-filter: blur(10px) saturate(1.1); }
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand__mark { flex: none; width: 40px; height: 40px; color: var(--brass-soft); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.004em;
  white-space: nowrap;
}
.brand__name .amp {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brass-soft);
  margin-inline: 0.04em;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav__list {
  display: flex;
  gap: 28px;
}
.site-nav__list a {
  font: 500 0.875rem/1 var(--font-sans);
  letter-spacing: 0.01em;
  color: var(--on-dark-2);
  text-decoration: none;
  padding-block: 8px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: color 0.2s ease, background-size 0.25s ease;
}
.site-nav__list a:hover { color: var(--on-dark); background-size: 100% 1px; }

.site-nav__toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 2px 10px 12px;
  background: none;
  border: 0;
  color: inherit;
  font: 500 0.875rem/1 var(--font-sans);
  cursor: pointer;
}
.site-nav__toggle-icon {
  position: relative;
  width: 22px;
  height: 10px;
}
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.site-nav__toggle-icon::before { top: 0; }
.site-nav__toggle-icon::after { top: 8.5px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::before { top: 4.25px; transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(640px, 100svh);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--green-950);
  color: var(--on-dark);
  --fn: var(--brass-soft);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img {
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 40%;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Pull the photograph into the palette, then shade it for the type. */
.hero::before {
  background: var(--green-800);
  mix-blend-mode: color;
  opacity: 0.32;
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(14, 29, 23, 0.62) 0%, rgba(14, 29, 23, 0) 24%),
    linear-gradient(90deg, rgba(14, 29, 23, 0.9) 0%, rgba(14, 29, 23, 0.74) 34%, rgba(14, 29, 23, 0.3) 70%, rgba(14, 29, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(14, 29, 23, 0.92) 0%, rgba(14, 29, 23, 0.4) 30%, rgba(14, 29, 23, 0) 55%);
}

.hero__body {
  align-self: end;
  padding-top: clamp(48px, 10vh, 120px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.hero__title {
  max-width: 15.5ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.1rem + 5vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -0.016em;
  text-wrap: balance;
  color: #F6F3EA;
}
.hero__title .fn-ref { font-size: max(0.24em, 0.75rem); vertical-align: 1.7em; }
.hero__lead {
  max-width: 44ch;
  margin-top: clamp(20px, 3vh, 32px);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--on-dark-2);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(28px, 4vh, 40px);
}

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 48px;
  padding-block: 16px 22px;
  border-top: 1px solid var(--rule-dark);
}
.hero__foot .fineprint { margin: 0; padding: 0; max-width: 60ch; }
.hero__foot .fineprint::before { display: none; }
.hero__caption {
  flex: none;
  max-width: 34ch;
  font: italic 0.8125rem/1.5 var(--font-serif);
  color: var(--on-dark-3);
  text-align: right;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--green {
  background: var(--green-800);
  color: var(--on-dark);
  --fn: var(--redline-on-dark);
}
.section--ruled { padding-top: 0; }
.section--ruled > .wrap {
  border-top: 1px solid var(--rule-strong);
  padding-top: var(--section-pad);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .h2 { grid-column: 1 / span 6; }
.section-head__intro {
  grid-column: 8 / -1;
  max-width: 40ch;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.section--green .section-head__intro { color: var(--on-dark-2); }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 40px;
  align-items: start;
}
.split__head {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.split > :not(.split__head) { grid-column: 6 / -1; }
.split__intro {
  margin-top: 20px;
  max-width: 24ch;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- Firm ---------- */

.firm__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
}
.firm__seal {
  grid-column: 1 / span 4;
  padding-top: 8px;
}
.seal {
  width: min(100%, 272px);
  aspect-ratio: 1;
  height: auto;
  color: var(--ink);
}
.firm__motto {
  margin-top: 24px;
  max-width: 28ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.firm__text { grid-column: 6 / -1; }
.firm__text .h2 { margin-bottom: 32px; }
.firm__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  margin-top: 36px;
  color: var(--ink-2);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px var(--col-gap);
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-strong);
}
.facts dt {
  font: 500 0.8125rem/1.3 var(--font-sans);
  color: var(--ink-3);
}
.facts dd {
  margin-top: 6px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

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

.practice {
  display: grid;
  grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr);
  gap: 8px var(--col-gap);
  padding-block: 26px;
  border-top: 1px solid var(--rule-strong);
}
.practice:last-child { border-bottom: 1px solid var(--rule-strong); }
.practice__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
}
.practice p {
  max-width: 46ch;
  color: var(--ink-2);
  padding-top: 2px;
}

/* ---------- FAQ ---------- */

.faq__item {
  padding-block: 26px;
  border-top: 1px solid var(--rule-strong);
}
.faq__item:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq__q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  text-wrap: balance;
}
.faq__item p {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.faq__item a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-strong);
}
.faq__item a:hover { text-decoration-color: currentColor; }

/* ---------- Partners ---------- */

.partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px var(--col-gap);
}
.partner {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.partner__initial {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 3vw, 6.5rem);
  line-height: 0.9;
  color: var(--brass-ink);
  margin-bottom: 28px;
}
.partner__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
}
.partner__role {
  margin-top: 6px;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--ink-2);
}
.partner > p:not([class]) { color: var(--ink-2); max-width: 40ch; }
.partner__meta {
  margin-top: auto;
  padding-top: 24px;
  font: 400 0.8125rem/1.5 var(--font-sans);
  color: var(--ink-3);
}

/* ---------- Matters ---------- */

.matters {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.matters th {
  padding: 0 24px 14px 0;
  border-bottom: 1px solid var(--ink);
  font: 500 0.8125rem/1.3 var(--font-sans);
  color: var(--ink-3);
}
.matters td {
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid var(--rule-strong);
  vertical-align: top;
  line-height: 1.55;
}
.matters td:nth-child(1) { width: 46%; }
.matters td:nth-child(2) { color: var(--ink-2); }
.matters th:last-child,
.matters td:last-child {
  width: 4rem;
  padding-right: 0;
  text-align: right;
  font: 400 0.875rem/1.9 var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink-3);
}
.matters th:last-child { font-weight: 500; line-height: 1.3; }

/* ---------- Clients ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 0 var(--col-gap);
}
.testimonial {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
}
.testimonial__portrait {
  width: 100%;
  max-width: 188px;
  margin-bottom: 32px;
}
.testimonial__quote p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-dark);
  text-indent: -0.42em;
  text-wrap: pretty;
}
.testimonial__quote p::before { content: "\201C"; }
.testimonial__quote p::after { content: "\201D"; }
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
}
.testimonial__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
}
.testimonial__role {
  font: 400 0.8125rem/1.4 var(--font-sans);
  color: var(--on-dark-3);
}
.clients .fineprint { margin-top: 64px; }

/* ---------- Fees ---------- */

.fees {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
  align-items: center;
}
.fees__figure { grid-column: 1 / span 5; }
.fees__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.fees__figure figcaption {
  margin-top: 12px;
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.fees__body { grid-column: 7 / -1; }
.fees__intro {
  margin-top: 20px;
  max-width: 36ch;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-2);
}
.schedule {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  padding-top: 8px;
}
.schedule__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 11px;
}
.schedule__row dt {
  display: flex;
  align-items: baseline;
  flex: 1;
  gap: 12px;
  min-width: 0;
}
.schedule__row dt::after {
  content: "";
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dotted var(--rule-strong);
  transform: translateY(-0.28em);
}
.schedule__row dd {
  flex: none;
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
.fees__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
  font: 400 0.875rem/1.5 var(--font-sans);
  color: var(--ink-2);
}

/* ---------- Offices ---------- */

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px var(--col-gap);
}
.office {
  font-style: normal;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.office__city {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
}
.office p + p { margin-top: 4px; }
.office a { text-underline-offset: 0.25em; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); }
.office a:hover { text-decoration-color: currentColor; }
.office .office__note {
  margin-top: 14px;
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

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

.contact { background: var(--green-800); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
  align-items: start;
}
.contact__intro { grid-column: 1 / span 5; }
.contact__intro .h2 { margin-bottom: 28px; }
.contact__intro > p { max-width: 38ch; color: var(--on-dark-2); font-size: 1.125rem; }
.contact__aside { margin-top: 20px; font-size: 1rem !important; }
.contact__aside a { color: var(--on-dark); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.form { grid-column: 7 / -1; }

.form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font: 500 0.8125rem/1.3 var(--font-sans);
  color: var(--on-dark-2);
}
.field__optional { font-weight: 400; color: var(--on-dark-3); }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(238, 235, 226, 0.26);
  border-radius: 2px;
  background: rgba(238, 235, 226, 0.04);
  color: var(--on-dark);
  font: 400 1rem/1.4 var(--font-serif);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23CDB27C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { color: var(--ink); background: var(--paper); }
.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover { border-color: rgba(238, 235, 226, 0.42); }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus { border-color: var(--brass); background-color: rgba(238, 235, 226, 0.07); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; }

.form.was-validated :is(input, textarea):invalid { border-color: var(--redline-on-dark); }

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.field--check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brass);
}
.field--check label {
  margin: 0;
  font: 400 0.875rem/1.5 var(--font-sans);
}
.form.was-validated .field--check input:invalid + label { color: var(--redline-on-dark); }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 10px;
}
.form__fine {
  font: italic 0.875rem/1.5 var(--font-serif);
  color: var(--on-dark-3);
}
.form__status:not(:empty) {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--brass);
  background: rgba(238, 235, 226, 0.05);
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.6;
}
.form__status[data-state="error"] { border-left-color: var(--redline-on-dark); }
.form__status strong { font-weight: 600; }

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

.site-footer {
  background: var(--green-950);
  color: var(--on-dark);
  padding-top: clamp(64px, 8vw, 104px);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer__logo img { width: clamp(280px, 34vw, 440px); height: auto; }
.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px 36px;
}
.site-footer__nav a {
  font: 500 0.875rem/1.4 var(--font-sans);
  color: var(--on-dark-2);
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 0.3em; }

.disclaimer {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-block: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(180, 149, 90, 0.42);
}
.disclaimer__seal {
  width: 168px;
  height: 168px;
  color: var(--brass-soft);
}
.disclaimer__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}
.disclaimer__body p { max-width: 72ch; color: var(--on-dark-2); }
.disclaimer__body .disclaimer__pun {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  line-height: 1.3;
  color: var(--on-dark);
  text-wrap: balance;
}
.disclaimer__body .disclaimer__hint {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--brass-soft);
}

.site-footer__base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px var(--col-gap);
  padding-block: 28px 44px;
  border-top: 1px solid var(--rule-dark);
  font: 400 0.8125rem/1.6 var(--font-sans);
  color: var(--on-dark-3);
}
.site-footer__base a { color: var(--on-dark-2); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.credits { text-align: right; }
.made-by {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-dark);
  text-align: center;
  color: var(--on-dark-2);
}
.site-footer__base .made-by a {
  color: var(--brass-soft);
  text-decoration-color: color-mix(in srgb, var(--brass-soft) 45%, transparent);
}
.site-footer__base .made-by a:hover { text-decoration-color: currentColor; }
.made-by__heart { font-size: 0.95em; }

/* ---------- Motion: one entrance, nothing else moves on its own ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__media img { animation: hero-settle 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__title,
  .hero__lead,
  .hero__actions { animation: hero-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__title { animation-delay: 0.25s; }
  .hero__lead { animation-delay: 0.45s; }
  .hero__actions { animation-delay: 0.6s; }
  .fineprint li:target { animation: redline 2.6s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  .fineprint li:target { background: rgba(163, 48, 42, 0.12); }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes redline {
  0%, 30% { background-color: rgba(163, 48, 42, 0.16); }
  100% { background-color: rgba(163, 48, 42, 0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 12px var(--gutter) 32px;
    background: var(--green-900);
    border-bottom: 1px solid rgba(180, 149, 90, 0.32);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav__menu.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding-block: 14px;
    border-bottom: 1px solid var(--rule-dark);
    font: 400 1.5rem/1.2 var(--font-display);
    color: var(--on-dark);
    background: none;
  }
  .site-nav__cta { align-self: flex-start; }
}

@media (max-width: 960px) {
  .split__head { position: static; }
  .split__head,
  .split > :not(.split__head) { grid-column: 1 / -1; }
  .split__intro { max-width: 40ch; }

  .section-head .h2,
  .section-head__intro { grid-column: 1 / -1; }

  .firm__seal {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 0;
  }
  .seal { width: 148px; flex: none; }
  .firm__motto { margin-top: 0; }
  .firm__text { grid-column: 1 / -1; }

  .partners { grid-template-columns: 1fr; gap: 48px; }
  .partner { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 28px; }
  .partner > * { grid-column: 2; }
  .partner__initial { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .partner__meta { margin-top: 0; padding-top: 16px; }

  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr auto auto 1fr auto; row-gap: 0; }
  .testimonial:nth-child(n + 3) { margin-top: 64px; }

  .fees__figure,
  .fees__body { grid-column: 1 / -1; }
  .fees__figure img { aspect-ratio: 16 / 10; object-position: 50% 45%; }

  .contact__intro,
  .form { grid-column: 1 / -1; }

  .site-footer__base { grid-template-columns: 1fr; }
  .credits { text-align: left; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }


  .brand { gap: 10px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.125rem; }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(14, 29, 23, 0.7) 0%, rgba(14, 29, 23, 0) 22%),
      linear-gradient(0deg, rgba(14, 29, 23, 0.96) 0%, rgba(14, 29, 23, 0.82) 38%, rgba(14, 29, 23, 0.25) 70%, rgba(14, 29, 23, 0.2) 100%);
  }
  .hero__media img { object-position: 50% 30%; }
  .hero__foot { flex-direction: column; }
  .hero__caption { text-align: left; }

  .firm__cols { grid-template-columns: 1fr; gap: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .practice { grid-template-columns: 1fr; padding-block: 22px; }

  .partner { grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
  .partner__initial { font-size: 3.75rem; }

  .matters thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .matters, .matters tbody, .matters tr, .matters td { display: block; width: auto !important; }
  .matters tr { padding-block: 22px; border-bottom: 1px solid var(--rule-strong); }
  .matters tr:first-child { border-top: 1px solid var(--ink); }
  .matters td { padding: 0; border: 0; }
  .matters td + td { margin-top: 8px; }
  .matters td:last-child { order: -1; text-align: left; line-height: 1.3; }
  .matters tr { display: flex; flex-direction: column; }
  .matters td:last-child { margin: 0 0 8px; }

  .testimonials { grid-template-columns: 1fr; grid-template-rows: none; }
  .testimonial { grid-row: auto; grid-template-rows: none; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; }
  .testimonial + .testimonial { margin-top: 48px; }
  .testimonial:nth-child(n + 3) { margin-top: 48px; }
  .testimonial__portrait { grid-row: 1 / span 2; margin: 0; }
  .testimonial figcaption { margin-top: 16px; }

  .schedule__row { flex-wrap: wrap; }

  .offices { grid-template-columns: 1fr; gap: 40px; }

  .form__row--2 { grid-template-columns: 1fr; }

  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__nav ul { grid-template-columns: repeat(2, auto); justify-content: start; }
  .disclaimer { grid-template-columns: 1fr; gap: 24px; }
  .disclaimer__seal { width: 112px; height: 112px; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 1rem; }
  .site-nav__toggle-label { display: none; }
}
