/* Editorial layout: warm paper, sticky contents column, big headline, fact rows, framed media.
   Loaded after home.css on pages with <body class="ed">. Everything is scoped to .ed. */

html:has(body.ed) {
  background: #14213d;
}

body.ed {
  --paper: #f4ede0;
  --ink: #14213d;
  --gold: #e0a23c;
  --ink-soft: #3a4660;
  --muted: #626a84;
  --pill: #e9dfcc;
  --pill-hover: #dfd3bc;
  --frame: #ede4d3;
  --line: rgba(20, 33, 61, 0.1);
  --gutter: clamp(16px, 2.1vw, 38px);
  --aside: clamp(250px, 24.2vw, 446px);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.ed a {
  color: inherit;
  text-decoration: none;
}

.ed ::selection {
  color: var(--paper);
  background: var(--ink);
}

/* ---------- Small shared pieces ---------- */
.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 10px;
  color: var(--ink);
  font: 600 17px/1 var(--sans);
  letter-spacing: -0.02em;
  background: var(--pill);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.ed-btn:hover,
.ed-btn:focus-visible {
  background: var(--pill-hover);
}

.ed-btn--icon {
  justify-content: center;
  width: 35px;
  padding: 0;
}

.ed-btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ed-btn-pair {
  display: inline-flex;
  gap: 5px;
}

.ed-btn-pair:hover .ed-btn {
  background: var(--pill-hover);
}

.ed-btn-pair .ed-btn--icon svg {
  transition: transform 0.35s var(--ease);
}

.ed-btn-pair:hover .ed-btn--icon svg {
  transform: translate(2px, -2px);
}

.ed-label {
  margin: 0 0 6px;
  color: var(--ink);
  font: 400 16px/1.1 var(--sans);
  letter-spacing: -0.01em;
}

.ed :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */
.ed-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: var(--aside) 1fr;
  align-items: center;
  height: 88px;
  padding: 0 var(--gutter);
}

/* Progressive viewport blur (built by scroll-progress.js), tinted with paper so the bar stays legible. */
.ed .progressive-blur.top-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  background: linear-gradient(to bottom, var(--paper) 16%, color-mix(in srgb, var(--paper) 55%, transparent) 42%, transparent 78%);
  pointer-events: none;
}

.ed-top__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ed-top__start {
  display: flex;
  align-items: center;
}

.ed-top__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ed-clock {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ed-clock::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.ed-logo {
  position: fixed;
  top: 22px;
  left: 50%;
  display: block;
  z-index: 51;
  width: 52px;
  height: 44px;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease);
}

.ed-logo:hover {
  transform: translateX(-50%) translateY(-2px);
}

.ed-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5.4vw, 100px);
}

.ed-nav__links {
  display: flex;
  gap: clamp(22px, 4.6vw, 86px);
}

