:root {
  color-scheme: dark;
  --black-950: #0b0b0a;
  --black-900: #121212;
  --black-875: #171716;
  --black-850: #1d1c1c;
  --black-800: #252424;
  --copper-dark: #b47335;
  --copper: #db9c54;
  --champagne: #f5be71;
  --metal-light: #e8e5e0;
  --metal-body: #c7c3bd;
  --metal-muted: #a7a29c;
  --error: #df8e82;
  --line: rgb(232 229 224 / 0.1);
  --line-strong: rgb(232 229 224 / 0.2);
  --copper-line: rgb(219 156 84 / 0.42);
  --font: Manrope, "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
  --page-x: clamp(1.25rem, 4.3vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --content-width: 76rem;
  --radius-small: 0.75rem;
  --radius: 1rem;
  --radius-large: 1.5rem;
  --copper-gradient: linear-gradient(105deg, var(--copper-dark), var(--champagne) 48%, #c6813e);
}

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

html {
  min-width: 20rem;
  background: var(--black-950);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% -10%, rgb(219 156 84 / 0.04), transparent 30rem),
    var(--black-900);
  color: var(--metal-light);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.016) 0 0.5px, transparent 0.8px 4px),
    linear-gradient(115deg, transparent, rgb(255 255 255 / 0.01), transparent);
  background-size: 7px 7px, auto;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

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

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

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

::selection {
  background: var(--champagne);
  color: var(--black-950);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

p {
  margin: 0;
}

.shell {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: var(--page-x);
}

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

main > section {
  position: relative;
  isolation: isolate;
}

main > section::before {
  position: absolute;
  z-index: 0;
  top: 9%;
  right: -7rem;
  width: min(32rem, 40vw);
  height: 82%;
  background: url("/assets/hex-pattern.svg") right center / 31rem auto no-repeat;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black 46%, black 100%);
  opacity: 0.2;
  pointer-events: none;
}

main > section:nth-of-type(even)::before {
  right: auto;
  left: -7rem;
  background-position: left center;
  mask-image: linear-gradient(90deg, black 0, black 54%, transparent 100%);
}

main > section > .shell {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  translate: 0 -180%;
  background: var(--champagne);
  color: var(--black-950);
  font-weight: 700;
}

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

.micro-label {
  color: var(--metal-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  column-gap: 0.025em;
  color: var(--metal-light);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1;
}

.wordmark__mark {
  width: 1.18em;
  height: 1.18em;
  flex: none;
  margin-right: 0.14em;
  object-fit: contain;
  filter: drop-shadow(0 0.25rem 0.45rem rgb(0 0 0 / 0.38));
}

.wordmark__accent {
  background: var(--copper-gradient);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 0.75rem rgb(219 156 84 / 0.16));
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgb(11 11 10 / 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark--header {
  min-height: 2.75rem;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.84rem;
  font-weight: 600;
}

.main-nav > a:not(.button) {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  color: var(--metal-body);
  transition: color 180ms ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a[aria-current="page"]:not(.button) {
  color: var(--metal-light);
}

.language-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.02);
  color: var(--champagne);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--copper);
  background: rgb(219 156 84 / 0.08);
  color: var(--metal-light);
}

.nav-label--short {
  display: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  transition:
    translate 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  translate: 0 -2px;
}

.button--compact {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.78rem;
}

.button--primary {
  background: var(--copper-gradient);
  color: var(--black-950);
  box-shadow: inset 0 1px rgb(255 255 255 / 0.32), 0 0 1rem rgb(219 156 84 / 0.1);
}

.button--primary:hover {
  box-shadow: inset 0 1px rgb(255 255 255 / 0.4), 0 0 1.4rem rgb(219 156 84 / 0.23);
}

.button--secondary,
.button--outline {
  border-color: var(--copper-line);
  background: rgb(18 18 18 / 0.5);
  color: var(--metal-light);
}

.button--secondary:hover,
.button--outline:hover {
  border-color: var(--copper);
  background: rgb(219 156 84 / 0.06);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.66;
  translate: none;
}

