/* Host Universal - hostuniversal.com.au
   Static stylesheet. Colours from the Muse x Host Universal style guide v1.1 only. */

/* ---------------------------------------------------------------- fonts -- */

@font-face {
  font-family: "SK Modernist";
  src: url("../fonts/Sk-Modernist-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SK Modernist";
  src: url("../fonts/Sk-Modernist-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mohr Rounded";
  src: url("../fonts/MohrRounded-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */

:root {
  --blue: #1d3f93;
  --orange: #e8441e;
  --pale: #dee3ef;
  --sand: #f1ece5;
  --gray: #3a3a3a;
  --slate: #2f4f4f;

  /* Derived from the guide colours for the redesign's dark and tinted surfaces. */
  --navy: color-mix(in srgb, var(--blue) 45%, #000);
  --tint: color-mix(in srgb, var(--pale) 45%, #fff);
  --on-blue: color-mix(in srgb, var(--pale) 80%, var(--blue));
  --on-navy: color-mix(in srgb, var(--pale) 60%, var(--blue));
  --on-orange: color-mix(in srgb, var(--orange) 22%, #fff);
  --orange-dark: color-mix(in srgb, var(--orange) 85%, #000);

  --font-body: "SK Modernist", "Avenir Next", "Segoe UI", sans-serif;
  --font-title: "SK Modernist", "Avenir Next", sans-serif;
  --font-heading: "Mohr Rounded", "Avenir Next", sans-serif;

  --radius: 0.75rem;
  --radius-panel: 1rem;
  --shadow-md: 0 4px 6px -1px rgb(58 58 58 / 0.1), 0 2px 4px -2px rgb(58 58 58 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(58 58 58 / 0.1), 0 4px 6px -4px rgb(58 58 58 / 0.1);
  --ring: 0 0 0 3px rgb(29 63 147 / 0.35);
}

/* ---------------------------------------------------------------- reset -- */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--gray);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

/* ----------------------------------------------------------- typography -- */

h1,
h2 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gray);
  line-height: 1.15;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray);
  line-height: 1.3;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.25rem;
}

.h2-lg {
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .h2-lg {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .h2-lg {
    font-size: 2.75rem;
  }
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--slate);
}

.muted {
  color: var(--slate);
}

.prose p,
p.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
}

.prose p + p {
  margin-top: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------- layout -- */

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.section {
  padding-block: 3rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 4.5rem;
  }
}

.section--compact {
  padding-block: 2.5rem;
}

@media (min-width: 640px) {
  .section--compact {
    padding-block: 3rem;
  }
}

@media (min-width: 1024px) {
  .section--compact {
    padding-block: 3.5rem;
  }
}

.section--map {
  padding-block: 3rem;
}

@media (min-width: 640px) {
  .section--map {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .section--map {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split--wide {
    grid-template-columns: 1.15fr 0.85fr;
  }

}

.measure {
  max-width: 42rem;
}

.measure-wide {
  max-width: 48rem;
}

.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-dark);
}

.btn--outline {
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--pale);
}

.btn--outline-quiet {
  border-color: var(--pale);
}

.btn--outline-quiet:hover {
  border-color: var(--blue);
  background: #fff;
}

.btn--md {
  height: 2.75rem;
  padding-inline: 1.5rem;
}

.btn--lg {
  height: 3.25rem;
  padding-inline: 2rem;
  font-size: 1rem;
}

/* on blue, navy and orange panels */

.hero .btn--outline,
.cta-band .btn--outline {
  border-color: rgb(255 255 255 / 0.4);
  background: transparent;
  color: #fff;
}

.hero .btn--outline:hover,
.cta-band .btn--outline:hover {
  border-color: #fff;
  background: transparent;
}

.btn--icon {
  width: 2.5rem;
  padding: 0;
}

.btn--block {
  width: 100%;
  height: 2.75rem;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--pale);
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .site-header__inner {
    padding-inline: 2rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .site-logo img {
    height: 2rem;
  }
}

.primary-nav,
.header-actions {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--blue);
}

.nav-link:focus-visible {
  outline: none;
  color: var(--blue);
  box-shadow: var(--ring);
}

.nav-link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.15s ease;
}

/* services dropdown */

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 36rem;
  padding-top: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.12s ease,
    visibility 0.12s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
}

