:root {
  --ink: #f6f0e7;
  --muted: #c8baaa;
  --soft: #a69582;
  --dark: #0b0b0a;
  --panel: #141210;
  --panel-2: #1d1915;
  --line: rgba(246, 240, 231, 0.16);
  --brass: #b79761;
  --brass-dark: #7e6338;
  --brass-light: #e6d6af;
  --obsidian: #050504;
  --shadow: rgba(0, 0, 0, 0.45);
  --deep-shadow: rgba(0, 0, 0, 0.72);
  font-family: "Optima", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--obsidian);
  overflow-x: hidden;
  scroll-padding-top: 92px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 8%, rgba(230, 214, 175, 0.1), transparent 29rem),
    radial-gradient(circle at 8% 42%, rgba(72, 87, 90, 0.19), transparent 34rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #080807 0%, #0f0d0b 48%, #080807 100%);
  background-size: auto, auto, 132px 132px, auto;
  text-rendering: geometricPrecision;
}

main {
  background:
    linear-gradient(180deg, transparent 0, rgba(8, 8, 7, 0.96) 90vh),
    var(--obsidian);
}

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

::selection {
  color: #15100a;
  background: var(--brass-light);
}

:focus-visible {
  outline: 1px solid var(--brass-light);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(246, 240, 231, 0.06);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.28) 74%, rgba(5, 5, 5, 0));
  backdrop-filter: blur(18px);
  transition:
    padding 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.is-scrolled .site-header {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: rgba(230, 214, 175, 0.14);
  background: rgba(5, 5, 4, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(5, 5, 5, 0.42);
  box-shadow:
    inset 0 0 18px rgba(183, 151, 97, 0.12),
    0 14px 40px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-4deg);
  box-shadow:
    inset 0 0 22px rgba(230, 214, 175, 0.16),
    0 18px 46px rgba(0, 0, 0, 0.36);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  font-weight: 500;
}

.brand small {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-call {
  color: var(--brass-light);
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-light), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.mobile-action-bar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 0.62fr 0.72fr;
  overflow: hidden;
  border: 1px solid rgba(230, 214, 175, 0.22);
  background: rgba(8, 8, 7, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
}

.mobile-action-bar a {
  display: grid;
  min-height: 50px;
  place-items: center;
  border-right: 1px solid rgba(230, 214, 175, 0.14);
  color: var(--ink);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
}

.mobile-action-bar a:first-child {
  color: #16100a;
  background: linear-gradient(135deg, #e6d6af, var(--brass));
}

.mobile-action-bar a:last-child {
  border-right: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  align-items: center;
  padding: 132px clamp(20px, 7vw, 92px) 88px;
  isolation: isolate;
  perspective: 1200px;
}

.hero::before {
  position: absolute;
  inset: 8% 0 auto;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 151, 97, 0.6), transparent);
  content: "";
  opacity: 0.42;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 32vh;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 7, 0.92));
  content: "";
  pointer-events: none;
}

.hero-media,
.hero-3d-shell,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/elyvara-hero.png");
  background-image: image-set(
    url("/assets/elyvara-hero.webp") type("image/webp"),
    url("/assets/elyvara-hero.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
  filter: saturate(0.88) contrast(1.12) brightness(0.75);
  transform: scale(1.06);
  transform-origin: 60% 45%;
  transition:
    filter 500ms ease,
    transform 900ms ease;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 72%, rgba(183, 151, 97, 0.1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7.4rem);
  content: "";
  mix-blend-mode: screen;
  opacity: 0.44;
}

.hero-3d-shell {
  z-index: 1;
  pointer-events: none;
}

.hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  filter:
    drop-shadow(0 36px 70px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 26px rgba(214, 189, 131, 0.12));
}

.hero-3d-shell.is-fallback .hero-canvas {
  opacity: 0.86;
}

.hero-3d-shell.is-unavailable .hero-canvas {
  display: none;
}

.hero-shade {
  z-index: 2;
  background:
    radial-gradient(ellipse at 76% 46%, rgba(230, 214, 175, 0.18), transparent 24rem),
    radial-gradient(ellipse at 72% 52%, rgba(183, 151, 97, 0.1), transparent 35rem),
    linear-gradient(90deg, rgba(7, 7, 6, 0.95) 0%, rgba(7, 7, 6, 0.78) 39%, rgba(7, 7, 6, 0.2) 73%, rgba(7, 7, 6, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.18) 0%, rgba(7, 7, 6, 0.26) 54%, rgba(7, 7, 6, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 710px);
  max-width: 710px;
  transform: translateZ(80px);
}

.location {
  margin: 0 0 20px;
  color: var(--brass);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.65);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.94;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05),
    0 32px 70px rgba(0, 0, 0, 0.72);
}

