@import url("../../font/site-fonts.css?v=20260731a");

:root {
  --ink: #151515;
  --muted: #6f716e;
  --faint: #a2a49f;
  --paper: #fff;
  --line: rgba(21, 21, 21, 0.14);
  --media-border: rgba(49, 94, 111, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body,
main,
header,
nav,
section,
footer,
div,
figure,
figcaption,
h1,
h2,
h3,
p,
a,
img,
button,
dl,
dt,
dd,
ol,
li,
article {
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

html {
  min-height: 100%;
  font-family: var(--font-reading);
  -webkit-text-size-adjust: none;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font: 400 15px/1.65 var(--font-interface);
  letter-spacing: 0;
}

body::before,
body::after,
.projectNav::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.075) 0 0.45px, transparent 0.7px);
  background-size: 10px 10px, 10px 10px, 5px 5px;
  mix-blend-mode: multiply;
}

body::after {
  z-index: 0;
  opacity: 0.05;
  background: repeating-linear-gradient(
    96deg,
    rgba(48, 48, 48, 0.018) 0,
    rgba(48, 48, 48, 0.018) 1px,
    transparent 1px,
    transparent 16px
  );
}

main,
.projectNav {
  position: relative;
  z-index: 1;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

video {
  display: block;
}

.projectNav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: 116px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 255, 255, 0.95) 72%,
    rgba(255, 255, 255, 0) 100%
  );
}

.projectNav::after {
  z-index: 21;
  height: 116px;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.032) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
}

.siteName,
.projectMenu,
.homeLink {
  position: fixed;
  z-index: 22;
  font-family: var(--font-interface);
  text-transform: uppercase;
}

.siteName {
  top: 58px;
  left: 72px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.32em;
  white-space: nowrap;
  -webkit-text-stroke: 0.18px currentColor;
}

.projectMenu {
  top: 56px;
  right: 62px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  color: #777;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.homeLink {
  position: static;
}

.projectMenuDropdown {
  position: relative;
  text-align: center;
}

.projectMenuDropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 238px;
  height: 13px;
  transform: translateX(-50%);
  content: "";
}

.projectMenuTrigger {
  color: #777;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.projectMenuTrigger:focus-visible,
.projectMenu a:focus-visible,
.projectLink:focus-visible {
  outline: 1px solid rgba(17, 17, 17, 0.4);
  outline-offset: 4px;
}

.projectMenuList {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  display: flex;
  min-width: 238px;
  padding: 12px 14px 13px;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.055);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.projectMenuDropdown:hover .projectMenuList,
.projectMenuDropdown:focus-within .projectMenuList {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.projectMenuList a {
  color: #111;
  white-space: nowrap;
}

.projectHero {
  max-width: 980px;
  padding: 184px 40px 84px;
  margin: 0 auto;
  text-align: center;
}

.projectCategory,
.sectionLabel,
figcaption,
.projectLink,
.decisionNumber {
  font-family: var(--font-interface);
}

.projectCategory,
.sectionLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.projectHero h1 {
  margin-top: 22px;
  font-family: var(--font-reading);
  font-size: clamp(40px, 3.8vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.projectDek {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--body, #3f3f3f);
  font-family: var(--font-reading);
  font-size: 15.5px;
  line-height: 1.76;
}

.projectLink {
  display: inline-block;
  padding-bottom: 4px;
  margin-top: 34px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.07em;
}

.projectLink span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.projectLink:hover span {
  transform: translate(2px, -2px);
}

.productHero {
  width: min(1480px, calc(100vw - 80px));
  margin: 0 auto;
}

.productHeroStage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--media-border);
  background: #f5f5f2;
  box-shadow: none;
}

.productHeroBase {
  display: block;
  width: 100%;
}

.animatedLibrary {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bookPin {
  --delay: 0s;
  --tilt: 0deg;
  position: absolute;
  z-index: 2;
  width: clamp(26px, 4.5%, 66px);
  opacity: 0;
  filter: drop-shadow(0 7px 8px rgba(18, 36, 41, 0.2));
  transform: translate(-50%, calc(-50% + 20px)) scale(0.72);
}

.productHeroStage.isAnimated .bookPin {
  animation: bookReveal 900ms cubic-bezier(0.2, 0.78, 0.2, 1) var(--delay) forwards;
}

.productHeroStage.isResetting .bookPin {
  opacity: 0;
  animation: none;
  transition: opacity 600ms ease;
}

.bookPin img {
  display: block;
  width: 100%;
  animation: bookFloat 5s ease-in-out calc(var(--delay) + 900ms) infinite;
  transform: rotate(var(--tilt));
}

.bookPinOne {
  --delay: 180ms;
  --tilt: -1.4deg;
  top: 34%;
  left: 21%;
}

.bookPinTwo {
  --delay: 620ms;
  --tilt: 1deg;
  top: 38%;
  left: 27%;
}

.bookPinThree {
  --delay: 1.06s;
  --tilt: -0.8deg;
  top: 31%;
  left: 31%;
}

.bookPinFour {
  --delay: 1.5s;
  --tilt: 1.2deg;
  top: 30%;
  left: 48%;
}

.bookPinFive {
  --delay: 1.94s;
  --tilt: -1deg;
  top: 34%;
  left: 53%;
}

.bookPinSix {
  --delay: 2.38s;
  --tilt: 0.8deg;
  top: 29%;
  left: 57%;
}

.bookPinSeven {
  --delay: 2.82s;
  --tilt: -1.1deg;
  top: 34%;
  left: 67%;
}

.bookPinEight {
  --delay: 3.26s;
  --tilt: 1.3deg;
  top: 34%;
  left: 77%;
}

@keyframes bookReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px)) scale(0.72);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 3px)) scale(1.025);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes bookFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-3px) rotate(var(--tilt));
  }
}