.ed-nav__links a {
  position: relative;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.ed-nav__links a sup {
  position: absolute;
  top: -7px;
  left: 100%;
  margin-left: 2px;
  font-size: 11px;
  font-weight: 600;
}

.ed-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.ed-nav__links a:hover::after,
.ed-nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ed-nav__toggle {
  display: none;
}

/* ---------- Page grid ---------- */
.ed-page {
  display: grid;
  grid-template-columns: var(--aside) minmax(0, 1fr);
  padding: 54px var(--gutter) 0;
}

/* Sticky contents column */
.ed-aside {
  position: relative;
  z-index: 11;
}

.ed-aside__inner {
  position: sticky;
  top: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ed-back {
  margin-bottom: 52px;
}

.ed-wordmark {
  margin: 0 0 40px;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.ed-wordmark span {
  display: block;
  font: 400 15px/1 var(--sans);
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: 8px;
}

.ed-toc {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.ed-toc a {
  display: block;
  padding: 3px 0;
  color: var(--muted);
  font: 400 clamp(20px, 1.34vw, 25px)/1.18 var(--serif);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}

.ed-toc a:hover {
  color: var(--ink-soft);
}

.ed-toc a.is-active {
  color: var(--ink);
}

/* Main column */
.ed-main {
  min-width: 0;
  max-width: 1000px;
}

.ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ed-tags li {
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--pill);
  border-radius: 3px;
}

.ed-title {
  margin: 0 0 58px;
  font-size: clamp(64px, 6.4vw, 118px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.ed-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  margin: 0 0 38px;
}

.ed-facts > div {
  min-width: 0;
}

.ed-facts dt {
  margin: 0 0 8px;
  font: 400 16px/1.1 var(--sans);
}

.ed-facts dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ed-facts dd span {
  display: block;
}

.ed-overview {
  max-width: 1023px;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

/* Framed media */
.ed-media {
  position: relative;
  margin: 80px 0 0;
  overflow: hidden;
  background: var(--frame);
  border-radius: 4px;
}

.ed-media--hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ed-media__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--paper);
  border-radius: 3px;
}

.ed-media--stage {
  display: grid;
  place-items: center;
  min-height: clamp(420px, 40vw, 600px);
  padding: clamp(28px, 5vw, 80px);
}

.ed-media__index {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--pill);
  border-radius: 4px;
}

/* The existing service visuals sit centred on the stage at a comfortable reading size. */
.ed-visual {
  width: min(500px, 100%);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ed-visual > .svc,
.ed-visual > .seo-story,
.ed-visual > .build-story {
  box-shadow: 0 30px 60px -30px rgba(20, 33, 61, 0.25), 0 2px 6px rgba(20, 33, 61, 0.04);
}

.ed-visual > .svc {
  min-height: 300px;
}

/* ---------- Sections ---------- */
.ed-section {
  padding-top: 150px;
  scroll-margin-top: 100px;
}

.ed-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1023px;
}

.ed-h2 {
  margin: 0 0 22px;
  font-size: clamp(38px, 3.3vw, 58px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ed-text {
  margin: 0 0 34px;
  max-width: 760px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.ed-section .ed-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-bottom: 0;
}

.ed-section .ed-media {
  margin-top: 48px;
}

/* Map section */
.ed-media--map {
  padding: 0;
  background: #fff;
}

.ed-media--map .client-map__frame {
  width: 100%;
}

/* Closing call to action */
.ed-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

/* ---------- Footer ---------- */
.ed-foot {
  display: grid;
  grid-template-columns: var(--aside) minmax(0, 1fr);
  margin-top: 180px;
  padding: 0 var(--gutter) 28px;
}

.ed-foot__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1000px;
  padding-top: 26px;
  container-type: inline-size;
  border-top: 1px solid var(--line);
}

.ed-foot__inner a,
.ed-foot__inner p {
  display: block;
  margin: 0;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.ed-foot__inner a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ed-foot__word {
  grid-column: 1 / -1;
  margin: 70px 0 0;
  font-size: 22.6cqw;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.ed-foot__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted);
  font: 400 16px/1.1 var(--sans);
}

/* ---------- Shared content blocks (used across all pages) ---------- */

/* Text link with a small arrow */
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.ed-link[href^="http"]::after,
.ed-link[href^="mailto"]::after {
  content: "↗";
  font-size: 0.85em;
  transition: transform 0.35s var(--ease);
}

.ed-link[href^="http"]:hover::after,
.ed-link[href^="mailto"]:hover::after {
  transform: translate(2px, -2px);
}

/* A text link always looks like one: gold, with an arrow. On a dark or photo card it keeps the card's colour. */
.ed .ed-link:not(.wb-visit) {
  color: #8f561d;
  text-decoration: none;
}

.ed .ed-link:not([href^="http"]):not([href^="mailto"])::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.35s var(--ease);
}

.ed .ed-link:not([href^="http"]):not([href^="mailto"]):hover::after {
  transform: translateX(4px);
}

.ed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 6px;
}

/* Dark media panel: hosts the original dark-theme widgets (game, tiles, folder) untouched. */
.ed-media--dark {
  padding: clamp(18px, 3vw, 44px);
  color: #f5f5f7;
  background: #14213d;
}

.ed-media--dark.ap {
  background: #14213d;
}

/* Numbered rows: steps, points, process */
.ed-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.ed-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 8px 24px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}

.ed-list__n {
  font: 400 16px/1.35 var(--sans);
}

.ed-list h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ed-list p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

/* Label / value / action rows: contact sheet, client list */
.ed-rows {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.ed-rows li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 8px 24px;
  min-height: 62px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.ed-rows li > :first-child {
  font: 400 17px/1.2 var(--sans);
}

.ed-rows li > :nth-child(2) {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ed-rows li > :nth-child(3) {
  justify-self: end;
  color: var(--ink-soft);
  font-weight: 500;
}

.ed-rows a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quotes */
.ed-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 44px 0 0;
}

.ed-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 26px;
  background: var(--frame);
  border-radius: 4px;
}

