/* Royal Clean Services AY */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0A1128;
  --navy-2: #101A3A;
  --black: #000000;
  --royal: #2457E0;
  --royal-light: #6F95FF;
  --gold: #D6A83E;
  --gold-light: #F0D28A;
  --gold-deep: #8A6A1F;
  --porcelain: #F3F5FA;
  --porcelain-2: #E4E8F2;

  --text-on-dark: #E8EBF4;
  --muted-on-dark: #A8B0C8;
  --text-on-light: #0A1128;
  --muted-on-light: #4A5370;
  --line-dark: rgba(214, 168, 62, .28);
  --line-light: rgba(10, 17, 40, .14);

  --font-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale, ratio ~1.25 */
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.875rem;
  --step-3: clamp(2.125rem, 1.6rem + 1.8vw, 2.875rem);
  --step-4: clamp(2.625rem, 1.7rem + 3vw, 4.125rem);
  --step-hero: clamp(3.5rem, 1.8rem + 6.8vw, 7.75rem);

  --container: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --bar-h: 76px;
  --topbar-h: 38px;
  --header-h: calc(var(--bar-h) + var(--topbar-h));
  --radius: 4px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}

.btn:active {
  transform: scale(.97);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-ghost {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--text-on-dark);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-small {
  min-height: 44px;
  padding: .6rem 1.1rem;
  font-size: .9375rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, transform .35s var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.has-panel,
.page-legal .site-header,
.page-faq .site-header {
  background: rgba(10, 17, 40, .96);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* The info bar slides away once the page scrolls */
.site-header.is-scrolled {
  transform: translateY(calc(var(--topbar-h) * -1));
}

.topbar {
  height: var(--topbar-h);
  background: var(--black);
  border-bottom: 1px solid rgba(214, 168, 62, .18);
  font-size: .8125rem;
  color: var(--muted-on-dark);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.topbar-inner p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-links {
  display: flex;
  flex: none;
  gap: 1.5rem;
}

.topbar-links a {
  color: var(--text-on-dark);
  text-decoration: none;
}

.topbar-links a:hover {
  color: var(--gold-light);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--bar-h);
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 46px;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-royal {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%, #B8872A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-rest {
  margin-top: .2rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--text-on-dark);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 100%;
  padding: 0 .8rem;
  border: 0;
  background: none;
  font: 500 .9375rem/1 var(--font-body);
  color: var(--text-on-dark);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.nav-trigger::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease-out);
}

.nav-trigger:hover,
.nav-link:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--gold-light);
}

.nav-trigger[aria-expanded="true"]::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-chevron {
  width: 11px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .2s var(--ease-out);
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Panels */

.nav-item[data-dropdown] {
  position: relative;
}

.nav-item-mega {
  position: static !important;
}

.nav-panel {
  position: absolute;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s;
}

.nav-item.is-open > .nav-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}

.dropdown {
  left: 0;
  min-width: 320px;
  padding: .75rem;
  background: var(--navy);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}

.mega {
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 32px 64px rgba(0, 0, 0, .4);
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(260px, 300px);
  gap: 1rem 2.5rem;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 2.25rem var(--gutter) 1.5rem;
}

.mega-heading {
  margin-bottom: .75rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
}

.mega-group:first-child .mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.menu-link {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .75rem;
  margin-inline: -.75rem;
  border-radius: var(--radius);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: background-color .2s ease;
}

.dropdown .menu-link {
  margin-inline: 0;
}

.menu-link:hover,
.menu-link:focus-visible {
  background: rgba(214, 168, 62, .08);
}

.menu-icon {
  flex: none;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-text {
  display: grid;
  gap: .15rem;
}

.menu-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.menu-link:hover .menu-title {
  color: var(--gold-light);
}

.menu-desc {
  font-size: .875rem;
  line-height: 1.4;
  color: var(--muted-on-dark);
}

.mega-promo {
  grid-row: span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--navy-2);
}

.mega-promo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.7) contrast(1.06) brightness(.9);
}

.mega-promo-body {
  display: grid;
  gap: .6rem;
  justify-items: start;
  padding: 1.25rem;
}