figcaption {
  margin-top: 11px;
  color: #7b7d79;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.055em;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .bookPin {
    opacity: 1;
    animation: none;
    transform: translate(-50%, -50%) scale(1);
  }

  .bookPin img {
    animation: none;
  }
}

.projectSnapshot {
  width: min(1160px, calc(100vw - 80px));
  padding: 72px 0 118px;
  margin: 0 auto;
}

.projectSnapshot p {
  color: #4d4f4c;
  font-family: var(--font-reading);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.025em;
  text-align: center;
}

.originStorySection,
.experienceSection,
.interfaceSection,
.decisionsSection,
.buildSection {
  width: min(1160px, calc(100vw - 80px));
  margin: 0 auto;
}

.originStorySection {
  display: grid;
  align-items: start;
  padding: 42px 0 138px;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(64px, 8vw, 118px);
}

.originStoryCopy {
  max-width: 720px;
}

h2 {
  color: var(--ink);
  font-family: var(--font-reading);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.originStoryCopy p,
.interfaceIntro p,
.decisionList p,
.buildCopy p {
  color: #333532;
  font-family: var(--font-reading);
  font-size: 15px;
  line-height: 1.75;
}

.originStoryCopy h2 {
  margin-top: 19px;
}

.originStoryCopy h2 + p {
  margin-top: 42px;
}

.originStoryCopy p + p,
.buildCopy p + p {
  margin-top: 25px;
}

.interfaceSection {
  padding: 112px 0 126px;
}

.interfaceIntro {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
}

.interfaceIntro .sectionLabel {
  grid-column: 1 / -1;
}

.interfaceIntro p:last-child {
  max-width: 560px;
}

.socialProof {
  justify-self: center;
  width: min(100%, 330px);
}

.socialProof img {
  width: 100%;
  border: 1px solid var(--media-border);
  box-shadow: none;
}

.experienceSection {
  padding: 132px 0;
}

.experienceIntro {
  max-width: 780px;
}

.experienceContent {
  display: grid;
  margin-top: 72px;
  align-items: center;
  grid-template-columns: minmax(0, 1.95fr) minmax(240px, 0.65fr);
  gap: clamp(38px, 4.4vw, 66px);
}

.experienceDemo {
  min-width: 0;
}

.experienceDemoFrame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--media-border);
  background: #eef1ec;
  box-shadow: none;
}

.experienceDemo video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.experienceDemoToggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 43, 51, 0.78);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  place-items: center;
  transition: background-color 180ms ease, transform 180ms ease;
}