.has-dropdown:hover .nav-link svg,
.has-dropdown:focus-within .nav-link svg {
  transform: rotate(180deg);
}

.dropdown__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.125rem 0.5rem;
  max-height: calc(100vh - 5.5rem);
  overflow-y: auto;
  padding: 0.625rem;
  border: 1px solid var(--pale);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--navy) 14%, transparent);
}

.dropdown__item {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.dropdown__item:hover,
.dropdown__item:focus-visible {
  background: var(--tint);
  outline: none;
}

.dropdown__item:hover .dropdown__item-name,
.dropdown__item:focus-visible .dropdown__item-name {
  color: var(--blue);
}

.dropdown__item[aria-current="page"] .dropdown__item-name {
  color: var(--blue);
}


.dropdown__item-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray);
}

.dropdown__item-desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--slate);
}

/* mobile drawer */

.menu-toggle {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  width: 100%;
  background: color-mix(in srgb, var(--navy) 45%, transparent);
  cursor: pointer;
  animation: fade-in 0.2s ease;
}

.mobile-nav__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 24rem;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: slide-in 0.25s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobile-nav__overlay,
  .mobile-nav__panel {
    animation: none;
  }
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--pale);
}

.mobile-nav__header img {
  height: 2rem;
  width: auto;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 0;
  overflow-y: auto;
}

.mobile-nav__list a {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--gray);
  text-decoration: none;
}

.mobile-nav__list a.is-sub {
  font-family: var(--font-body);
  font-weight: 400;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.mobile-nav__list a:hover {
  background: var(--tint);
}

.mobile-nav__list a[aria-current="page"] {
  color: var(--blue);
  background: var(--tint);
}


.mobile-nav__footer {
  margin-top: auto;
  padding: 1rem;
}

/* ----------------------------------------------------------------- hero -- */

/* Every page opens on a rounded panel: blue by default, navy with .hero--navy,
   and the larger homepage version with .hero--home. The orange ring is decoration. */

.hero {
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 1.5rem;
  }
}

.hero > .container {
  position: relative;
  overflow: hidden;
  max-width: calc(80rem - 3rem);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-panel);
  background: var(--blue);
  color: #fff;
}

/* The panel sits inside the page gutter, so trim it to match the container width. */
@media (max-width: 639px) {
  .hero > .container {
    width: calc(100% - 2rem);
  }
}

@media (min-width: 640px) {
  .hero > .container {
    width: calc(100% - 3rem);
    padding: 3.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .hero > .container {
    padding: 4rem;
  }
}

.hero > .container::before {
  content: "";
  display: none;
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 22rem;
  height: 22rem;
  border: 3.5rem solid var(--orange);
  border-radius: 50%;
  opacity: 0.85;
  pointer-events: none;
}

/* Phones: the ring would sit over the copy, so only the homepage keeps a small one. */
@media (min-width: 640px) {
  .hero > .container::before {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero > .container::before {
    right: -8.75rem;
    bottom: -12.5rem;
    width: 28.75rem;
    height: 28.75rem;
    border-width: 4.375rem;
  }
}

.hero > .container > * {
  position: relative;
}

.hero .eyebrow {
  color: var(--on-orange);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-orange);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb a:focus-visible {
  outline: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.5);
}

.breadcrumb [aria-current] {
  color: #fff;
}

.hero h1 {
  margin-top: 0.875rem;
  max-width: 50rem;
  font-size: 2.25rem;
  line-height: 1.05;
  color: #fff;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--on-blue);
}

@media (min-width: 1024px) {
  .hero__lead {
    font-size: 1.1875rem;
  }
}

.hero__lead p + p {
  margin-top: 1rem;
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero--home > .container {
  padding-block: 3.5rem;
}

@media (min-width: 640px) {
  .hero--home > .container {
    padding-block: 4.5rem 4rem;
  }
}

@media (min-width: 1024px) {
  .hero--home > .container {
    padding: 5.5rem 4rem 4.5rem;
  }
}

.hero--home > .container::before {
  display: block;
  top: -6rem;
  right: -5.5rem;
  bottom: auto;
  width: 11rem;
  height: 11rem;
  border-width: 2rem;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .hero--home > .container::before {
    top: -8.75rem;
    right: -7.5rem;
    width: 20rem;
    height: 20rem;
    border-width: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero--home > .container::before {
    width: 32.5rem;
    height: 32.5rem;
    border-width: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero--home h1 {
    max-width: 47rem;
    font-size: 3.75rem;
    line-height: 1.02;
  }
}

.hero--home .hero__lead {
  font-size: 1.125rem;
}

@media (min-width: 1024px) {
  .hero--home .hero__lead {
    font-size: 1.25rem;
  }
}

.hero--navy > .container {
  background: var(--navy);
}

.hero--navy > .container::before {
  display: none;
}

.hero--navy .eyebrow {
  color: var(--orange);
}

.hero--navy .hero__lead {
  color: var(--on-navy);
}

/* ---------------------------------------------------------------- cards -- */

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--tint);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.service-card:hover {
  background: var(--pale);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-2px);
  }
}

.service-card:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--blue);
}

