/* Art direction: the diagonals of JM become a spatial signature. */
:root {
  --bg: #090b0e;
  --line: #24282e;
  --muted: #a0a4ad;
}

body::before {
  opacity: .023;
}

.header {
  height: 98px;
  border-bottom: 0;
}

.brand img {
  width: 175px;
}

.desktop-nav span {
  display: none;
}

.desktop-nav {
  gap: 34px;
}

.header-contact {
  gap: 24px;
}

.hero {
  min-height: min(820px, calc(100svh - 98px));
  padding-top: 22px;
  display: flex;
  flex-direction: column;
}

.hero-top {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-top .eyebrow {
  font-size: 10px;
  letter-spacing: .11em;
  font-weight: 400;
  color: #bfc3cc;
}

.hero-top .eyebrow span {
  color: var(--blue);
  margin-inline: 16px;
}

.hero-edition {
  font-size: 9px;
  letter-spacing: .12em;
}

.hero-content {
  grid-template-columns: 1.1fr 1fr;
  min-height: 530px;
  flex: 1;
}

.hero-copy {
  padding: 45px 0 65px;
  pointer-events: none;
}

.hero-copy a {
  pointer-events: auto;
}

.hero h1 {
  font-size: clamp(64px, 7.8vw, 124px);
  line-height: 1.02;
  font-weight: 450;
  letter-spacing: -.075em;
}

.hero h1 em {
  font-size: 1.16em;
  letter-spacing: -.065em;
  font-weight: 400;
}

.hero h1 {
  pointer-events: auto;
}

.kinetic-letter {
  display: inline-block;
}

.hero-copy>p {
  font-size: 13px;
  margin-top: 30px;
  letter-spacing: .01em;
}

.hero-project-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  margin-top: 32px;
}

.hero-project-link>span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #697483;
  border-radius: 50%;
  font-size: 21px;
  transition: background .25s, color .25s;
}

.hero-project-link:hover>span {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
}

.hero-art {
  position: absolute;
  width: 58%;
  height: 115%;
  right: -4%;
  top: -6%;
  perspective: 1000px;
}