.mega-promo-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.mega-promo-body p:not(.mega-promo-title) {
  font-size: .9rem;
  color: var(--muted-on-dark);
}

.mega-phone {
  font-size: .875rem;
  color: var(--gold-light);
  text-decoration: none;
}

.mega-phone:hover {
  text-decoration: underline;
}

.mega-all {
  grid-column: 1 / 3;
  justify-self: start;
  padding-top: .75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.mega-all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
}

/* Below 1100px the navigation becomes a drawer with accordions */
@media (max-width: 1100px) {
  :root {
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gold-light);
    cursor: pointer;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 24px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s var(--ease-out), opacity .25s;
  }

  .menu-toggle-bars {
    position: relative;
  }

  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle-bars::before {
    top: -7px;
  }

  .menu-toggle-bars::after {
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* No transform on mobile: it would trap the fixed drawer inside the header */
  .site-header.is-scrolled {
    transform: none;
  }

  .site-nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--bar-h));
    height: calc(100dvh - var(--bar-h));
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: .5rem var(--gutter) 6rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--navy);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s linear .25s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }

  .nav-list {
    flex-direction: column;
    height: auto;
  }

  .nav-item {
    display: block;
    border-bottom: 1px solid rgba(214, 168, 62, .14);
  }

  .nav-trigger,
  .nav-link {
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 1.1rem 0;
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 600;
  }

  .nav-trigger::after,
  .nav-link::after {
    display: none;
  }

  .nav-chevron {
    width: 14px;
    height: 10px;
  }

  .nav-panel,
  .nav-item.is-open > .nav-panel {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    min-width: 0;
    padding: 0 0 1rem;
    border: 0;
    box-shadow: none;
    background: none;
  }

  .nav-item.is-open > .nav-panel {
    display: block;
  }

  .mega-inner {
    display: block;
    padding: 0;
  }

  .mega-group + .mega-group {
    margin-top: 1rem;
  }

  .mega-group:first-child .mega-list {
    grid-template-columns: 1fr;
  }

  .mega-promo {
    display: none;
  }

  .mega-all {
    display: inline-block;
    padding-top: .5rem;
  }

  .menu-link {
    margin-inline: 0;
    padding-inline: 0;
  }

  .nav-cta {
    align-self: stretch;
    min-height: 52px;
  }
}

@media (max-width: 420px) {
  .brand-royal {
    font-size: 1.5rem;
  }

  .brand img {
    height: 40px;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(82vh, 820px);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(55% 65% at 85% 35%, rgba(36, 87, 224, .18), transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--navy) 70%);
}

.hero-inner {
  position: relative;
}

.hero-inner > :not(.seal-stage) {
  position: relative;
  z-index: 1;
}

.seal-stage {
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) * -1 - 2rem);
  width: min(40vw, 560px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  perspective: 1100px;
  pointer-events: none;
}

.seal-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 87, 224, .28), rgba(36, 87, 224, .06) 70%, transparent);
}

.hero-title {
  max-width: 13.5ch;
  font-size: clamp(3rem, 1.4rem + 5.6vw, 6.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  color: #F4F5F9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.btn-large {
  min-height: 58px;
  padding: 1rem 1.9rem;
  font-size: 1.0625rem;
}

.btn-quiet {
  border-color: rgba(232, 235, 244, .22);
  background: transparent;
  color: var(--muted-on-dark);
  font-weight: 500;
}

.btn-quiet:hover {
  border-color: rgba(232, 235, 244, .5);
  color: var(--text-on-dark);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  max-width: 44rem;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--text-on-dark);
}

.hero-facts li + li::before {
  content: "·";
  margin-inline: .9rem;
  color: var(--gold);
  font-size: 1.4em;
  line-height: 1;
  vertical-align: -.08em;
}

@media (max-width: 900px) {
  .seal-stage {
    top: -5rem;
    right: -62%;
    width: 520px;
    max-width: none;
    transform: none;
    opacity: .24;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    flex-direction: column;
  }

  .hero-facts li {
    display: flex;
    align-items: center;
  }

  .hero-facts li::before,
  .hero-facts li + li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 .75rem 0 0;
    background: var(--gold);
    transform: rotate(45deg);
  }
}

/* Royal seal */