.icon-tile svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-card h3 {
  margin-top: 1.5rem;
  color: var(--blue);
}

.service-card__summary {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--slate);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--blue);
}

.service-card__cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}

.service-card:hover .service-card__cta svg {
  transform: translate(2px, -2px);
}

/* Homepage feature tiles: blue, orange and dark */

.service-card--blue,
.service-card--orange,
.service-card--dark {
  padding: 2rem 1.875rem;
}

.service-card--blue {
  background: var(--blue);
}

.service-card--blue:hover {
  background: color-mix(in srgb, var(--blue) 85%, #000);
}

.service-card--orange {
  background: var(--orange);
}

.service-card--orange:hover {
  background: var(--orange-dark);
}

.service-card--dark {
  background: var(--gray);
}

.service-card--dark:hover {
  background: color-mix(in srgb, var(--gray) 70%, #000);
}

.service-card--blue h3,
.service-card--orange h3,
.service-card--dark h3,
.service-card--blue .service-card__cta,
.service-card--orange .service-card__cta,
.service-card--dark .service-card__cta {
  color: #fff;
}

.service-card--blue h3,
.service-card--orange h3,
.service-card--dark h3 {
  font-size: 1.5rem;
}

.service-card--blue .service-card__summary {
  color: var(--on-blue);
}

.service-card--orange .service-card__summary {
  color: var(--on-orange);
}

.service-card--dark .service-card__summary {
  color: color-mix(in srgb, var(--gray) 30%, #fff);
}

.service-card--blue .icon-tile,
.service-card--orange .icon-tile,
.service-card--dark .icon-tile {
  background: rgb(255 255 255 / 0.14);
  color: #fff;
}

.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card h3 {
  margin-top: 1.5rem;
}

.feature-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--slate);
}

.plain-card {
  padding: 1.75rem 2rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius);
  background: #fff;
}

.aside-card {
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  background: var(--tint);
}

.aside-card h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: normal;
  color: var(--blue);
}

.aside-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--slate);
}

/* Points inside a tinted aside card need a white background to read. */
.aside-card .points li {
  background: #fff;
}

.aside-card--sand {
  padding: 2rem;
  border: 1px solid var(--pale);
  background: #fff;
}

/* PoP card used on the homepage, Metro Fibre and AI Datacentre pages */

.pop-card {
  display: block;
  padding: 1.375rem 1.5rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.pop-card:hover,
.pop-card:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.pop-card:focus-visible {
  box-shadow: var(--ring);
}

.pop-card__country {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.pop-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.375rem;
}

.pop-card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray);
}

.core-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  flex: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* location card on /locations/ */

.location-card {
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: 6rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.location-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.location-card h3 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.location-card__country {
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--slate);
}

.location-card__cores {
  font-family: var(--font-heading);
  font-weight: 600;
  flex: none;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--blue);
}

.location-card ul {
  margin-top: 0.375rem;
}

.location-card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.25rem;
  border-top: 1px solid var(--pale);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--gray);
}

