/* Envision: a scroll-led, progressively enhanced studio experience. */
:root {
  --background:#050807;
  --text:#f0f4f1;
  --surface-deep:#080e0b;
  --accent:#63dcae;
  --accent-light:#b2f6dc;
  --muted:#a0ada5;
  --line:rgba(222,241,230,.16);
  --cream:#f3eee3;
  --cream-raised:#fbf8f2;
  --ink:#13201a;
  --ink-muted:#58665d;
  --ink-line:rgba(19,32,26,.14);
  --forest:#1d6b4a;
  --pad:clamp(24px,5vw,88px);
  --display:'Space Grotesk',Arial,sans-serif;
  font-family:'DM Sans',Arial,sans-serif;
  color:var(--text);
  background:var(--background);
  font-synthesis:none;
  color-scheme:dark;
  scroll-behavior:smooth;
  scroll-padding-top:92px
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

::selection {
  background:var(--accent-light);
  color:var(--background)
}

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

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid currentColor;
  outline-offset:6px
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-family:var(--display);
  font-weight:500
}

h2 {
  font-size:clamp(38px,5vw,76px);
  line-height:1.04;
  letter-spacing:-.065em
}

p {
  line-height:1.7
}

em {
  font-family:Georgia,serif;
  font-weight:400
}

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

.skip-link {
  color:var(--background);
  position:fixed;
  top:10px;
  left:20px;
  z-index:100;
  padding:12px 20px;
  background:var(--accent-light);
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

/* Navigation */
.topbar {
  height:88px;
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:50;
  display:flex;
  align-items:center;
  gap:30px;
  padding:0 var(--pad);
  border-bottom:1px solid var(--line);
  background:var(--background)
}

.motion-ready .topbar {
  position:fixed
}

.topbar.is-scrolled {
  background:rgba(5,8,7,.95);
  backdrop-filter:none
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font:600 30px/1 var(--display);
  letter-spacing:-1.8px
}

.brand img {
  width:46px;
  height:24px;
  object-fit:contain
}

.brand-period {
  color:var(--accent)
}

.nav-caption {
  font-size:11px;
  max-width:115px;
  line-height:1.5;
  margin-left:24px
}

.topbar nav {
  display:flex;
  gap:30px;
  align-items:center;
  margin-left:auto;
  font-size:12px
}

.topbar nav a {
  position:relative;
  padding:10px 0
}

.topbar nav a::after {
  content:'';
  position:absolute;
  bottom:3px;
  left:0;
  width:100%;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s
}

.topbar nav a:hover::after,.topbar nav a[aria-current]::after {
  transform:scaleX(1)
}

.topbar nav .nav-contact {
  padding:12px 18px;
  border:1px solid var(--line);
  border-radius:3px;
  margin-left:12px
}

.nav-contact span {
  margin-left:20px
}

.menu-toggle {
  display:none
}

.reading-progress {
  position:absolute;
  bottom:-1px;
  left:0;
  right:0;
  height:2px;
  overflow:hidden
}

.reading-progress span {
  display:block;
  width:100%;
  height:100%;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  will-change:transform
}

/* The opening scene introduces the continuous scroll journey. */
.hero {
  position:relative
}

.hero-stage {
  height:max(800px,100svh);
  position:relative;
  overflow:hidden;
  padding:120px var(--pad) 30px;
  background:var(--background)
}

.motion-ready .hero {
  height:235svh
}

.motion-ready .hero-stage {
  height:100svh;
  min-height:690px;
  position:sticky;
  top:0
}

.hero-topline,.hero-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:.055em
}

.hero-topline>span:first-child {
  display:flex;
  align-items:center;
  gap:10px
}

.hero-topline>span:last-child {
  font-size:9px;
  letter-spacing:.12em
}

.status-dot {
  display:inline-block;
  flex-shrink:0;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(99,220,174,.12)
}

.hero-opening {
  position:relative;
  z-index:3;
  pointer-events:none
}

.hero-opening a {
  pointer-events:auto
}

.hero h1 {
  font-size:clamp(100px,12.3vw,196px);
  line-height:.91;
  letter-spacing:-.075em;
  padding-top:58px;
  position:relative;
  width:fit-content
}

.hero h1>span {
  color:var(--accent)
}