.seal {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.seal-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal-layer [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.seal:not(.is-drawn) [pathLength] {
  stroke-dashoffset: 1;
}

.seal-band {
  stroke-opacity: .95;
}

.seal-crown {
  stroke: var(--gold-light);
}

.seal-disc {
  fill: var(--navy);
  stroke: none;
}

.seal-text,
.seal-year {
  fill: var(--gold-light);
  stroke: none;
  opacity: 0;
  transition: opacity 1.2s ease 1.2s;
}

.seal-text {
  font: 500 13px/1 var(--font-body);
  letter-spacing: .3em;
}

.seal-year {
  font: 600 19px/1 var(--font-display);
  letter-spacing: .28em;
}

.seal.is-drawn .seal-text,
.seal.is-drawn .seal-year {
  opacity: 1;
}

.seal[data-seal="static"] .seal-text,
.seal[data-seal="static"] .seal-year {
  transition: none;
}

/* Photos: one cool royal-blue grade for every stock image */

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy-2);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(1.06) brightness(.95);
  transition: transform 1.2s var(--ease-out);
}

.photo::before,
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.photo::before {
  z-index: 1;
  background: #1B2E7A;
  mix-blend-mode: color;
  opacity: .28;
}

.photo::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 17, 40, 0) 40%, rgba(10, 17, 40, .55) 100%);
}

.photo-credit {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--muted-on-dark);
  opacity: .8;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  height: clamp(420px, 62vw, 720px);
  background: var(--black);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-credit {
  position: absolute;
  right: var(--gutter);
  bottom: .9rem;
  z-index: 2;
  margin: 0;
  color: rgba(232, 235, 244, .75);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  .gallery-tall {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item:not(.gallery-tall) {
    aspect-ratio: 1;
  }
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section-light {
  background: var(--porcelain);
  color: var(--text-on-light);
}

.section-black {
  background: var(--black);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.25rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head h2 {
  font-size: var(--step-4);
}

.section-head p {
  max-width: 32rem;
  color: var(--muted-on-dark);
}

.section-light .section-head p {
  color: var(--muted-on-light);
}

@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* Service tiles */

.services .section-head h2 {
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  line-height: 1;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.tile-wide {
  grid-column: span 2;
}

.tile-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 15rem;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--porcelain);
  color: var(--text-on-light);
  text-decoration: none;
  transition: background-color .2s;
}

.tile-link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}

.tile-link,
.tile-link p,
.tile-link .tile-more {
  transition: background-color .35s ease, color .35s ease;
}

.tile-link:focus-visible {
  background: var(--navy);
  color: var(--text-on-dark);
}

@media (hover: hover) and (pointer: fine) {
  .tile-link:hover {
    background: var(--navy);
    color: var(--text-on-dark);
  }

  .tile-link:hover p {
    color: var(--muted-on-dark);
  }

  .tile-link:hover .tile-more {
    color: var(--gold-light);
  }
}

.tile-link:hover::before,
.tile-link:focus-visible::before {
  transform: scaleX(1);
}

.tile-link:focus-visible {
  outline-offset: -3px;
}

.tile-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  transition: stroke .35s ease, filter .35s ease;
}

.tile-icon [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.tile-link:focus-visible .tile-icon {
  stroke: var(--gold-light);
}

@media (hover: hover) and (pointer: fine) {
  .tile-link:hover .tile-icon {
    stroke: var(--gold-light);
    filter: drop-shadow(0 0 6px rgba(240, 210, 138, .45));
  }

  .tile-link:hover .tile-icon [pathLength] {
    animation: icon-draw .9s var(--ease-out) both;
  }

  .tile-link:hover .tile-icon [pathLength]:nth-child(2) {
    animation-delay: .08s;
  }

  .tile-link:hover .tile-icon [pathLength]:nth-child(3) {
    animation-delay: .16s;
  }

  .tile-link:hover .tile-icon [pathLength]:nth-child(n + 4) {
    animation-delay: .24s;
  }
}

@keyframes icon-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.tile h3 {
  font-size: var(--step-2);
  hyphens: auto;
}

.tile p {
  max-width: 30rem;
  margin-top: .75rem;
  color: var(--muted-on-light);
}

.tile-more {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--royal);
}

