/* Brand and foundations */
:root {
  --red: #e5262e;
  --red-dark: #c41d25;
  --ink: #191a1c;
  --muted: #606167;
  --paper: #fff;
  --soft: #f6f5f2;
  --line: #e3e2df;
  --radius: 12px;
  --shadow: 0 16px 48px #191a1c0a;
  --space: 96px;
  --speed: 180ms;
  --font: Arial, Helvetica, sans-serif;
  --portrait-image: url("/assets/img/Logo-Sprite-768x384_reducedColor.png");
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3.4rem, 5.6vw, 5.3rem);
}
h2 {
  font-size: clamp(2.3rem, 3.6vw, 3.45rem);
}
h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--red-dark);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
section[id] {
  scroll-margin-top: 104px;
}
::selection {
  background: #ffd6d8;
}
.container {
  max-width: 1240px;
  padding-left: 32px;
  padding-right: 32px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 11px/1.5 monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  display: inline-block;
}
.red {
  color: var(--red);
}
.section {
  padding: var(--space) 0;
}
.section-intro {
  max-width: 610px;
}
.section-intro p {
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--red);
  color: white;
  border: 1px solid var(--red);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 23px;
  min-height: 50px;
  transition:
    background var(--speed),
    transform var(--speed);
}
.button:hover {
  background: var(--red-dark);
  color: white;
  transform: translateY(-2px);
}
.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  border-color: var(--ink);
}
.text-link {
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  min-height: 44px;
}
.text-link span {
  color: var(--red);
}
/* Shared header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 91px;
  gap: 25px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
}
.brand-name {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.header-brand {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
}
/* Rotate a half-plane mask, not the artwork: every angle covers exactly half
   the centred square. Unregistered-property browsers retain a static split. */