.location-card .core-tag {
  font-size: 0.7rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------- pieces -- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate);
}

.badge {
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
}

.badge--pale {
  background: var(--pale);
  color: var(--blue);
}

.badge--sand {
  background: var(--on-orange);
  color: var(--orange-dark);
}

.link-blue {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 2px;
}

.link-blue:hover {
  text-decoration: underline;
}

.points {
  display: grid;
  gap: 0.75rem;
}

.points li {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  background: var(--tint);
  font-size: 0.9375rem;
  color: var(--gray);
}

.points li::before {
  content: "";
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.4rem;
  border-radius: 9999px;
  background: var(--orange);
}

.link-list {
  display: grid;
  gap: 0.75rem;
}

.quote {
  margin-top: 1rem;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.875rem;
  line-height: 1.35;
  color: var(--gray);
}

.spec-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  font-size: 0.875rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pale);
}

.spec-row dt {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--slate);
}

.spec-row dd {
  color: var(--gray);
}

@media (min-width: 640px) {
  .spec-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .spec-row dd {
    text-align: right;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* ----------------------------------------------------------------- home -- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 0;
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 3rem 1.5rem 0;
  }
}

.stat {
  padding: 0.25rem 1rem 0.25rem 1.25rem;
  border-left: 3px solid var(--orange);
}

@media (min-width: 1024px) {
  .stat {
    padding-inline: 1.625rem;
  }
}

.stat__value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--blue);
}

@media (min-width: 640px) {
  .stat__value {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .stat__value {
    font-size: 3.25rem;
  }
}

.stat__label {
  font-size: 0.9375rem;
  color: var(--slate);
}

/* Homepage service groups: Connectivity and Infrastructure. */
.service-group__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.service-group__lead {
  margin-top: 0.375rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate);
}

/* 6-column grid: standard tiles span two columns, wide ones span three. */
.service-tiles {
  display: grid;
  gap: 1.125rem;
}

@media (min-width: 640px) {
  .service-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-tiles > * {
    grid-column: span 2;
  }

  .service-tiles > .is-wide {
    grid-column: span 3;
  }
}

.link-cards {
  display: grid;
  gap: 1.125rem;
}

@media (min-width: 768px) {
  .link-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.link-card {
  display: block;
  padding: 1.625rem 1.75rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.link-card:focus-visible {
  box-shadow: var(--ring);
}

.link-card__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.link-card__label svg {
  width: 0.875rem;
  height: 0.875rem;
}

.link-card p {
  margin-top: 0.625rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate);
}

.link-card strong {
  color: var(--blue);
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ cta band -- */

/* A rounded orange panel closing every page. */
.cta-band {
  padding-block: 1.5rem 3rem;
}

@media (min-width: 1024px) {
  .cta-band {
    padding-bottom: 4rem;
  }
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: calc(80rem - 3rem);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-panel);
  background: var(--orange);
  color: #fff;
}

@media (max-width: 639px) {
  .cta-band .container {
    width: calc(100% - 2rem);
  }
}

@media (min-width: 640px) {
  .cta-band .container {
    width: calc(100% - 3rem);
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 4rem;
  }
}

.cta-band h2 {
  font-size: 1.75rem;
  line-height: 1.15;
  color: #fff;
}

@media (min-width: 640px) {
  .cta-band h2 {
    font-size: 2.25rem;
  }
}

.cta-band p {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: var(--on-orange);
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--orange);
}

.cta-band .btn--primary:hover {
  background: var(--on-orange);
}

.cta-band .btn:focus-visible {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.5);
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--navy);
  color: var(--on-navy);
}

.site-footer > .container {
  padding-block: 3rem 1.5rem;
}

@media (min-width: 640px) {
  .site-footer > .container {
    padding-inline: 2rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-brand img {
  height: 1.625rem;
  width: auto;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--on-navy);
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--on-navy) 70%, var(--navy));
}

.footer-list {
  margin-top: 0.875rem;
  display: grid;
  gap: 0.5625rem;
  font-size: 0.875rem;
  color: var(--on-blue);
}

