@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: oklch(21.34% 0 0);
  --ink-raised: oklch(25% 0.012 250);
  --signal: oklch(56.37% 0.1591 249.89);
  --signal-hover: oklch(51.5% 0.155 249.89);
  --signal-bright: oklch(76% 0.12 249.89);
  --navy: oklch(26.49% 0.1069 263.78);
  --white: oklch(100% 0 0);
  --text: oklch(96.5% 0.005 250);
  --muted: oklch(79% 0.018 250);
  --rule: oklch(39% 0.025 250);
  --focus: oklch(86% 0.16 90);
  --radius: 8px;
  --shell: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 78% 92% at 80% 0%, oklch(56.37% 0.1591 249.89 / .18), transparent 72%);
  content: "";
  pointer-events: none;
}

main {
  flex: 1;
}

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

button,
a {
  font: inherit;
  touch-action: manipulation;
}

button {
  border: 0;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
}

.shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.site-header {
  border-bottom: 1px solid oklch(100% 0 0 / .12);
  background: oklch(21.34% 0 0 / .96);
}

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

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: min(12.75rem, 47vw);
  height: auto;
}

.header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .55rem .95rem;
  border: 1px solid oklch(100% 0 0 / .34);
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out);
}

@media (min-width: 521px) {
  .header-contact {
    display: none;
  }
}

.compact-hero {
  display: flex;
  min-height: min(39rem, calc(100svh - 21rem));
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.compact-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: end;
  gap: clamp(3.5rem, 9vw, 8rem);
}

.compact-hero__copy {
  max-width: 43rem;
}

.project-status {
  display: flex;
  margin: 0 0 1.6rem;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.project-status span {
  width: .48rem;
  height: .48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal-bright);
  box-shadow: 0 0 0 .3rem oklch(74% 0.13 249.89 / .1);
}

.compact-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 4.75rem);
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}