.experienceDemoToggle:hover,
.experienceDemoToggle:focus-visible {
  background: rgba(20, 43, 51, 0.96);
  transform: translateY(-1px);
}

.experienceDemoToggle span {
  font: 600 12px/1 var(--font-interface);
  transform: translateY(-0.5px);
}

.experienceDemo figcaption i {
  font-family: var(--font-reading);
}

.experienceIntro h2,
.interfaceIntro h2,
.decisionsIntro h2,
.buildSection h2 {
  margin-top: 19px;
}

.experienceSteps {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 42px;
}

.experienceSteps li {
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
}

.experienceSteps span,
.experienceSteps h3 {
  font-family: var(--font-interface);
}

.experienceSteps span {
  display: block;
  padding-top: 3px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.experienceSteps h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.experienceSteps p {
  max-width: 235px;
  color: #565854;
  font-family: var(--font-reading);
  font-size: 15px;
  line-height: 1.62;
}

.interfacePair {
  display: grid;
  margin-top: 76px;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.interfacePair img {
  width: 100%;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.075);
}

.decisionsSection {
  display: grid;
  padding: 132px 0;
  grid-template-columns: 1.1fr 1fr;
  gap: 110px;
}

.decisionList article + article {
  margin-top: 58px;
}

.decisionNumber {
  margin-bottom: 13px;
  color: var(--faint) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em;
}

.decisionList h3 {
  margin-bottom: 15px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
}

.decisionList p {
  font-size: 17px;
  line-height: 1.76;
}

.buildSection {
  display: grid;
  padding: 116px 0 130px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1.1fr 1fr;
  gap: 110px;
}

.projectEndCta {
  width: min(1160px, calc(100vw - 80px));
  padding: 0 0 112px;
  margin: 0 auto;
  text-align: center;
}

.projectEndCta .projectLink {
  margin-top: 0;
}

@media (max-width: 900px) {
  .originStorySection,
  .decisionsSection,
  .buildSection,
  .interfaceIntro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .interfaceIntro .sectionLabel {
    grid-column: auto;
  }

  .originStoryCopy {
    order: -1;
  }

  .decisionsSection,
  .buildSection {
    gap: 65px;
  }

  .experienceContent {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .experienceSteps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .projectNav,
  .projectNav::after {
    height: 88px;
  }

  .siteName {
    top: 34px;
    left: 28px;
    font-size: 12px;
  }

  .projectMenu {
    top: 34px;
    right: 28px;
    gap: 18px;
  }

  .projectMenuDropdown::after,
  .projectMenuList {
    width: 220px;
  }

  .projectHero {
    padding: 132px 28px 58px;
  }

  .projectHero h1 {
    font-size: clamp(40px, 8vw, 52px);
    line-height: 1.08;
  }

  .projectDek {
    margin-top: 24px;
    font-size: 15px;
  }

  .productHero,
  .projectSnapshot,
  .originStorySection,
  .experienceSection,
  .interfaceSection,
  .decisionsSection,
  .buildSection,
  .projectEndCta {
    width: calc(100vw - 48px);
  }

  .projectSnapshot {
    padding: 50px 0 84px;
  }

  .originStorySection,
  .experienceSection,
  .interfaceSection,
  .decisionsSection,
  .buildSection {
    padding-top: 82px;
    padding-bottom: 86px;
  }

  .projectEndCta {
    padding-bottom: 86px;
  }

  h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .originStoryCopy p,
  .interfaceIntro p,
  .decisionList p,
  .buildCopy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .socialProof {
    width: min(78vw, 310px);
  }

  .interfacePair,
  .experienceSteps {
    grid-template-columns: 1fr;
  }

  .experienceSteps {
    gap: 34px;
  }

  .experienceContent {
    margin-top: 48px;
    gap: 42px;
  }

  .experienceDemoToggle {
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
  }

  .experienceSteps p {
    max-width: 270px;
  }

  .interfacePair {
    margin-top: 56px;
    gap: 38px;
  }

}

@media (max-width: 560px) {
  .projectHero h1 {
    font-size: 38px;
  }
}

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