.footer-list a {
  color: var(--on-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-list a:hover {
  color: #fff;
}

.footer-list .is-spaced {
  padding-top: 0.5rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--blue) 45%, var(--navy));
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--on-navy) 70%, var(--navy));
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* -------------------------------------------------------------- contact -- */

.contact-email {
  margin-top: 0.75rem;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  /* The address is long: let it scale down rather than overflow on a phone. */
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-email a {
  color: var(--blue);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-details {
  padding: 2rem 1.5rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius-panel);
}

@media (min-width: 640px) {
  .contact-details {
    padding: 2.75rem 3rem;
  }
}

.contact-details h2 {
  font-size: 1.5rem;
}

.contact-details dl {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.contact-details dt {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate);
}

.contact-details dd {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray);
}

.contact-details dd.is-small {
  font-size: 1rem;
}

/* ------------------------------------------------------------ world map -- */

.network-map {
  position: relative;
  padding: 1rem 0.75rem;
  border: 1px solid var(--pale);
  border-radius: var(--radius-panel);
  background: #fff;
}

@media (min-width: 640px) {
  .network-map {
    padding: 1.5rem 1.25rem;
  }
}

/* Narrower than 680px the labels around Sydney would pile on top of each other, so
   the frame keeps that minimum width and scrolls sideways inside the card; site.js
   starts it at the Asia-Pacific end. */
.network-map__scroll {
  display: flex;
  overflow-x: auto;
}

.network-map__frame {
  position: relative;
  flex: 1 0 680px;
}

.network-map__land {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 667.77;
  transform-origin: 0 0;
}

.network-map__hint {
  display: none;
  margin: 0.75rem 0.75rem 0;
  font-size: 0.75rem;
  color: var(--gray);
}

/* Below 640px the map runs to the card edges so it can be swiped. The trailing flex
   spacer reserves room for the labels that hang past the right edge of the frame
   without JS, which end padding on a scroller would not. */
@media (max-width: 639px) {
  .network-map {
    padding-inline: 0;
  }

  .network-map__scroll {
    padding-inline-start: 0.75rem;
  }

  .network-map__scroll::after {
    content: "";
    flex: 0 0 4rem;
  }

  .network-map__hint {
    display: block;
  }
}

/* View switcher. site.js reveals it; without JS the map stays on the world view. */

.network-map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.network-map__bar[hidden] {
  display: none;
}

.map-views {
  display: inline-flex;
  padding: 0.1875rem;
  border: 1px solid var(--pale);
  border-radius: 9999px;
  background: var(--tint);
}

.map-views__btn {
  padding: 0.4375rem 0.875rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--slate);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.map-views__btn:hover {
  color: var(--blue);
}

.map-views__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-md);
}

.map-views__btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.network-map__tip {
  display: none;
  font-size: 0.75rem;
  color: var(--slate);
}

@media (max-width: 639px) {
  .network-map__bar {
    padding-inline: 0.75rem;
  }
}

@media (min-width: 640px) {
  .network-map__tip {
    display: block;
  }
}

/* City pins. Each pin is a zero-size link at the city: ::before is the dot, ::after the
   leader line and the span the label. Labels are HTML rather than SVG text so they stay
   a readable size at any map width. Without JS the label sits on its data-side; site.js
   moves it when that would collide, and draws a leader when it has to sit further out. */

.map-pin {
  position: absolute;
  left: calc(var(--x) / 14 * 1%);
  top: calc(var(--y) / 6.6777 * 1%);
  z-index: 1;
  width: 0;
  height: 0;
  color: var(--gray);
  text-decoration: none;
}

.map-pin::before {
  content: "";
  position: absolute;
  left: -6.5px;
  top: -6.5px;
  width: 13px;
  height: 13px;
  border: 3.5px solid rgb(232 68 30 / 0.16);
  border-radius: 50%;
  background: var(--blue) padding-box;
  box-shadow: inset 0 0 0 1.5px var(--orange);
  transition: transform 0.15s ease;
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 0;
  top: -0.5px;
  width: var(--leader, 0px);
  height: 1px;
  background: rgb(29 63 147 / 0.4);
  transform-origin: 0 50%;
  transform: rotate(var(--angle, 0rad)) translateX(5px);
}