.hero h1 sup {
  font:400 24px/1 var(--display);
  vertical-align:top;
  display:inline-block;
  margin:16px 0 0 22px;
  letter-spacing:0
}

.hero-description {
  margin-top:32px;
  width:290px;
  position:relative
}

.hero-description p {
  font-size:13px;
  max-width:270px;
  line-height:1.7
}

.text-link {
  display:inline-flex;
  gap:26px;
  align-items:center;
  margin-top:22px;
  padding-bottom:6px;
  border-bottom:1px solid var(--text);
  font-size:11px
}

.text-link span {
  font-size:18px
}

.hero-bottom {
  position:absolute;
  z-index:5;
  left:var(--pad);
  right:var(--pad);
  bottom:28px;
  gap:20px
}

.hero-bottom>a {
  display:flex;
  align-items:center;
  gap:12px
}

.scroll-icon {
  height:32px;
  width:22px;
  border:1px solid var(--line);
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:13px
}

.hero-chapter {
  font-size:8px;
  letter-spacing:.12em
}

.hero-chapter b {
  font-weight:400;
  color:var(--accent)
}

.hero-bottom>span:last-child {
  font-size:10px
}

.hero-resolution {
  position:absolute;
  z-index:4;
  top:27%;
  left:var(--pad);
  right:var(--pad);
  opacity:0;
  transform:translateY(45px);
  pointer-events:none
}

.hero-resolution h2 {
  font-size:clamp(48px,6.8vw,105px);
  max-width:1000px;
  margin:28px 0
}

.hero-resolution h2 em {
  color:var(--accent)
}

.hero-resolution>p:last-child {
  font-size:15px
}

.eyebrow {
  font-size:10px;
  letter-spacing:.075em
}

/* Expertise and scroll reveals */
.section-pad {
  overflow-x:clip;
  padding:70px var(--pad) 95px
}

.section-label {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:18px;
  font-size:9px;
  letter-spacing:.12em
}

.section-heading {
  display:grid;
  grid-template-columns:1.7fr 1fr;
  align-items:end;
  gap:40px;
  margin:64px 0 54px
}

.section-heading h2 span {
  color:var(--accent)
}

.section-heading>p {
  font-size:13px;
  max-width:320px;
  margin-left:auto
}

.expertise {
  background:#0b110e
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  perspective:1400px;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line)
}

.service-card {
  padding:24px;
  background:#0b110e;
  min-width:0;
  transform-origin:center top;
  display:flex;
  flex-direction:column
}

.card-top {
  display:flex;
  justify-content:space-between;
  font-size:10px
}

.card-top>span:last-child {
  font-size:18px
}

.service-symbol {
  height:130px;
  position:relative;
  display:grid;
  place-items:center;
  color:var(--accent)
}

.service-symbol i {
  position:absolute;
  display:block;
  border:1px solid currentColor;
  width:48px;
  height:58px;
  transform:rotate(-25deg) skewY(10deg)
}

.service-symbol i:nth-child(1) {
  translate:-20px 9px
}

.service-symbol i:nth-child(3) {
  translate:20px -9px
}

.symbol-platform i {
  height:45px;
  width:66px;
  transform:rotate(-30deg) skewX(30deg);
  background:#0b110e
}

.symbol-platform i:nth-child(1) {
  translate:0 17px
}

.symbol-platform i:nth-child(3) {
  translate:0 -17px
}

.symbol-ai i {
  border-radius:50%;
  width:62px;
  height:62px;
  transform:none
}

.symbol-ai i:nth-child(1) {
  translate:-15px 8px
}

.symbol-ai i:nth-child(2) {
  translate:15px 8px
}

.symbol-ai i:nth-child(3) {
  translate:0 -17px
}

.symbol-motion i {
  width:65px;
  height:65px;
  border-radius:50%;
  transform:rotateY(50deg) rotateZ(-25deg)
}

.service-card h3 {
  font-size:19px;
  letter-spacing:-.04em;
  margin-bottom:14px
}

.service-card p {
  font-size:12px;
  color:#b0bdb5;
  line-height:1.8
}

.service-card ul {
  list-style:none;
  padding:22px 0 0;
  margin:auto 0 0;
  font-size:9px;
  line-height:2;
  color:#99b2a3
}

.service-card li::before {
  content:'↗';
  margin-right:8px
}