.hero-art::before {
  inset: 10% -10%;
  background: radial-gradient(ellipse, #16467e26, transparent 65%);
}

.hero-art::after {
  display: none;
}

.signature-field {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: .8;
  pointer-events: none;
}

.art-grid {
  inset: 10% 8%;
  background-size: 70px 70px;
  opacity: .5;
  mask-image: radial-gradient(ellipse, #000 5%, transparent 67%);
}

.sculpture-float {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.brand-sculpture {
  width: 75%;
  left: 16%;
  top: 35%;
  height: auto;
  aspect-ratio: 727 / 392;
  transform: rotateX(20deg) rotateY(-27deg) rotateZ(-20deg);
  filter: none;
}

.brand-sculpture img {
  width: 100%;
  height: 100%;
  max-width: none;
  backface-visibility: visible;
}

.sculpture-slice {
  transform: translateZ(calc(var(--slice) * 2px));
  filter: brightness(calc(.24 + var(--slice) * .025));
}

.sculpture-face {
  transform: translateZ(34px);
  filter: drop-shadow(-1px -1px 0 #d5ecff) drop-shadow(1px 2px 1px #032659);
}

.coordinate-bottom {
  bottom: 16%;
  right: 13%;
  font-size: 8px;
  letter-spacing: .15em;
  color: #95a4bb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.coordinate-bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px #3793ff80;
}

.art-plus {
  color: #708297;
  font-size: 17px;
}

.plus-one {
  top: 23%;
  right: 14%;
}

.plus-two {
  bottom: 25%;
  left: 11%;
}

.hero-bottom {
  position: relative;
  z-index: 3;
  padding: 22px 0 25px;
  margin-top: auto;
}

.hero-bottom .motion-controls button {
  border: 0;
  font-size: 10px;
}

.scroll-icon {
  position: relative;
  color: #9ba6b4;
  border: 1px solid currentColor;
  border-radius: 12px;
  width: 19px;
  height: 29px;
  flex: none;
}

.scroll-wheel { position: absolute; top: 6px; left: 50%; margin-left: -1px; width: 2px; height: 5px; border-radius: 2px; background: currentColor; }
.scroll-touch { display: none; }
@media (pointer: coarse) {
  .scroll-desktop { display: none; }
  .scroll-touch { display: inline; }
}

.scroll-link {
  font-size: 9px;
  gap: 12px;
  min-height: 44px;
  text-transform: uppercase;
}

.social-inline {
  font-size: 11px;
  gap: 24px;
}

.section-thread {
  height: 100px;
  width: 1px;
  position: absolute;
  bottom: -101px;
  left: 50%;
  background: #263341;
  transform-origin: top;
}

.section-thread i {
  display: block;
  width: 3px;
  height: 26px;
  position: absolute;
  top: 0;
  left: -1px;
  background: var(--blue);
  box-shadow: 0 0 15px #3793ff70;
}

.projects {
  padding-top: 145px;
}

.section-heading {
  align-items: end;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(44px, 5.1vw, 76px);
}

.section-heading>p {
  max-width: 250px;
  padding-bottom: 3px;
}

.section-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
}

.project-grid {
  gap: 65px 34px;
}

.project-visual {
  border-radius: 2px;
}

.tech-visual {
  background: #101a2a;
  height: 510px;
}

.tech-cover-copy strong {
  font-weight: 450;
}

.cover-pill {
  display: none;
}

.case-card {
  grid-template-columns: 1.35fr 1fr;
  gap: 7%;
  padding-top: 15px;
}

.case-card:nth-child(3) {
  grid-template-columns: 1fr 1.35fr;
}

.case-card:nth-child(3) .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.case-card:nth-child(3) .project-info {
  grid-column: 1;
  grid-row: 1;
}

.case-card .project-title {
  display: block;
}

.case-card .project-number {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
}

.case-card .project-title h3 {
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.15;
  max-width: 13ch;
}

.case-card .project-info p {
  line-height: 1.7;
  max-width: 34ch;
}

.case-card .case-context {
  border: 0;
  padding: 0;
  font-size: 12px;
  color: #cad4df;
  margin-top: 21px;
}

.case-card .tags {
  display: none;
}

.case-card .project-detail {
  margin-top: 26px;
}

.case-visual {
  height: 385px;
  background: radial-gradient(ellipse at 50% 35%, #173a5d, #0e1926 70%);
}

.kiosk-visual {
  background: radial-gradient(ellipse at 50% 35%, #25464a, #101d22 70%);
}

.systems-visual {
  background: radial-gradient(ellipse at 50% 35%, #333452, #171923 70%);
}

.case-diagram {
  transform-style: preserve-3d;
  perspective: 700px;
  inset: 75px 24px;
  gap: 12px;
}

.diagram-core {
  position: relative;
  padding: 18px 32px;
  background: linear-gradient(140deg, #264a6c, #10263d);
  box-shadow: 0 8px 0 #08121d, 0 9px 0 #4c7c9e60, 0 23px 28px #0005;
  transform: rotateX(18deg) rotateZ(-5deg);
}

.kiosk-visual .diagram-core {
  background: linear-gradient(140deg, #315257, #1b3438);
  box-shadow: 0 8px 0 #10272b, 0 9px 0 #4c9e9160, 0 23px 28px #0005;
}

.systems-visual .diagram-core {
  background: linear-gradient(140deg, #444362, #28273b);
  box-shadow: 0 8px 0 #171624, 0 9px 0 #8781b860, 0 23px 28px #0005;
}

.diagram-connector {
  position: relative;
  color: transparent !important;
  height: 19px;
}

.diagram-connector::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 1px;
  left: 50%;
  top: 0;
  background: #8ac4ff45;
}

.diagram-connector::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 5px;
  top: 0;
  left: calc(50% - 1px);
  background: #a1d0ff;
  box-shadow: 0 0 9px #75baff;
}

.motion-active .is-in-view .diagram-connector::after {
  animation: signal-flow 2.4s ease-in-out infinite;
}

.motion-active .is-in-view .diagram-connector:nth-of-type(4)::after {
  animation-delay: 1.2s;
}

@keyframes signal-flow {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

.diagram-fleet>span {
  background: #183239;
  box-shadow: 0 4px 0 #091b21;
}

.projects-footer {
  padding-block: 8px 32px;
  margin-top: 65px;
}

.motion-story {
  margin-bottom: 120px;
  background: #0c1119;
}

.has-scroll-story {
  height: 210svh;
}

.story-stage {
  background: #0c1119;
}

.story-top {
  padding-top: 12px;
  font-size: 9px;
  color: #9cabbc;
}

.story-word {
  font-weight: 500;
  letter-spacing: -.07em;
  font-size: clamp(70px, 14vw, 210px);
}

.story-word:nth-child(2) {
  color: var(--text);
}

.motion-active .story-stage.is-scroll-story .story-words {
  height: clamp(90px, 17vw, 240px);
}

.motion-active .is-scroll-story .story-word {
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-object {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 350px;
  transform: translate(-50%, -50%) rotate(-32deg);
  perspective: 900px;
  z-index: -1;
  opacity: .65;
}

.story-object i {
  position: absolute;
  left: calc(var(--blade, 0) * 92px - 50px);
  width: 80px;
  height: 100%;
  border: 1px solid #89c8ff80;
  border-radius: 60px;
  background: linear-gradient(100deg, #12477345, #217fe060 45%, #76c4ffb3 49%, #113e6f40 54%);
  transform: rotateY(45deg);
  box-shadow: 10px 8px 0 #061327, 11px 8px 0 #3793ff50;
}

.story-object i:nth-child(2) {
  --blade: 1;
}

.story-object i:nth-child(3) {
  --blade: 2;
}

.story-orbit {
  border-color: #7299d214;
  box-shadow: none;
}

.about-intro {
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: center;
}

.portrait-frame {
  position: relative;
  margin: 0;
}

.portrait-image {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #bec1bd;
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(1);
  transform: scale(1.06);
}

.portrait-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  letter-spacing: .12em;
  color: #a4a9b1;
  padding-top: 17px;
}

.portrait-mark {
  position: absolute;
  bottom: 34px;
  left: 24px;
  color: #f4f2e9;
  font-size: 90px;
  line-height: 1;
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: -.08em;
}

.about-personal h2 {
  font-size: clamp(65px, 7.5vw, 105px);
}

.about-personal .section-label {
  margin-bottom: 35px;
}

.about-copy {
  padding-top: 33px;
}

.about-copy>p {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -.03em;
}

.about-copy>p+p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 36ch;
  margin-top: 24px;
}

.about-intro .text-link {
  margin-top: 25px;
}

.ai-focus {
  margin-top: 85px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 38px 0;
}

.motion-active .ai-focus {
  background: transparent;
}

.ai-focus h3 {
  font-size: 32px;
}

.ai-focus-copy>p {
  font-size: 14px;
  max-width: 42ch;
}

.ai-principles span {
  font-size: 9px;
}

.ai-asterisk {
  left: 40%;
  font-size: 130px;
}

.expertise-layout {
  border-top: 0;
  padding-top: 0;
}

.expertise-label>p {
  font-size: 13px;
}

.code-symbol {
  color: #244164;
  font-size: 65px;
}

.expertise-item h3 {
  font-size: 23px;
}

.expertise-item summary {
  padding-block: 24px;
}

.contact {
  padding-top: 110px;
  padding-bottom: 95px;
}

.contact h2 {
  font-size: clamp(55px, 8vw, 120px);
}

.contact-orb {
  background: transparent;
  border: 1px solid #536a84;
  color: var(--blue);
  width: 125px;
  height: 125px;
}

.contact-orb:hover {
  color: var(--bg);
  background: var(--blue);
}

.contact-bottom p {
  font-size: 13px;
}

.cursor-halo {
  width: 20px;
  height: 20px;
  opacity: .45;
}

.cursor-halo.is-hover {
  width: 42px;
  height: 42px;
}

@media(min-width:1600px) {
  .hero-content {
    min-height: 600px;
  }

  .hero-art {
    height: 110%;
  }
}

@media(max-width:1000px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    min-height: 510px;
  }

  .hero h1 {
    font-size: 8.5vw;
  }

  .hero-art {
    right: -4%;
    width: 58%;
  }

  .case-card {
    gap: 5%;
  }

  .case-visual {
    height: 340px;
  }

  .about-intro {
    gap: 8%;
  }

  .about-personal h2 {
    font-size: 65px;
  }

  .about-copy>p {
    font-size: 19px;
  }
}

@media(max-width:700px) {
  .header {
    height: 80px;
  }

  .brand img {
    width: 155px;
  }

  .hero {
    min-height: 750px;
    padding-top: 0;
  }

  .hero-top {
    display: block;
    padding-top: 20px;
  }

  .hero-top .eyebrow {
    font-size: 8px;
    letter-spacing: .06em;
  }

  .hero-top .eyebrow span {
    margin-inline: 8px;
  }

  .hero-content {
    display: block;
    min-height: 615px;
  }

  .hero-copy {
    padding: 48px 0 0;
  }

  .hero h1 {
    font-size: clamp(53px, 12vw, 82px);
    line-height: 1;
  }

  .hero-copy>p {
    font-size: 12px;
    margin-top: 25px;
  }

  .hero-project-link {
    margin-top: 22px;
    font-size: 11px;
    gap: 22px;
  }

  .hero-project-link>span {
    width: 36px;
    height: 36px;
  }

  .hero-art {
    width: 100%;
    height: 370px;
    top: 245px;
    right: -3%;
    max-width: none;
    overflow: visible;
    margin: 0;
  }

  .brand-sculpture {
    width: 67%;
    left: 19%;
    top: 34%;
  }

  .coordinate-bottom {
    bottom: 9%;
    right: 10%;
    font-size: 7px;
  }

  .plus-one {
    top: 23%;
  }

  .plus-two {
    bottom: 20%;
  }

  .hero-bottom {
    flex-wrap: wrap;
    padding: 15px 0 17px;
    gap: 8px 12px;
  }

  .hero-bottom .motion-controls {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 18px;
  }

  .hero-bottom .motion-controls button {
    font-size: 9px;
    padding-block: 5px;
  }

  .social-inline {
    font-size: 10px;
    gap: 19px;
  }

  .scroll-link {
    font-size: 8px;
  }

  .section-thread {
    height: 58px;
    bottom: -59px;
  }

  .projects {
    padding-top: 100px;
  }

  .section-heading h2 {
    font-size: 46px;
  }

  .section-heading>p {
    font-size: 12px;
    margin-top: 20px;
  }

  .project-grid {
    gap: 45px;
  }

  .tech-visual {
    height: 380px;
  }

  .case-card,
  .case-card:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
  }

  .case-visual {
    height: 330px;
  }

  .case-card .project-number {
    margin-bottom: 10px;
  }

  .case-card .project-title h3 {
    font-size: 27px;
    max-width: none;
  }

  .case-card .project-info p {
    font-size: 13px;
  }

  .case-card .case-context {
    font-size: 12px;
    margin-top: 13px;
  }

  .case-card .project-detail {
    margin-top: 16px;
  }

  .motion-story {
    margin-bottom: 70px;
  }

  .story-stage:not(.is-scroll-story) {
    min-height: 620px;
  }

  .story-object {
    width: 160px;
    height: 250px;
    opacity: .45;
  }

  .story-object i {
    width: 52px;
    left: calc(var(--blade, 0) * 62px - 30px);
  }

  .story-word {
    font-size: 16vw;
  }

  .about-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }

  .portrait-frame {
    width: 100%;
    max-width: 480px;
  }

  .portrait-image {
    aspect-ratio: 5/6;
  }

  .portrait-mark {
    font-size: 75px;
  }

  .about-personal h2 {
    font-size: 72px;
  }

  .about-personal .section-label {
    margin-bottom: 25px;
  }

  .about-copy {
    padding-top: 24px;
  }

  .about-copy>p+p {
    max-width: 42ch;
  }

  .ai-focus {
    margin-top: 48px;
    padding: 30px 0;
  }

  .ai-focus h3 {
    font-size: 29px;
  }

  .expertise-layout {
    margin-top: 40px;
  }

  .expertise-item h3 {
    font-size: 20px;
  }

  .contact {
    padding-block: 65px;
  }

  .contact h2 {
    font-size: clamp(42px, 10vw, 65px);
  }

  .contact-orb {
    width: 58px;
    height: 58px;
    font-size: 32px;
  }

  .contact-heading {
    gap: 15px;
  }

  .footer {
    gap: 20px;
  }
}

@media(max-width:360px) {
  .hero-top .eyebrow {
    font-size: 7px;
  }

  .hero h1 {
    font-size: 12vw;
  }

  .hero-copy>p {
    font-size: 11px;
  }

  .about-personal h2 {
    font-size: 62px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .contact h2 {
    font-size: 10vw;
  }
}

.motion-reduced .portrait-image img {
  transform: none;
}

.motion-reduced .section-thread i {
  top: 40%;
}

@media print {

  .hero-art,
  .story-stage,
  .cursor-halo,
  .motion-controls {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
  }
}

/* Navigation as a quiet floating frame, with the brand's blue as its accent. */
.header {
  position: sticky;
  top: 18px;
  z-index: 40;
  width: calc(100% - 80px);
  max-width: 1220px;
  height: 76px;
  margin: 22px auto 18px;
  padding: 0 10px 0 25px;
  gap: 24px;
  border: 1px solid #ffffff17;
  border-radius: 18px;
  background: linear-gradient(115deg, #151a20ed, #0e1218ed);
  box-shadow: inset 0 1px 0 #ffffff06, 0 12px 36px #0003;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: max-width .45s ease, box-shadow .3s, border-color .3s;
}

.header::before {
  content: '';
  position: absolute;
  width: 42px;
  height: 1px;
  top: -1px;
  left: 29px;
  background: linear-gradient(90deg, transparent, #70b5ff, transparent);
}

.header.is-scrolled {
  max-width: 1080px;
  border-color: #ffffff24;
  box-shadow: 0 10px 40px #0006;
}

.header .brand {
  flex-shrink: 0;
  padding: 12px 0;
}

.header .brand img {
  width: 168px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  position: relative;
  gap: 3px;
  padding: 5px;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 1;
  transition: color .25s;
}

.desktop-nav a::after {
  display: none;
}

.desktop-nav .nav-index {
  display: inline;
  color: #778799;
  font: 9px monospace;
  margin: 0;
  vertical-align: baseline;
}

.desktop-nav .nav-label {
  display: inline;
  color: #c2c8d0;
  font: inherit;
  margin: 0;
  vertical-align: baseline;
  transition: color .25s;
}

.desktop-nav a:hover .nav-label,
.desktop-nav a:focus-visible .nav-label,
.desktop-nav a.active .nav-label {
  color: #fff;
}

.desktop-nav a.active .nav-index {
  color: var(--blue);
}

.desktop-nav .nav-indicator {
  display: block;
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--nav-width, 0px);
  transform: translateX(var(--nav-x, 0px));
  opacity: var(--nav-visible, 0);
  background: #27384966;
  border: 1px solid #6a9bce26;
  border-radius: 9px;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s, opacity .2s;
}

.header-contact {
  min-height: 52px;
  padding-left: 23px;
  border-left: 1px solid #ffffff12;
  gap: 18px;
  font-size: 11px;
  white-space: nowrap;
}

.header-contact>span {
  display: grid;
  place-items: center;
  background: #3793ff15;
  border: 1px solid #3793ff30;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  color: #8bc0ff;
  font-size: 22px;
  transition: background .25s, color .25s, transform .25s;
}

.header-contact:hover>span {
  color: #09111b;
  background: var(--blue);
  transform: rotate(8deg);
}

.hero {
  min-height: min(810px, calc(100svh - 116px));
  padding-top: 10px;
  scroll-margin-top: 112px;
}

.hero-top {
  border: 0;
  padding-top: 20px;
}

.hero-top .eyebrow {
  font-size: 9px;
  letter-spacing: .09em;
}

.hero-edition {
  color: #8e9bab;
  font-size: 8px;
}

.hero-content {
  grid-template-columns: 1.4fr 1fr;
}

.hero h1 {
  font-size: clamp(55px, 6.35vw, 100px);
  letter-spacing: -.065em;
  line-height: 1.09;
}

.hero h1 em {
  font-size: 1.1em;
  letter-spacing: -.067em;
}

.hero-copy>p {
  font-size: 14px;
  max-width: 390px;
  line-height: 1.85;
  margin-top: 26px;
  color: #aeb5bf;
}

.hero-art {
  width: 49%;
  right: -4%;
}

.hero-project-link {
  margin-top: 28px;
}

html {
  scroll-padding-top: 120px;
}

@media (min-width:701px) and (max-width:1000px) {
  .header {
    width: calc(100% - 40px);
    padding-left: 18px;
    gap: 12px;
  }

  .header .brand img {
    width: 138px;
  }

  .desktop-nav a {
    padding-inline: 10px;
    gap: 6px;
    font-size: 11px;
  }

  .header-contact {
    padding-left: 14px;
    gap: 10px;
    font-size: 10px;
  }

  .header-contact>span {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 6.5vw;
  }

  .hero-copy>p {
    font-size: 13px;
    max-width: 330px;
  }

  .hero-art {
    width: 49%;
    right: -4%;
  }
}

@media(max-width:700px) {
  .header {
    width: calc(100% - 28px);
    height: 66px;
    top: 12px;
    margin: 14px auto 20px;
    padding: 0 15px;
    border-radius: 15px;
  }

  .header .brand img {
    width: 145px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 0 13px 12px;
    min-height: 44px;
  }

  .menu-toggle>span {
    width: auto;
    height: auto;
    background: none;
    transform: none !important;
  }

  .menu-toggle .menu-label {
    font-size: 11px;
    color: #bdc8d6;
  }

  .menu-toggle .menu-lines {
    display: grid;
    gap: 5px;
    width: 18px;
  }

  .menu-lines i {
    width: 18px;
    height: 1px;
    background: #9ecbff;
    transition: transform .25s;
  }

  .menu-toggle[aria-expanded=true] .menu-lines i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded=true] .menu-lines i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-nav {
    top: calc(100% + 9px);
    left: -1px;
    right: -1px;
    padding: 14px 23px;
    border: 1px solid #ffffff21;
    background: #11171ffb;
    border-radius: 15px;
    gap: 0;
    box-shadow: 0 18px 35px #0008;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #ffffff12;
    font-size: 23px;
    letter-spacing: -.04em;
  }

  .mobile-nav a>span {
    font: 10px monospace;
    color: #7197c2;
    letter-spacing: 0;
  }

  .mobile-nav a>i {
    font-size: 20px;
    font-style: normal;
    color: #7a9fc9;
    margin-left: auto;
  }

  .mobile-nav .mobile-contact {
    border: 0;
    font-size: 13px;
    letter-spacing: 0;
    color: #b5d7ff;
  }

  .hero {
    min-height: 790px;
    padding-top: 0;
    scroll-margin-top: 98px;
  }

  .hero-top {
    padding-top: 8px;
  }

  .hero-top .eyebrow {
    font-size: 7px;
    letter-spacing: .03em;
  }

  .hero-top .eyebrow span {
    margin-inline: 6px;
  }

  .hero-content {
    min-height: 675px;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(35px, 10.3vw, 70px);
    line-height: 1.1;
    letter-spacing: -.065em;
  }

  .hero h1 em {
    font-size: 1.1em;
  }

  .hero-copy>p {
    max-width: 330px;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 25px;
  }

  .hero-project-link {
    margin-top: 22px;
  }

  .hero-art {
    width: 100%;
    height: 350px;
    top: 310px;
    right: -3%;
  }

  html {
    scroll-padding-top: 98px;
  }
}

@media(max-width:360px) {
  .header .brand img {
    width: 131px;
  }

  .menu-toggle {
    gap: 8px;
  }

  .hero h1 {
    font-size: 10.3vw;
  }

  .hero-copy>p {
    font-size: 12px;
  }

  .hero-top .eyebrow {
    font-size: 6.2px;
  }
}

/* Permanent glass capsule. The fixed slot never moves the page underneath. */
.header-shell {
  position: sticky;
  top: 18px;
  z-index: 40;
  height: 76px;
  margin: 22px 0 18px;
  pointer-events: none;
}

.header-shell .header {
  position: relative;
  top: 0;
  margin: 0 auto;
  pointer-events: auto;
  width: 196px;
  max-width: calc(100% - 32px);
  height: 58px;
  padding: 0 15px;
  gap: 20px;
  border: 1px solid #c3d6ee38;
  border-radius: 32px;
  background: transparent;
  box-shadow: inset 0 1px 0 #f0f6ff18, inset 0 -1px 0 #91b9ec0c, 0 4px 16px #00000014;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color .45s, box-shadow .45s, background-color .45s, opacity .45s, scale .45s cubic-bezier(.22, 1, .36, 1);
}

.motion-active .header {
  animation: glass-arrive .8s cubic-bezier(.22, 1, .36, 1) backwards;
}

@keyframes glass-arrive {
  from {
    opacity: 0;
    translate: 0 -10px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Light is reflected inside the glass, without a solid fill or a heavy shadow. */
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  /* Keep background shapes readable through the glass instead of frosting them out. */
  background: linear-gradient(115deg, #e0eeff06, transparent 38%, #7cadff03 78%, transparent), #040c181a;
  backdrop-filter: blur(9px) saturate(145%);
  -webkit-backdrop-filter: blur(9px) saturate(145%);
  box-shadow: inset 1px 0 0 #e8f3ff0d, inset -1px 0 0 #a2c7ff08;
}

.header::before {
  content: none;
}

/* A stationary reflection accents the upper-left edge of the glass. */
.header-edge {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
  opacity: .85;
  transition: opacity .8s ease;
}

.header-edge .edge-glow {
  position: absolute;
  left: 29px;
  top: .5px;
  width: 72px;
  height: 36px;
  overflow: visible;
  transform: translate(-50%, -50%);
}

.header-edge .glow-optics {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.header .brand {
  position: relative;
  width: 42px;
  height: 44px;
  padding: 0;
  flex: none;
  display: grid;
  place-items: center;
  z-index: 1;
}

.header .brand .brand-mini {
  width: 36px;
  height: auto;
  transition: transform .7s cubic-bezier(.25, .1, .25, 1), filter .7s ease;
}

.header .brand:hover .brand-mini,
.header .brand:focus-visible .brand-mini {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 2px 6px #3793ff35);
}

.header .menu-toggle {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 13px;
  width: 88px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  z-index: 1;
}

.header .menu-toggle>span {
  width: auto;
  height: auto;
  background: none;
  transform: none !important;
}

.header .menu-toggle .menu-label {
  color: #c0cfdf;
  font-size: 12px;
  transition: color .6s ease;
}

.header .menu-toggle:hover .menu-label,
.header .menu-toggle:focus-visible .menu-label {
  color: #e5f0ff;
}

.header .menu-toggle .menu-lines {
  display: grid;
  gap: 5px;
  width: 18px;
}

.header .menu-lines i {
  width: 18px;
  height: 1px;
  background: #aabed7;
  transform-origin: center;
  transition: transform .65s cubic-bezier(.25, .1, .25, 1), background .6s ease;
}

.header .menu-lines i:last-child {
  width: 18px;
  transform: translateX(2px) scaleX(.72);
}

.header .menu-toggle:hover .menu-lines i:last-child,
.header .menu-toggle:focus-visible .menu-lines i:last-child {
  transform: translateX(0) scaleX(1);
}

.header .menu-toggle[aria-expanded=true] .menu-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.header .menu-toggle[aria-expanded=true] .menu-lines i:last-child {
  width: 18px;
  transform: translateY(-3px) rotate(-45deg);
}

.header .menu-toggle:active {
  scale: .97;
}

.header .mobile-nav,
.header .language-panel {
  border: 1px solid #c4dfff24;
  border-radius: 22px;
  background: linear-gradient(130deg, #c7dfff08, transparent 65%), #07102080;
  box-shadow: inset 0 1px 0 #ffffff0b, 0 12px 32px #00000020;
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.header .mobile-nav {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  right: auto;
  z-index: 2;
  transform: translateX(-50%);
  transform-origin: top center;
  width: min(320px, calc(100vw - 32px));
  padding: 12px 23px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header .mobile-nav[hidden] {
  display: none;
}

.header .mobile-nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #ffffff12;
  font-size: 22px;
  letter-spacing: -.04em;
}

.header .mobile-nav a>span {
  font: 10px monospace;
  color: #7197c2;
  letter-spacing: 0;
}

.header .mobile-nav a {
  transition: color .5s ease;
}

.header .mobile-nav a>i {
  font-size: 20px;
  font-style: normal;
  color: #7a9fc9;
  margin-left: auto;
  transition: translate .6s cubic-bezier(.25, .1, .25, 1);
}

.header .mobile-nav a:hover>i,
.header .mobile-nav a:focus-visible>i {
  translate: 2px -1px;
}

.header .mobile-nav a.active {
  color: #a6d2ff;
}

.header .mobile-nav .mobile-contact {
  border: 0;
  font-size: 13px;
  letter-spacing: 0;
  color: #b5d7ff;
}

.header.is-cinematic:not(:hover):not(:focus-within):not(.menu-open) {
  border-color: #b5ccea1f;
  box-shadow: none;
}

.header .brand,
.header .menu-toggle {
  transition: opacity .7s ease, scale .45s cubic-bezier(.25, .1, .25, 1);
}

.header.is-cinematic:not(:hover):not(:focus-within):not(.menu-open) :is(.brand, .menu-toggle) {
  opacity: .72;
}

.header.is-cinematic .header-edge {
  opacity: .16;
}

.header:hover,
.header:focus-within,
.header.menu-open {
  opacity: 1;
  border-color: #c4dfff42;
}

@media(max-width:700px) {
  .header-shell {
    top: 12px;
    height: 66px;
    margin: 14px 0 20px;
  }

  .header-shell .header {
    width: 188px;
    height: 56px;
    gap: 16px;
    padding-inline: 13px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

  .header-shell .header,
  .header .mobile-nav,
  .header .language-panel {
    background-color: #101923ed;
  }
}