.ed-quote blockquote {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.ed-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ed-quote figcaption img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}

.ed-quote figcaption span {
  display: block;
  color: #5a6279;
  font: 400 16px/1.2 var(--sans);
}

/* Big figures */
.ed-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.ed-stats li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ed-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.ed-stats span {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ed-fine {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font: 400 16px/1.3 var(--sans);
}

/* FAQ */
.ed-faq {
  margin: 40px 0 0;
  border-bottom: 1px solid var(--line);
}

.ed-faq details {
  border-top: 1px solid var(--line);
}

.ed-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
  list-style: none;
  cursor: pointer;
}

.ed-faq summary::-webkit-details-marker {
  display: none;
}

.ed-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat,
    var(--pill);
  border-radius: 4px;
  transition: transform 0.4s var(--ease);
}

.ed-faq details[open] summary::after {
  transform: rotate(45deg);
}

.ed-faq details p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.45;
}

/* Toggle chips (contact picker) */
.ed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 32px 0 0;
}

.ed-chip {
  height: 40px;
  padding: 0 14px;
  color: var(--ink);
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.02em;
  background: var(--pill);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.ed-chip:hover {
  background: var(--pill-hover);
}

.ed-chip[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.ed-chip[aria-pressed="true"]::before {
  content: "✓ ";
}

.ed-summary {
  margin: 0;
  color: var(--muted);
  font: 400 17px/1.2 var(--sans);
}

/* Inline tag list inside a section */
.ed-section .ed-tags {
  margin-top: 26px;
}

/* Grid of artwork inside a frame */
.ed-art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ed-art-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ed-art-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 1023px) {
  .ed-list li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .ed-list p {
    grid-column: 2;
  }

  .ed-rows li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ed-rows li > :nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ed-rows li > :nth-child(3) {
    grid-row: 1;
    grid-column: 2;
  }

  .ed-quotes,
  .ed-art-grid,
  .ed-art-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ed-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }
}