.hero-line {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-copy {
  width: min(100%, 610px);
  max-width: 610px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof,
.quick-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof {
  margin-top: 22px;
}

.hero-proof span,
.quick-routes a {
  border: 1px solid rgba(230, 214, 175, 0.18);
  color: var(--muted);
  background: rgba(9, 9, 8, 0.48);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
}

.hero-proof span {
  padding: 8px 11px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.28) 43%, transparent 58% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 220ms ease,
    transform 520ms ease;
}

.button:hover::before {
  opacity: 0.7;
  transform: translateX(120%);
}

.button.primary {
  border-color: var(--brass);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(135deg, #d6bd83, var(--brass) 46%, #7e6338);
  color: #15100a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 42px rgba(0, 0, 0, 0.36);
}

.button.secondary {
  color: var(--ink);
  background: rgba(9, 9, 8, 0.56);
  backdrop-filter: blur(12px);
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 189, 131, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.intro-band {
  padding: 46px clamp(20px, 8vw, 104px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(183, 151, 97, 0.08), transparent 34%),
    #0d0c0b;
  box-shadow: inset 0 34px 80px rgba(0, 0, 0, 0.34);
}

.intro-band p {
  max-width: 1040px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.25;
}

.section {
  padding: 92px clamp(20px, 8vw, 104px);
  position: relative;
  scroll-margin-top: 92px;
}

#brief {
  scroll-margin-top: 112px;
}

.js-enabled .section,
.js-enabled .intro-band,
.js-enabled .footer {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js-enabled .section.is-visible,
.js-enabled .intro-band.is-visible,
.js-enabled .footer.is-visible {
  opacity: 1;
  transform: none;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
  margin-bottom: 46px;
}

.section-heading span,
.enquiry-copy span {
  color: var(--brass);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.section-heading h2,
.enquiry-copy h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}

.atlas {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(183, 151, 97, 0.05), transparent 30%),
    #0a0908;
}

.atlas-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: stretch;
}

.atlas-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(183, 151, 97, 0.16), transparent 11rem),
    radial-gradient(circle at 18% 36%, rgba(246, 240, 231, 0.08), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005)),
    #11100e;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.56),
    0 34px 90px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.atlas-map:hover {
  transform: translateY(-3px) rotateX(1deg);
  box-shadow:
    inset 0 0 94px rgba(0, 0, 0, 0.58),
    0 42px 120px rgba(0, 0, 0, 0.48);
}

.atlas-map::before,
.atlas-map::after {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(183, 151, 97, 0.16);
  content: "";
  transform: rotateX(62deg) rotateZ(-18deg);
}

.atlas-map::after {
  inset: 22%;
  border-color: rgba(246, 240, 231, 0.1);
  transform: rotateX(62deg) rotateZ(18deg);
}

.atlas-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
  color: var(--ink);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.atlas-map span::before {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto 8px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: #0d0a06;
  box-shadow: 0 0 22px rgba(183, 151, 97, 0.78);
  content: "";
  animation: cityPulse 3.8s ease-in-out infinite;
}

.atlas-map span:nth-child(2n)::before {
  animation-delay: 800ms;
}

.atlas-map span:nth-child(3n)::before {
  animation-delay: 1400ms;
}