.unfold-card {
  --fold-angle:0deg;
  --fold-y:0px;
  --fold-opacity:1
}

.motion-ready .unfold-card {
  transform:perspective(1200px) translateY(var(--fold-y)) rotateX(var(--fold-angle));
  opacity:var(--fold-opacity);
  transform-origin:50% 0%
}

.motion-ready .reveal {
  opacity:0;
  transform:translateY(25px);
  transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)
}

.motion-ready .reveal.is-visible {
  opacity:1;
  transform:none
}

/* Approach */
.process {
  background:var(--surface-deep);
  color:var(--text);
  --line:rgba(239,238,232,.25);
  overflow:hidden
}

.process .section-label {
  color:#acbcb2
}

.process-intro {
  text-align:center;
  margin:90px auto 75px
}

.process-intro h2 {
  font-size:clamp(45px,6.2vw,96px);
  margin:30px 0
}

.process-intro h2 em {
  color:var(--accent-light)
}

.process-intro>p:last-child {
  max-width:435px;
  margin:auto;
  font-size:13px;
  color:#b0bfb6
}

.process-list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  perspective:1200px
}

.process-list li {
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
  padding:25px 25px 10px;
  display:flex;
  flex-direction:column
}

.process-list li:first-child {
  border-left:0;
  padding-left:0
}

.process-number {
  display:flex;
  justify-content:space-between;
  font-size:40px;
  font-family:var(--display);
  letter-spacing:-.07em;
  color:var(--accent-light)
}

.process-number>span {
  font-size:20px;
  align-self:center
}

.process-list h3 {
  font-size:19px;
  letter-spacing:-.04em;
  max-width:170px;
  line-height:1.2;
  margin:32px 0 16px
}

.process-list p {
  font-size:11px;
  color:#b0bfb6;
  margin-bottom:28px
}

.process-tag {
  margin-top:auto;
  font-size:8px;
  letter-spacing:.12em;
  color:var(--accent-light)
}

.process-outro {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:75px;
  padding-top:28px;
  font:500 clamp(36px,7.4vw,118px)/1 var(--display);
  letter-spacing:-.06em;
  color:#8da99a
}

.process-outro>span:last-child {
  color:var(--accent-light)
}

/* Contact and footer */
.contact {
  padding-bottom:25px
}

.contact-layout {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:10%;
  margin-top:80px
}

.contact-copy .eyebrow {
  display:flex;
  align-items:center;
  gap:10px
}

.contact-copy h2 {
  font-size:clamp(55px,6.5vw,100px);
  margin:35px 0 30px
}

.contact-copy h2 em {
  color:var(--accent)
}

.contact-copy>p:not(.eyebrow) {
  max-width:310px;
  font-size:13px;
  color:var(--muted)
}

.contact-email {
  display:inline-flex;
  align-items:center;
  gap:25px;
  font-size:13px;
  margin-top:35px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px
}

.contact-email>span {
  font-size:22px
}

.contact-form label {
  display:block;
  font-size:10px;
  margin-bottom:22px;
  line-height:1.6
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px
}

input,select,textarea {
  display:block;
  width:100%;
  min-width:0;
  padding:14px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid #526159;
  border-radius:0;
  color:var(--text);
  font-size:12px;
  outline-offset:3px
}

input::placeholder,textarea::placeholder {
  color:#9baba1;
  opacity:1
}

select {
  cursor:pointer
}

select option {
  background:var(--background)
}

textarea {
  resize:vertical;
  min-height:86px
}

.optional {
  color:var(--muted)
}

.submit-button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid var(--accent);
  background:var(--accent);
  color:var(--background);
  width:100%;
  padding:18px 22px;
  font-size:12px;
  transition:background .2s,color .2s
}

.submit-button:hover {
  background:var(--accent-light);
  color:var(--background)
}

.submit-button span {
  font-size:20px
}

.form-hint,.form-status {
  font-size:10px;
  color:var(--muted);
  margin-top:12px
}

.form-status:empty {
  display:none
}

.footer-wordmark {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font:500 clamp(80px,19.5vw,310px)/1 var(--display);
  letter-spacing:-.09em;
  padding:80px 0 35px
}

.footer-wordmark>span {
  font-size:.65em;
  font-weight:400;
  letter-spacing:0;
  transition:transform .4s
}