/* ---------- Tablet: the nav collapses into a Menu button before it can reach the logo ---------- */
@media (max-width: 1180px) {
  .ed-clock {
    display: none;
  }

  .ed-nav__toggle {
    display: inline-flex;
  }

  .ed-nav__links {
    position: fixed;
    inset: 88px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .ed-nav.is-open .ed-nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .ed-nav__links a {
    padding: 10px 0;
    font-size: 28px;
    letter-spacing: -0.04em;
  }

  .ed-nav__links a sup {
    top: 8px;
  }

  .ed-nav__links a::after {
    display: none;
  }

  .ed-nav__links a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  body.ed {
    font-size: 16px;
  }

  .ed-top {
    grid-template-columns: 1fr auto;
    height: 68px;
  }

  .ed-top__main {
    justify-content: flex-end;
    gap: 10px;
  }

  .ed-logo {
    top: 16px;
    width: 46px;
    height: 36px;
  }

  .ed-nav__links {
    inset: 68px 0 auto;
  }

  .ed-page,
  .ed-foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .ed-page {
    padding-top: 22px;
  }

  /* On phones the contents list becomes a horizontal, scrollable strip under the top bar. */
  .ed-aside {
    position: sticky;
    top: 68px;
    z-index: 40;
    margin: 0 calc(var(--gutter) * -1) 26px;
    padding: 8px var(--gutter);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .ed-aside__inner {
    position: static;
  }

  .ed-back,
  .ed-wordmark,
  .ed-aside .ed-btn-pair {
    display: none;
  }

  .ed-toc {
    display: flex;
    gap: 18px;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ed-toc::-webkit-scrollbar {
    display: none;
  }

  .ed-toc a {
    padding: 2px 0;
    font-size: 20px;
    white-space: nowrap;
  }

  .ed-title {
    margin-bottom: 36px;
    font-size: clamp(54px, 15vw, 80px);
  }

  .ed-facts,
  .ed-section .ed-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ed-media {
    margin-top: 48px;
  }

  .ed-media--stage {
    min-height: 0;
    padding: 56px 14px 24px;
  }

  .ed-media__index {
    top: 10px;
    right: 10px;
    min-width: 36px;
    height: 32px;
    font-size: 13px;
  }

  .ed-section {
    padding-top: 96px;
    scroll-margin-top: 130px;
  }

  .ed-foot {
    margin-top: 110px;
  }

  .ed-foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ed-foot__word {
    margin-top: 40px;
  }
}

/* ---------- Brand palette carried into the shared and older components ---------- */
body.ed {
  --black: #14213d;
  --graphite: #1e2f54;
  --soft-white: #f4ede0;
  --ice-white: #e9dfcc;
  --light-grey: #e9dfcc;
}

body.ed .about-apple,
body.ed .home-apple {
  --ap-bg: #14213d;
  --ap-card: #14213d;
  --ap-card-raised: #1e2f54;
  --ap-text: #f4ede0;
  --ap-grey: #a9b2c4;
  --ap-grey-light: #c3cad8;
  --ap-blue: #e0a23c;
  --ap-link: #e0a23c;
}

/* Illustration cards: the lightest tint of cream rather than pure white */
.ed .svc,
.ed .ed-visual > .seo-story,
.ed .ed-visual > .build-story {
  background-color: #fbf7ef;
}

.ed .ed-media--map {
  background: var(--paper);
}

.ed .ed-media--map .client-map__image {
  mix-blend-mode: multiply;
}

.ed .client-map__feather {
  background: linear-gradient(180deg, var(--paper) 3%, rgba(244, 237, 224, 0.92) 34%, rgba(244, 237, 224, 0.48) 66%, rgba(244, 237, 224, 0));
}

/* No panel around the cards: they sit straight on the cream, with their captions in navy. */
body.ed .ed-media--dark,
body.ed .ed-media--dark.ap {
  padding: 0;
  color: var(--ink);
  background: transparent;
}

body.ed .ed-media--dark .ap-caption {
  color: var(--ink-soft);
}

body.ed .ed-media--dark .ap-caption strong {
  color: var(--ink);
}

body.ed .ed-media--dark .cr-craft > span {
  color: var(--ink);
}

/* ---------- Original floating nav, in the brand colours ---------- */
body.ed .site-header {
  --white: #f4ede0;
  --black: #14213d;
}

body.ed .navigation {
  background: rgba(20, 33, 61, 0.94);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.25);
}

body.ed .brand-mark__logo {
  mix-blend-mode: screen;
}

body.ed .scroll-progress::before {
  background: rgba(20, 33, 61, 0.96);
}

body.ed .site-header .header-cta {
  color: #f4ede0;
  background: rgba(20, 33, 61, 0.94);
  border-radius: 999px;
}

/* The nav floats now, so the page starts below it. */
.ed-page {
  padding-top: 142px;
}

@media (max-width: 1023px) {
  .ed-page {
    padding-top: 96px;
  }
}

/* ---------- Phones: the contents strip closes off the top of the screen once pinned ---------- */
@media (max-width: 1023px) {
  /* In front of the blur, behind the nav. */
  .ed-aside {
    z-index: 39;
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Solid from the top of the screen down to the strip's bottom edge, where content disappears. */
  .ed-aside.is-pinned {
    box-shadow: 0 1px 0 var(--line);
  }

  .ed-aside.is-pinned::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 80px;
    background: var(--paper);
  }

  /* Content stays sharp right up to that edge. */
  body.strip-pinned .progressive-blur.top-blur {
    opacity: 0;
  }
}

/* ---------- Footer: the live sky over Sri Lanka (foot-sky.js paints it) ---------- */
.ed-foot {
  container-type: inline-size;
}

.ed-foot__word {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ed-foot.has-sky {
  --foot-ink: #14213d;
  --foot-word: #14213d;
  --land: clamp(120px, 10vw, 180px);
  --veil: clamp(240px, 24vw, 400px);
  position: relative;
  isolation: isolate;
  margin-top: 40px;
  padding-top: calc(var(--veil) + 120px);
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh + var(--veil));
  color: var(--foot-ink);
  cursor: grab;
  touch-action: pan-y;
  transition: color 0.5s ease;
}

.ed-foot.has-sky.is-scrubbing,
.ed-foot.has-sky.is-scrubbing * {
  cursor: grabbing;
  user-select: none;
}

.foot-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.ed-foot.has-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("deck-grain.png") 0 0 / 170px;
  mix-blend-mode: overlay;
  z-index: 2;
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--veil) * 0.3), #000 calc(var(--veil) * 1.1));
  mask-image: linear-gradient(to bottom, transparent calc(var(--veil) * 0.3), #000 calc(var(--veil) * 1.1));
}

.ed-foot.has-sky .ed-foot__inner {
  padding-top: 0;
  border-top: 0;
}

