/* Shared editorial structure. */
nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .5em; }
.ed-header { padding: 5rem 2.5rem 3.5rem; border-bottom: 1px solid #444; }
.ed-header h1 { font-family: var(--font-display); font-size: clamp(3.2rem, 7.5vw, 8rem); line-height: .98; font-weight: 600; letter-spacing: -.025em; margin-top: 2rem; max-width: 22ch; text-wrap: balance; }
.ed-deck { max-width: 43ch; font-size: 1rem; font-weight: 300; color: #bbb; margin: 2rem 0 0 auto; }
.ed-opening { padding: 4rem 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 10vw; align-items: start; }
.ed-lede { font-family: var(--font-display); font-size: clamp(1.9rem, 3.1vw, 3.3rem); font-weight: 400; line-height: 1.18; letter-spacing: -.012em; max-width: 30ch; text-wrap: pretty; }
.ed-note { padding-top: .4rem; }
.ed-note p, .ed-copy p, .ed-context > p, .ed-essay-body > p, .ed-profile-copy > p:not(.ed-lede), .ed-profile-note p, .ed-contact-note p { font-size: 1rem; line-height: 1.8; font-weight: 300; color: #bbb; max-width: 48ch; margin-bottom: 1.2rem; }
.ed-essay { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; margin: 0 2.5rem; padding: 4rem 0; border-top: 1px solid #444; }
.ed-essay-body h3 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 4.8rem); font-weight: 500; line-height: 1.05; margin-bottom: 2rem; }
.ed-essay-body > p { max-width: 49ch; }
.ed-text-link { display: inline-block; font-size: .8rem; border-bottom: 1px solid #666; padding-bottom: .45rem; margin-top: .75rem; }
.ed-text-link span { margin-left: 1.5rem; }
.ed-context { padding: 3rem 2.5rem 4rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4vw; border-top: 1px solid #444; }
.ed-context > p { font-size: .95rem; }
.ed-next { padding: 3rem 2.5rem; border-top: 1px solid #444; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ed-next h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 600; line-height: 1; }
.ed-next .cta { align-self: auto; flex-shrink: 0; }
.ed-audit { padding: 4rem 2.5rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8vw; }
.ed-audit h3 { font-family: var(--font-display); font-size: clamp(2.3rem, 4.7vw, 5rem); font-weight: 500; line-height: 1.05; max-width: 14ch; margin-top: 2rem; }
.ed-copy { padding-top: 3rem; }
.ed-engagements { margin: 0 2.5rem; border-top: 1px solid #444; display: grid; grid-template-columns: 1fr 1fr; }
.ed-engagements article { padding: 3rem 8vw 3.5rem 0; scroll-margin-top: 6rem; }
.ed-engagements article + article { padding-right: 0; padding-left: 4vw; border-left: 1px solid #444; }
.ed-engagements h2 { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.1; font-weight: 500; margin-bottom: 1.5rem; }
.ed-engagements p { font-size: 1rem; font-weight: 300; line-height: 1.8; max-width: 41ch; margin-bottom: 1rem; }
.ed-muted { color: #aaa; }
.ed-scope { border-top: 1px solid #444; padding: 3.5rem 2.5rem 4.5rem; display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; }
.ed-scope dl > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: 1.4rem 0; border-top: 1px solid #333; scroll-margin-top: 6rem; }
.ed-scope dl > div:first-child { border-top: 0; padding-top: 0; }
.ed-scope dt { font-size: 1rem; }
.ed-scope dd { font-size: .95rem; font-weight: 300; color: #aaa; line-height: 1.7; }
.ed-case { padding: 4rem 2.5rem 5rem; }
.ed-case + .ed-case { border-top: 1px solid #666; }
.ed-case-heading h2 { font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 6rem); line-height: 1.05; font-weight: 500; margin: 1.5rem 0 3.5rem; }
.ed-case-layout { display: grid; grid-template-columns: 1fr 3fr; gap: 6vw; }
.ed-case-facts { font-size: .85rem; line-height: 1.8; border-top: 1px solid #555; padding-top: 1.25rem; }
.ed-case-facts p + .home-label { margin-top: 2rem; }
.ed-case-facts .home-label { margin-bottom: .7rem; }
.ed-case-story .ed-lede { max-width: 33ch; margin-bottom: 3rem; }
.ed-story-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.ed-story-columns h3, .ed-case-outcome h3 { margin-bottom: 1rem; }
.ed-story-columns p, .ed-case-outcome p { font-size: 1rem; font-weight: 300; line-height: 1.8; color: #bbb; max-width: 48ch; }
.ed-case-outcome { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #444; }
.ed-case-outcome p { max-width: 65ch; margin-bottom: 1rem; }
.ed-profile { padding: 3.5rem 2.5rem 5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 7vw; }
.ed-profile figure { margin: 0; }
.ed-profile img { width: 100%; height: auto; max-height: 760px; object-fit: cover; object-position: center; }
.ed-profile figcaption { font-size: .65rem; letter-spacing: .05em; color: #aaa; padding-top: 1rem; }
.ed-profile-copy > .ed-lede { margin-bottom: 2rem; }
.ed-profile-note { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid #444; }
.ed-profile-note h2 { margin-bottom: 1.2rem; }
.ed-contact-layout { padding: 3.5rem 2.5rem 5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10vw; }
.ed-contact-note { padding-top: .25rem; }
.ed-contact-email { font-size: .9rem; border-bottom: 1px solid #666; padding-bottom: .4rem; overflow-wrap: anywhere; }
.ed-form { width: 100%; padding: 0; max-width: none; }
.ed-form .form-group { margin-bottom: 2rem; }
.ed-form label { opacity: 1; color: #aaa; }
.ed-form input, .ed-form select, .ed-form textarea { border-color: #666; border-radius: 0; }
.ed-form input:focus-visible, .ed-form textarea:focus-visible, .ed-form select:focus-visible { outline: 1px solid #aaa; outline-offset: 5px; }
.ed-form textarea { min-height: 120px; resize: vertical; }
.ed-home-reference { padding: 0 2.5rem 2.5rem; display: flex; justify-content: space-between; gap: 2rem; }
@media (max-width: 1000px) {
  .ed-header { padding-top: 4rem; }
  .ed-opening { gap: 5vw; }
  .ed-context { grid-template-columns: 1fr 2fr; }
  .ed-context > p:last-child { grid-column: 2; }
  .ed-scope { grid-template-columns: 1fr; gap: 2rem; }
  .ed-profile { gap: 4vw; }
}
@media (max-width: 650px) {
  .ed-header { padding: 3.5rem 1.5rem 2.5rem; }
  .ed-header h1 { margin-top: 1.5rem; font-size: clamp(3rem, 13vw, 4.8rem); }
  .ed-deck { margin: 1.5rem 0 0; font-size: .9rem; }
  .ed-opening, .ed-audit, .ed-profile, .ed-contact-layout { padding: 2.5rem 1.5rem 3rem; grid-template-columns: 1fr; gap: 2rem; }
  .ed-lede { font-size: 2rem; }
  .ed-note p, .ed-copy p, .ed-context > p, .ed-essay-body > p, .ed-profile-copy > p:not(.ed-lede), .ed-profile-note p, .ed-contact-note p { font-size: .9rem; }
  .ed-essay { margin: 0 1.5rem; padding: 2.5rem 0; grid-template-columns: 1fr; gap: 1.5rem; }
  .ed-essay-body h3 { font-size: 2.5rem; }
  .ed-context { padding: 2.5rem 1.5rem; grid-template-columns: 1fr; gap: 1rem; }
  .ed-context > p:last-child { grid-column: auto; }
  .ed-next { padding: 2.5rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .ed-next .cta { align-self: flex-start; }
  .ed-audit h3 { margin-top: 1.3rem; font-size: 2.8rem; }
  .ed-copy { padding-top: 0; }
  .ed-engagements { margin: 0 1.5rem; grid-template-columns: 1fr; }
  .ed-engagements article, .ed-engagements article + article { border-left: 0; padding: 2.5rem 0 1.5rem; }
  .ed-engagements article + article { border-top: 1px solid #444; }
  .ed-engagements h2 { font-size: 2.4rem; }
  .ed-engagements p { font-size: .9rem; }
  .ed-scope { padding: 2.5rem 1.5rem 3rem; }
  .ed-scope dl > div { grid-template-columns: 1fr; gap: .6rem; padding: 1.3rem 0; }
  .ed-scope dt { font-size: .95rem; }
  .ed-scope dd { font-size: .9rem; }
  .ed-case { padding: 2.5rem 1.5rem 3rem; }
  .ed-case-heading h2 { font-size: 2.8rem; margin: 1.2rem 0 2rem; }
  .ed-case-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ed-case-facts { display: grid; grid-template-columns: 1fr 2fr; gap: .5rem 1rem; }
  .ed-case-facts p + .home-label { margin-top: 0; }
  .ed-story-columns { grid-template-columns: 1fr; gap: 1.7rem; }
  .ed-case-story .ed-lede { margin-bottom: 2rem; }
  .ed-story-columns p, .ed-case-outcome p { font-size: .9rem; }
  .ed-case-outcome { margin-top: 2rem; }
  .ed-profile img { max-height: 520px; }
  .ed-profile-note { margin-top: 1.5rem; padding-top: 1.5rem; }
  .ed-contact-layout { gap: 3rem; }
  .ed-home-reference { padding: 0 1.5rem 2rem; flex-direction: column; gap: .5rem; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ed-page-links { border-top: 1px solid #444; padding: 2.5rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .9rem; }
.ed-page-links span { margin-left: 1.5rem; }
@media (max-width: 650px) { .ed-page-links { padding: 2rem 1.5rem; font-size: .8rem; } }

/* Original brand typography, carried through the editorial layouts. */
.ed-header h1, .ed-essay-body h3, .ed-audit h3, .ed-engagements h2,
.ed-case-heading h2, .work-story h3, .handoff-intro > p, .editorial-contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.ed-header h1 { letter-spacing: .04em; }
.ed-lede { font-family: var(--font-body); font-weight: 300; letter-spacing: -.01em; }
@media (max-width: 650px) {
  .ed-header h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .ed-audit h3 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
  .work-story--lead h3 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .work-story--recovery h3, .work-story--tracking h3 { font-size: 2rem; }
}
