:root {
  color-scheme: light;
  --paper: #d9d8d0;
  --paper-deep: #c8c7bd;
  --ink: #11120f;
  --ink-soft: rgba(17, 18, 15, 0.62);
  --line: rgba(17, 18, 15, 0.22);
  --panel: #11120f;
  --panel-text: #eeeee8;
  --page-gutter: clamp(1.25rem, 3.2vw, 3.75rem);
  --header-height: clamp(5.5rem, 10vw, 8.25rem);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.38), transparent 34%),
    linear-gradient(115deg, var(--paper-deep), var(--paper) 42%, #e3e2dc 100%);
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

.svg-definitions {
  position: absolute;
  pointer-events: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(17, 18, 15, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 5rem 5rem;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 65%);
  pointer-events: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  min-height: var(--header-height);
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--page-gutter);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.19em;
  line-height: 1.05;
  text-transform: uppercase;
}

.text-button {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.text-button::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.text-button {
  position: relative;
}

.text-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: var(--header-height) 1fr auto;
  padding: 0 var(--page-gutter) var(--page-gutter);
}

.sculpture-stage {
  position: absolute;
  inset: 9% 15% 13%;
  display: grid;
  place-items: center;
  perspective: 85rem;
  pointer-events: auto;
}

.sculpture-aura {
  position: absolute;
  bottom: 11%;
  width: min(32vw, 27rem);
  height: min(4vw, 3rem);
  border-radius: 50%;
  background: rgba(20, 21, 18, 0.23);
  filter: blur(1.1rem);
  transform: translateY(2rem);
}

.sculpture-tilt {
  position: relative;
  width: clamp(13rem, 27vw, 26rem);
  aspect-ratio: 540 / 680;
  transform-style: preserve-3d;
}

.sculpture-spin {
  position: absolute;
  inset: 0;
  animation: sculpture-turn 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  transform-style: preserve-3d;
  will-change: transform;
}

.mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateZ(var(--z));
  transform-style: preserve-3d;
  shape-rendering: geometricPrecision;
}

.mark use {
  fill: currentColor;
}

.mark-back {
  color: #080908;
}

.mark-side {
  color: #1b1d1a;
}

.mark-front use {
  fill: url("#metal-fill");
}

.mark-front {
  filter: drop-shadow(0 1.8rem 1.4rem rgba(20, 21, 18, 0.18));
}

.hero-copy {
  z-index: 2;
  grid-column: 1 / span 7;
  grid-row: 3;
  align-self: end;
  max-width: 54rem;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.35vw, 5.25rem);
  font-weight: 430;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.hero h1 br {
  display: none;
}

.hero-support {
  max-width: 34rem;
  margin: 1.05rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.45;
}

.legal-identity {
  z-index: 2;
  display: flex;
  grid-column: 10 / -1;
  grid-row: 3;
  flex-direction: column;
  align-self: end;
  justify-self: end;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 0.72vw, 0.76rem);
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.info-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--panel-text);
}

.info-dialog::backdrop {
  background: rgba(14, 15, 13, 0.44);
  backdrop-filter: blur(0.5rem);
}

.info-panel {
  width: min(100%, 46rem);
  height: 100%;
  margin-left: auto;
  padding: var(--page-gutter);
  overflow-y: auto;
  background: var(--panel);
  box-shadow: -2rem 0 5rem rgba(0, 0, 0, 0.16);
}

.info-dialog[open] .info-panel {
  animation: panel-in 520ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.close-button {
  margin-left: auto;
}

.info-content {
  max-width: 36rem;
  margin: clamp(5rem, 14vh, 10rem) auto 0;
}

.info-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.5;
}

.info-copy p,
.regulatory-note p {
  margin: 0;
}

.regulatory-note {
  display: grid;
  gap: 1rem;
  margin: clamp(3rem, 7vh, 5rem) 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(238, 238, 232, 0.22);
  border-bottom: 1px solid rgba(238, 238, 232, 0.22);
  line-height: 1.5;
}

.note-label,
.company-details dt {
  color: rgba(238, 238, 232, 0.48);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-details {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.company-details div:last-child {
  grid-column: 1 / -1;
}

.company-details dt {
  margin-bottom: 0.55rem;
}

.company-details dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.company-details a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--panel-text);
  text-decoration: none;
}

.information-only {
  margin: clamp(3rem, 7vh, 5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 238, 232, 0.22);
  color: rgba(238, 238, 232, 0.48);
  font-size: 0.68rem;
  line-height: 1.55;
}

@keyframes sculpture-turn {
  from { transform: rotateX(6deg) rotateY(-32deg) rotateZ(-2deg); }
  to { transform: rotateX(9deg) rotateY(32deg) rotateZ(1deg); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateX(4rem); }
  to { opacity: 1; transform: translateX(0); }
}

@media (min-width: 70rem) {
  .hero h1 br {
    display: block;
  }
}

@media (max-width: 50rem) {
  :root {
    --header-height: 5.5rem;
  }

  .site-shell::before {
    background-size: 3.75rem 3.75rem;
  }

  .hero {
    grid-template-rows: var(--header-height) minmax(18rem, 1fr) auto auto;
    row-gap: 1.25rem;
  }

  .sculpture-stage {
    inset: 12% 8% 33%;
  }

  .sculpture-tilt {
    width: clamp(11rem, 43vw, 17rem);
  }

  .sculpture-aura {
    bottom: 4%;
    width: 45vw;
    height: 6vw;
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 4.2rem);
    letter-spacing: -0.042em;
    line-height: 0.96;
  }

  .legal-identity {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: start;
    text-align: left;
  }

  .info-panel {
    width: 100%;
  }
}

@media (max-width: 50rem) and (max-height: 44rem) {
  .hero {
    grid-template-rows: var(--header-height) minmax(12.5rem, 1fr) auto auto;
    row-gap: 0.85rem;
  }

  .sculpture-stage {
    inset: 10% 8% 37%;
  }

  .sculpture-tilt {
    width: clamp(9rem, 38vw, 12rem);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 3.5rem);
  }

  .hero-support {
    margin-top: 0.75rem;
  }
}

@media (max-width: 35rem) {
  .company-details {
    grid-template-columns: 1fr;
  }

  .company-details div:last-child {
    grid-column: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .sculpture-spin {
    animation: none;
    transform: rotateX(7deg) rotateY(-24deg) rotateZ(-2deg);
  }
}