.ed-foot.has-sky .ed-label {
  color: inherit;
  opacity: 0.68;
}

.ed-foot.has-sky .ed-foot__inner a {
  color: inherit;
}

.ed-foot.has-sky .ed-foot__word {
  margin: clamp(70px, 7vw, 110px) 0 0;
  align-self: end;
  opacity: 0.74;
  color: var(--foot-word);
  line-height: 0.84;
  transition: color 0.5s ease;
}

.ed-foot.has-sky .ed-foot__bottom {
  position: relative;
  z-index: 3;
  margin-top: var(--land);
  color: rgba(244, 237, 224, 0.82);
}

.ed-foot.has-sky .ed-foot__inner,
.ed-foot.has-sky .foot-clock {
  position: relative;
  z-index: 3;
}

/* The land stands in front of the wordmark. */
.foot-land {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  pointer-events: none;
}

.foot-clock {
  align-self: start;
  width: max-content;
  outline: 0;
}

.foot-clock:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
  border-radius: 4px;
}

.foot-clock p {
  margin: 0;
}

.foot-clock__time {
  font: 600 clamp(30px, 3vw, 44px) / 1 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.foot-clock__where {
  margin-top: 8px !important;
  font: 600 16px / 1.3 var(--sans);
  letter-spacing: -0.02em;
}

.foot-clock__hint {
  font: 400 16px / 1.3 var(--sans);
  letter-spacing: -0.02em;
  opacity: 0.68;
}

.progressive-blur.top-blur,
.progressive-blur.bottom-blur {
  transition: opacity 0.35s ease;
}

body.foot-near .progressive-blur.bottom-blur,
body.foot-top .progressive-blur.top-blur {
  opacity: 0;
}

/* The sky runs edge to edge; the words sit in a centred block, as in the original footer. */
@media (min-width: 1100px) {
  .ed-foot.has-sky {
    grid-template-columns: minmax(0, 573fr) minmax(0, 675fr);
    padding-right: max(var(--gutter), calc((100% - 1248px) / 2));
    padding-left: max(var(--gutter), calc((100% - 1248px) / 2));
  }

  .ed-foot.has-sky .ed-foot__inner {
    grid-template-columns: minmax(0, 268fr) minmax(0, 407fr);
    gap: 36px 32px;
  }

  .ed-foot.has-sky .ed-foot__inner > div:first-child {
    grid-row: span 2;
  }

  .ed-foot.has-sky .ed-foot__word {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: calc(min(85vw, 1360px) * 0.226);
  }

  .ed-foot.has-sky .ed-foot__bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .ed-foot.has-sky {
    --land: clamp(90px, 24vw, 150px);
    --veil: 200px;
    grid-template-rows: auto auto auto 1fr auto;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 90px;
  }
}

/* Small screens: the clock and links share one grid, so every label and every value lines up. */
@media (max-width: 1099px) {
  .ed-foot.has-sky {
    --foot-rule: color-mix(in srgb, currentColor 24%, transparent);
  }

  .foot-clock {
    display: grid;
    grid-template-columns: var(--foot-cols);
    column-gap: var(--foot-gap);
    width: auto;
  }

  .foot-clock__time {
    grid-row: 1 / span 2;
    font-size: clamp(24px, 7.4vw, 34px);
  }

  .foot-clock__where {
    margin-top: 0 !important;
  }

  .foot-clock__where,
  .foot-clock__hint {
    grid-column: 2;
  }
}

@media (max-width: 599px) {
  .ed-foot.has-sky {
    --foot-cols: minmax(0, 2fr) minmax(0, 3fr);
    --foot-gap: 16px;
  }

  .foot-clock__hint {
    font-size: 14px;
  }

  .ed-foot.has-sky .ed-foot__inner {
    display: block;
    margin-top: 18px;
    border-bottom: 1px solid var(--foot-rule);
  }

  .ed-foot.has-sky .ed-foot__inner > div {
    display: grid;
    grid-template-columns: var(--foot-cols);
    column-gap: var(--foot-gap);
    padding: 13px 0;
    border-top: 1px solid var(--foot-rule);
  }

  .ed-foot.has-sky .ed-foot__inner > div .ed-label {
    grid-column: 1;
    grid-row: 1 / span 6;
    margin: 0;
  }

  .ed-foot.has-sky .ed-foot__inner > div a {
    grid-column: 2;
    line-height: 1.5;
  }
}

@media (max-width: 599px) and (max-height: 720px) {
  .ed-foot.has-sky {
    --land: 60px;
  }

  .ed-foot.has-sky .ed-foot__inner > div {
    padding: 9px 0;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 56px;
  }
}

@media (min-width: 600px) and (max-width: 1099px) {
  .ed-foot.has-sky {
    --foot-cols: minmax(0, 1fr) minmax(0, 2fr);
    --foot-gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
  }

  .ed-foot.has-sky .ed-foot__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--foot-gap);
    max-width: none;
    margin-top: 22px;
  }

  .ed-foot.has-sky .ed-foot__inner > div {
    padding-top: 13px;
    border-top: 1px solid var(--foot-rule);
  }

  .ed-foot.has-sky .ed-foot__word {
    justify-self: center;
    font-size: calc(min(88vw, 150vh) * 0.226);
  }
}

