:root {
  color-scheme: dark;
  --bg: #090b0e;
  --text: #e8e3d9;
  --text-muted: #9a968e;
  --text-dim: #6d6a63;
  --line: rgba(232, 227, 217, 0.14);
  --line-soft: rgba(232, 227, 217, 0.07);
  --accent: #b7aa8d;
  --page-padding: clamp(1.25rem, 4.8vw, 4.75rem);
  --max-width: 100rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 0.35rem;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 650;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-inline: var(--page-padding);
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.wordmark,
.footer-wordmark {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.header-link {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.045em;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 180ms ease;
}

.arrow-link span:last-child {
  color: var(--accent);
  transition: transform 180ms ease;
}

.arrow-link:hover {
  color: var(--text);
}

.arrow-link:hover span:last-child {
  transform: translateX(0.22rem);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(42rem, calc(100svh - 5.5rem), 51rem);
  padding: clamp(5rem, 9vh, 7.25rem) 0 clamp(5rem, 10vh, 7.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(45rem, 62%);
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(2.25rem, 4.5vh, 3.25rem);
}

.status-mark {
  width: 0.28rem;
  height: 0.28rem;
  background: var(--accent);
}

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

h1,
h2,
h3 {
  font-weight: 420;
  text-wrap: balance;
}

h1 {
  max-width: 11.7em;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(3rem, 4.65vw, 4.5rem);
  letter-spacing: -0.048em;
  line-height: 1.01;
}

.hero-intro {
  max-width: 31rem;
  margin-bottom: clamp(3.25rem, 7vh, 5rem);
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.signature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.signature::before {
  width: 1rem;
  height: 1px;
  background: var(--line);
  content: "";
}

.structural-field {
  position: absolute;
  top: 10%;
  right: -2%;
  bottom: 12%;
  width: 44%;
  min-width: 31rem;
  opacity: 0.66;
  pointer-events: none;
}

.field-frame,
.field-line,
.field-axis,
.field-point {
  position: absolute;
  display: block;
}

.field-frame {
  border: 0 solid var(--line-soft);
}

.field-frame-one {
  top: 9%;
  right: 0;
  width: 88%;
  height: 72%;
  border-top-width: 1px;
  border-right-width: 1px;
  animation: field-drift 36s ease-in-out infinite alternate;
}

.field-frame-two {
  top: 30%;
  right: 13%;
  width: 67%;
  height: 43%;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-color: var(--line);
  animation: field-drift 30s ease-in-out -9s infinite alternate-reverse;
}

.field-frame-three {
  top: 46%;
  right: 34%;
  width: 31%;
  height: 16%;
  border-top-width: 1px;
  border-right-width: 1px;
  animation: frame-shift 40s ease-in-out -16s infinite alternate;
}

.field-line {
  right: 0;
  width: 92%;
  height: 1px;
  background: var(--line-soft);
  animation: line-drift 34s ease-in-out infinite alternate;
}

.line-one {
  top: 19%;
  width: 72%;
}

.line-two {
  top: 35%;
  width: 88%;
  animation-delay: -7s;
}

.line-three {
  top: 53%;
  width: 100%;
  background: var(--line);
  animation-delay: -13s;
}

.line-four {
  top: 70%;
  width: 78%;
  animation-delay: -19s;
}

.line-five {
  top: 84%;
  width: 54%;
  animation-delay: -25s;
}

.field-axis {
  top: 0;
  width: 1px;
  height: 92%;
  background: var(--line-soft);
  animation: axis-drift 38s ease-in-out infinite alternate;
}

.axis-one {
  right: 18%;
}

.axis-two {
  right: 55%;
  height: 78%;
  animation-delay: -14s;
}

.field-point {
  width: 0.26rem;
  height: 0.26rem;
  background: var(--accent);
  opacity: 0.65;
  animation: point-pulse 13s ease-in-out infinite;
}

.point-one {
  top: 53%;
  right: 18%;
}

.point-two {
  top: 35%;
  right: 55%;
  width: 0.18rem;
  height: 0.18rem;
  opacity: 0.3;
  animation-delay: -5s;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.56fr) minmax(0, 2fr);
  gap: clamp(3.5rem, 8vw, 8.5rem);
  padding: clamp(6rem, 9vw, 8.75rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.35rem;
}

.section-index,
.principle-number {
  color: var(--text-dim);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.09em;
}

.section-content {
  width: 100%;
  max-width: 60rem;
}

.section-content > h2 {
  max-width: 16em;
  margin-bottom: clamp(2rem, 3.6vw, 3rem);
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-content > p {
  max-width: 43rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.section-content .lead {
  max-width: 47rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.quiet-statements {
  display: grid;
  margin-top: clamp(3.25rem, 5vw, 4.5rem);
}

.quiet-statements p {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.quiet-statements-single {
  max-width: 31rem;
}

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

.principle {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 14rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle h3 {
  margin: clamp(2rem, 4vw, 3.25rem) 0 0.85rem;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 23rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.closing-note {
  margin: 2rem 0 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.045em;
}

.inquiry {
  padding-bottom: clamp(6.5rem, 10vw, 9.5rem);
}

.inquiry-content > h2 {
  max-width: 14em;
}

.inquiry-content .muted-copy {
  color: var(--text-dim);
}

.inquiry-action {
  max-width: 43rem;
  margin-top: clamp(3.75rem, 6vw, 5.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.inquiry-action .eyebrow {
  margin-bottom: 1rem;
}

.email-link {
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  font-weight: 420;
  letter-spacing: -0.035em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.7fr) auto;
  gap: 3rem;
  align-items: end;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.7rem;
}

.site-footer div > p:last-child {
  max-width: 26rem;
  margin: 0.55rem 0 0;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

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

@keyframes field-drift {
  from {
    transform: translate3d(0, -0.4rem, 0);
  }
  to {
    transform: translate3d(-0.85rem, 0.65rem, 0);
  }
}

@keyframes frame-shift {
  from {
    transform: translate3d(-0.4rem, 0, 0);
  }
  to {
    transform: translate3d(0.6rem, -0.7rem, 0);
  }
}

@keyframes line-drift {
  from {
    transform: translate3d(0.3rem, -0.15rem, 0);
  }
  to {
    transform: translate3d(-0.75rem, 0.25rem, 0);
  }
}

@keyframes axis-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(0.75rem);
  }
}

@keyframes point-pulse {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.72;
  }
}

@media (max-width: 64rem) {
  .hero-copy {
    width: min(40rem, 68%);
  }

  .structural-field {
    right: -12%;
    width: 53%;
  }

  .section-grid {
    grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 2fr);
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    grid-column: 2;
  }
}

@media (max-width: 50rem) {
  .site-header {
    min-height: 4.75rem;
  }

  .header-link span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .header-link::before {
    content: "Contact";
  }

  .hero {
    align-items: end;
    min-height: 44rem;
    padding: 16rem 0 4.5rem;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    max-width: 10.8em;
    font-size: clamp(2.55rem, 10.8vw, 3.4rem);
  }

  .hero-intro {
    max-width: 29rem;
    margin-bottom: 3rem;
  }

  .structural-field {
    top: 2.5rem;
    right: -30%;
    bottom: auto;
    width: 105%;
    min-width: 28rem;
    height: 23rem;
    opacity: 0.48;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding: 5.5rem 0;
  }

  .section-heading {
    padding-top: 0;
  }

  .section-content > h2 {
    font-size: clamp(2rem, 8vw, 2.85rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-items: start;
  }

  .site-footer > p {
    grid-column: auto;
  }
}

@media (max-width: 42rem) {
  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 0;
  }

  .principle h3 {
    margin-top: 2rem;
  }
}

@media (max-width: 35rem) {
  .hero {
    min-height: 42rem;
    padding-top: 14rem;
  }

  .hero .eyebrow {
    margin-bottom: 1.7rem;
  }

  .structural-field {
    right: -42%;
  }

  .email-link {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }
}

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

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