.map-pin__label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0.125rem 0.1875rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.65rem;
  line-height: 1;
  text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff;
}

@media (min-width: 640px) {
  .map-pin__label {
    font-size: 0.75rem;
  }
}

.map-pin[data-side="e"] .map-pin__label { transform: translate(5px, -50%); }
.map-pin[data-side="w"] .map-pin__label { transform: translate(calc(-100% - 5px), -50%); }
.map-pin[data-side="n"] .map-pin__label { transform: translate(-50%, calc(-100% - 5px)); }
.map-pin[data-side="s"] .map-pin__label { transform: translate(-50%, 5px); }
.map-pin[data-side="ne"] .map-pin__label { transform: translate(3px, calc(-100% - 3px)); }
.map-pin[data-side="se"] .map-pin__label { transform: translate(3px, 3px); }
.map-pin[data-side="sw"] .map-pin__label { transform: translate(calc(-100% - 3px), 3px); }
.map-pin[data-side="nw"] .map-pin__label { transform: translate(calc(-100% - 3px), calc(-100% - 3px)); }

.map-pin:hover,
.map-pin.is-active {
  z-index: 2;
  color: var(--blue);
}

.map-pin:hover::before,
.map-pin.is-active::before {
  transform: scale(1.3);
}

.map-pin:hover::after,
.map-pin.is-active::after {
  background: var(--blue);
}

.map-pin:focus-visible {
  outline: none;
}

.map-pin:focus-visible .map-pin__label {
  box-shadow: var(--ring);
}

/* With JS: site.js positions everything in pixels, clips the frame for zooming and
   animates the switch between views. Labels and leaders fade out while it moves. */

.network-map.is-enhanced .network-map__frame {
  overflow: hidden;
}

.network-map.is-enhanced .map-pin {
  left: 0;
  top: 0;
}

.network-map.is-enhanced .map-pin__label,
.network-map.is-enhanced .map-pin::after {
  transition: opacity 0.15s ease;
}

.network-map.is-moving .map-pin__label,
.network-map.is-moving .map-pin::after {
  opacity: 0;
}

.network-map.is-animating .network-map__land,
.network-map.is-animating .map-pin {
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.map-pin.is-off {
  visibility: hidden;
}

/* Zoomed in, the frame fits the card, at least as tall as the world view, so there is
   nothing to swipe. */
.network-map[data-view="anz"] .network-map__scroll {
  overflow-x: hidden;
}

.network-map[data-view="anz"] .network-map__frame {
  flex: 1 1 0;
  min-width: 0;
  min-height: calc(680px * 667.77 / 1400);
  aspect-ratio: 1400 / 667.77;
}

@media (max-width: 639px) {
  .network-map.is-enhanced .network-map__scroll::after {
    flex-basis: 0.75rem;
  }

  .network-map[data-view="anz"] .network-map__hint {
    visibility: hidden;
  }
}

/* Facilities popover, filled from the city's card on /locations/. It repeats what the
   pin links to, so assistive tech reads the link and card rather than this. */

.map-popover {
  position: absolute;
  z-index: 30;
  left: 0;
  top: 0;
  width: min(16rem, calc(100% - 1rem));
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
}

.map-popover.is-below {
  transform: translateY(-4px);
}

.map-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.map-popover::before {
  content: "";
  position: absolute;
  left: calc(var(--arrow-x, 50%) - 6px);
  bottom: -6.5px;
  width: 12px;
  height: 12px;
  border: solid var(--pale);
  border-width: 0 1px 1px 0;
  background: #fff;
  transform: rotate(45deg);
}

.map-popover.is-below::before {
  top: -6.5px;
  bottom: auto;
  border-width: 1px 0 0 1px;
}

.map-popover__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: none;
}

.map-popover__more:hover {
  text-decoration: underline;
}

/* The card a map pin or footer link jumps to, until site.js clears it on a click
   elsewhere. */
.location-card:target:not(.is-cleared) {
  border-color: var(--blue);
  box-shadow: var(--ring);
}

@media (prefers-reduced-motion: reduce) {
  .map-pin::before,
  .map-popover {
    transition: none;
  }
}