/* Short or zoomed-in windows: tighten up so the links clear the nav at the end of the page. */
@media (min-width: 600px) and (max-height: 820px) {
  .ed-foot.has-sky {
    --land: 80px;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 64px;
    font-size: calc(min(85vw, 1360px, 150vh) * 0.226);
  }
}

/* Very short windows: heavy zoom and the smallest phones. */
@media (min-width: 600px) and (max-height: 620px) {
  .ed-foot.has-sky {
    --land: 60px;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 48px;
    font-size: calc(min(88vw, 100vh) * 0.226);
  }
}

@media (max-width: 599px) and (max-height: 620px) {
  .ed-foot.has-sky {
    --land: 40px;
  }

  .foot-clock__hint {
    display: none;
  }

  .ed-foot.has-sky .ed-foot__inner > div {
    padding: 6px 0;
  }

  .ed-foot.has-sky .ed-foot__inner > div a {
    line-height: 1.35;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 40px;
  }
}

/* ---------- Book-a-call buttons: solid gradient orange, fully rounded ---------- */
.ed-btn-pair .ed-btn.js-book-call {
  background: #d99757;
  border-radius: 999px;
}

/* The orange buttons are the same size as the booking button in the nav. */
body.ed .ed-btn.js-book-call:not(.ed-btn--icon) {
  height: 44px;
  padding: 0 22px;
  font-size: 17px;
}

.ed-btn-pair:hover .ed-btn.js-book-call,
.ed-btn-pair .ed-btn.js-book-call:focus-visible {
  background: #cd8847;
}