.footer-wordmark:hover>span {
  transform:translate(6px,-6px)
}

footer {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  font-size:9px
}

footer>span {
  color:var(--muted)
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:14px;
}

.footer-brand img {
  width:46px;
  height:24px;
  object-fit:contain;
}

/* Responsive layouts */
@media(min-width:1600px) {
  .hero-description {
    margin-top:45px;
    width:350px
  }
  .hero-description p {
    font-size:16px;
    max-width:330px
  }
  .hero-topline,.hero-bottom {
    font-size:12px
  }
.service-card {
    padding:32px
  }
  .service-card p,.process-list p {
    font-size:14px
  }
  .service-card h3 {
    font-size:24px
  }
}

@media(max-width:1050px) {
  .nav-caption {
    display:none
  }
  .topbar nav {
    gap:23px
  }
  .hero h1 {
    font-size:13vw
  }
.hero-description {
    max-width:240px
  }
  .hero-bottom>span:last-child {
    display:none
  }
  .service-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .service-card {
    padding:28px
  }
  .service-symbol {
    height:120px
  }
  .service-card p {
    max-width:300px
  }
  .service-card ul {
    padding-top:20px
  }
  .process-list li {
    padding:24px 18px
  }
  .process-list h3 {
    font-size:17px
  }
  .contact-layout {
    gap:6%
  }
  .contact-email {
    font-size:11px;
    gap:15px
  }
}

@media(max-width:760px) {
  :root {
    --pad:24px;
    scroll-padding-top:90px
  }
  .topbar {
    height:72px
  }
  .brand {
    font-size:27px
  }
  .brand img {
    width:42px;
    height:22px
  }
  .menu-toggle {
    display:block;
    margin-left:auto;
    background:none;
    border:1px solid var(--line);
    padding:10px 13px;
    color:var(--text);
    font-size:11px
  }
  .menu-toggle span {
    display:inline-block;
    margin-left:20px;
    font-size:16px;
    transition:transform .2s
  }
  .menu-toggle[aria-expanded=true] span {
    transform:rotate(45deg)
  }
  .topbar nav {
    display:none;
    position:absolute;
    top:71px;
    left:0;
    right:0;
    background:var(--background);
    padding:22px var(--pad);
    border-bottom:1px solid var(--line);
    box-shadow:0 15px 25px #00000066
  }
  .topbar nav.is-open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px
  }
  .topbar nav .nav-contact {
    margin:0;
    padding:14px
  }
  .topbar nav a {
    font-size:15px
  }
  .hero-stage {
    padding-top:101px;
    height:850px
  }
  .motion-ready .hero {
    height:210svh
  }
  .motion-ready .hero-stage {
    min-height:720px
  }
  .hero-topline {
    font-size:8px
  }
  .hero-topline>span:last-child {
    display:none
  }
  .hero h1 {
    padding-top:36px;
    font-size:clamp(76px,16vw,120px)
  }
  .hero h1 sup {
    font-size:17px;
    margin:10px 0 0 12px
  }
  .hero-description {
    margin-top:23px;
    width:210px;
    max-width:100%
  }
  .hero-description p {
    font-size:11px
  }
  .text-link {
    margin-top:15px;
    font-size:10px;
    gap:17px
  }

  .hero-bottom {
    bottom:21px;
    font-size:8px;
    gap:15px
  }
  .hero-chapter {
    font-size:6px;
    letter-spacing:.055em
  }

  .hero-resolution {
    top:26%
  }
  .hero-resolution h2 {
    font-size:clamp(37px,8.7vw,65px);
    margin:23px 0
  }
  .hero-resolution>p:last-child {
    font-size:12px
  }
  .section-pad {
    padding-top:42px;
    padding-bottom:55px
  }
  .section-label {
    font-size:7px;
    letter-spacing:.075em;
    gap:18px
  }
  .section-label>span:last-child {
    text-align:right
  }
  .section-heading {
    grid-template-columns:1fr;
    margin:40px 0 33px;
    gap:24px
  }
  .section-heading>p {
    font-size:12px;
    margin-left:0;
    max-width:350px
  }
  h2 {
    font-size:clamp(34px,7.2vw,52px)
  }
  .service-card {
    padding:20px 17px
  }
  .service-card h3 {
    font-size:17px
  }
  .service-card p {
    font-size:11px
  }
  .service-symbol {
    height:110px;
    scale:.85
  }
  .service-card ul {
    font-size:8px
  }
  .process-intro {
    margin:55px auto 45px
  }
  .process-intro h2 {
    font-size:clamp(37px,8vw,60px);
    margin:23px 0
  }
  .process-intro>p:last-child {
    font-size:12px
  }
  .process-list {
    grid-template-columns:1fr 1fr;
    row-gap:35px
  }
  .process-list li {
    padding:20px 18px 0
  }
  .process-list li:nth-child(odd) {
    padding-left:0;
    border-left:0
  }
  .process-number {
    font-size:36px
  }
  .process-list h3 {
    font-size:19px;
    margin-top:22px
  }
  .process-list p {
    font-size:11px
  }
  .process-outro {
    margin-top:45px;
    padding-top:23px;
    font-size:7.1vw
  }
  .contact-layout {
    grid-template-columns:1fr;
    gap:45px;
    margin-top:45px
  }
  .contact-copy h2 {
    font-size:17vw;
    margin:28px 0 23px
  }
  .contact-copy>p:not(.eyebrow) {
    font-size:12px
  }
  .contact-email {
    font-size:12px;
    margin-top:25px
  }
  .contact-form label {
    font-size:11px
  }
  .contact-form input,.contact-form select,.contact-form textarea {
    font-size:16px
  }
  .form-row {
    gap:20px
  }
  .footer-wordmark {
    padding:55px 0 28px;
    font-size:18.5vw
  }
  footer {
    flex-wrap:wrap;
    font-size:8px;
    row-gap:15px
  }
  footer>span:nth-child(2) {
    order:3;
    width:100%
  }
  footer>a:last-child {
    margin-left:auto
  }
}