.heavy-line {
  height: clamp(0.38rem, 0.7vw, 0.65rem);
  border-radius: 999px;
  background: var(--copper-gradient);
  box-shadow: inset 0 1px rgb(255 255 255 / 0.28), 0 0 1.1rem rgb(219 156 84 / 0.11);
}

.kinetic-field {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 0.9;
  justify-self: end;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 18%, black 86%, transparent 100%);
  isolation: isolate;
}

.kinetic-field::after {
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.018) 0 0.5px, transparent 0.8px 5px);
  content: "";
  pointer-events: none;
}

.kinetic-field__plane,
.kinetic-field__rail {
  position: absolute;
  display: block;
  will-change: transform;
}

.kinetic-field__plane {
  width: 68%;
  height: 132%;
  clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
}

.kinetic-field__plane--back {
  top: -12%;
  left: 18%;
  background: linear-gradient(110deg, #0e0e0d, #242322 55%, #111110);
  animation: plane-slide-back 9s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

.kinetic-field__plane--front {
  top: -10%;
  right: -15%;
  background: linear-gradient(110deg, #181817, #292827 54%, #10100f);
  opacity: 0.88;
  animation: plane-slide-front 7s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

.kinetic-field__rail {
  top: -14%;
  height: 128%;
  rotate: 19deg;
  border-radius: 999px;
}

.kinetic-field__rail--muted {
  left: 34%;
  width: 2px;
  background: rgb(232 229 224 / 0.34);
  animation: rail-slide-muted 8s ease-in-out infinite alternate;
}

.kinetic-field__rail--copper {
  left: 52%;
  width: clamp(0.42rem, 0.8vw, 0.68rem);
  background: var(--copper-gradient);
  box-shadow: 0 0 1.25rem rgb(219 156 84 / 0.15);
  animation: rail-slide-copper 6.5s ease-in-out infinite alternate;
}

.kinetic-field__rail--fine {
  left: 72%;
  width: 1px;
  background: rgb(219 156 84 / 0.3);
  animation: rail-slide-fine 10s ease-in-out infinite alternate;
}

.slide-ribbons {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -8rem;
  width: min(45rem, 62vw);
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 35%, black);
  pointer-events: none;
}

.slide-ribbons span {
  position: absolute;
  right: -12%;
  display: block;
  width: 86%;
  height: 22%;
  border-radius: 999px 0 0 999px;
  rotate: -12deg;
  background: linear-gradient(90deg, transparent, rgb(219 156 84 / 0.13));
  animation: ribbon-slide 7s ease-in-out infinite alternate;
}

.slide-ribbons span:nth-child(1) {
  top: 12%;
}

.slide-ribbons span:nth-child(2) {
  top: 39%;
  animation-delay: -2.4s;
  background: linear-gradient(90deg, transparent, rgb(232 229 224 / 0.05));
}

.slide-ribbons span:nth-child(3) {
  top: 66%;
  animation-delay: -4.8s;
}

.sticky-contact {
  position: fixed;
  z-index: 300;
  right: clamp(1rem, 2.3vw, 2rem);
  bottom: clamp(1rem, 2.3vw, 2rem);
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

.sticky-contact__trigger {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgb(245 190 113 / 0.64);
  border-radius: 999px;
  background: var(--copper-gradient);
  color: var(--black-950);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  box-shadow: 0 0.8rem 2.5rem rgb(0 0 0 / 0.38), 0 0 1.2rem rgb(219 156 84 / 0.14);
  transition: translate 180ms ease, box-shadow 180ms ease;
}

.sticky-contact__trigger:hover,
.sticky-contact.is-open .sticky-contact__trigger {
  translate: 0 -2px;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.46), 0 0 1.5rem rgb(219 156 84 / 0.24);
}

.sticky-contact__trigger svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sticky-contact__panel {
  width: auto;
  max-width: calc(100vw - 2rem);
}

.sticky-contact__actions {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.sticky-contact__panel a {
  display: inline-grid;
  width: max-content;
  max-width: 100%;
  min-height: 2.75rem;
  grid-template-columns: 1rem auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--copper-line);
  border-radius: 999px;
  background: rgb(17 17 16 / 0.94);
  color: var(--metal-light);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 0.34);
  backdrop-filter: blur(14px);
  transition: translate 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.sticky-contact__panel a:hover,
.sticky-contact__panel a:focus-visible {
  border-color: var(--copper-line);
  background: rgb(219 156 84 / 0.08);
  translate: -2px 0;
}

.sticky-contact__action-icon {
  color: var(--champagne);
}

.sticky-contact__action-icon svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

@keyframes plane-slide-back {
  from { transform: translate3d(-10%, 0, 0); }
  to { transform: translate3d(12%, 0, 0); }
}

@keyframes plane-slide-front {
  from { transform: translate3d(8%, 0, 0); }
  to { transform: translate3d(-14%, 0, 0); }
}

@keyframes rail-slide-muted {
  from { transform: translate3d(-2.5rem, 0, 0); }
  to { transform: translate3d(2rem, 0, 0); }
}

@keyframes rail-slide-copper {
  from { transform: translate3d(-1.25rem, 0, 0); }
  to { transform: translate3d(2.5rem, 0, 0); }
}

@keyframes rail-slide-fine {
  from { transform: translate3d(1.5rem, 0, 0); }
  to { transform: translate3d(-2rem, 0, 0); }
}

@keyframes ribbon-slide {
  from { transform: translate3d(8%, 0, 0); }
  to { transform: translate3d(-14%, 0, 0); }
}

.section-intro h2,
.section-heading h2 {
  margin-top: 1rem;
}

.section-intro > p:last-child,
.section-heading > p {
  color: var(--metal-body);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.section-intro > p:last-child {
  max-width: 34rem;
  margin-top: 1.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.65fr);
  gap: 3rem 6rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > p {
  max-width: 31rem;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  background: var(--black-950);
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(32rem, 65vw);
  height: 0.35rem;
  border-radius: 0 999px 999px 0;
  background: var(--copper-gradient);
  content: "";
}

.site-footer__hexes {
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 28rem;
  opacity: 0.17;
}

.site-footer__inner {
  position: relative;
  display: grid;
  min-height: 12rem;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  color: var(--metal-muted);
  font-size: 0.82rem;
}

.site-footer__links a {
  min-height: 2.75rem;
  align-content: center;
  transition: color 180ms ease;
}

.site-footer__links a:hover {
  color: var(--metal-light);
}

.site-footer__copyright {
  color: var(--metal-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.footer-location {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: 0 4rem;
}

.footer-location__copy h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.footer-location__copy > p:not(.micro-label) {
  max-width: 19rem;
  margin-top: 1rem;
  color: var(--metal-muted);
}

.footer-location__route {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  border-bottom: 1px solid var(--copper-line);
  color: var(--champagne);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-location__map {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--black-850);
}

.footer-location__map::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(219 156 84 / 0.08);
  border-radius: inherit;
  box-shadow: inset 0 0 4rem rgb(0 0 0 / 0.42);
  content: "";
  pointer-events: none;
}

.footer-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 0;
  filter: grayscale(1) sepia(0.24) brightness(0.58) contrast(1.2);
  opacity: 0.78;
  transition: filter 220ms ease, opacity 220ms ease;
}

.footer-location__map:hover iframe,
.footer-location__map:focus-within iframe {
  filter: grayscale(0.65) sepia(0.18) brightness(0.68) contrast(1.12);
  opacity: 0.92;
}

.reveal {
  opacity: 0;
  translate: 0 0.75rem;
  transition: opacity 420ms ease, translate 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  translate: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (max-width: 52rem) {
  main > section::before {
    right: -8rem;
    width: 20rem;
    background-size: 20rem auto;
    opacity: 0.16;
  }

  main > section:nth-of-type(even)::before {
    right: auto;
    left: -8rem;
  }

  .site-header__inner {
    min-height: 4.5rem;
  }

  .main-nav {
    gap: 0.5rem;
  }

  .main-nav > a:not(.button) {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-block: 3.5rem;
  }

  .footer-location {
    grid-template-columns: 1fr;
    padding-block: 0 3rem;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 30rem) {
  .wordmark--header {
    font-size: 1.45rem;
  }

  .button--compact {
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }

  .main-nav {
    gap: 0.35rem;
  }

  .nav-label--long {
    display: none;
  }

  .nav-label--short {
    display: inline;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }
}