.atlas-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(20, 18, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.atlas-copy p,
.atlas-copy dd,
.contrast-grid p {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.72;
}

.atlas-copy dt {
  margin-top: 22px;
  color: var(--brass);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.atlas-copy dd {
  margin: 8px 0 0;
}

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

.quick-routes {
  margin: -18px 0 28px;
}

.quick-routes a {
  padding: 10px 13px;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.quick-routes a:hover {
  border-color: rgba(230, 214, 175, 0.42);
  color: var(--ink);
  background: rgba(183, 151, 97, 0.12);
}

.worlds-visual {
  min-height: clamp(280px, 42vw, 560px);
  margin-bottom: 1px;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(8, 8, 7, 0.38), rgba(8, 8, 7, 0.04)),
    url("/assets/elyvara-private-worlds.png");
  background-image:
    linear-gradient(90deg, rgba(8, 8, 7, 0.38), rgba(8, 8, 7, 0.04)),
    image-set(
      url("/assets/elyvara-private-worlds.webp") type("image/webp"),
      url("/assets/elyvara-private-worlds.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.38),
    0 34px 110px rgba(0, 0, 0, 0.32);
}

.mandate-grid article {
  position: relative;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.01) 44%),
    linear-gradient(180deg, rgba(183, 151, 97, 0.055), transparent 68%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.mandate-grid article::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(230, 214, 175, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.mandate-grid article::after {
  position: absolute;
  inset: auto -18% -36% auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(183, 151, 97, 0.2);
  content: "";
  transform: rotate(38deg);
}

.mandate-grid article:hover {
  transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 44%),
    linear-gradient(180deg, rgba(183, 151, 97, 0.085), transparent 68%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.28);
}

.mandate-grid article:hover::before {
  opacity: 1;
}

.world-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--brass);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
}

.mandate-grid h3,
.standard-list strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
}

.mandate-grid p,
.standard-list p,
.enquiry-copy p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.standard {
  background:
    linear-gradient(130deg, rgba(183, 151, 97, 0.07), transparent 31rem),
    var(--panel);
}

.comparator {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
    #0d0c0b;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.contrast-grid div {
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 40%),
    #11100e;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.contrast-grid div:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(150deg, rgba(230, 214, 175, 0.08), transparent 42%),
    #13110f;
}

.contrast-grid small {
  color: var(--brass);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.contrast-grid p {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.22;
}

.seo-services {
  background:
    radial-gradient(circle at 82% 0%, rgba(230, 214, 175, 0.08), transparent 28rem),
    #090807;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(230, 214, 175, 0.13);
  background: rgba(230, 214, 175, 0.12);
}

.service-columns > div {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(15, 13, 11, 0.94);
}

.service-columns h3 {
  margin: 0 0 18px;
  color: var(--brass-light);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 400;
}

.service-columns p {
  margin: 0;
  color: var(--muted);
  font: 15px/1.82 Inter, ui-sans-serif, system-ui, sans-serif;
}

.standard-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.standard-list div {
  min-height: 220px;
  padding: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 40%),
    var(--panel);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.standard-list div:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(150deg, rgba(230, 214, 175, 0.07), transparent 44%),
    var(--panel-2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.standard-list strong {
  display: block;
  margin-bottom: 18px;
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  background:
    radial-gradient(circle at 86% 20%, rgba(183, 151, 97, 0.12), transparent 25rem),
    #0a0908;
}

.enquiry-copy p {
  max-width: 680px;
  margin-top: 24px;
  font-size: 17px;
}

.email-link {
  display: inline-flex;
  margin-top: 18px;
  margin-right: 22px;
  color: var(--brass);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.email-link:hover {
  color: var(--brass-light);
  text-shadow: 0 0 26px rgba(183, 151, 97, 0.34);
}

.brief-form {
  margin-top: 38px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(230, 214, 175, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 40%),
    rgba(15, 13, 11, 0.74);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.26);
}

.brief-form h3 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brief-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font: 12px Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(230, 214, 175, 0.16);
  color: var(--ink);
  background: rgba(5, 5, 4, 0.46);
  font: 15px Inter, ui-sans-serif, system-ui, sans-serif;
  outline: none;
}

.brief-form input,
.brief-form select {
  min-height: 48px;
  padding: 0 13px;
}

.brief-form textarea {
  resize: vertical;
  min-height: 130px;
  padding: 13px;
  line-height: 1.55;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: rgba(230, 214, 175, 0.56);
}

.brief-form .button {
  width: 100%;
  cursor: pointer;
}

.form-status {
  min-height: 21px;
  margin: 14px 0 0;
  color: var(--brass-light);
  font: 13px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
}

.form-note {
  margin: 0 0 16px;
  color: rgba(200, 186, 170, 0.78);
  font: 13px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
}

.turnstile-slot {
  min-height: 0;
}

.turnstile-slot:not(:empty) {
  min-height: 65px;
}

.legal-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 8vw, 104px) 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(183, 151, 97, 0.1), transparent 28rem),
    #0a0908;
}

.legal-page article {
  max-width: 920px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
}

.legal-page h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font: 16px/1.78 Inter, ui-sans-serif, system-ui, sans-serif;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page .button {
  margin-top: 24px;
}

.chat-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015) 36%),
    rgba(20, 18, 16, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 90px var(--deep-shadow);
  backdrop-filter: blur(18px);
}