/* The rippling copy of the sky sits exactly where the sky itself is. */
.foot-water {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Smooths the side button's scroll-driven fade if someone scrolls quickly. */
.ed-aside .ed-btn-pair {
  transition: opacity 0.22s linear;
}

/* ---------- The original floating booking bar, in the brand colours (phones and tablets) ---------- */
@media (max-width: 1023px) {
  body.ed .floating-discovery {
    display: flex !important;
    color: #f4ede0;
    font: 600 14px/1 var(--sans);
    letter-spacing: -0.02em;
    background: rgba(20, 33, 61, 0.96);
    box-shadow: 0 14px 34px rgba(20, 33, 61, 0.28);
    bottom: max(15px, env(safe-area-inset-bottom));
  }

  body.ed .floating-discovery__button {
    color: #14213d;
    font: 600 14px/1 var(--sans);
    letter-spacing: -0.02em;
    background: #d99757;
  }

  body.ed .floating-discovery__button svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (min-width: 601px) and (max-width: 1023px) {
  body.ed .floating-discovery {
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ---------- Footer: STAC Tools feature ---------- */
.foot-stac {
  position: relative;
  z-index: 3;
  display: block;
  width: max-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.foot-stac__label,
.foot-stac__name,
.foot-stac__what {
  display: block;
}

.foot-stac__label {
  font: 400 16px/1.1 var(--sans);
  letter-spacing: -0.01em;
  opacity: 0.68;
}

.foot-stac__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font: 600 24px/1.1 var(--sans);
  letter-spacing: -0.03em;
}

.foot-stac__name svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.foot-stac:hover .foot-stac__name svg,
.foot-stac:focus-visible .foot-stac__name svg {
  transform: translate(3px, -3px);
}

.foot-stac__what {
  min-height: 21px;
  margin-top: 5px;
  font: 400 16px/1.3 var(--sans);
  letter-spacing: -0.02em;
  opacity: 0.68;
}

@media (min-width: 1100px) {
  .ed-foot.has-sky {
    grid-template-rows: auto auto 1fr auto;
  }

  .ed-foot.has-sky .foot-clock {
    grid-column: 1;
    grid-row: 1;
  }

  .ed-foot.has-sky .ed-foot__inner {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .foot-stac {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 26px;
  }
}

@media (max-width: 599px) {
  .foot-stac {
    display: grid;
    grid-template-columns: var(--foot-cols);
    column-gap: var(--foot-gap);
    width: auto;
    padding: 13px 0;
    border-bottom: 1px solid var(--foot-rule);
  }

  .foot-stac__label {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.02em;
  }

  .foot-stac__name,
  .foot-stac__what {
    grid-column: 2;
  }

  .foot-stac__name {
    gap: 6px;
    margin-top: 0;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  .foot-stac__name svg {
    width: 12px;
    height: 12px;
  }

  .foot-stac__what {
    margin-top: 0;
    font-size: 14px;
  }
}

@media (min-width: 600px) and (max-width: 1099px) {
  .foot-stac {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--foot-gap);
    align-items: start;
    width: auto;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid var(--foot-rule);
  }

  /* One item: the label sits with the other labels, the name and what it does stack beside it. */
  .foot-stac__label {
    grid-column: 1;
    grid-row: 1 / span 2;
    line-height: 1.38;
  }

  .foot-stac__name,
  .foot-stac__what {
    grid-column: 2 / span 2;
  }

  .foot-stac__name {
    margin-top: 0;
    font-size: 20px;
  }

  .foot-stac__what {
    margin-top: 4px;
  }
}

@media (max-width: 599px) and (max-height: 820px) {
  .ed-foot.has-sky .ed-foot__inner > div,
  .foot-stac {
    padding: 10px 0;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 66px;
  }
}

@media (max-width: 599px) and (max-height: 720px) {
  .ed-foot.has-sky .ed-foot__inner > div,
  .foot-stac {
    padding: 8px 0;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 48px;
  }
}

@media (max-width: 599px) and (max-height: 620px) {
  .ed-foot.has-sky .ed-foot__inner > div,
  .foot-stac {
    padding: 5px 0;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 36px;
  }

  .foot-stac__what {
    display: none;
  }
}

@media (min-width: 600px) and (max-height: 620px) {
  .foot-stac {
    margin-top: 12px;
    padding-top: 9px;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 36px;
    font-size: calc(min(88vw, 86vh) * 0.226);
  }
}

@media (min-width: 1100px) and (max-height: 820px) {
  .foot-stac {
    margin-top: 16px;
    padding-top: 0;
  }
}

/* Small phones: keep the clock clear of the nav once the footer is fully in view. */
@media (max-width: 599px) and (max-height: 720px) {
  .ed-foot.has-sky {
    --land: 44px;
  }

  .foot-clock__hint {
    display: none;
  }

  .ed-foot.has-sky .ed-foot__inner > div,
  .foot-stac {
    padding: 6px 0;
  }

  .ed-foot.has-sky .ed-foot__inner > div a {
    line-height: 1.38;
  }
}

@media (max-width: 599px) and (max-height: 620px) {
  .ed-foot.has-sky {
    --land: 32px;
  }

  .ed-foot.has-sky .ed-foot__inner > div,
  .foot-stac {
    padding: 4px 0;
  }

  .ed-foot.has-sky .ed-foot__word {
    margin-top: 28px;
  }
}

/* A browser drawing without a graphics chip cannot blur what is behind it, so the bottom edge fades to paper instead.
   The top edge already carries a paper veil. gpu.js decides. */
.no-gpu .progressive-blur .layer {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.no-gpu .progressive-blur.bottom-blur {
  background: linear-gradient(to top, rgba(244, 237, 224, 0.94) 32px, rgba(244, 237, 224, 0.6) 96px, rgba(244, 237, 224, 0) 100%);
}

/* ---------- Testimonials: a slow moving row in the brand colours ---------- */
.hp-quotes {
  --quote-w: clamp(280px, 34vw, 460px);
  margin: 44px calc(var(--gutter) * -1) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}

.hp-quotes__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px var(--gutter);
}

.hp-quotes.is-moving .hp-quotes__track {
  animation: hp-quotes var(--quotes-time, 40s) linear infinite;
}

.hp-quotes.is-moving:hover .hp-quotes__track,
.hp-quotes.is-moving:focus-within .hp-quotes__track {
  animation-play-state: paused;
}

@keyframes hp-quotes {
  to { transform: translateX(calc(var(--quotes-shift, 50%) * -1)); }
}

.hp-quotes .ed-quote {
  flex: none;
  width: var(--quote-w);
  min-height: 280px;
  padding: 30px;
  color: #f4ede0;
  background: #14213d;
  border-radius: 22px;
}

.hp-quotes .ed-quote:nth-child(3n + 2) {
  color: #14213d;
  background: #d99757;
}

.hp-quotes .ed-quote:nth-child(3n + 3) {
  background: #294073;
}

.hp-quotes .ed-quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.62em;
  margin-bottom: 6px;
  font: 400 72px/1 var(--serif, Georgia, serif);
  opacity: 0.55;
}

.hp-quotes .ed-quote blockquote {
  text-indent: -0.42em;
}

.hp-quotes .ed-quote figcaption,
.hp-quotes .ed-quote figcaption span {
  color: inherit;
}

.hp-quotes .ed-quote figcaption span span {
  opacity: 0.78;
}

.hp-quotes .ed-quote figcaption img {
  filter: none;
  box-shadow: 0 0 0 2px currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .hp-quotes {
    overflow-x: auto;
  }
}

/* ---------- The last booking button: a sunrise sweeps in on hover ---------- */
#start .ed-btn-pair .ed-btn.js-book-call {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.3s ease;
}

#start .ed-btn-pair .ed-btn.js-book-call::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #14213d 0%, #14213d 52%, #294073 78%, #bd784d 100%);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease);
}

#start .ed-btn-pair .ed-btn.js-book-call::after {
  content: "\2192";
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.3s ease;
}

#start .ed-btn-pair:hover .ed-btn.js-book-call,
#start .ed-btn-pair .ed-btn.js-book-call:focus-visible {
  color: #f4ede0;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(217, 151, 87, 0.45), 0 0 0 5px rgba(217, 151, 87, 0.2);
}