.tile-link:hover .tile-more {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

@media (max-width: 600px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .tile-link {
    min-height: 0;
    padding: 1.5rem 1.25rem;
  }
}

/* Why us: framed like a charter */

.why {
  padding-top: calc(var(--section-space) + 3rem);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(36, 87, 224, .14), transparent 70%),
    var(--navy);
}

.charter {
  position: relative;
  padding: clamp(5.5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line-dark);
  outline: 1px solid rgba(214, 168, 62, .55);
  outline-offset: -10px;
}

.seal-charter {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(130px, 15vw, 190px);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 14px var(--navy);
  transform: translate(-50%, -50%);
}

.charter-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.charter-head h2 {
  font-size: var(--step-4);
}

.charter-head p {
  margin-top: 1rem;
  color: var(--muted-on-dark);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 1.5rem;
  padding: 2.25rem 2rem 2.25rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.why-item:nth-child(even) {
  padding: 2.25rem 0 2.25rem 2rem;
  border-left: 1px solid var(--line-dark);
}

.why-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.why-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-size: var(--step-2);
  hyphens: auto;
}

.why-item p {
  max-width: 30rem;
  margin-top: .6rem;
  color: var(--muted-on-dark);
}

@media (max-width: 760px) {
  .why-list {
    grid-template-columns: 1fr;
  }

  .why-item,
  .why-item:nth-child(even) {
    padding: 1.75rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .why-item:last-child {
    border-bottom: 0;
  }

  .why-item {
    grid-template-columns: 36px 1fr;
    column-gap: 1rem;
  }

  .why-icon {
    width: 36px;
    height: 36px;
  }
}

/* Clients */

.clients-title {
  max-width: 22ch;
  font-size: var(--step-4);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.clients-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem clamp(2rem, 6vw, 6rem);
}

.client-group {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
}

.client-group h3 {
  font-size: var(--step-3);
}

.client-group > p {
  max-width: 30rem;
  margin-top: .75rem;
  color: var(--muted-on-dark);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0 2rem;
  margin-top: 1.5rem;
}

.client-list li {
  padding-block: .7rem;
  border-bottom: 1px solid rgba(214, 168, 62, .16);
  color: var(--text-on-dark);
}

.client-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color .2s ease;
}

.client-list a::after {
  content: "";
  flex: none;
  align-self: center;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .2s var(--ease-out);
}

.client-list a:hover {
  color: var(--gold-light);
}

.client-list a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

@media (max-width: 760px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 4.75rem;
}

.step::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 3.6rem;
  right: -2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(214, 168, 62, .2));
}

.step:last-child::before {
  display: none;
}

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-deep);
  font-variant-numeric: lining-nums;
  background: var(--porcelain);
}

.step h3 {
  font-size: var(--step-2);
}

.step p {
  margin-top: .625rem;
  color: var(--muted-on-light);
}

.process-note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--porcelain-2);
  font-weight: 500;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 0 0 2.25rem 4.75rem;
    min-height: 5.5rem;
  }

  .step::before {
    top: 3.25rem;
    bottom: 0;
    left: 1.6rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--gold), rgba(214, 168, 62, .2));
  }
}

/* Area */

.area {
  background:
    radial-gradient(50% 60% at 70% 50%, rgba(36, 87, 224, .16), transparent 70%),
    var(--navy);
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.area-copy h2 {
  font-size: var(--step-4);
  margin-bottom: 1.5rem;
}

.area-copy > p {
  max-width: 30rem;
  color: var(--muted-on-dark);
}

.city-list {
  margin-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-dark);
}

.city-list li {
  padding-block: .8rem;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: var(--step-2);
}

.area-map {
  margin: 0;
}

.area-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-rings circle {
  fill: none;
  stroke: var(--gold);
  stroke-opacity: .18;
}

.map-city circle {
  fill: var(--navy);
  stroke: var(--gold-light);
  stroke-width: 1.5;
}

.map-city text,
.map-home text {
  font-family: var(--font-body);
  font-size: 13px;
  fill: var(--text-on-dark);
}

.map-home circle {
  fill: var(--gold);
}

.map-home .map-home-halo {
  fill: rgba(214, 168, 62, .18);
}