.chat-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(230, 214, 175, 0.12), transparent 12rem);
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

.chat-panel > * {
  position: relative;
  z-index: 1;
}

.chat-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header small {
  color: var(--soft);
  margin-top: 3px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brass);
  box-shadow: 0 0 18px rgba(183, 151, 97, 0.9);
}

.chat-messages {
  display: flex;
  min-height: 330px;
  max-height: 420px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
}

.message {
  max-width: 88%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.message.assistant {
  align-self: flex-start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent),
    var(--panel-2);
}

.message.user {
  align-self: flex-end;
  border-color: rgba(183, 151, 97, 0.5);
  color: var(--ink);
  background: rgba(183, 151, 97, 0.13);
}

.message.brief {
  width: 100%;
  max-width: 100%;
  white-space: pre-wrap;
  border-color: rgba(183, 151, 97, 0.62);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(183, 151, 97, 0.16), rgba(255, 255, 255, 0.035)),
    #15120e;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-top: 1px solid var(--line);
}

.chat-form input,
.chat-form button {
  min-height: 56px;
  border: 0;
  font: 14px Inter, ui-sans-serif, system-ui, sans-serif;
}

.chat-form input {
  min-width: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.chat-form button {
  padding: 0 22px;
  color: #17110a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 48%),
    var(--brass);
  cursor: pointer;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.chat-form button:hover {
  filter: brightness(1.08);
}

.chat-form button:active {
  transform: translateY(1px);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 8vw, 104px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-note {
  flex-basis: 100%;
  max-width: 940px;
  margin-top: 8px;
  color: rgba(200, 186, 170, 0.78);
  line-height: 1.65;
}

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

@keyframes cityPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 22px rgba(183, 151, 97, 0.62);
  }

  50% {
    transform: scale(1.32);
    box-shadow: 0 0 34px rgba(230, 214, 175, 0.88);
  }
}

@media (max-width: 920px) {
  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .nav-links a:not(.nav-call) {
    display: none;
  }

  .mobile-action-bar {
    display: grid;
  }

  .hero {
    min-height: 90vh;
    padding-top: 110px;
    padding-bottom: 64px;
  }

  .hero-content {
    width: min(100%, 660px);
    max-width: 660px;
    transform: none;
  }

  .hero-canvas {
    opacity: 0.48;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse at 78% 40%, rgba(183, 151, 97, 0.1), transparent 19rem),
      linear-gradient(90deg, rgba(7, 7, 6, 0.97) 0%, rgba(7, 7, 6, 0.82) 68%, rgba(7, 7, 6, 0.56) 100%),
      linear-gradient(180deg, rgba(7, 7, 6, 0.16) 0%, rgba(7, 7, 6, 0.91) 100%);
  }

  .section-heading,
  .enquiry {
    grid-template-columns: 1fr;
  }

  .atlas-stage,
  .mandate-grid,
  .standard-list,
  .service-columns,
  .contrast-grid {
    grid-template-columns: 1fr;
  }

  .atlas-map {
    display: grid;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
  }

  .atlas-map::before,
  .atlas-map::after {
    display: none;
  }

  .atlas-map span {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: none;
    text-align: left;
  }

  .atlas-map span::before {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
  }

  .mandate-grid article,
  .mandate-grid article:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 16px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-actions,
  .chat-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 72px;
  }

  .hero-content {
    width: min(100%, calc(100vw - 42px));
    max-width: 100%;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-line {
    font-size: clamp(22px, 6.2vw, 30px);
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-proof {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-proof span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .section,
  .intro-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .intro-band p {
    font-size: 24px;
  }

  .section-heading h2,
  .enquiry-copy h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .quick-routes {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 22px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .quick-routes a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .mandate-grid article {
    min-height: auto;
    padding: 24px;
  }

  .world-card span {
    margin-bottom: 26px;
  }

  .mandate-grid article::after {
    width: 120px;
    height: 120px;
  }

  .chat-messages {
    min-height: 250px;
    max-height: 320px;
  }

  .footer {
    padding-bottom: 86px;
  }
}

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

  .button,
  .mandate-grid article,
  .section,
  .intro-band,
  .footer,
  .site-header,
  .brand-mark,
  .atlas-map span::before {
    animation: none;
    transition: none;
  }

  .hero-canvas {
    opacity: 0.5;
  }

  .js-enabled .section,
  .js-enabled .intro-band,
  .js-enabled .footer {
    opacity: 1;
    transform: none;
  }
}
