:root {
  color-scheme: dark;
  --night-rgb: 18 20 20;
  --night: rgb(var(--night-rgb));
  --white: #f8fcfc;
  --cyan: #4dd8e9;
  --mist: #e4f4f6;
  --porcelain: #f9fbfb;
  --teal: #00838f;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-family: var(--body);
  color: var(--white);
  background: var(--night);
}
* {box-sizing: border-box}
html {scroll-behavior: smooth}
body, p, h1, h2, h3 {margin: 0}
a {color: inherit; text-underline-offset: .24em}
a:focus-visible {outline: 3px solid #00838f; outline-offset: 4px}
.wrap {width: min(89%, 1420px); margin-inline: auto}
.skip:not(:focus) {position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%)}
.skip:focus {position: fixed; left: 12px; top: 12px; background: var(--white); color: var(--night); padding: 12px 16px; z-index: 10}
.mast, nav, .actions, .social, footer {display: flex; align-items: center}
.mast {min-height: 77px; justify-content: space-between; border-bottom: 1px solid #414444}
.brand {display: flex; align-items: center; width: 161px; height: 56px; overflow: hidden; position: relative; flex-shrink: 0}
.brand img {width: 100%; height: auto}
.brand::after {content: ''; position: absolute; inset: 0; pointer-events: none; background: url('wordmark.png') center / 100% auto no-repeat; filter: brightness(0) invert(1); clip-path: inset(0 0 0 31%)}
nav {gap: clamp(1rem, 3vw, 3.25rem)}
nav a, .actions a, .social a, footer a {min-height: 44px; display: inline-flex; align-items: center; text-decoration: none}
nav a {font-size: .98rem; color: #e0e4e2}
nav a:hover, .under:hover {color: var(--cyan)}
.nav-contact {padding: 0 1.5rem; border-radius: 30px; border: 1px solid #57727e; color: #bcf7fa}
.nav-contact:hover {border-color: var(--cyan)}
.hero, .contact {position: relative; isolation: isolate; overflow: hidden; background: var(--night)}
.hero::before, .contact::before {content: ''; position: absolute; z-index: -2; right: -2%; top: 0; height: 100%; width: 76%; background: linear-gradient(110deg, var(--teal), #3cbece 58%, var(--cyan)); mask-image: url('art/light-field.webp'),
    linear-gradient(to right, transparent 1%, rgb(0 0 0 / .12) 7%, rgb(0 0 0 / .88) 21%, black 28%, black 75%, rgb(0 0 0 / .88) 81%, rgb(0 0 0 / .12) 94%, transparent 99%),
    linear-gradient(to bottom, transparent 2%, rgb(0 0 0 / .12) 7%, rgb(0 0 0 / .88) 19%, black 25%, black 64%, rgb(0 0 0 / .88) 72%, rgb(0 0 0 / .12) 92%, transparent 98%);
  mask-size: cover, 100% 100%, 100% 100%; mask-position: center; mask-repeat: no-repeat;
  mask-mode: luminance, alpha, alpha; mask-composite: intersect, intersect}
.hero::after {content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--night) 14%, rgb(var(--night-rgb) / .95) 29%, rgb(var(--night-rgb) / .30) 51%, transparent 70%)}
.hero-frame {position: relative; z-index: 1; padding-block: clamp(60px, 6vw, 100px) clamp(60px, 7vw, 110px)}
.label {display: flex; align-items: center; gap: .72rem; font: 500 .875rem/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase}
.slash {font-size: 0; display: inline-flex; width: 30px; height: 2px; background: currentColor}
.hero .label {color: var(--cyan)}
h1, h2, h3 {font-family: var(--display); font-weight: 550}
h1 {margin-top: 20px; font-family: var(--body); font-weight: 530; font-size: clamp(3.9rem, 6.8vw, 7rem); letter-spacing: -.06em; line-height: .98}
h1 em, .contact h2 em {font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.085em}
h1 em {color: var(--cyan); letter-spacing: -.055em; padding-right: .05em}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  h1 em {
    background-image: linear-gradient(105deg, #b6f7ee 5%, #68dbe7 55%, #a9abff 98%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.hero-summary {max-width: min(100%, 530px); margin-top: clamp(24px, 2.4vw, 38px)}
.intro {font-size: clamp(1.17rem, 1.56vw, 1.63rem); line-height: 1.38; letter-spacing: -.025em; text-wrap: balance}
.direction {max-width: 46ch; margin-top: 12px; color: #e3e9e9; font-size: 1.03rem; line-height: 1.58}
.actions {flex-wrap: wrap; gap: .7rem 1.65rem; margin-top: 26px}
.primary {padding: .78rem 1.25rem; background: var(--cyan); color: #132a2d; border-radius: 30px; font-weight: 650}
.primary:hover {background: #bcfbfa}
.under {text-decoration: underline !important; text-decoration-color: #779397 !important}
h2 {font-size: clamp(2.85rem, 4.8vw, 5.1rem); line-height: .99; letter-spacing: -.067em; text-wrap: balance; margin-top: 18px}
h3 {font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.18; letter-spacing: -.045em; text-wrap: balance}
.focus {color-scheme: light; --focus-rule: #b5d2d5; background: var(--mist); color: #173337; padding-block: clamp(48px, 5.5vw, 82px)}
.focus > .wrap {width: min(90%, 1440px)}
.focus .label {gap: .65em; color: #005c66}
.focus .slash {font-size: inherit; font-weight: 750; width: auto; height: auto; background: none}
.focus .section-heading {display: grid; grid-template-columns: 1fr 2fr; align-items: baseline; column-gap: 2rem; margin-bottom: 36px}
.focus h2, .focus h3 {font-family: var(--body); font-weight: 530}
.focus h2 {font-size: clamp(2.6rem, 4.5vw, 4.8rem); line-height: 1.02; letter-spacing: -.07em; margin: 0}
.focus-grid {display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--focus-rule)}
.focus-grid article {padding: clamp(20px, 2.4vw, 37px) clamp(20px, 2.4vw, 37px) 0 0}
.focus-grid article + article {border-left: 1px solid var(--focus-rule); padding-left: clamp(20px, 2.4vw, 37px)}
.trace {display: block; width: 100%; max-width: 300px; height: auto; margin: 0 0 20px}
.focus-grid .trace {filter: hue-rotate(9deg) saturate(1.5) brightness(.47)}
.focus-grid article:nth-child(2) .trace {filter: hue-rotate(9deg) saturate(1.35) brightness(.51)}
.focus-grid article:nth-child(3) .trace {filter: hue-rotate(10deg) saturate(1.1) brightness(.51)}
.focus h3 {font-size: clamp(1.55rem, 2.1vw, 2.3rem); letter-spacing: -.05em; line-height: 1.13; margin-bottom: 12px}
.focus-grid p {max-width: 36ch; color: #3f595c; font-size: 1.02rem; line-height: 1.62}
@media(max-width: 800px) {
  .focus-grid article {padding-right: 17px}
  .focus-grid article + article {padding-left: 17px}
}
@media(max-width: 680px) {
  .focus > .wrap {width: calc(100% - 40px)}
  .focus .section-heading {grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px}
  .focus-grid {grid-template-columns: 1fr}
  .focus-grid article, .focus-grid article + article {display: grid; grid-template-columns: minmax(60px,.29fr) 1fr; gap: 0 16px; padding: 21px 0; border: 0; border-bottom: 1px solid var(--focus-rule)}
  .trace {align-self: start; grid-row: span 2; margin-top: 5px; height: 50px; object-fit: cover}
  .focus h3 {margin-bottom: 8px}
}
@media(max-width: 360px) {.focus > .wrap {width: calc(100% - 28px)}}
.work {background: var(--porcelain); color: #203437; color-scheme: light; padding-block: clamp(58px, 6.6vw, 105px)}
.work .label {color: #005c66}
.work-title {display: flex; justify-content: space-between; align-items: baseline; gap: 28px; margin-bottom: 31px}
.work-title h2 {margin: 0}
.cases {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px}
.cases article {position: relative; overflow: hidden; min-height: 195px; padding: clamp(22px, 2.7vw, 42px); display: flex; flex-direction: column; justify-content: end; border: 1px solid #ccdbdc; border-radius: 14px; background: #ffffff}
.cases article:nth-child(2), .cases article:nth-child(3) {background: #edf7f8; border-color: #ccdbdc}
.cases article::before {content: ''; width: 34px; height: 5px; margin-bottom: 24px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--cyan))}
.cases article:nth-child(2)::before, .cases article:nth-child(3)::before {background: linear-gradient(90deg, var(--teal), var(--cyan))}
.cases p {max-width: 51ch; margin-top: 10px; line-height: 1.62; font-size: 1.03rem; color: #3f5355}
.contact {color: var(--white)}
.contact::before {right: -12%; width: 80%; opacity: .27; transform: scaleY(-1)}
.contact-inner {display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8%; padding-block: clamp(52px, 6vw, 96px)}
.contact .label {color: var(--cyan)}
.contact h2 {font-size: clamp(3.2rem, 5.6vw, 6.2rem); margin-top: 22px}
.contact em {color: var(--cyan)}
.reach p {color: #e0eeea; max-width: 42ch; line-height: 1.58; font-size: 1.1rem}
.email {display: inline-block; margin: .6rem 0 .2rem; font-size: clamp(1.25rem, 2.5vw, 2.35rem); letter-spacing: -.04em; text-decoration-thickness: 1px; overflow-wrap: anywhere}
.social a, footer a {text-decoration: underline}
footer {background: var(--night); border-top: 1px solid #414444; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding-block: 12px; min-height: 70px; font-size: .94rem; color: #cbd2ce}
@media(max-width: 880px) {
  .hero::before {width: 80%; right: -10%}
}
@media(max-width: 700px) {
  .wrap {width: calc(100% - 40px)}
  .mast {min-height: 66px}
  .brand {width: 122px; height: 49px}
  nav {gap: 13px}
  nav a {font-size: .9rem}
  .nav-contact {padding-inline: .82rem}
  .hero-frame {padding-block: 44px 40px}
  h1 {font-size: clamp(3.6rem, 12vw, 5.1rem); margin-top: 16px}
  .hero::before {height: 72%; width: 114%; right: -23%; top: -6%; mask-position: 48% 55%, center, center}
  .hero::after {background: linear-gradient(90deg, var(--night) 3%, rgb(var(--night-rgb) / .86) 44%, rgb(var(--night-rgb) / .09) 91%)}
  .hero-summary {max-width: 43ch}
  .actions {margin-top: 20px}
  .contact-inner {grid-template-columns: 1fr; gap: 30px}
  .work-title {display: block; margin-bottom: 24px}
  .work-title h2 {margin-top: 15px}
  .cases {grid-template-columns: 1fr; gap: 10px}
  .cases article {min-height: auto; padding: 22px}
  .cases article::before {margin-bottom: 16px}
}
@media(max-width: 380px) {
  .wrap {width: calc(100% - 28px)}
  .brand {width: 98px}
  nav {gap: 9px}
  nav a {font-size: .875rem}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior: auto}}
@media(forced-colors:active) {h1 em {background: none; color: CanvasText; -webkit-text-fill-color: currentColor}}