.map-home text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  fill: var(--gold-light);
}

@media (max-width: 860px) {
  .area-grid {
    grid-template-columns: 1fr;
  }

  .area-map {
    max-width: 520px;
  }
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
}

.about h2 {
  font-size: var(--step-4);
}

.about-photo {
  margin-top: 2.5rem;
  aspect-ratio: 4 / 3;
}

.about .photo-credit {
  color: var(--muted-on-light);
}

.about-copy p {
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.55;
}

.about-copy p + p {
  margin-top: 1.25rem;
  font-size: var(--step-0);
  color: var(--muted-on-light);
}

.founders {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: .9375rem;
  color: var(--muted-on-light);
}

.founder-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--text-on-light);
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-copy h2 {
  font-size: var(--step-4);
}

.contact-copy > p {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--muted-on-dark);
}

.contact-list {
  margin: 2.5rem 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line-dark);
}

.contact-list dt {
  font-size: .9375rem;
  color: var(--muted-on-dark);
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Form */

.quote-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: .4rem;
  align-content: start;
}

.field label,
.form-choice legend {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.optional {
  font-weight: 400;
  color: var(--muted-on-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .9rem;
  border: 1px solid rgba(168, 176, 200, .35);
  border-radius: var(--radius);
  background: var(--navy-2);
  color: var(--text-on-dark);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}

.field textarea {
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D6A83E' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
}

.field ::placeholder {
  color: #7A84A3;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 168, 62, .25);
}

.field [aria-invalid="true"] {
  border-color: #FF8A7A;
}

.field-error {
  font-size: .875rem;
  color: #FFA597;
}

.field-error:empty {
  display: none;
}

.form-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-choice legend {
  float: left;
  margin-right: .5rem;
}

.form-choice label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.form-choice input,
.field-check input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  accent-color: var(--gold);
}

.field-check {
  grid-template-columns: 20px 1fr;
  column-gap: .75rem;
  align-items: start;
}

.field-check input {
  margin-top: .2rem;
}

.field-check label {
  font-weight: 400;
  color: var(--muted-on-dark);
}

.field-check a {
  color: var(--gold-light);
}

.field-check .field-error {
  grid-column: 2;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .5rem;
}

.form-submit .btn {
  flex: 1 1 14rem;
}

.form-status {
  font-size: .9375rem;
  color: var(--gold-light);
}

.form-status:empty {
  display: none;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  padding-block: 4rem 3rem;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  font-size: .9375rem;
  color: var(--muted-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem 4rem;
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}

.footer-info a,
.footer-nav a {
  text-decoration: none;
}

.footer-info a:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(214, 168, 62, .14);
  font-size: .875rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile call bar */

.mobile-bar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 68px;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    height: 68px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(0, 0, 0, .94);
    border-top: 1px solid var(--line-dark);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-on-dark);
  }

  .mobile-bar a + a {
    border-left: 1px solid rgba(214, 168, 62, .18);
  }

  .mobile-bar .mobile-bar-primary {
    background: var(--gold);
    color: var(--navy);
  }
}

/* Service pages */

.subhero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(55% 65% at 85% 35%, rgba(36, 87, 224, .16), transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--navy) 80%);
}

.subhero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.subhero-inner > * {
  grid-column: 1;
}

.subhero-photo {
  grid-column: 2;
  grid-row: 1 / span 8;
  align-self: center;
  aspect-ratio: 4 / 5;
  outline: 1px solid rgba(214, 168, 62, .6);
  outline-offset: 12px;
}

.subhero .hero-actions .btn-large {
  padding-inline: 1.4rem;
}

.subhero .hero-facts {
  flex-direction: column;
}

.subhero .hero-facts li {
  display: flex;
  align-items: center;
}

.subhero .hero-facts li::before,
.subhero .hero-facts li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 .75rem 0 0;
  background: var(--gold);
  font-size: 0;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .subhero-inner {
    grid-template-columns: 1fr;
  }

  .subhero .photo-credit {
    order: 3;
    margin-inline: 12px;
  }

  .subhero-photo {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    aspect-ratio: 16 / 10;
    margin: 2.5rem 12px 0;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
  font-size: .875rem;
  color: var(--muted-on-dark);
}