@property --brand-reveal-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.brand-portrait,
.brand-portrait::after {
  background-color: #fff;
  background-image: url("/assets/img/Logo-Sprite-384x192_reducedColor.png");
  background-size: 200% 100%;
  background-position: left center;
  background-repeat: no-repeat;
}
.brand-portrait {
  /* Static registration correction: human panel sits slightly right and low. */
  background-position: 5% -1.4px;
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
}
.brand-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 97% panel scale; compensate the sprite offset to keep its centre fixed. */
  background-size: 194% 97%;
  background-position: 101.595745% center;
  mask-image: conic-gradient(
    from var(--brand-reveal-angle, 0deg) at 50% 50%,
    #000 0deg 180deg,
    transparent 180deg 360deg
  );
  animation: brand-reveal-spin 6s linear infinite;
}
@keyframes brand-reveal-spin {
  from {
    --brand-reveal-angle: 0deg;
  }
  to {
    --brand-reveal-angle: 360deg;
  }
}
.brand-name b {
  color: var(--red);
}
.brand-descriptor {
  font: 9px/1.8 monospace;
  letter-spacing: 1.55px;
  margin-top: 4px;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav > a {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav > a[aria-current] {
  color: var(--red);
}
.site-nav .nav-contact {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.menu-toggle {
  display: none;
}
/* Hero and replaceable portrait */
.hero {
  padding: 78px 0 66px;
  overflow: hidden;
}
.hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
}
.hero .lead {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  max-width: 500px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.hero-copy {
  max-width: 510px;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note {
  font: 11px monospace;
  color: var(--muted);
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-note:before {
  content: "âœ“";
  color: var(--red);
}
.portrait-panel {
  position: relative;
  margin-left: 30px;
  padding: 22px 0 0 20px;
}
.portrait-topline {
  display: flex;
  justify-content: space-between;
  font: 10px monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.portrait-art,
.portrait-art::after {
  /* Identical painting areas keep both 384px sprite panels aligned.
     The opaque paper/grid also covers the human beneath transparent robot pixels. */
  background-color: var(--soft);
  background-image:
    var(--portrait-image), linear-gradient(#deddd84d 1px, transparent 1px),
    linear-gradient(90deg, #deddd84d 1px, transparent 1px);
  background-size:
    200% 100%,
    26px 26px,
    26px 26px;
  background-position:
    left center,
    left top,
    left top;
  background-repeat: no-repeat, repeat, repeat;
}
.portrait-art {
  --portrait-cycle: 6s;
  /* Shift only the human sprite; the grid and robot keep their positions. */
  background-position:
    5% calc(-1 * clamp(4px, 0.6vw, 8px)),
    left top,
    left top;
  aspect-ratio: 1;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 120px 12px 12px 12px;
  box-shadow:
    0 18px 40px -16px #191a1c38,
    0 3px 9px #191a1c08;
  overflow: hidden;
}
.portrait-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Scale only the robot artwork, not its reveal mask or background grid. */
  background-size:
    194% 97%,
    26px 26px,
    26px 26px;
  background-position:
    101.595745% center,
    left top,
    left top;
  clip-path: polygon(78% 0, 100% 0, 100% 100%, 62% 100%);
  animation: portrait-reveal var(--portrait-cycle) ease-in-out infinite;
}
/* The narrow polygon uses the same vertices and timing as the reveal below.
   It follows the boundary without moving either face or the sprite background. */
.portrait-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--red);
  opacity: 0;
  animation: portrait-scan var(--portrait-cycle) ease-in-out infinite;
}
/* Light the existing grid around the face, using the same reveal boundary.
   A soft central mask keeps the illumination away from the facial features. */
.portrait-grid-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(#e5262e55 1px, transparent 1px),
    linear-gradient(90deg, #e5262e55 1px, transparent 1px),
    radial-gradient(ellipse at center, #e5262e18, #e5262e06);
  background-size:
    26px 26px,
    26px 26px,
    100% 100%;
  mask-image: radial-gradient(
    ellipse 38% 46% at center,
    transparent 65%,
    black 100%
  );
  opacity: 0;
  animation:
    portrait-reveal var(--portrait-cycle) ease-in-out infinite,
    portrait-grid-glow var(--portrait-cycle) ease-in-out infinite;
}
@keyframes portrait-grid-glow {
  0%,
  20%,
  58%,
  70%,
  90%,
  100% {
    opacity: 0;
  }
  38% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.55;
  }
}
.portrait-eye-pulse {
  position: absolute;
  left: 53.88%;
  top: 43.21%;
  width: 17.46%;
  height: 11.64%;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #dcfbff 0%,
    #67e4ffb3 18%,
    #00baff66 38%,
    #008cff00 72%
  );
  mix-blend-mode: screen;
  opacity: 0;
  animation: portrait-eye-glow var(--portrait-cycle) ease-in-out infinite;
}
@keyframes portrait-eye-glow {
  0%,
  33%,
  53%,
  100% {
    opacity: 0;
  }
  43% {
    opacity: 0.85;
  }
}
@keyframes portrait-scan {
  0%,
  10%,
  90%,
  100% {
    clip-path: polygon(
      calc(78% - 1px) 0,
      calc(78% + 1px) 0,
      calc(62% + 1px) 100%,
      calc(62% - 1px) 100%
    );
    opacity: 0.45;
  }
  24% {
    animation-timing-function: linear;
    clip-path: polygon(
      calc(75% - 1px) 0,
      calc(75% + 1px) 0,
      calc(55% + 1px) 100%,
      calc(55% - 1px) 100%
    );
    opacity: 0.9;
  }
  43% {
    animation-timing-function: linear;
    clip-path: polygon(
      calc(58% - 1px) 0,
      calc(58% + 1px) 0,
      calc(42% + 1px) 100%,
      calc(42% - 1px) 100%
    );
    opacity: 0.9;
  }
  70%,
  72% {
    clip-path: polygon(
      calc(38% - 1px) 0,
      calc(38% + 1px) 0,
      calc(28% + 1px) 100%,
      calc(28% - 1px) 100%
    );
    opacity: 0.45;
  }
  81% {
    clip-path: polygon(
      calc(45% - 1px) 0,
      calc(45% + 1px) 0,
      calc(55% + 1px) 100%,
      calc(55% - 1px) 100%
    );
    opacity: 0.9;
  }
}
/* Short endpoint pauses; move through the diagonal halfway reveal before returning.
   Only the overlay's clipping polygon changes â€” neither sprite panel moves. */
@keyframes portrait-reveal {
  0%,
  10%,
  90%,
  100% {
    clip-path: polygon(78% 0, 100% 0, 100% 100%, 62% 100%);
  }
  24% {
    animation-timing-function: linear;
    clip-path: polygon(75% 0, 100% 0, 100% 100%, 55% 100%);
  }
  43% {
    animation-timing-function: linear;
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
  }
  70%,
  72% {
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 28% 100%);
  }
  81% {
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 55% 100%);
  }
}
.portrait-caption {
  font: 10px monospace;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 12px 0 24px;
}
.portrait-label {
  position: relative;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  padding: 16px 21px;
  margin-left: -20px;
  max-width: 310px;
  box-shadow: var(--shadow);
}
.portrait-label strong {
  display: block;
  font-size: 14px;
}
.portrait-label small {
  font-size: 11px;
  color: #bfc0c3;
}
.portrait-label .red {
  float: right;
  font-size: 28px;
}
.credibility {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credibility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 20px;
}
.credibility p {
  margin: 0;
  font-size: 12px;
}
.credibility strong {
  color: var(--ink);
}
.disciplines {
  display: flex;
  gap: 24px;
  font: 10px monospace;
  letter-spacing: 0.07em;
  color: var(--muted);
}
/* Services */
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.section-heading-row > p {
  max-width: 340px;
  font-size: 14px;
  margin-bottom: 5px;
}
.service-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 29px;
  background: white;
}
.service-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fff0f0;
  border-radius: 9px;
  color: var(--red-dark);
  font: 22px monospace;
}
.card-index {
  font: 11px monospace;
  color: var(--muted);
}
.service-card p {
  font-size: 14px;
  margin: 17px 0;
}
.service-card h3 {
  font-size: 21px;
}
.service-tags {
  font: 10px/1.8 monospace;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.service-card.wide {
  background: var(--soft);
}
.philosophy {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-left: 3px solid var(--red);
  padding: 14px 22px;
  background: var(--soft);
}
.philosophy strong {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.philosophy p {
  margin: 0;
  font-size: 13px;
}
/* Calculator */
.automation {
  background: var(--ink);
  color: white;
}
.automation .eyebrow,
.automation p {
  color: #babbc0;
}
.automation h2 {
  max-width: 520px;
}
.automation .section-heading-row > p {
  max-width: 360px;
}
.examples {
  display: flex;
  gap: 34px;
  margin: 28px 0 38px;
}
.example strong {
  display: block;
  color: white;
  font-size: 18px;
}
.example span {
  font: 11px/1.8 monospace;
  color: #c0c1c5;
}
.calculator {
  background: #242528;
  border: 1px solid #414246;
  border-radius: var(--radius);
  padding: 32px;
}
.calculator-label {
  font: 11px monospace;
  letter-spacing: 0.1em;
  color: #ccc;
  margin-bottom: 25px;
}
.calculator-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.field label {
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
  color: #e1e1e3;
}
.field input {
  width: 100%;
  background: #303135;
  border: 1px solid #636469;
  color: white;
  border-radius: 6px;
  height: 50px;
  padding: 10px 14px;
  font-size: 20px;
}
.field small {
  display: block;
  color: #babbc0;
  font-size: 10px;
  margin-top: 7px;
}
.results {
  border-top: 1px solid #46474b;
  margin-top: 27px;
  padding-top: 23px;
}
.results-title {
  font-size: 12px;
  color: #d5d5d8;
  margin-bottom: 13px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.result strong {
  display: block;
  font-size: clamp(25px, 3vw, 39px);
  letter-spacing: -0.04em;
  line-height: 1.3;
  font-weight: 700;
}
.result:last-child strong {
  color: #ff767c;
}
.result span {
  font-size: 11px;
  color: #c0c1c5;
}
.calculator-error {
  color: #ffb7bb !important;
  font-size: 13px;
  margin: 15px 0 0;
}
.calculator-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
}
.calculator-bottom p {
  font-size: 11px;
  max-width: 640px;
  margin: 0;
}
.calculator-bottom a {
  white-space: nowrap;
  color: white;
}
.assumptions {
  font: 10px/1.8 monospace;
  margin-top: 19px !important;
}
/* Experience, process and about */
.experience-grid {
  margin-top: 38px;
}
.experience-item {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  height: 100%;
}
.experience-item .era {
  font: 11px monospace;
  color: var(--red-dark);
  display: block;
  margin-bottom: 15px;
}
.experience-item h3 {
  font-size: 22px;
}
.experience-item p {
  font-size: 14px;
  margin-top: 15px;
}
.experience-note {
  font-size: 15px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 23px;
}
.process {
  background: var(--soft);
}
.process-grid {
  margin-top: 40px;
}
.step-number {
  font: 12px monospace;
  color: var(--red-dark);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.step-number:after {
  content: "";
  height: 1px;
  background: #d6d5d0;
  flex: 1;
}
.process h3 {
  font-size: 23px;
}
.process .col-md-3 p {
  font-size: 14px;
  margin-top: 14px;
}
.about-mark {
  font-size: 110px;
  line-height: 1;
  color: var(--red);
  font-weight: 800;
  letter-spacing: -10px;
}
.about-quote {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--ink);
  max-width: 390px;
  margin-top: 22px;
}
.about-copy p {
  font-size: 15px;
}
.signature {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-top: 25px;
  color: var(--ink);
}
.contact {
  background: var(--red);
  color: white;
  padding: 68px 0;
}
.contact .eyebrow {
  color: #fff;
}
.contact .eyebrow:before {
  background: white;
}
.contact h2 {
  max-width: 680px;
}
.contact p {
  color: white;
  max-width: 580px;
  margin: 23px 0;
}
.contact .button {
  background: white;
  border-color: white;
  color: var(--ink);
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  margin-top: 20px;
}
.contact-details a {
  color: white;
  font-size: 18px;
  border-bottom: 1px solid #ffffff66;
}
.contact-details a:hover {
  border-color: white;
}
.site-footer {
  padding: 35px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  font: 10px monospace;
  color: var(--muted);
}
.prose {
  max-width: 780px;
  min-height: 65vh;
}
.prose h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 25px;
}
.prose h2 {
  font-size: 25px;
  margin-top: 35px;
}
.prose a {
  text-decoration: underline;
}
.prose p {
  line-height: 1.8;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 150ms;
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 80px;
  }
}
@media (max-width: 1100px) {
  .site-nav {
    gap: 16px;
  }
  .site-nav > a {
    font-size: 11px;
  }
  .portrait-panel {
    margin-left: 0;
  }
  .disciplines {
    gap: 13px;
  }
}
@media (max-width: 991px) {
  .header-inner {
    min-height: 80px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .menu-toggle {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 13px;
    font-size: 13px;
  }
  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .site-nav > a {
    padding: 9px 0;
    font-size: 13px;
  }
  .js .site-nav:not(.is-open) {
    display: none;
  }
  .hero {
    padding-top: 55px;
  }
  .portrait-panel {
    max-width: 470px;
    margin: 45px auto 0;
  }
  .credibility-inner {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .disciplines {
    flex-wrap: wrap;
  }
  .section-heading-row {
    align-items: start;
  }
  .footer-inner {
    align-items: start;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .contact-details {
    margin-top: 35px;
  }
}
@media (max-width: 767px) {
  :root {
    --space: 64px;
  }
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero h1 {
    font-size: clamp(3rem, 10vw, 4.4rem);
  }
  .hero .lead {
    font-size: 18px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    padding: 13px 18px;
    gap: 18px;
  }
  .section-heading-row {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading-row > p {
    margin-top: 22px;
  }
  .philosophy {
    display: block;
  }
  .philosophy p {
    margin-top: 8px;
  }
  .examples {
    gap: 18px;
    flex-wrap: wrap;
  }
  .example {
    flex: 1;
    min-width: 120px;
  }
  .calculator {
    padding: 23px;
  }
  .calculator-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .result-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .calculator-bottom {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .process-grid {
    row-gap: 25px;
  }
  .step-number {
    margin-bottom: 15px;
  }
  .about-mark {
    font-size: 80px;
  }
  .about-quote {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .contact {
    padding: 55px 0;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    gap: 20px;
    line-height: 1.8;
  }
  .portrait-panel {
    padding-left: 12px;
  }
  .portrait-label {
    margin-left: -12px;
  }
  .brand-name {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-portrait::after {
    --brand-reveal-angle: 16deg;
  }
  .portrait-art::before,
  .portrait-grid-light,
  .portrait-eye-pulse {
    display: none;
  }
  .portrait-art::after {
    animation: none;
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .row.gx-5 {
    --bs-gutter-x: 2rem;
  }
  .result strong {
    overflow-wrap: anywhere;
  }
  .contact-details a {
    overflow-wrap: anywhere;
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .header-inner {
    gap: 12px;
  }
  .header-brand {
    gap: 8px;
  }
  .brand-portrait {
    background-position: 5% -1.1px;
    flex-basis: 57px;
    width: 57px;
    height: 57px;
  }
  .header-brand .brand-descriptor {
    font-size: 7.5px;
    letter-spacing: 1px;
  }
}
@media (max-width: 360px) {
  .header-inner {
    gap: 6px;
  }
  .header-brand {
    gap: 6px;
  }
  .header-brand .brand-name {
    font-size: 20px;
  }
  .header-brand .brand-descriptor {
    font-size: 7px;
    letter-spacing: 0.65px;
  }
}
