/* Clearer text and interaction across the site. */
:root { --site-gutter: 52px; --orange-text: #a73825; }
html { background: #2e3b49; }
body { min-height: 100vh; min-height: 100dvh; background: #2e3b49; }
.header-shell, main { background: var(--paper); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
nav a:not(.nav-contact) { display: inline-flex; align-items: center; min-height: 44px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 4px;
}
.hero h1 em, .image-sentence em { color: var(--orange-text); }
.hero-topline { justify-content: flex-start; font-size: 12px; letter-spacing: 1.1px; }
.hero-bottom { grid-template-columns: minmax(0, 1fr) auto; }
.hero-bottom p { max-width: 470px; font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.hero-actions .text-link { margin-top: 0; white-space: nowrap; }
.mobile-header-cta, .menu-toggle { display: none; }
.ticker::before, .ticker::after { display: none; }
.services-note { justify-content: flex-end; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.about-actions .text-link { margin-top: 24px; }
.section-label { font-size: 13px; }
.mix-intro h2 { margin-top: 0; }
.mix-card { min-height: 400px; }
.mix-tag { font-size: 12px; }
.service-number { color: var(--orange-text); }
.service-teaser { line-height: 1.45; }
.service .plus { font-size: 0; }
.service .plus::before { content: "+"; font-size: 31px; line-height: 1; }
.service[open] .plus { transform: none; }
.service[open] .plus::before { content: "−"; }
.intro-bottom { grid-template-columns: minmax(0, 1fr) auto; }
.intro-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 24px; }
.intro-links .text-link { white-space: nowrap; }
.contact-grid .field-label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.contact-grid .field-label small { font-size: 12px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #596166; opacity: 1; }
#form-status { min-height: 1.5em; line-height: 1.6; }
#form-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-grid .privacy-note { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; }
.privacy-note a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }

/* The illustrated landscape remains the full footer scene, including behind its links. */
.contact {
  padding-top: 0;
  background: var(--blue) url('/assets/plexis-footer.webp') center bottom / cover no-repeat;
}
.contact-content {
  flex: 1 0 auto;
  padding-top: 65px;
}
.page-footer {
  padding-top: 190px;
  background: var(--blue) url('/assets/plexis-footer.webp') center bottom / cover no-repeat;
}
.site-footer {
  display: block;
  flex: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(to bottom, rgba(17,31,58,.60), rgba(17,31,58,.70) 55%, rgba(17,31,58,.78) 100%);
  color: var(--paper);
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(140px, .55fr) minmax(190px, .75fr);
  gap: clamp(28px, 5vw, 90px);
  padding-block: clamp(48px, 5vw, 76px) 50px;
}
.footer-identity .brand-logo { width: clamp(190px, 19vw, 270px); margin: 0; }
.footer-identity p {
  margin: 24px 0 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 39px);
  line-height: 1.22;
  letter-spacing: -.7px;
}
.footer-identity p em { color: #e8d7ae; font-weight: 550; }
.footer-label {
  display: block;
  margin-bottom: 22px;
  color: #d6dcf3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.footer-nav, .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-nav { font-size: 16px; }
.footer-nav .footer-label, .footer-social .footer-label { margin-bottom: 7px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 30px; padding: 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; }
.footer-social-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #f4f0e69c;
  color: var(--paper);
  transition: background .2s, color .2s, transform .2s;
}
.footer-social-icon svg { width: 21px; height: 21px; }
.footer-social a:hover .footer-social-icon { background: var(--paper); color: var(--cobalt); transform: translateY(-2px); }
.site-footer a { color: var(--paper); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline-color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #f4f0e64d;
  padding-block: 20px calc(28px + env(safe-area-inset-bottom, 0px));
  color: #d6dcf3;
  font-size: 13px;
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-bottom a span { font-size: 21px; line-height: 1; }

/* A moving editorial collage of the four services, on the page's paper. */
.ticker {
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
  border-block: 1px solid #25369c40;
  background: var(--paper);
  color: var(--cobalt);
  box-shadow: none;
}
.ticker-track { display: flex; width: max-content; animation: none; }
.ticker.is-ready .ticker-track { animation: ticker-collage 58s linear infinite; will-change: transform; }
.ticker-sequence { display: flex; flex: none; align-items: center; padding: 18px 0; }
.ticker-piece { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 5px; padding-inline: 8px; white-space: nowrap; }
.ticker-piece small { display: block; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.55px; line-height: 1.2; }
.ticker-piece strong { display: block; color: var(--cobalt); font-size: clamp(43px, 4.25vw, 64px); font-weight: 500; letter-spacing: -2.8px; line-height: 1.08; }
.ticker-piece strong em { font-family: var(--serif); font-style: italic; font-weight: 600; }
.ticker-brand small { padding-left: 17px; }
.ticker-brand strong { transform: rotate(-2deg) translateY(2px); }
.ticker-brand strong em { color: var(--orange-text); }
.ticker-content small, .ticker-campaign small { order: 2; align-self: flex-end; padding-right: 5px; }
.ticker-content strong { transform: translateY(-3px); }
.ticker-social small { padding-left: 24px; }
.ticker-social strong { transform: rotate(2deg) translateY(2px); }
.ticker-campaign strong { transform: translateY(-3px); }
.ticker-orbit { position: relative; width: 66px; height: 58px; flex: none; margin-inline: 31px; }
.ticker-orbit::before, .ticker-orbit::after { content: ""; position: absolute; width: 29px; height: 48px; border: 1.5px solid var(--cobalt); border-radius: 50%; }
.ticker-orbit::before { top: 5px; left: 14px; transform: rotate(42deg); }
.ticker-orbit::after { top: 6px; left: 25px; border-color: var(--orange-text); transform: rotate(-33deg); }
@keyframes ticker-collage { to { transform: translate3d(-50%, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .ticker.is-ready .ticker-track { animation: none; will-change: auto; }
  .footer-social-icon { transition: none; }
}

@media (max-width: 1100px) { :root { --site-gutter: 32px; } }
@media (max-width: 820px) { :root { --site-gutter: 20px; } }
@media (min-width: 601px) and (max-width: 820px) {
  .site-header .brand-logo { width: 180px; }
  .site-header nav { gap: 16px; font-size: 13px; }
  .site-header .nav-contact { gap: 12px; padding: 10px 12px; }
}
@media (max-width: 600px) {
  :root { --site-gutter: 16px; }
  .site-header {
    position: relative;
    z-index: 20;
    min-height: 82px;
    padding-block: 12px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .site-header:not(.has-mobile-nav) { flex-wrap: wrap; }
  .site-header:not(.has-mobile-nav) nav { flex-wrap: wrap; justify-content: flex-start; }
  .site-header .brand-logo { width: clamp(120px, 37vw, 150px); margin-right: auto; }
  .mobile-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 8px 11px;
    background: var(--cobalt);
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border: 1px solid var(--cobalt);
    background: transparent;
    color: var(--cobalt);
    cursor: pointer;
    place-items: center;
  }
  .has-mobile-nav .menu-toggle { display: grid; }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease;
  }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { content: ''; position: absolute; left: 0; }
  .menu-toggle-lines::before { transform: translateY(-6px); }
  .menu-toggle-lines::after { transform: translateY(6px); }
  .is-menu-open .menu-toggle-lines { background: transparent; }
  .is-menu-open .menu-toggle-lines::before { transform: rotate(45deg); }
  .is-menu-open .menu-toggle-lines::after { transform: rotate(-45deg); }
  .site-header.has-mobile-nav nav { display: none; }
  .site-header.is-menu-open nav {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    top: 100%;
    left: calc(-1 * var(--site-gutter));
    width: calc(100% + 2 * var(--site-gutter));
    padding: 8px var(--site-gutter) 18px;
    border-bottom: 1px solid var(--cobalt);
    background: var(--paper);
    box-shadow: 0 18px 24px rgba(17, 31, 58, .12);
  }
  .site-header.is-menu-open nav a:not(.nav-contact) {
    display: flex;
    min-height: 55px;
    width: 100%;
    border-bottom: 1px solid #c9c9c0;
    font-size: 18px;
    font-weight: 600;
  }
  .site-header.is-menu-open nav .nav-contact { display: none; }
  .contact-content { padding-top: 48px; }
  .page-footer { padding-top: 90px; }
  .contact-row { margin-bottom: 36px; }
  .intro-bottom { grid-template-columns: 1fr; }
  .intro-bottom .text-link { grid-column: auto; }
  .intro-links { justify-content: flex-start; }
  .home-intro .phrase { white-space: normal; }
  .service-enquiry { align-self: flex-start; }
  .service .plus::before { font-size: 29px; }
  .hero { overflow: hidden; }
  .hero-topline { font-size: 11px; letter-spacing: .7px; }
  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-top: 0;
    padding: 8px 0 20px;
  }
  .hero-art {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 390px);
    max-width: 100%;
    margin: 12px auto 0;
    transform: none;
    opacity: 1;
    z-index: 1;
  }
  .hero-heading {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 0 3px;
    transform: none;
  }
  .hero h1 { font-size: clamp(42px, 10.8vw, 62px); letter-spacing: -2.8px; }
  .hero h1 > span, .hero h1 em { text-shadow: none; -webkit-text-stroke: 0; }
  .hero h1 em { margin-top: 2px; letter-spacing: -2.2px; }
  .path-collage, .hero-spark, .color-chip { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 17px; padding-top: 18px; }
  .hero-bottom p { max-width: 310px; font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .mix-card { min-height: 0; }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 18px; padding-block: 44px 38px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-identity p { margin-top: 19px; font-size: 29px; }
  .footer-label { font-size: 11px; letter-spacing: 1.2px; }
  .footer-nav, .footer-social { gap: 12px; }
  .footer-nav a, .footer-social a { min-height: 44px; font-size: 15px; }
  .footer-social a { gap: 8px; }
  .footer-social-icon { width: 44px; height: 44px; }
  .footer-bottom { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .ticker { margin-top: 28px; }
  .ticker.is-ready .ticker-track { animation-duration: 43s; }
  .ticker-sequence { padding-block: 15px; }
  .ticker-piece { gap: 4px; padding-inline: 4px; }
  .ticker-piece small { font-size: 10px; letter-spacing: 1.2px; }
  .ticker-piece strong { font-size: clamp(34px, 9.2vw, 39px); letter-spacing: -1.8px; }
  .ticker-brand small { padding-left: 10px; }
  .ticker-social small { padding-left: 12px; }
  .ticker-orbit { width: 47px; height: 45px; margin-inline: 20px; }
  .ticker-orbit::before, .ticker-orbit::after { width: 22px; height: 37px; }
  .ticker-orbit::before { top: 4px; left: 8px; }
  .ticker-orbit::after { top: 4px; left: 17px; }
  .hero-spark.spark-one { display: block; top: 8%; right: 2%; width: 30px; opacity: .8; }
  .hero-spark.spark-one img { width: 30px; }
  .color-chip.chip-two { display: block; right: 6%; bottom: 8%; width: 10px; height: 10px; }
}