.compact-hero__claim {
  max-width: 29ch;
  margin: 1.5rem 0 0;
  color: var(--signal-bright);
  font-size: clamp(1.2rem, 2.25vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.compact-hero__text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, .5vw + .92rem, 1.08rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.focus {
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}

.focus__label {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.focus__list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.focus__list li {
  position: relative;
  padding: .82rem 0 .82rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  color: var(--white);
  font-size: .98rem;
  font-weight: 600;
}

.focus__list li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  transform: translateY(-50%);
}

.focus__note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.contact-band {
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
  background: var(--signal);
  color: var(--white);
}

.contact-band__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: center;
  gap: clamp(3.5rem, 9vw, 8rem);
}

.contact-band h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.contact-band__heading p {
  max-width: 49ch;
  margin: 1rem 0 0;
  color: var(--white);
  text-wrap: pretty;
}

.email-box {
  min-width: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .76rem 1rem;
  border-radius: var(--radius);
  background: var(--signal);
  color: var(--white);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

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

.button--light {
  min-width: min(100%, 19rem);
  background: var(--white);
  color: var(--navy);
}

.email-box__details {
  margin-top: 1.1rem;
}

.email-box__address {
  margin: 0;
  font-size: clamp(.9rem, 2vw, 1.05rem);
}

.email-box__address span {
  color: var(--white);
}

.email-box__address strong {
  color: var(--white);
  user-select: all;
}

.email-box__actions {
  display: flex;
  margin-top: .75rem;
  flex-wrap: wrap;
  gap: .55rem;
}

.small-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .55rem .75rem;
  border: 1px solid oklch(100% 0 0 / .58);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.email-box__status {
  min-height: 1.4em;
  margin: .7rem 0 0;
  color: var(--white);
  font-size: .78rem;
}

.noscript-note {
  margin: .8rem 0 0;
  font-size: .8rem;
}

.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid oklch(100% 0 0 / .1);
  background: var(--ink);
}

.site-footer__inner {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-decoration-color: transparent;
  text-underline-offset: .3em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.legal-header {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
}

.legal-header h1 {
  max-width: 16ch;
  margin: .8rem 0 0;
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  letter-spacing: -.04em;
  line-height: 1;
  text-wrap: balance;
}

.legal-header p:last-child {
  max-width: 67ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.section-context {
  margin: 0;
  color: var(--signal-bright);
  font-size: .78rem;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-underline-offset: .3em;
}

.legal-content {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.legal-content__grid {
  display: grid;
  grid-template-columns: minmax(12rem, .3fr) minmax(0, .7fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

.legal-toc {
  position: sticky;
  top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.legal-toc p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.legal-toc ol {
  padding: 0;
  margin: .8rem 0 0;
  list-style: none;
}

.legal-toc a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--muted);
  font-size: .8rem;
  text-underline-offset: .3em;
}

.legal-body {
  max-width: 47rem;
}

.legal-section {
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 2rem;
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 1.15rem;
  color: var(--white);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.legal-section h3 {
  margin: 1.5rem 0 .65rem;
  color: var(--white);
  font-size: 1rem;
}

.legal-section p,
.legal-section li,
.legal-section address {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.75;
}

.legal-section p {
  margin: .9rem 0 0;
}

.legal-section a {
  color: var(--signal-bright);
  text-underline-offset: .25em;
}

.legal-section strong,
.legal-section address strong {
  color: var(--text);
}

.legal-section address {
  font-style: normal;
}

.legal-section ul {
  padding-left: 1.25rem;
}

.legal-email {
  margin-top: 1.2rem;
}

.legal-email .email-box__details {
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ink-raised);
}

.legal-email .email-box__address span,
.legal-email .email-box__status {
  color: var(--muted);
}

.legal-email .small-action {
  border-color: var(--rule);
  color: var(--text);
}

@media (max-width: 820px) {
  .compact-hero {
    min-height: 0;
    padding-block: clamp(4rem, 12vw, 6rem);
  }

  .compact-hero__layout,
  .contact-band__layout,
  .legal-content__grid {
    grid-template-columns: 1fr;
  }

  .compact-hero__layout {
    gap: 3.5rem;
  }

  .focus {
    max-width: 34rem;
  }

  .contact-band__layout {
    gap: 1.8rem;
  }

  .legal-content__grid {
    gap: 2.5rem;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.25rem;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 1.25rem;
  }

  .site-header__inner {
    min-height: 4.65rem;
    gap: .8rem;
  }

  .brand__logo {
    width: min(9.5rem, 46vw);
  }

  .header-contact {
    padding-inline: .72rem;
    font-size: .76rem;
  }

  .compact-hero {
    padding-block: 3.8rem 4.2rem;
  }

  .compact-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 12vw, 3.15rem);
    line-height: 1;
  }

  .compact-hero__claim {
    margin-top: 1.25rem;
  }

  .compact-hero__text {
    margin-top: 1.15rem;
    line-height: 1.68;
  }

  .compact-hero__layout {
    gap: 2.8rem;
  }

  .contact-band {
    padding-block: 2.7rem;
  }

  .button--light,
  .legal-email .button {
    width: 100%;
  }

  .email-box__actions,
  .small-action {
    width: 100%;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header {
    padding-block: 3.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header-contact:hover {
    border-color: var(--signal-bright);
    background: oklch(100% 0 0 / .06);
  }

  .button:hover {
    background: var(--signal-hover);
  }

  .button--light:hover {
    background: var(--navy);
    color: var(--white);
  }

  .small-action:hover {
    background: oklch(100% 0 0 / .1);
  }

  .site-footer a:hover,
  .back-link:hover,
  .legal-toc a:hover {
    color: var(--white);
    text-decoration-color: var(--signal);
  }
}

.header-contact:active,
.button:active,
.small-action:active {
  transform: scale(.97);
}

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

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

@media (prefers-contrast: more) {
  :root {
    --muted: oklch(90% 0.01 250);
    --rule: oklch(62% 0.025 250);
  }

  .header-contact,
  .small-action {
    border-color: currentColor;
  }
}

@media (forced-colors: active) {
  .project-status span,
  .focus__list li::before {
    background: CanvasText;
  }
}
