@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

@view-transition {
  navigation: auto;
}

::view-transition-group(prepared-room-image),
::view-transition-group(opticon-wordmark) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-image-pair(root),
::view-transition-image-pair(prepared-room-image),
::view-transition-image-pair(opticon-wordmark) {
  isolation: auto;
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-old(prepared-room-image),
::view-transition-new(prepared-room-image),
::view-transition-old(opticon-wordmark),
::view-transition-new(opticon-wordmark) {
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation: handoff-clear 110ms ease-out both;
}

::view-transition-new(root) {
  animation: prepared-page-reveal 420ms var(--ease) 110ms both;
}

::view-transition-old(prepared-room-image) {
  animation: handoff-object-out 240ms ease-out both;
}

::view-transition-new(prepared-room-image) {
  animation: handoff-object-in 300ms var(--ease) 220ms both;
}

::view-transition-old(opticon-wordmark) {
  animation: none;
  opacity: 0;
}

::view-transition-new(opticon-wordmark) {
  animation: none;
  opacity: 1;
}

:root {
  --carbon: #0b0d0f;
  --optic-white: #fafaf8;
  --white: #ffffff;
  --slate: #56616a;
  --muted: #666f75;
  --rule: #d7dcde;
  --rule-dark: rgba(255, 255, 255, 0.18);
  --live: #d84a3f;
  --header-height: 72px;
  --page-pad: clamp(24px, 4.2vw, 72px);
  --content-max: 1440px;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--optic-white);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--carbon);
  background: var(--optic-white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: -2px;
}

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

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

p,
h1,
h2,
h3,
h4,
blockquote,
dl,
dd,
figure,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--carbon);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  background: rgba(250, 250, 248, 0.93);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(11, 13, 15, 0.12);
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(16px) saturate(130%);
}

.wordmark {
  flex: 0 0 auto;
  color: var(--carbon);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.site-header > .wordmark {
  view-transition-name: opticon-wordmark;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

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

.primary-nav > a:not(.nav-contact) {
  position: relative;
}

.primary-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.primary-nav > a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  min-height: 44px;
  gap: 14px;
  padding: 0 15px;
  color: var(--white);
  background: var(--carbon);
}

.eyebrow {
  color: var(--slate);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  border: 1px solid var(--carbon);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease);
}

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

.button-dark {
  color: var(--white);
  background: var(--carbon);
}

.button-dark:hover {
  color: var(--carbon);
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(430px, 0.88fr) minmax(520px, 1.12fr);
  padding-top: var(--header-height);
  background: var(--optic-white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vh, 116px) clamp(36px, 5.5vw, 94px)
    clamp(40px, 6vh, 76px) var(--page-pad);
  border-right: 1px solid rgba(11, 13, 15, 0.12);
}

.hero-copy .eyebrow {
  margin-bottom: clamp(30px, 5vh, 58px);
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(52px, 4.65vw, 76px);
  font-weight: 560;
  letter-spacing: -0.064em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-definition {
  max-width: 620px;
  margin-top: clamp(30px, 4.4vh, 48px);
  color: #3d454a;
  font-size: clamp(17px, 1.3vw, 21px);
  letter-spacing: -0.018em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: clamp(30px, 4.5vh, 48px);
}

.hero-room {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: #d3d2cc;
  view-transition-name: prepared-room-image;
}

.hero-room > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.76) contrast(1.01) brightness(1.08);
  transform: scale(1.012);
}

.hero-room-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 15, 0.12), transparent 30%),
    linear-gradient(0deg, rgba(11, 13, 15, 0.18), transparent 36%);
  pointer-events: none;
}

.source-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 5px rgba(216, 74, 63, 0.14);
}

.has-js .hero-copy > .eyebrow {
  animation: hero-copy-arrive 680ms var(--ease) 60ms backwards;
}

.has-js .hero-copy > h1 {
  animation: hero-copy-arrive 840ms var(--ease) 130ms backwards;
}

.has-js .hero-definition {
  animation: hero-copy-arrive 720ms var(--ease) 250ms backwards;
}

.has-js .hero-actions {
  animation: hero-copy-arrive 720ms var(--ease) 340ms backwards;
}

.has-js .hero-room > img {
  animation: hero-room-arrive 1500ms var(--ease) backwards;
}

.has-js .hero-room-shade {
  animation: hero-shade-arrive 1100ms ease 180ms backwards;
}

@keyframes hero-copy-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes hero-room-arrive {
  from {
    filter: saturate(0.34) contrast(0.96) brightness(0.88);
    transform: scale(1.07);
  }
}

@keyframes hero-shade-arrive {
  from {
    opacity: 0.25;
  }
}

@keyframes handoff-clear {
  to {
    opacity: 0;
  }
}

@keyframes handoff-object-out {
  0%,
  82% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes handoff-object-in {
  from {
    opacity: 0;
  }
}

@keyframes prepared-page-reveal {
  from {
    clip-path: inset(0 0 0 100%);
  }

  to {
    clip-path: inset(0);
  }
}

.perimeter {
  display: grid;
  max-width: var(--content-max);
  grid-template-columns: 0.56fr 1.28fr 1.05fr;
  gap: clamp(24px, 4.8vw, 78px);
  margin: 0 auto;
  padding: 28px var(--page-pad) 30px;
  border-bottom: 1px solid var(--rule);
  background: var(--optic-white);
}

.perimeter p {
  color: var(--slate);
  font-size: 12px;
  line-height: 1.55;
}

.perimeter p:first-child {
  color: var(--carbon);
  font-weight: 720;
  letter-spacing: 0.01em;
}
