@font-face {
  font-family: "Sentient";
  src: url("assets/fonts/sentient-extralight.woff2") format("woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

:root {
  --bg: #d8d3ca;
  --text: #45413c;
  --muted: #777169;
  --accent: #938777;
  --line: rgba(77,68,57,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: linear-gradient(135deg, #ebe7e0 0%, #d8d3ca 52%, #c8c1b7 100%); color: var(--text); }
body { font-family: "Exo 2", Arial, sans-serif; font-weight: 300; overflow: hidden; }
a { color: inherit; text-decoration: none; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.code-viewport { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; clip-path: polygon(calc(63vw - 150px) 0, 100% 0, 100% 100%, calc(50vw - 150px) 100%); }
.code-background { position: absolute; inset: clamp(156px, 17vh, 184px) auto clamp(96px, 12vh, 128px) 3vw; width: 133.333vw; display: grid; grid-template-columns: repeat(4, 33.333vw); overflow: hidden; animation: code-drift 6.67s linear infinite; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.code-column { height: 100%; margin: 0; padding: 14px 1.05vw; overflow: hidden; color: #fff; font: 400 clamp(10px, .78vw, 14px)/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: -.025em; white-space: pre; opacity: .72; text-shadow: 0 1px 12px rgba(255,255,255,.3); }
@keyframes code-drift {
  from { transform: translateX(-33.333vw); }
  to { transform: translateX(0); }
}
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }

.header { position: fixed; top: 0; left: 0; width: 100%; height: 96px; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 42px; background: rgba(239,235,228,.28); border-bottom: 1px solid rgba(78,69,58,.14); backdrop-filter: blur(18px) saturate(85%); -webkit-backdrop-filter: blur(18px) saturate(85%); }
.brand { justify-self: start; display: flex; align-items: center; gap: 13px; }
.brand-mark { font: 300 11px/1 "Exo 2", Arial, sans-serif; letter-spacing: .13em; }
.brand-label { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.nav { display: flex; gap: 38px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.nav a { color: #5f5a53; transition: color .2s; }
.nav a:hover { color: #11100e; }
.nav a[aria-current="page"] { color: #11100e; }
.availability { justify-self: end; display: flex; gap: 9px; align-items: center; color: #625d55; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; transition: color .2s; }
.availability:hover { color: #11100e; }

.hero { position: relative; z-index: 2; min-height: 100svh; }
.glass-panel { position: absolute; inset: 0 auto 0 0; width: 63vw; height: 100svh; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); background: linear-gradient(108deg, rgba(248,245,239,.72) 0%, rgba(237,232,224,.58) 50%, rgba(222,215,204,.3) 100%); backdrop-filter: blur(7px) saturate(70%); -webkit-backdrop-filter: blur(7px) saturate(70%); box-shadow: 24px 0 80px rgba(83,70,54,.14), inset -24px 0 70px rgba(255,255,255,.18); overflow: hidden; }
.glass-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.3), transparent 34%, rgba(139,124,104,.045) 76%, transparent); }
.glass-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; clip-path: polygon(99.88% 0, 100% 0, 90% 100%, 89.76% 100%); background: rgba(117,104,88,.48); filter: drop-shadow(1px 0 3px rgba(255,255,255,.5)); }
.panel-inner { position: relative; z-index: 1; height: 100%; width: min(700px, 51vw); padding: 138px 4.5vw 46px; display: flex; flex-direction: column; transition: filter .42s cubic-bezier(.4,0,.2,1), opacity .42s ease, transform .42s cubic-bezier(.4,0,.2,1); }
.panel-inner.is-switching { filter: blur(24px); opacity: .18; transform: scale(.975); }
.eyebrow { display: flex; justify-content: space-between; margin: 0; color: #6f6961; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; }
h1 { margin: auto 0; font: 300 32px/1.03 "Exo 2", Arial, sans-serif; letter-spacing: -.055em; }
h1 em { color: #746e66; font-style: normal; text-shadow: 0 8px 26px rgba(105,91,72,.1); }
.home-title { position: relative; padding-left: 20px; }
.home-title::before { content: ""; position: absolute; left: 0; top: -7px; bottom: -7px; width: 1px; background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.88) 18%, rgba(183,173,158,.7) 48%, rgba(103,91,76,.42) 78%, transparent 100%); box-shadow: 0 0 8px rgba(255,255,255,.28), 0 0 14px rgba(147,135,119,.12); transform-origin: top; animation: home-title-line-reveal 2.308s .08s cubic-bezier(.37,0,.18,1) both; }
.title-char { display: inline-block; opacity: 0; filter: blur(2px); transform: translateX(-2px); animation: home-title-char-write .46s cubic-bezier(.16,.72,.2,1) forwards; animation-delay: calc(.16s + var(--char-index) * .052s); will-change: opacity, filter, transform; }
@keyframes home-title-char-write {
  from { opacity: 0; filter: blur(2px); transform: translateX(-2px); }
  to { opacity: 1; filter: blur(0); transform: translateX(0); }
}
.eyebrow-char { display: inline-block; opacity: 0; filter: blur(1px); transform: translateX(-1.5px); animation: eyebrow-char-write .4s cubic-bezier(.16,.72,.2,1) forwards; animation-delay: calc(.1s + var(--char-index) * .032s); will-change: opacity, filter, transform; }
.animated-word { display: inline-block; white-space: nowrap; }
body[data-route="home"] .eyebrow-char { animation-delay: calc(.1s + var(--char-index) * .05244s); }
@keyframes eyebrow-char-write {
  from { opacity: 0; filter: blur(1px); transform: translateX(-1.5px); }
  to { opacity: 1; filter: blur(0); transform: translateX(0); }
}
@keyframes home-title-line-reveal {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
.panel-footer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 35px; }
.panel-footer p { max-width: 330px; margin: 0; color: #59544d; font-size: 13px; line-height: 1.65; }
.footer-link { color: #37332e; font-size: 13px; white-space: nowrap; transition: color .2s; }
.footer-link:hover { color: #000; }

.contact-methods { position: relative; width: max-content; margin: auto 0; padding: 9px 0 9px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-methods::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent 0%, rgba(205,197,185,.18) 8%, rgba(183,173,158,.58) 34%, rgba(143,132,117,.5) 62%, rgba(103,91,76,.42) 88%, transparent 100%); box-shadow: 0 0 10px rgba(147,135,119,.1); }
body[data-route="contacts"] .contact-methods::before { transform-origin: top; animation: capability-line-reveal 1.764s .08s cubic-bezier(.37,0,.18,1) both; }
.contact-method { color: #45413c; font: 300 19px/1.15 "Exo 2", Arial, sans-serif; letter-spacing: normal; transition: color .3s ease, transform .3s ease; }
a.contact-method:hover { color: #746e66; transform: translateX(4px); }
.contact-method.is-pending { color: #8b857d; }
.contact-char { display: inline-block; opacity: 0; filter: blur(1px); transform: translateX(-1.5px); animation: contact-char-write .4s cubic-bezier(.16,.72,.2,1) forwards; animation-delay: calc(var(--char-index) * .052s); }
@keyframes contact-char-write {
  from { opacity: 0; filter: blur(1px); transform: translateX(-1.5px); }
  to { opacity: 1; filter: blur(0); transform: translateX(0); }
}

.capabilities-list { position: relative; width: 100%; height: 384px; flex: 0 0 384px; margin: auto 0; }
.capabilities-list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent 0%, rgba(205,197,185,.18) 8%, rgba(183,173,158,.58) 34%, rgba(143,132,117,.5) 62%, rgba(103,91,76,.42) 88%, transparent 100%); box-shadow: 0 0 10px rgba(147,135,119,.1); pointer-events: none; }
body[data-route="capabilities"] .capabilities-list::before { transform-origin: top; animation: capability-line-reveal 1.956s .08s cubic-bezier(.37,0,.18,1) both; }
@keyframes capability-line-reveal {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
.capabilities-list::after { display: none; }
.capability-item { border: 0; }
.capability-toggle { position: static; z-index: 2; width: 100%; min-width: 0; padding: 14px 0 14px 18px; display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; border: 0; background: transparent; color: #45413c; font: 300 19px/1.15 "Exo 2", Arial, sans-serif; text-align: left; white-space: normal; cursor: pointer; transition: color .35s ease, opacity .35s ease, transform .35s ease, text-shadow .35s ease; }
.capability-toggle:hover { color: #45413c; transform: translateX(4px); }
.capabilities-list.has-open .capability-item:not(.is-open) .capability-toggle { opacity: .34; }
.capability-item.is-open .capability-toggle { z-index: 4; color: #45413c; transform: none; text-shadow: 0 8px 20px rgba(105,91,72,.12); }
.capability-item.is-open .capability-title { font-size: 19px; letter-spacing: normal; }
.capability-number { display: none; }
.capability-title { transition: none; }
.capability-description { position: static; display: grid; width: 100%; grid-template-rows: 0fr; opacity: 0; transform: none; pointer-events: none; transition: grid-template-rows .4s ease, opacity .28s ease; }
.capability-description > div { overflow: hidden; }
.capability-description p { max-width: 470px; margin: 0; padding: 0 24px 16px 26px; color: #625d56; font-size: 15px; line-height: 1.55; }
.capability-item.is-open .capability-description { grid-template-rows: 1fr; opacity: 1; transform: none; pointer-events: auto; }

.index { position: absolute; left: 42px; bottom: 35px; color: #777169; font-size: 9px; letter-spacing: .18em; }
.services { position: absolute; left: calc(50vw + 18px); right: 42px; bottom: 51.45px; display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: clamp(5px, calc(2.8vw - 14px), 28px); color: #686159; font-size: clamp(5.5px, .68vw, 10px); text-transform: uppercase; letter-spacing: .13em; }
.services span { white-space: nowrap; }
@media (min-width: 761px) {
  .code-viewport { clip-path: none; }
  .code-background { inset: 156px auto 96px 3vw; }
  .glass-panel { inset: 0; width: 100%; height: 100svh; clip-path: none; background: linear-gradient(to right, rgba(242,238,231,.9) 0%, rgba(237,232,224,.82) 46%, rgba(228,221,211,.38) 68%, rgba(224,217,207,0) 91%); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; overflow: hidden; }
  .glass-panel::before { background: rgba(239,234,226,.2); backdrop-filter: blur(20px) saturate(72%); -webkit-backdrop-filter: blur(20px) saturate(72%); -webkit-mask-image: linear-gradient(to right, #000 0%, #000 46%, rgba(0,0,0,.42) 69%, transparent 92%); mask-image: linear-gradient(to right, #000 0%, #000 46%, rgba(0,0,0,.42) 69%, transparent 92%); }
  .glass-panel::after { display: none; }
  body[data-route="home"] .panel-inner { width: 100%; }
body[data-route="home"] .eyebrow { position: relative; justify-content: flex-start; }
  body[data-route="home"] .est-label { position: absolute; left: 323.875px; white-space: nowrap; }
  body[data-route="home"] .home-title { position: absolute; top: 50%; left: 4.5vw; margin: 0; font-size: 31px; transform: translateY(-50%); }
  body[data-route="home"] .panel-footer { width: min(430px, 38vw); margin-top: auto; }
  body[data-route="home"] .panel-footer p { font-size: 13px; }
}

@media (max-width: 760px) {
  body { overflow: hidden; }
  .code-viewport { display: block; clip-path: none; opacity: .72; }
  .code-background { inset: 76px auto 0 -12vw; width: 400vw; grid-template-columns: repeat(4, 100vw); animation: code-drift-mobile 18s linear infinite; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
  .code-column { padding: 16px 5vw; font-size: 9px; line-height: 1.5; opacity: .5; }
  .header { height: 76px; padding: 0 20px; grid-template-columns: auto 1fr; gap: 24px; }
  .brand-mark { font-size: 9px; }
  .nav { display: flex; justify-self: end; gap: 18px; font-size: 8px; }
  .brand-label { display: none; }
  .availability { display: none; }
  .hero { min-height: 100svh; }
  .glass-panel { inset: 19.5svh 0 0; width: 100%; height: 80.5svh; min-height: 0; clip-path: none; background: linear-gradient(to bottom, rgba(248,245,239,0) 0%, rgba(245,241,234,.34) 14%, rgba(238,233,225,.7) 31%, rgba(224,217,207,.84) 100%); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .glass-panel::before { background: rgba(239,234,226,.2); backdrop-filter: blur(20px) saturate(72%); -webkit-backdrop-filter: blur(20px) saturate(72%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 10%, #000 30%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 10%, #000 30%); }
  .glass-panel::after { display: none; }
  .panel-inner { width: 100%; padding: 9.5svh 24px 25px; }
  .eyebrow { justify-content: space-between; gap: 12px; padding: 0; text-align: left; font-size: clamp(5px, 1.55vw, 7px); letter-spacing: clamp(.1em, .4vw, .17em); }
  .eyebrow > span:last-child { display: inline; text-align: right; }
  body[data-route="home"] .eyebrow { position: relative; justify-content: flex-start; }
  body[data-route="home"] .est-label { position: absolute; left: clamp(196px, calc(60.664vw - 15.71px), 262px); white-space: nowrap; }
  h1 { margin: auto 0; font-size: clamp(29px, 8.3vw, 38px); }
  .home-title { font-size: clamp(27px, 7.4vw, 31px); transform: translateY(-8.4svh); }
  .panel-footer { grid-template-columns: 1fr; gap: 18px; }
  .panel-footer p { max-width: 300px; font-size: 11px; line-height: 1.55; }
  .contact-methods { padding-left: 20px; gap: 12px; }
  .contact-method { font-size: 17px; }
  .capabilities-list { height: 304px; flex: 0 0 304px; margin: auto 0; border: 0; transform: none; }
  .capabilities-list::before { box-shadow: 0 0 10px rgba(147,135,119,.1); }
  .capabilities-list::after { display: none; }
  .capability-item { border: 0; }
  .capability-toggle { position: static; width: 100%; min-width: 0; padding: 10px 0 10px 12px; grid-template-columns: 1fr; font-size: 17px; white-space: normal; }
  .capability-toggle:hover, .capability-item.is-open .capability-toggle { transform: none; }
  .capabilities-list.has-open .capability-item:not(.is-open) .capability-toggle { opacity: 1; }
  .capability-title, .capability-item.is-open .capability-title { font-size: 17px; letter-spacing: normal; transition: none; }
  .capability-description { position: static; display: grid; width: 100%; min-height: 0; padding: 0; align-items: initial; border: 0; background: transparent; box-shadow: none; grid-template-rows: 0fr; opacity: 0; transform: none; transition: grid-template-rows .38s ease, opacity .28s ease; }
  .capability-description > div { overflow: hidden; }
  .capability-description p { max-width: none; padding: 0 18px 11px 18px; border-left: 0; font-size: 13px; line-height: 1.45; }
  .capability-item.is-open .capability-description { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .services { display: none; }
  .index { display: none; }
}

@media (min-width: 761px) and (max-height: 620px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .hero { min-height: 680px; }
  .glass-panel { height: 680px; min-height: 680px; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .eyebrow { font-size: 8px; letter-spacing: .15em; }
}

@keyframes code-drift-mobile {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  #scene { opacity: .75; }
  .code-background { animation: none; transform: translateX(-33.333vw); }
  .home-title::before, .title-char, .eyebrow-char, .contact-char, body[data-route="capabilities"] .capabilities-list::before, body[data-route="contacts"] .contact-methods::before { animation: none; }
  .title-char, .eyebrow-char, .contact-char { opacity: 1; filter: none; transform: none; }
  .capability-description { transition: none; }
}