.breadcrumb a {
  color: var(--muted-on-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb [aria-current] {
  color: var(--text-on-dark);
}

.subhero-title {
  max-width: 16ch;
  font-size: var(--step-4);
  line-height: 1.02;
  color: #F4F5F9;
}

.subhero-lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-on-dark);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 6vw, 6rem);
}

.detail h2 {
  font-size: var(--step-3);
  margin-bottom: 1.5rem;
}

.scope-list {
  border-top: 1px solid var(--text-on-light);
}

.scope-list li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line-light);
}

.scope-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translateY(-2px) rotate(45deg);
}

.detail-note {
  margin-top: 1.25rem;
  color: var(--muted-on-light);
}

.detail-aside {
  align-self: start;
  padding: 1.75rem;
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  background: #FFFFFF;
}

.detail-aside h3 {
  font-size: var(--step-1);
}

.detail-aside h3 + * {
  margin-top: .5rem;
}

.detail-aside * + h3 {
  margin-top: 1.5rem;
}

.detail-aside p,
.detail-clients {
  color: var(--muted-on-light);
}

.detail-clients li + li {
  margin-top: .25rem;
}

.needs-section {
  background: var(--navy);
}

.needs-title {
  max-width: 20ch;
  font-size: var(--step-4);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.needs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
}

.need {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
}

.need h3 {
  font-size: var(--step-2);
}

.need p {
  margin-top: .75rem;
  color: var(--muted-on-dark);
}

@media (max-width: 860px) {
  .needs {
    grid-template-columns: 1fr;
  }
}

.detail-services ul {
  margin-top: .75rem;
}

.detail-services .menu-link {
  margin-inline: -.75rem;
  color: var(--text-on-light);
}

.detail-services .menu-link:hover {
  background: var(--porcelain);
}

.detail-services .menu-link:hover .menu-title {
  color: var(--royal);
}

.detail-services .menu-icon {
  stroke: var(--gold-deep);
}

.detail-services .menu-desc {
  color: var(--muted-on-light);
}

.cta-band {
  background: var(--black);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  font-size: var(--step-3);
}

.cta-inner p {
  max-width: 34rem;
  margin-top: .75rem;
  color: var(--muted-on-dark);
}

.other-services h2 {
  font-size: var(--step-3);
  margin-bottom: 1.5rem;
}

.other-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.other-list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text-on-light);
  text-decoration: none;
}

.other-list a:hover {
  color: var(--royal);
}

@media (max-width: 860px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .other-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .other-list li:nth-child(3n + 2),
  .other-list li:nth-child(3n + 3) {
    padding-left: 2rem;
  }
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-head h1,
.faq-head h2 {
  font-size: var(--step-4);
}

.faq-head p {
  margin-top: 1rem;
  color: var(--muted-on-light);
}

.faq-more {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--royal);
}

.faq-list {
  border-top: 1px solid var(--text-on-light);
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary:hover {
  color: var(--royal);
}

.faq-mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease-out);
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  max-width: 40rem;
  padding: 0 3rem 1.5rem 0;
  color: var(--muted-on-light);
}

.page-faq .faq {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page and teaser */

.contact-page {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
}

.contact-page h1 {
  font-size: var(--step-4);
  color: #F4F5F9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}

.about-more {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--royal);
}

/* About page */

.about-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(50% 70% at 80% 45%, rgba(36, 87, 224, .22), transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--navy) 80%);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 2rem clamp(2rem, 6vw, 6rem);
}

.about-hero-seal {
  width: min(100%, 420px);
  justify-self: end;
}

@media (max-width: 860px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-seal {
    width: min(70vw, 300px);
    justify-self: start;
    order: -1;
  }
}

.facts {
  background: var(--black);
  border-block: 1px solid var(--line-dark);
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.facts-list > div {
  padding: 2rem 1.25rem;
  text-align: center;
}

.facts-list > div + div {
  border-left: 1px solid var(--line-dark);
}

.facts-list dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: lining-nums;
}

.facts-list dd {
  margin: .6rem 0 0;
  font-size: .9375rem;
  color: var(--muted-on-dark);
}