#start .ed-btn-pair:hover .ed-btn.js-book-call::before,
#start .ed-btn-pair .ed-btn.js-book-call:focus-visible::before {
  transform: none;
}

#start .ed-btn-pair:hover .ed-btn.js-book-call::after,
#start .ed-btn-pair .ed-btn.js-book-call:focus-visible::after {
  max-width: 1em;
  margin-left: 10px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #start .ed-btn-pair:hover .ed-btn.js-book-call,
  #start .ed-btn-pair .ed-btn.js-book-call:focus-visible {
    transform: none;
  }
}

/* ---------- The nav's booking button: the same hover as the "Next step" booking button ----------
   The sky sweeps in from the left, the button lifts and grows a touch inside a warm glow, and an arrow
   slides out after the label. The sweep is a sliding background so both pseudo-elements stay free:
   ::after carries the short "Book" label on mid-size screens, ::before carries the arrow. */
body.ed .site-header .header-cta {
  background:
    /* Navy at rest; on hover the orange sunrise sweeps across, the reverse of the "Next step" button */
    linear-gradient(90deg, #bd784d 0%, #d99757 22%, #d99757 38%, #e6ad61 50%, transparent 50%) 100% 0 / 200% 100% no-repeat,
    rgba(20, 33, 61, 0.94);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.3s ease, background-position 0.55s var(--ease);
}

body.ed .site-header .header-cta::before {
  content: "\2192";
  order: 2;
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.3s ease;
}

body.ed .site-header .header-cta:hover,
body.ed .site-header .header-cta:focus-visible {
  color: #14213d;
  background-position: 0 0, 0 0;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(217, 151, 87, 0.45), 0 0 0 5px rgba(217, 151, 87, 0.2);
}

body.ed .site-header .header-cta:hover::before,
body.ed .site-header .header-cta:focus-visible::before {
  max-width: 1em;
  margin-left: 10px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.ed .site-header .header-cta:hover,
  body.ed .site-header .header-cta:focus-visible {
    transform: none;
  }
}

/* ---------- Footer: the Vervestac family, STAC Tools and Stac Solutions ---------- */
.foot-brands {
  position: relative;
  z-index: 3;
  display: block;
}

@media (min-width: 1100px) {
  .foot-brands {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .foot-brands .foot-stac + .foot-stac {
    margin-top: 22px;
  }
}

@media (min-width: 600px) and (max-width: 1099px) {
  .foot-brands .foot-stac + .foot-stac {
    margin-top: 14px;
  }
}
