:root {
  color-scheme: dark;
  --ink: #f5f0e7;
  --muted: rgba(245, 240, 231, 0.7);
  --soft: rgba(245, 240, 231, 0.12);
  --line: rgba(245, 240, 231, 0.2);
  --deep: #07110e;
  --field: #111b16;
  --moss: #667761;
  --copper: #c28f5c;
  --max: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--copper);
  color: #10120f;
}

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

.site-header {
  align-items: center;
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
  z-index: 10;
}

.site-header.is-scrolled,
.legal-body .site-header {
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 14, 0.72);
  border-bottom: 1px solid rgba(245, 240, 231, 0.12);
}

.brand-mark,
.nav-links {
  align-items: center;
  display: flex;
}

.brand-mark {
  font-size: 0.88rem;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-symbol {
  align-items: center;
  border: 1px solid rgba(245, 240, 231, 0.42);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  gap: clamp(18px, 3vw, 34px);
}

.nav-links a {
  color: rgba(245, 240, 231, 0.76);
  font-size: 0.84rem;
  transition: color 180ms ease;
}

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

.hero {
  isolation: isolate;
  min-height: 86svh;
  overflow: clip;
  position: relative;
}

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

.hero-media {
  background-image: url("assets/oxnead-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.04) translateY(var(--hero-depth, 0px));
  transform-origin: center;
  transition: transform 300ms ease-out;
  z-index: -3;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 10, 8, 0.9) 0%, rgba(4, 10, 8, 0.7) 29%, rgba(4, 10, 8, 0.18) 66%, rgba(4, 10, 8, 0.02) 100%),
    linear-gradient(180deg, rgba(4, 10, 8, 0.58) 0%, rgba(4, 10, 8, 0.08) 40%, rgba(4, 10, 8, 0.62) 100%);
  z-index: -2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86svh;
  padding: calc(var(--header-height) + 28px) clamp(22px, 8vw, 112px) 78px;
  width: min(720px, 100%);
}

.kicker {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 11vw, 9.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 660px;
}

.hero-copy {
  color: rgba(245, 240, 231, 0.86);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #111712;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
}

.button-quiet {
  border-color: rgba(245, 240, 231, 0.32);
  color: var(--ink);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(245, 240, 231, 0.7);
}

.scroll-cue {
  align-items: center;
  border: 1px solid rgba(245, 240, 231, 0.3);
  border-radius: 999px;
  bottom: 34px;
  display: flex;
  height: 46px;
  justify-content: center;
  left: clamp(22px, 8vw, 112px);
  position: absolute;
  width: 28px;
}

.scroll-cue span {
  animation: cue 1.7s ease-in-out infinite;
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 8px;
  width: 3px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(76px, 12vw, 142px) clamp(22px, 5vw, 44px);
}

.approach-section {
  padding-top: 24px;
}

.section-label {
  border-top: 1px solid var(--line);
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 28px;
  padding-top: 18px;
  text-transform: uppercase;
}

.statement {
  max-width: 930px;
}

.statement p,
.focus-copy h2,
.contact-inner h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.principles {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(46px, 8vw, 86px);
}

.principles article {
  border-top: 1px solid var(--line);
  padding: 26px 32px 0 0;
}

.principles article + article {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.principles span {
  color: var(--moss);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin-bottom: 28px;
}

.principles h2 {
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  letter-spacing: 0;
  margin-bottom: 14px;
}

.principles p,
.focus-copy p,
.focus-list p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.focus-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  max-width: none;
}

.focus-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.focus-grid {
  align-items: start;
  display: grid;
  gap: clamp(44px, 8vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.focus-copy h2 {
  margin-bottom: 24px;
}

.focus-copy p {
  max-width: 540px;
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-list div {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(130px, 0.72fr) 1fr;
  padding: 26px 0;
}

.focus-list div + div {
  border-top: 1px solid var(--line);
}

.focus-list span {
  color: var(--ink);
  font-weight: 750;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(7, 17, 14, 0.92), rgba(7, 17, 14, 0.58)),
    url("assets/oxnead-hero.png") center 54% / cover;
  padding: clamp(78px, 14vw, 150px) clamp(22px, 5vw, 44px);
}

.contact-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.contact-inner h2 {
  margin-bottom: 30px;
  max-width: 920px;
}

.contact-link {
  border-bottom: 1px solid rgba(245, 240, 231, 0.46);
  color: var(--ink);
  display: inline-block;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  padding-bottom: 8px;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(245, 240, 231, 0.12);
  color: rgba(245, 240, 231, 0.56);
  display: flex;
  font-size: 0.84rem;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 56px);
}

.footer-main,
.footer-links {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.5vw, 28px);
}

.footer-main span:first-child {
  color: rgba(245, 240, 231, 0.78);
  font-weight: 750;
}

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

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: var(--ink);
}

.legal-body {
  background:
    linear-gradient(180deg, rgba(7, 17, 14, 0.84), var(--deep) 360px),
    url("assets/oxnead-hero.png") center top / cover fixed;
}

.legal-main {
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100svh - 92px);
  padding: calc(var(--header-height) + 82px) clamp(22px, 5vw, 44px) clamp(76px, 10vw, 124px);
}

.legal-hero {
  max-width: 880px;
}

.legal-hero h1 {
  font-size: clamp(3.1rem, 8vw, 7.1rem);
  line-height: 0.94;
  margin-bottom: 28px;
}

.legal-hero p {
  color: rgba(245, 240, 231, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.42;
  max-width: 720px;
}

.legal-button {
  margin-top: 20px;
}

.legal-content {
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 8vw, 86px);
}

.legal-content article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(20px, 4vw, 70px);
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  padding: clamp(28px, 5vw, 48px) 0;
}

.legal-content h2 {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  letter-spacing: 0;
  margin-bottom: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 16px;
  max-width: 760px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  border-bottom: 1px solid rgba(194, 143, 92, 0.54);
  color: var(--ink);
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
}

.reveal-item,
.reveal-section {
  opacity: 0;
  transform: translateY(18px);
}

.is-visible .reveal-item,
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.is-visible .reveal-item:nth-child(2) {
  transition-delay: 90ms;
}

.is-visible .reveal-item:nth-child(3) {
  transition-delay: 180ms;
}

.is-visible .reveal-item:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-5px);
  }

  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 66px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-content {
    min-height: 80svh;
    padding-bottom: 74px;
  }

  .hero-media {
    background-position: 57% center;
  }

  .principles,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .principles article + article {
    border-left: 0;
    margin-top: 34px;
    padding-left: 0;
  }

  .focus-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-content article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    min-height: var(--header-height);
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .brand-symbol {
    height: 30px;
    width: 30px;
  }

  .nav-links {
    margin-top: 13px;
  }

  .hero,
  .hero-content {
    min-height: 80svh;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.6rem);
    max-width: 420px;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-main,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-body {
    background-attachment: scroll;
  }

  .legal-main {
    padding-top: calc(var(--header-height) + 98px);
  }
}

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

  .hero-media {
    transform: scale(1.04);
  }
}
