/* The portrait, photographic entry points, and three views of the method
   each have a different composition. Keep the same outer alignment. */
.hd-cover, .hd-section {
  --page-gutter:max(5.5vw, calc((100vw - 76rem)/2));
  --ink:#102d30; --paper:#f6f4ef; --petrol:#1f6f78;
  font-family:Geist,Arial,sans-serif;
}
.hd-cover {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center;
  min-height:clamp(30rem,63svh,40rem);
  padding:clamp(3.2rem,5.3vw,6rem) var(--page-gutter);
  margin-top:var(--dk-header-height,64px);
  background:var(--dk-white,#fff); color:var(--dk-ink,#1a1d1c);
}
.hd-cover-visual {
  position:absolute; inset:0 0 0 47%; margin:0; z-index:-1; clip-path:var(--dk-image-angle);
  background:#d6cfc3;
}
.hd-cover-visual::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg,rgba(8,23,24,.45),transparent 28%);
}
.hd-cover-visual > img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:50% 5%; opacity:0; transition:opacity 780ms ease;
}
.hd-cover-visual > img[data-hero-frame="1"] {object-position:65% 38%;}
.hd-cover-visual > img[data-hero-frame="2"] {object-position:53% 28%;}
.hd-cover-visual > img.is-active {opacity:1;}
.hd-cover-copy {position:relative; width:52%; max-width:44rem;}
.hd-cover-copy .hd-byline,.hd-section .hd-kicker {margin:0 0 1.5rem; color:inherit; font-size:.92rem; font-weight:600; line-height:1.45;}
.hd-cover-copy .hd-byline::before {content:""; display:inline-block; width:2rem; height:2px; margin-right:.65rem; vertical-align:middle; background:#af915d;}
.hd-cover .hd-cover-copy h1 {
  margin:0; font:var(--dk-display-weight,740) clamp(54px,6.6vw,96px)/.94 Geist,Arial,sans-serif;
  letter-spacing:-.04em; color:var(--dk-ink,#1a1d1c);
}
.hd-cover-copy h1 em {color:#1f6f78; font-style:normal; font-weight:inherit;}
.hd-cover-copy .hd-promise {max-width:35ch; margin:clamp(1.4rem,2.2vw,2.3rem) 0 1.2rem; color:var(--ink); font-size:clamp(1.16rem,1.65vw,1.55rem); line-height:1.32; font-weight:630; letter-spacing:-.026em;}
.hd-cover-copy .hd-lead {max-width:38ch; margin:0 0 1.55rem; font-size:clamp(1rem,1.3vw,1.15rem); line-height:1.5; color:#415652;}
.hd-action {display:inline-flex; align-items:center; justify-content:space-between; gap:1.25em; min-height:50px; padding:.82em 1.2em; border-radius:.85rem; background:#1f6f78; color:white; text-decoration:none; font-weight:630;}
.hd-action:hover {background:#174e54;}
.hd-cover-copy small {display:block; color:#405652; margin-top:.55rem; font-size:.85rem;}
.hd-cover-visual .rx-hero-controls {left:auto; right:clamp(1rem,4vw,4rem); bottom:1.25rem; width:max-content; gap:.2rem; padding:0 .25rem; border-radius:3rem; background:#102d30dc;}
.hd-cover-visual .rx-hero-pause {border:0!important;}
.hd-cover-visual .rx-hero-controls button {min-width:44px;}
.hd-section {padding:clamp(3rem,6vw,6.4rem) var(--page-gutter); color:var(--ink); scroll-margin-top:5rem;}
.hd-section h2 {font:650 clamp(2.35rem,4vw,4.3rem)/1.03 Geist,Arial,sans-serif; letter-spacing:-.052em; margin:0; color:inherit;}
.hd-entry {background:var(--paper); padding-top:clamp(2rem,3.5vw,3.6rem);}
.hd-routes {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(12px,2vw,28px); margin-top:clamp(1.5rem,3vw,2.7rem);}
.hd-route {
  --inset:clamp(.7rem,1.3vw,1.05rem);
  position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:end;
  grid-template-rows:clamp(12rem,18vw,17rem) 1fr;
  padding:0 var(--inset) var(--inset);
  background:#d7ddd6; border-radius:clamp(20px,2vw,30px);
  color:var(--ink); text-decoration:none;
  box-shadow:0 6px 24px #23383412;
}
.hd-route img {
  position:absolute; inset:0; z-index:-1; display:block; width:100%; height:100%;
  object-fit:cover; object-position:50% 40%;
}
.hd-route-caption {
  grid-row:2; align-self:stretch; position:relative;
  padding:clamp(1rem,1.7vw,1.5rem);
  border:1px solid #ffffffbd; border-radius:clamp(13px,1.3vw,19px);
  background:#f6f7f1; box-shadow:0 2px 10px #1322220c;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .hd-route-caption {
    background:linear-gradient(125deg,rgba(255,255,251,.86),rgba(243,246,238,.78));
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  }
}
.hd-route-caption strong {
  display:block; padding-inline-end:2.5rem; color:#182322;
  font-size:clamp(1.48rem,2.15vw,2.12rem); font-weight:620; line-height:1.12; letter-spacing:-.035em;
}
.hd-route .hd-route-caption span {display:block; color:#285252; font-weight:550; font-size:.95rem; line-height:1.45; margin-top:.45rem;}
.hd-route-caption p {margin:.7rem 0 0; color:#2d3d3b; font-size:1rem; line-height:1.48; max-width:42ch;}
.hd-route > .dk-action-icon {
  position:absolute; z-index:1; grid-row:2; align-self:start; top:clamp(.85rem,1.5vw,1.3rem);
  right:calc(var(--inset) + clamp(.85rem,1.5vw,1.3rem)); width:1.85rem; height:1.85rem;
  border:1px solid #73959480; border-radius:50%; padding:.37rem; color:#205b60;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hd-route img {transition:transform 520ms cubic-bezier(.22,.61,.36,1);}
  .hd-route:hover img {transform:scale(1.025);}
}
.hd-route:focus-visible {outline:3px solid #1f6f78;outline-offset:4px;}
.hd-method {background:linear-gradient(115deg,#10292c,#17434a); color:#fff;}
.hd-method #ansatz {scroll-margin-top:6rem;}
.hd-method .hd-kicker {color:#c5dcd9; margin-bottom:.6rem;}
.hd-method h2 {font-size:clamp(2.7rem,5.7vw,6rem); letter-spacing:-.06em;}
.hd-method-intro {font-size:clamp(1rem,1.4vw,1.2rem); color:#e4efeb; line-height:1.5; margin:.8rem 0 0;}
.hd-case {display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); align-items:center; gap:clamp(1.5rem,6vw,6rem); margin-top:clamp(1.75rem,3vw,3.5rem); border-top:1px solid #537074; padding-top:clamp(1.75rem,3vw,3.5rem);}
.hd-case h3 {margin:0; font:620 clamp(1.6rem,2.6vw,2.65rem)/1.12 Geist,Arial,sans-serif; letter-spacing:-.04em; color:inherit;}
.hd-case-copy > p:not(.hd-kicker) {margin:.8rem 0 1.5rem; font-size:1.07rem; color:#e0ece9; line-height:1.55; max-width:40ch;}
.hd-selector {padding:0; margin:0; border:0; display:flex; flex-wrap:wrap; gap:.42rem;}
.hd-selector legend {padding:0; margin:0 0 .65rem; color:#e0ece9; font-size:.9rem;}
.hd-selector label {display:block; position:relative; cursor:pointer;}
.hd-selector input {position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden;}
.hd-selector label span {display:grid; place-items:center; min-height:44px; padding:0 1.15rem; border:1px solid #729093; border-radius:2rem; color:white; font-weight:560;}
.hd-selector input:checked + span {background:#7acfe3; border-color:#7acfe3; color:#102d30;}
.hd-selector input:focus-visible + span {outline:2px solid white; outline-offset:3px;}
.hd-textlink {color:inherit; display:inline-flex; align-items:center; gap:.4rem; min-height:44px; margin-right:1rem; text-underline-offset:.26em; font-weight:550;}
.hd-panels {min-width:0;}
.hd-perspective {display:none; margin:0;}
.hd-case:has(input[value="0"]:checked) [data-perspective="0"],
.hd-case:has(input[value="1"]:checked) [data-perspective="1"],
.hd-case:has(input[value="2"]:checked) [data-perspective="2"] {display:block;}
.hd-perspective img {width:100%; height:auto; aspect-ratio:2 / 1; display:block; object-fit:cover; object-position:50% 36%;}
.hd-perspective > div {padding-top:1.05rem; min-height:8rem;}
.hd-perspective h3 {font-size:clamp(1.35rem,2vw,1.9rem);}
.hd-perspective p {margin:.45rem 0 0; line-height:1.55; color:#deebe7; font-size:1rem; max-width:52ch;}
.hd-process {background:white; display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:clamp(2rem,6vw,6rem);}
.hd-process h2 {max-width:12ch;}
.hd-process .hd-textlink {margin-top:1rem;}
.hd-process ol {list-style:decimal-leading-zero; padding-left:2.1em; margin:0;}
.hd-process li {padding:1.25rem 0; border-top:1px solid #bfd1ce;}
.hd-process li::marker {color:#1f6f78; font-weight:650;}
.hd-process li h3 {font-size:clamp(1.5rem,2.4vw,2.35rem); line-height:1.1; letter-spacing:-.035em; margin:0 0 .65rem;}
.hd-process li h4 {font-size:1.08rem; line-height:1.4; margin:0;}
.hd-process li p {margin:.4rem 0 0; max-width:54ch; color:#405652; line-height:1.55;}
.hd-process li a {display:inline-flex; align-items:center; gap:.45rem; min-height:44px; color:#175b62; text-underline-offset:.22em;}
@media(max-width:760px){.hd-process {grid-template-columns:minmax(0,1fr); gap:1.5rem;}}
.hd-section a:focus-visible,.hd-cover a:focus-visible {outline:3px solid currentColor;outline-offset:4px;}
.ed-formats .ed-format-row:first-child {border-left:3px solid #1f6f78; padding-left:1rem;}
.ed-person {background:#ecebe4;}
@media(min-width:850px) {
 .ed-formats .ed-inner.ed-split {display:block;}
 .ed-formats .ed-inner > div:first-child {display:flex; justify-content:space-between; align-items:baseline; gap:2rem;}
 .ed-formats .ed-routes {margin-top:2.2rem; display:grid; grid-template-columns:1fr 1fr; column-gap:3rem; border:0;}
 .ed-formats .ed-format-row:first-child {grid-row:span 2; padding:2.2rem 3.5rem 2rem 2rem; display:flex; flex-direction:column; justify-content:center; border:0; background:#e8eeea;}
 .ed-formats .ed-format-row:first-child strong {font-size:clamp(2.2rem,3.6vw,3.75rem);}
 .ed-formats .ed-format-row:first-child span {max-width:32ch;}
 .ed-formats .ed-format-row:first-child .dk-action-icon {margin-top:1rem;}
 .ed-formats .ed-format-row:nth-child(2) {border-top:1px solid var(--ed-rule);}
}
@media (prefers-reduced-motion:no-preference) {
 .hd-route .dk-action-icon {transition:transform .22s ease-out;}
 .hd-route:is(:hover,:focus-visible) .dk-action-icon {transform:translateX(3px);}
 .hd-perspective {animation:hd-perspective-in .25s ease-out both;}
 @keyframes hd-perspective-in {from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
}
@media (prefers-reduced-motion:reduce) {.hd-cover-visual > img {transition:none;}}
@media(max-width:760px){
 .hd-cover,.hd-section {--page-gutter:clamp(1.15rem,5.7vw,2.6rem);}
 .hd-cover {display:grid; grid-template-columns:minmax(0,1fr); min-height:0; padding:0;}
 .hd-cover-visual {position:relative; inset:auto; z-index:auto; grid-row:1; height:clamp(14rem,43svh,24rem); overflow:hidden; background:#d6cfc3;}
 .hd-cover-visual::after {background:linear-gradient(0deg,rgba(246,244,239,.46),transparent 16%);}
 .hd-cover-visual > img:first-child {object-position:50% 5%;}
 .hd-cover-visual .rx-hero-controls {right:1rem; bottom:.7rem;}
 .hd-cover-copy {width:auto; max-width:none; padding:1.35rem var(--page-gutter) 2.2rem;}
 .hd-cover-copy .hd-byline {font-size:.81rem; margin-bottom:.85rem;}
 .hd-cover .hd-cover-copy h1 {font-size:clamp(2.75rem,9.3vw,4.6rem); max-width:100%;}
 .hd-cover-copy h1 br {display:none;}
 .hd-cover-copy h1 em::before {content:' ';}
 .hd-cover-copy .hd-promise {max-width:35ch; margin:1rem 0 .4rem;}
 .hd-lead {margin-bottom:1.1rem!important;}
 .hd-routes {grid-template-columns:minmax(0,1fr);}
 .hd-route {grid-template-rows:clamp(10.5rem,49vw,17rem) 1fr;}
 .hd-case {grid-template-columns:minmax(0,1fr); gap:1rem;}
 .hd-case-copy {display:contents;}
 .hd-case-copy .hd-kicker {margin:0;}
 .hd-case-copy > p:not(.hd-kicker) {margin:0;}
 .hd-case-copy .ed-anchor {position:absolute;}
 .hd-perspective > div {min-height:0;}
 .hd-section h2 {text-wrap:balance;}
}
