@font-face {
  font-family: Newsreader;
  src: url('/assets/fonts/newsreader-editorial.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

.home-editorial {
  --ed-line: #93a89f80;
  --ed-light: #c8d6cc;
}

.home-editorial .masthead {
  position: absolute;
  inset: 0 0 auto;
  color: var(--cream);
  background: transparent;
  border-bottom: 0;
}

.home-editorial .masthead-inner { border-bottom: 1px solid #e3eae650; }
.home-editorial .masthead .brand img { filter: brightness(0) invert(1); }
.home-editorial .masthead :focus-visible { outline-color: var(--cream); }
.home-editorial .mobile-nav { color: var(--ink); }
.home-editorial .mobile-nav :focus-visible { outline-color: var(--petrol); }
.home-editorial .header-contact .button { background: var(--cream); color: var(--root); }
.home-editorial .header-contact .button:hover { background: var(--sand); }

.ed-hero-grid {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: clamp(690px, 59vw, 860px);
}

.ed-hero-copy {
  align-self: center;
  padding: clamp(130px, 14vw, 220px) clamp(28px, 5.1vw, 85px) clamp(65px, 8vw, 120px)
    max(var(--gutter), calc((100vw - var(--width)) / 2));
}

.ed-hero-copy .eyebrow { margin-bottom: 23px; }
.ed-hero-copy h1,
.ed-heading h2,
.home-editorial .contact-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.036em;
  line-height: .99;
}

.ed-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(3.25rem, 6.15vw, 6.2rem);
  text-wrap: initial;
}

.ed-hero-copy h1 em { color: var(--ed-light); }
.ed-hero-copy .lead { max-width: 39ch; line-height: 1.6; }
.ed-hero-copy .actions { margin-top: 26px; }
.ed-hero-copy .helper { margin-top: 12px; }

.ed-portrait { position: relative; margin: 0; min-height: 100%; background: #181b1a; overflow: hidden; }
.ed-portrait picture, .ed-portrait img { width: 100%; height: 100%; }
.ed-portrait picture { position: absolute; inset: 0; }
.ed-portrait img { object-fit: cover; object-position: 50% 22%; }
.ed-portrait::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#0a201d64,transparent 17%,transparent 83%,#0a201d82); }
.ed-portrait figcaption { position: absolute; z-index: 1; right: 25px; bottom: 21px; color: var(--cream); font-size: .88rem; }

.ed-section { padding-block: clamp(68px, 8.6vw, 132px); }
.ed-pair { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(35px, 7vw, 105px); align-items: start; }
.ed-heading h2 { font-size: clamp(2.65rem,4.35vw,4.75rem); max-width: 17ch; text-wrap: initial; }
.ed-heading > p { margin-top: 18px; max-width: 47ch; }
.ed-heading > .text-link { display: inline-flex; margin-top: 20px; }

.ed-approach { background: var(--cream); }
.ed-process { margin: 4px 0 0; }
.ed-process div { display: grid; grid-template-columns: minmax(100px,.38fr) minmax(0,1fr); gap: 18px; border-top: 1px solid var(--ed-line); padding: 18px 0; }
.ed-process div:last-child { border-bottom: 1px solid var(--ed-line); }
.ed-process dt { font-family: var(--serif); font-size: clamp(1.55rem,2.55vw,2.15rem); line-height: 1.12; }
.ed-process dd { margin: 0; color: var(--muted); }

.ed-fronts { background: var(--paper); }
.ed-fronts .front-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.ed-fronts .front-card { padding: clamp(18px,2.2vw,33px); }
.ed-fronts .front-card h3 { min-height: 52px; }
.ed-fronts .front-card-logo { width: clamp(120px, 12vw, 165px); }

.ed-services { background: var(--deep); }
.ed-section-lead { align-items: end; margin-bottom: clamp(26px,4vw,52px); }
.ed-section-lead > p { max-width: 47ch; color: var(--ed-light); }
.ed-service-list { padding: 0; margin: 0; list-style: none; }
.ed-service-list li { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.26fr) minmax(0,.56fr); align-items: start; gap: clamp(16px,2.7vw,42px); border-top: 1px solid #93a89f70; padding: clamp(18px,2.35vw,30px) 0; }
.ed-service-list li:last-child { border-bottom: 1px solid #93a89f70; }
.ed-service-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem,2.75vw,2.6rem); line-height: 1.07; }
.ed-service-list p { color: var(--ed-light); }
.ed-service-list a { justify-self: end; text-align: right; }
.ed-services .other-services { border-top: 0; padding-top: 0; }
.ed-services .other-services a { color: var(--ed-light); }
.ed-services .other-services a:hover { color: var(--cream); }

.ed-office { background: var(--cream); }
.ed-office .team-grid { margin-top: 0; }
.ed-office .person-card { border-top: 0; padding: 0; }
.ed-office .person-card img { aspect-ratio: 4/5; object-position: 50% 28%; }
.ed-blog { background: var(--paper); }
.ed-guide-list { margin: 0; padding: 0; list-style: none; }
.ed-guide-list li { border-top: 1px solid var(--ed-line); padding: 19px 0; }
.ed-guide-list li:last-child { border-bottom: 1px solid var(--ed-line); }
.ed-guide-list h3 { margin-top: 5px; font-family: var(--serif); font-size: clamp(1.45rem,2.55vw,2.2rem); }
.ed-guide-list h3 a:hover { color: var(--petrol); }
.ed-faq { background: var(--light-green); }
.ed-locations .location-grid { grid-template-columns: 1fr; gap: 0; margin: 0; }
.ed-locations .location-card { border: 0; border-top: 1px solid var(--ed-line); background: transparent; padding: 16px 0; }
.ed-locations .location-card:last-child { border-bottom: 1px solid var(--ed-line); }
.ed-locations .location-card address { margin: 5px 0 7px; }
.home-editorial .contact-band { padding-block: clamp(58px,8.1vw,111px); }

@media (max-width: 960px) {
  .ed-hero-grid { grid-template-columns: 52% 48%; min-height: 650px; }
  .ed-hero-copy { padding-right: 26px; }
  .ed-pair { gap: 33px; }
}

@media (max-width: 720px) {
  .ed-hero-grid, .ed-pair { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .ed-hero-copy { padding: 116px var(--gutter) 38px; }
  .ed-hero-copy h1 { font-size: clamp(3.1rem,11vw,4.6rem); margin-bottom: 13px; }
  .ed-hero-copy .eyebrow { margin-bottom: 16px; }
  .ed-title-break { display: none; }
  .ed-hero-copy .actions { margin-top: 20px; }
  .ed-portrait { aspect-ratio: 1.16; min-height: 0; }
  .ed-portrait img { object-position: 50% 2%; }
  .ed-portrait figcaption { right: var(--gutter); bottom: 14px; }
  .ed-pair { gap: 23px; }
  .ed-section { padding-block: 57px; }
  .ed-approach .ed-process { margin-top: 0; }
  .ed-fronts .front-card { gap: 9px; }
  .ed-fronts .front-card h3 { min-height: 47px; }
  .ed-service-list li { grid-template-columns: 1fr; gap: 7px; }
  .ed-service-list a { justify-self: start; text-align: left; }
}

@media (max-width: 370px) {
  .ed-fronts .front-grid { grid-template-columns: 1fr; }
  .ed-process div { grid-template-columns: minmax(74px,.34fr) minmax(0,1fr); gap: 10px; }
}