@media (max-width: 860px) {
  .facts-list {
    grid-template-columns: 1fr 1fr;
  }

  .facts-list > div {
    border-bottom: 1px solid var(--line-dark);
  }

  .facts-list > div + div {
    border-left: 0;
  }

  .facts-list > div:nth-child(even) {
    border-left: 1px solid var(--line-dark);
  }

  .facts-list > div:first-child {
    grid-column: 1 / -1;
  }

  .facts-list > div:first-child + div {
    border-left: 0;
  }

  .facts-list > div:nth-child(odd):not(:first-child) {
    border-left: 1px solid var(--line-dark);
  }
}

.motto {
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(36, 87, 224, .16), transparent 70%),
    var(--navy);
}

.motto-inner {
  max-width: 58rem;
  text-align: center;
}

.motto-crown {
  width: 72px;
  height: 48px;
  margin: 0 auto 2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.motto-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  color: #F4F5F9;
  text-wrap: balance;
}

/* The pledge, set like a charter */

.pledge {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
  background: #FFFFFF;
  border: 1px solid rgba(214, 168, 62, .6);
  outline: 1px solid rgba(214, 168, 62, .6);
  outline-offset: -12px;
  box-shadow: 0 30px 60px rgba(10, 17, 40, .08);
}

.pledge-head {
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.pledge-head h2 {
  font-size: var(--step-4);
}

.pledge-head p {
  margin-top: 1rem;
  color: var(--muted-on-light);
}

.pledge-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.pledge-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-light);
}

.pledge-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-deep);
}

.pledge-list h3 {
  font-size: var(--step-2);
}

.pledge-list p {
  margin-top: .4rem;
  color: var(--muted-on-light);
}

.pledge-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pledge-sign {
  display: grid;
  gap: .35rem;
  padding-top: .9rem;
  border-top: 1px solid var(--text-on-light);
  text-align: center;
}

.pledge-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
}

.pledge-role {
  font-size: .875rem;
  color: var(--muted-on-light);
}

.pledge-seal {
  width: 120px;
  border-radius: 50%;
  background: var(--navy);
}

@media (max-width: 640px) {
  .pledge-list li {
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1rem;
  }

  .pledge-num {
    font-size: 1.5rem;
  }

  .pledge-foot {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pledge-sign {
    width: 100%;
  }

  .pledge-seal {
    order: -1;
  }
}

.owners {
  background: var(--navy);
}

.owners-title {
  font-size: var(--step-4);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.owner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.owner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem;
  border: 1px solid var(--line-dark);
  background: linear-gradient(135deg, rgba(36, 87, 224, .1), transparent 60%);
}

.owner-medal {
  display: grid;
  place-items: center;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(214, 168, 62, .45);
  outline-offset: 5px;
  background: radial-gradient(circle at 35% 30%, #1B2E7A, var(--navy) 70%);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-light);
}

.owner h3 {
  font-size: var(--step-2);
}

.owner-role {
  margin-top: .2rem;
  font-size: .875rem;
  color: var(--gold);
}

.owner p:not(.owner-role) {
  margin-top: .6rem;
  color: var(--muted-on-dark);
}

.owners-note {
  max-width: 46rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
  background: rgba(36, 87, 224, .08);
}

.owners-note h3 {
  font-size: var(--step-1);
}

.owners-note p {
  margin-top: .5rem;
  color: var(--muted-on-dark);
}

@media (max-width: 760px) {
  .owner-list {
    grid-template-columns: 1fr;
  }

  .owner {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .owner-medal {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }
}

/* Legal pages */

.legal {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: var(--section-space);
}

.legal-inner {
  max-width: 46rem;
}

.legal h1 {
  font-size: var(--step-4);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: var(--step-2);
  margin: 2.75rem 0 .875rem;
  color: var(--text-on-dark);
}

.legal h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
}

.legal p,
.legal ul {
  color: var(--muted-on-dark);
}

.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: .875rem;
}

.legal ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li + li {
  margin-top: .35rem;
}

.legal a {
  color: var(--gold-light);
}

.legal .todo {
  padding: .1rem .35rem;
  background: rgba(255, 138, 122, .16);
  color: #FFB4A8;
}


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

  .seal-text,
  .seal-year {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
