@font-face {
  font-family: Aquire;
  src: url("assets/Aquire.otf") format("opentype");
  font-display: swap;
}
:root {
  --dark: #111517;
  --white: #f7f5ed;
  --teal: #8bdbca;
  --serif: "ff-tisa-web-pro", Georgia, serif;
  --sans: "brandon-grotesque", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; isolation: isolate; background: #13191c; color: var(--white); font: 400 17px/1.6 var(--sans); }
.site-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 82% 29%, #203234, transparent 66%), radial-gradient(ellipse at 6% 90%, #1b252e, transparent 55%);
}
.site-field::before, .site-field::after {
  content: "";
  position: absolute;
  inset: -110px;
}
.site-field::before {
  background: linear-gradient(90deg, #a8d3cb21 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(#a8d3cb21 1px, transparent 1px) 0 0 / 52px 52px,
    repeating-linear-gradient(132deg, transparent 0 108px, #8dbeb82b 109px 110px, transparent 111px 176px);
  mask-image: radial-gradient(ellipse at 76% 37%, #000 7%, transparent 74%);
  transform: rotate(-12deg);
  animation: grid-drift 32s ease-in-out infinite alternate;
}
.site-field::after {
  background: radial-gradient(circle, #9ddace99 0 1px, #7fcbc233 2px, transparent 6px) 0 0 / 137px 173px,
    radial-gradient(circle, #bbd9e37d 0 1px, transparent 2px) 70px 32px / 193px 111px,
    radial-gradient(circle, #a8d3cb54 0 1px, transparent 2px) 33px 94px / 97px 127px;
  mask-image: linear-gradient(113deg, transparent 3%, #0008 33%, #000 78%);
  animation: star-drift 29s linear infinite alternate;
}
@keyframes grid-drift {
  to { transform: translate(54px, -44px) rotate(-7deg); }
}
@keyframes star-drift {
  to { transform: translate(-61px, 42px); }
}
.motion-paused .site-field::before, .motion-paused .site-field::after { animation-play-state: paused; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; line-height: .99; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid #258776; outline-offset: 6px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 100px, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 10px auto auto 10px; padding: 12px; transform: translateY(-150%); background: var(--white); color: var(--dark); }
.skip:focus { transform: none; }
.overline { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wordmark { font: 400 27px/1 Aquire, var(--sans); letter-spacing: .085em; text-decoration: none; }
.opening { position: relative; isolation: isolate; background: radial-gradient(ellipse at 77% 56%, #142b2d 0, transparent 55%), #101416; color: var(--white); overflow: hidden; }
.orbit-field { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.opening::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #101416 3%, #101416ee 28%, #10141632 54%, transparent 73%), linear-gradient(#10141690, transparent 18% 86%, #10141655); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 95px; border-bottom: 1px solid #ffffff24; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 38px); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d3d9d4; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--teal); }
.hero { position: relative; display: flex; align-items: center; min-height: clamp(660px, 83svh, 870px); padding-block: clamp(48px, 7vw, 94px); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.hero h1 { font-size: clamp(72px, 10.1vw, 151px); }
.hero-quote { max-width: 37ch; margin-top: 30px; padding-left: 18px; border-left: 1px solid #8bdbca90; color: #d0d9d4; font: 400 clamp(17px, 1.7vw, 22px)/1.55 var(--serif); }
.hero-quote p + p { margin-top: 4px; }
.hero-links { display: grid; width: min(100%, 540px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 30px; scroll-margin-top: 20px; }
.social-link { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 10px; border: 1px solid #9bbab435; border-radius: 8px; background: #182225d9; color: #edf2ee; font-size: 13px; font-weight: 550; text-decoration: none; transition: background-color .2s, border-color .2s; }
.social-link:hover { background: #253638; border-color: #8bdbca8c; }
.social-link:focus-visible, .site-header a:focus-visible { outline-color: var(--teal); outline-offset: 3px; }
.social-symbol { display: grid; flex: 0 0 18px; place-items: center; }
.social-symbol img { width: 17px; height: 17px; filter: brightness(0) invert(92%) sepia(18%) saturate(485%) hue-rotate(105deg); }
.social-arrow { margin-left: auto; color: #9ab6b0; font-size: 12px; }
.hero-email { grid-column: 1 / -1; justify-self: start; padding-inline: 11px; }
.hero-email svg { flex: 0 0 18px; color: var(--teal); }
.hero-email .social-arrow { margin-left: 5px; }
.hero-date { display: block; margin-top: 17px; color: #bbc7c1; font-size: 13px; }
.motion-toggle { position: absolute; z-index: 2; right: 0; bottom: 24px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #94bbba55; border-radius: 50%; background: #101416b8; color: #b4d7d3; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: #243c3e; color: var(--white); }
.motion-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.motion-toggle span { width: 10px; height: 12px; border-inline: 2px solid currentColor; }
.motion-toggle.is-paused span { width: 0; height: 0; margin-left: 2px; border: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent; }

.projects {
  --project-line: #a5bbb32c;
  --project-muted: #b5c0ba;
  position: relative;
  isolation: isolate;
  color: #e8eae4;
  background: linear-gradient(145deg, #151a1c33, #12171915 40%, #11161966);
}
.projects-layout { padding-block: clamp(56px, 8vw, 122px); }
.section-head { padding-bottom: clamp(22px, 4vw, 38px); border-bottom: 1px solid var(--project-line); }
.section-head h2 { font-size: clamp(48px, 7vw, 98px); }
.eyes h2 { font-size: clamp(57px, 8.5vw, 115px); }
.project { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(32px, 5.5vw, 90px); padding-block: clamp(36px, 6vw, 88px); border-bottom: 1px solid var(--project-line); }
.project:nth-of-type(2) { grid-template-columns: minmax(0,1.28fr) minmax(260px,.72fr); }
.project:nth-of-type(2) .project-media { grid-column: 1; grid-row: 1; }
.project:nth-of-type(2) .project-copy { grid-column: 2; }
.project-icon { width: 72px; aspect-ratio: 1; border-radius: 22%; margin-bottom: 26px; }
.project .overline { color: var(--project-muted); }
.project h3 { font-size: clamp(54px, 7vw, 93px); margin: 9px 0 19px; }
.project-copy > p:not(.overline) { color: var(--project-muted); max-width: 34ch; }
.store-badge { display: inline-block; margin-top: 24px; border-radius: 8px; }
.store-badge img { width: 137px; }
.project-media { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; min-height: clamp(330px, 42vw, 565px); border-radius: 14px; }
.mindora .project-media { background: radial-gradient(ellipse at 55% 15%, #3d625b, #1b2829 74%); }
.questiq .project-media { background: radial-gradient(ellipse at 42% 20%, #9f8b69, #66543e 85%); }
.previx .project-media { background: radial-gradient(ellipse at 60% 20%, #69778e, #434f66 85%); }
.screen-pair { display: flex; justify-content: center; align-items: flex-start; gap: clamp(9px, 2vw, 26px); position: absolute; inset: 10% 6% auto; transform: rotate(-6deg); }
.questiq .screen-pair { transform: rotate(5deg); }
.previx .screen-pair { transform: rotate(-3deg); }
.screen-pair img { width: 41%; aspect-ratio: 442/960; border-radius: clamp(10px,1.5vw,22px); box-shadow: 0 12px 32px #0d151b57; }
.screen-pair img:nth-child(2) { margin-top: 11%; }
.project-media::after { content: '↗'; position: absolute; inset: auto 16px 16px auto; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #11181a; color: #fff; font-size: 21px; box-shadow: 0 6px 26px #1118; }
@media (hover: hover) {
  .screen-pair { transition: translate .3s ease; }
  .project-media:hover .screen-pair { translate: 0 -7px; }
}

.eyes { overflow: hidden; position: relative; isolation: isolate; color: var(--white); background: #090c12ab; }
.eyes-layout { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; padding-block: clamp(70px, 10vw, 145px); min-height: 665px; }
.eyes-copy { position: relative; z-index: 1; }
.eyes .overline { color: var(--teal); margin-bottom: 19px; }
.eyes h2 { line-height: 1.03; }
.eyes-copy > p:not(.overline) { margin-top: 22px; color: #c6d2d8; max-width: 36ch; }
.outline-link { display: inline-flex; gap: 32px; align-items: center; min-height: 50px; margin-top: 28px; border: 1px solid #c7ddd866; border-radius: 2px; padding: 9px 17px; text-decoration: none; }
.outline-link:hover { background: #c7ddd81a; }
.eyes-photo { position: absolute; z-index: -1; inset: 0 max(-5%, -30px) 0 29%; margin: 0; }
.eyes-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: screen; mask-image: linear-gradient(90deg, transparent, #000 30% 85%, transparent), linear-gradient(0deg, transparent, #000 18% 85%, transparent); mask-composite: intersect; }
.eyes-photo figcaption { position: absolute; right: 7%; bottom: 28px; color: #aab8c1; font-size: 12px; }

.footer-end { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; min-height: 82px; padding-block: 12px; font-size: 13px; color: #b5c0ba; }
.footer-end .wordmark { font-size: 19px; color: var(--white); }
.footer-end a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }

@media (max-width: 950px) {
  .wrap { width: min(100% - 60px, 1280px); }
  .hero { min-height: 600px; }
  .eyes-layout { min-height: 530px; }
  .project { gap: 26px; }
  .project-media { min-height: 345px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 12px; }
  .site-header .wordmark { font-size: 21px; }
  .site-header nav { gap: clamp(10px,3vw,22px); }
  .site-header nav a { font-size: 12px; }
  .hero { align-items: flex-start; min-height: 0; padding-block: clamp(42px, 9vw, 60px) 96px; }
  .opening::after { background: linear-gradient(180deg, #101416 9%, #101416e0 42%, #10141652 69%, transparent 100%); }
  .hero h1 { font-size: clamp(61px, 13vw, 90px); }
  .hero-quote { margin-top: 24px; }
  .project, .project:nth-of-type(2) { grid-template-columns: 1fr; }
  .project:nth-of-type(2) .project-media, .project:nth-of-type(2) .project-copy { grid-column: auto; grid-row: auto; }
  .project-icon { width: 60px; margin-bottom: 20px; }
  .project-media { min-height: clamp(285px, 76vw, 440px); }
  .screen-pair { inset-inline: 7%; }
  .eyes-layout { display: block; padding-block: 58px 20px; min-height: 0; }
  .eyes-photo { position: relative; inset: auto; margin: 13px -20px 0; }
  .eyes-photo img { height: auto; mask-image: linear-gradient(0deg, transparent, #000 18% 87%, transparent); mask-composite: add; }
  .eyes-photo figcaption { position: static; padding-inline: 20px; text-align: right; }
}
@media (max-width: 575px) {
  .hero-links { width: min(100%, 360px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 23px; }
  .hero-email { justify-self: stretch; }
  .footer-end { gap: 0 12px; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 9px; }
  .eyes-photo { margin-inline: -16px; }
  .eyes-photo figcaption { padding-inline: 16px; }
  .eyes h2 { font-size: 53px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen-pair, .social-link { transition: none; }
  .site-field::before, .site-field::after { animation: none; }
}