@media(max-width:380px) {
  :root {
    --pad:18px
  }
  .hero h1 {
    font-size:20vw
  }
  .hero-description p {
    max-width:200px
  }
.hero-chapter {
    max-width:120px;
    line-height:1.6
  }
  .service-card {
    padding:17px 12px
  }
  .service-card h3 {
    font-size:15px
  }
  .service-card p {
    font-size:10px
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
}

@media(max-height:740px) and (min-width:761px) {
  .hero-stage {
    padding-top:112px
  }
  .motion-ready .hero-stage {
    min-height:620px
  }
  .hero h1 {
    padding-top:35px;
    font-size:min(11.5vw,145px)
  }
  .hero-description {
    margin-top:22px
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .motion-ready .hero {
    height:auto
  }
  .motion-ready .hero-stage {
    height:max(800px,100svh);
    position:relative
  }
  .hero-resolution {
    display:none
  }
  .motion-ready .reveal,.motion-ready .unfold-card {
    opacity:1;
    transform:none
  }
  .hero-opening {
    opacity:1;
    transform:none
  }
}

@media print {
.motion-ready .hero {
    height:auto
  }
  .motion-ready .hero-stage {
    height:auto;
    min-height:0;
    position:static;
    padding:30px
  }
  .hero-opening {
    opacity:1;
    transform:none
  }
  .hero-resolution {
    display:none
  }
  .section-pad {
    padding:30px
  }
  .motion-ready .reveal,.motion-ready .unfold-card {
    opacity:1;
    transform:none
  }
  .process {
    background:white;
    color:black
  }
  .process p,.process-tag,.process-number {
    color:black
  }
}

/* Navigation remains available if scripting is disabled. */
@media(max-width:760px) {
  html:not(.motion-ready) .topbar {
    position:relative;
    height:auto;
    min-height:72px;
    flex-wrap:wrap;
    padding-top:20px;
    padding-bottom:18px;
    gap:18px
  }
  html:not(.motion-ready) .menu-toggle {
    display:none
  }
  html:not(.motion-ready) .topbar nav {
    display:flex;
    position:static;
    flex-wrap:wrap;
    gap:10px 18px;
    width:100%;
    padding:0;
    border:0;
    box-shadow:none
  }
  html:not(.motion-ready) .topbar nav a {
    font-size:11px
  }
  html:not(.motion-ready) .topbar nav .nav-contact {
    padding:7px 10px
  }
  html:not(.motion-ready) .hero-stage {
    padding-top:30px
  }
}
