.ed-page {
  container-type: inline-size;
  --ed-ink: #101b2d;
  --ed-navy: #0d203b;
  --ed-stroke: #d0d5dc;
  --ed-surface: #f2f4f7;
  background: #fff;
  color: var(--ed-ink);
}
.ed-page h1,.ed-page h2,.ed-page h3,.ed-page h4 {
  margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.032em; text-wrap: pretty;
}
.ed-page p,.ed-page blockquote,.ed-page figure,.ed-page dl,.ed-page dd {margin: 0;}
.ed-page a {color: inherit;}
.ed-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.ed-page .ed-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .95em;
  width: fit-content; padding: .72em 1.32em; border: 1px solid transparent; border-radius: 4px;
  font: inherit; font-size: 1rem; font-weight: 620; line-height: 1.2; text-decoration: none;
}
.ed-page .ed-button-dark {color: #fff; background: var(--ed-navy);}
.ed-page .ed-button-light {color: #fff; background: transparent; border-color: #dddfe6;}
.ed-page .ed-button-dark:hover {background: #243c55;}
.ed-page .ed-button-light:hover {background: #ffffff18;}
.ed-arrow {font-family: Arial,sans-serif; font-size: 1.16em; font-weight: 400; line-height: 1;}
.ed-page a:focus-visible,.ed-page button:focus-visible,.ed-page summary:focus-visible {
  outline: 3px solid #3981c2; outline-offset: 3px;
}

/* Reference clients and case studies share one continuous page, as in the briefing. */
.ed-refs-main {padding: clamp(13px,1.4cqw,24px) 4.45% clamp(20px,2.1cqw,34px);}
.ed-page .ed-eyebrow {margin: 0 0 .27em; font-size: clamp(.75rem,1.17cqw,1rem); font-weight: 500; text-transform: uppercase; line-height: 1.35;}
.ed-refs-main h1,.ed-projects h2 {font-size: clamp(1.45rem,2.36cqw,2.25rem);}
.ed-reflogos {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.45%; list-style: none;
  padding: 0; margin: clamp(10px,1.15cqw,17px) 0 clamp(23px,2.4cqw,38px);
}
.ed-reflogos li {display: flex; align-items: center; justify-content: center; min-width: 0; height: clamp(60px,6.2cqw,94px); padding: 6px 8px; overflow: hidden; background: #f3f4f6; border-radius: 3px;}
.ed-reflogos img {display: block; width: auto; max-width: 90%; height: clamp(41px,4.8cqw,70px); max-height: 100%; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply;}
.ed-reflogos img[src$="/mbe.png"] {filter: grayscale(1) invert(1) contrast(1.32);}
.ed-case-grid {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 2%; margin-top: clamp(12px,1.5cqw,23px);}
.ed-case-grid:has(.ed-case-report[open]) {align-items: start;}
.ed-case {display: flex; flex-direction: column; min-width: 0; border: 1px solid #d7d9de; border-radius: 5px; overflow: clip; background: white; scroll-margin-top: 6.2rem;}
.ed-project-photo {display: block; width: 100%; height: auto; aspect-ratio: 2.83/1; object-fit: cover; background: #273341;}
.ed-case-text {display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(10px,1cqw,16px) clamp(13px,1.35cqw,19px) clamp(10px,1cqw,16px);}
.ed-case-text h3 {font-size: clamp(1rem,1.4cqw,1.38rem); letter-spacing: -.02em;}
.ed-case-text p {margin: .35em 0 .6em; font-size: clamp(.91rem,1.2cqw,1.06rem); line-height: 1.37;}
.ed-case-text>.ed-project-link,.ed-case-text>.ed-case-report {margin-top: auto;}
.ed-project-link,.ed-case-report summary {
  display: inline-flex; gap: .75rem; align-items: center; min-height: 26px;
  font-size: clamp(.845rem,1.05cqw,1rem); line-height: 1.28; font-weight: 680; text-decoration: none; cursor: pointer; list-style: none;
}
.ed-case-report summary::-webkit-details-marker,.ed-faq-item summary::-webkit-details-marker {display: none;}
.ed-project-link:hover,.ed-case-report summary:hover {text-decoration: underline; text-underline-offset: 3px;}
.ed-case-report .ed-when-open,.ed-case-report[open] .ed-when-closed {display: none;}
.ed-case-report[open] .ed-when-open {display: inline;}
.ed-report-body {padding: .8rem 0 .2rem;}
.ed-report-body>div {border-top: 1px solid var(--ed-stroke); padding-top: .7rem; margin-bottom: .8rem;}
.ed-report-body h4 {font-size: 1rem;}
.ed-report-body p {font-size: .95rem; line-height: 1.5;}
.ed-quote {
  display: flex; align-items: start; gap: clamp(11px,1.3cqw,22px);
  padding: clamp(20px,2cqw,32px) 5.05% clamp(21px,2.6cqw,40px); background: #eff1f5;
}
.ed-quote-mark {font-family: Georgia,serif; font-size: clamp(2.6rem,4.7cqw,4.65rem); color: #9da8b6; line-height: .78;}
.ed-quote blockquote {font-size: clamp(1rem,1.4cqw,1.35rem); font-style: italic; line-height: 1.38; max-width: 62ch; letter-spacing: -.012em;}
.ed-quote figcaption {display: flex; align-items: center; gap: .8rem; margin-top: .68rem; font-size: clamp(.85rem,1.13cqw,1rem); line-height: 1.3;}
.ed-quote figcaption img {width: clamp(35px,4.05cqw,55px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;}
.ed-quote figcaption strong,.ed-quote figcaption span>span {display: block;}
.ed-ref-contact {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem clamp(26px,5cqw,76px);
  padding: clamp(18px,2cqw,31px) 5.05%; color: #fff; background: #15253a var(--wulf-section-image,url("template/cta-wave.webp")) right bottom / auto 100% no-repeat;
}
.ed-ref-contact h2 {color: #fff; font-size: clamp(1.35rem,2.08cqw,2rem);}
.ed-ref-contact .ed-button {font-size: clamp(.875rem,1.12cqw,1rem);}

/* Accordion page. The header is the original full-width photographic strip. */
.ed-faq-hero {
  padding: clamp(16px,1.5cqw,25px) 4.3% clamp(22px,2.2cqw,35px);
  background: #ecf0f4 var(--wulf-section-image,url("template/faq-hero.webp")) center / 100% 100% no-repeat;
}
.ed-crumb {display: flex; align-items: center; gap: .8em; font-size: clamp(.8rem,1cqw,.96rem); line-height: 1.4;}
.ed-crumb a {text-decoration: none;}
.ed-crumb a:hover {text-decoration: underline;}
.ed-faq-title {margin-top: clamp(22px,2.65cqw,39px);}
.ed-faq-title:before,.ed-contact-hero h1:before {content: ""; display: block; width: 2.1rem; height: 2px; background: #216ca8; margin-bottom: .8rem;}
.ed-faq-title h1 {font-size: clamp(2.05rem,3.35cqw,3.4rem);}
.ed-faq-title p {width: 53%; min-width: 350px; max-width: 650px; margin-top: .7em; font-size: clamp(1rem,1.44cqw,1.37rem); line-height: 1.45;}
.ed-faq-body {padding: clamp(19px,2cqw,32px) 4.3% clamp(18px,1.7cqw,30px) 4.75%;}
.ed-faq-list {display: grid; gap: clamp(6px,.62cqw,10px);}
.ed-faq-item {border: 1px solid #cfd5dc; border-radius: 6px; overflow: clip;}
.ed-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px;
  padding: .64em clamp(14px,1.9cqw,27px); font-size: clamp(.975rem,1.38cqw,1.25rem);
  font-weight: 690; line-height: 1.27; list-style: none; cursor: pointer; letter-spacing: -.022em;
}
.ed-faq-item summary:hover {background: #f1f3f5;}
.ed-faq-item summary:focus-visible {outline-offset: -3px;}
.ed-faq-toggle {display: block; width: 15px; height: 15px; flex: 0 0 15px; position: relative;}
.ed-faq-toggle:before,.ed-faq-toggle:after {content:""; position: absolute; background: currentColor; top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%);}
.ed-faq-toggle:after {transform: translateY(-50%) rotate(90deg);}
.ed-faq-item[open] .ed-faq-toggle:after {display: none;}
.ed-faq-item[open] {margin-bottom: .26rem;}
.ed-faq-item>div {padding: .9em clamp(14px,1.9cqw,27px); background: #e9edf1; font-size: clamp(.98rem,1.29cqw,1.15rem); line-height: 1.48;}
.ed-faq-cta {
  display: flex; align-items: center; gap: clamp(15px,2cqw,31px); margin-top: clamp(28px,4.95cqw,74px);
  padding: clamp(22px,2.6cqw,39px); border-radius: 6px; background: #edf0f4;
}
.ed-chat-symbol {flex: 0 0 auto; box-sizing: content-box; width: clamp(43px,5.05cqw,78px); height: auto; padding-right: clamp(16px,2.1cqw,30px); border-right: 1px solid #cbd2d9;}
.ed-faq-cta h2 {font-size: clamp(1.22rem,1.9cqw,1.9rem);}
.ed-faq-cta p {font-size: clamp(.94rem,1.26cqw,1.15rem); margin-top: .22rem; line-height: 1.4;}
.ed-faq-cta .ed-button {margin-left: auto; flex-shrink: 0; font-size: clamp(.875rem,1.19cqw,1.15rem);}

/* Contact uses the template's panoramic doorway, simple icon list and compact form. */
.ed-contact-hero {
  display: grid; align-items: end; min-height: clamp(215px,19.25cqw,410px); padding: clamp(23px,2.4cqw,43px) 4.4%;
  color: #fff; background: #18202a var(--wulf-section-image,url("template/contact-hero.webp")) center / 100% 100% no-repeat;
}
.ed-contact-hero h1 {font-size: clamp(2.55rem,3.45cqw,4.25rem);}
.ed-contact-hero h1:before {width: clamp(32px,3.2cqw,58px); background: currentColor; height: 3px; margin-bottom: clamp(14px,1.3cqw,24px);}
.ed-contact-hero p {margin-top: .36em; font-size: clamp(1.12rem,1.47cqw,1.7rem); line-height: 1.35;}
.ed-contact-body {width: 82%; margin: 0 auto; display: grid; grid-template-columns: 39.8fr 55.2fr; gap: 5%; padding-block: clamp(27px,2.45cqw,46px) clamp(27px,2cqw,42px);}
.ed-contact-info {padding-top: .48rem;}
.ed-contact-info h2 {font-size: clamp(1.55rem,2.02cqw,2.45rem);}
.ed-contact-info>p {font-size: clamp(1rem,1.16cqw,1.25rem); margin-top: .6em; line-height: 1.48; letter-spacing: -.012em;}
.ed-contact-details {display: grid; gap: clamp(19px,1.45cqw,29px); padding: 0 .55rem; margin-top: clamp(27px,2.55cqw,52px)!important;}
.ed-contact-details>div {display: grid; grid-template-columns: 31px 1fr; align-items: center; gap: clamp(14px,1.75cqw,34px); min-height: 33px;}
.ed-contact-details dt {margin: 0;}
.ed-contact-details .icon {width: clamp(22px,1.85cqw,31px); height: auto; color: var(--ed-navy);}
.ed-contact-details dd {font-size: clamp(1rem,1.16cqw,1.27rem); line-height: 1.35;}
.ed-contact-details a{text-decoration:none;}
.ed-contact-details a:hover {text-decoration: underline;}
.ed-form-sheet {align-self: start; min-width: 0; background: #f3f4f6; padding: clamp(16px,1.48cqw,29px); border-radius: 9px;}
.ed-form {display: grid; gap: clamp(10px,.96cqw,17px);}
.ed-form label {display: block; position: relative; min-width: 0;}
.ed-form-names {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,1.03cqw,18px);}
.ed-form input:not([type=checkbox]),.ed-form select,.ed-form textarea,.ed-draft textarea {
  width: 100%; min-width: 0; display: block; margin: 0; color: var(--ed-ink); border: 1px solid #bfc9d3; border-radius: 5px;
  background: #f9fafb; padding: .64em .85em; font: inherit; font-size: clamp(.97rem,1.04cqw,1.08rem); line-height: 1.35;
}
.ed-form input::placeholder,.ed-form textarea::placeholder {color: var(--ed-ink); opacity: 1;}
.ed-form :is(input,select,textarea):focus-visible,.ed-draft textarea:focus-visible {outline: 2px solid #286ca7; outline-offset: 1px; background: #fff;}
.ed-form .ed-select:after {content: ""; pointer-events: none; position: absolute; right: 1rem; top: 43%; width: .56em; height: .56em; border-right: 1.75px solid; border-bottom: 1.75px solid; transform: translateY(-50%) rotate(45deg);}
.ed-form select {appearance: none; padding-right: 2.5em;}
.ed-form textarea {min-height: clamp(90px,6.3cqw,125px); resize: vertical;}
.ed-consent {display: flex!important; align-items: flex-start; gap: .58rem; font-size: clamp(.88rem,.98cqw,1.04rem); line-height: 1.4;}
.ed-consent input {flex: 0 0 auto; margin: .12em 0 0; width: 1.1em; height: 1.1em; accent-color: var(--ed-navy);}
.ed-consent a,.ed-draft a,.ed-about-story a {text-decoration: underline; text-underline-offset: 2px;}
.ed-submit-row {display: flex; align-items: center; gap: .55rem 1rem; flex-wrap: wrap;}
.ed-submit-row .ed-button {font-size: clamp(1rem,1.19cqw,1.26rem);}
.ed-submit-row small {font-size: .8rem; color: #435363; line-height: 1.35;}
.ed-draft {border-top: 1px solid #cbd3da; margin-top: 1.25rem; padding-top: 1rem; font-size: .95rem; line-height: 1.45;}
.ed-draft details {margin-top: .75rem;}
.ed-draft summary {font-weight: 650; cursor: pointer;}
.ed-draft details p,.ed-draft label {display:block; margin: .65rem 0;}
.ed-draft textarea {resize: vertical;}
.ed-copy-btn {background: #fff; color: var(--ed-ink); border: 1px solid #a6b4c1; border-radius: 3px; padding: .45rem .8rem; margin: .7rem .6rem .3rem 0; cursor: pointer;}

/* About follows the supplied title strip, two-column introduction, values and portrait. */
.ed-about-header {background: #101820; color: #fff; padding: clamp(35px,4.4cqw,78px) 4.5%;}
.ed-about-header h1 {font-size: clamp(2rem,3.2cqw,3.5rem);}
.ed-about-story {display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: clamp(25px,3.6cqw,62px) 4.2%; align-items: center;}
.ed-about-story h2 {font-size: clamp(1.5rem,2.25cqw,2.5rem); max-width: 28ch;}
.ed-about-story p {font-size: clamp(1rem,1.18cqw,1.18rem); margin-top: .75em; line-height: 1.5; max-width: 68ch;}
.ed-about-photo img {display: block; width: 100%; object-fit: cover; aspect-ratio: 1.34; object-position: center 49%;}
.ed-about-values {padding: clamp(20px,2.55cqw,43px) 4%; background: #f1f2f3; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3%; text-align: center;}
.ed-about-values h3 {font-size: clamp(1.15rem,1.65cqw,1.65rem);}
.ed-about-values p {font-size: clamp(.925rem,1.07cqw,1.08rem); line-height: 1.4; max-width: 30ch; margin: .5em auto 0;}
.ed-team {padding: clamp(23px,2.9cqw,50px) 4.2%; text-align: center;}
.ed-team figure {width: fit-content;}
.ed-team img {width: clamp(75px,8.8cqw,118px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto;}
.ed-team strong,.ed-team span {display: block; margin-top: .22em;}
.ed-team figcaption {font-size: .9rem; margin-top: .5em; line-height: 1.35;}
.ed-team strong {font-size: 1.025rem;}

@container (max-width:750px) {
  .ed-contact-body {width: 90%;}
  .ed-faq-title p {width: 58%;min-width: 0;}
  .ed-faq-cta {gap: 12px;}
  .ed-chat-symbol {display:none;}
  .ed-case-grid {gap: 10px;}
  .ed-case-text {padding: 10px;}
  .ed-contact-hero {min-height: 205px; background-size: cover; background-position: 37% center;}
}
@container (max-width:630px) {
  .ed-contact-body,.ed-about-story {grid-template-columns: 1fr; gap: 26px;}
  .ed-contact-hero {background-image: linear-gradient(90deg,#07101dc4 0%,#07101d85 42%,transparent 92%),var(--wulf-section-image,url("template/contact-hero.webp")); background-size: 100% 100%,cover; background-position: center,left center; padding-block: 23px;}
  .ed-contact-details {gap: 14px; margin-top: 19px!important;}
  .ed-faq-title p {width: 86%; max-width: 42ch;}
  .ed-faq-hero {background-size: auto,cover; background-position: center,right center; background-image: linear-gradient(90deg,#f3f5f8fa 0%,#f3f5f8dd 45%,#f3f5f854),var(--wulf-section-image,url("template/faq-hero.webp"));}
  .ed-faq-cta {display: grid; justify-items: start;}
  .ed-faq-cta .ed-button {margin: .45rem 0 0;}
  .ed-reflogos {grid-template-columns: 1fr 1fr; gap: 8px;}
  .ed-reflogos li {height: 60px;}
  .ed-case-grid {grid-template-columns: 1fr; gap: 15px;}
  .ed-case-text {padding: .85rem 1rem;}
  .ed-case-text h3 {font-size: 1.15rem;}
  .ed-case-report summary,.ed-project-link {min-height: 32px;}
  .ed-quote {padding-inline: 4.45%;}
  .ed-about-photo img {max-height: 320px;}
  .ed-about-values {grid-template-columns: repeat(2,1fr); gap: 20px;}
}
@container (max-width:350px) {
  .ed-form-names {grid-template-columns: 1fr; gap: 10px;}
  .ed-page .ed-button {font-size: .94rem;}
}
