@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic-500.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.screen-only,
.screen-section-id {
  display: none;
}

@media screen {
  :root {
    --ink: #101212;
    --paper: #c8cac5;
    --paper2: #deddd7;
    --gold: #b79057;
    --gold2: #d8b77f;
    --muted: #5b5e5a;
    --line: rgba(16, 18, 18, .2);
    --white: #f4f1e9;
    --pad: clamp(24px, 5.2vw, 84px);
    --nav-height: 54px;
  }

  html {
    background: #080a0a;
    scroll-padding-top: 86px;
  }

  body {
    overflow-x: hidden;
    background: #080a0a;
    font-family: "Inter", Arial, sans-serif;
  }

  body::before {
    content: "";
    position: fixed;
    z-index: 70;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .11);
    pointer-events: none;
  }

  .screen-only {
    display: block;
  }

  .screen-nav {
    top: 14px;
    right: 14px;
    left: 14px;
    height: var(--nav-height);
    padding: 5px 6px;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    background: rgba(12, 14, 14, .68);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px) saturate(115%);
  }

  .screen-brand {
    min-width: max-content;
    padding: 0 12px 0 6px;
    gap: .6rem;
    font-size: .65rem;
    letter-spacing: .12em;
  }

  .screen-brand img {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: #f3f0e8;
  }

  .screen-nav nav {
    display: flex;
    min-width: 0;
    margin-left: auto;
    gap: 4px;
  }

  .screen-nav nav a {
    display: grid;
    min-height: 38px;
    padding: 0 15px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .61rem;
    font-weight: 600;
    letter-spacing: .09em;
    opacity: .72;
    transition: color .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease;
  }

  .screen-nav nav a:hover,
  .screen-nav nav a:focus-visible,
  .screen-nav nav a.is-active {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    opacity: 1;
    outline: none;
  }

  .screen-nav nav a[download] {
    border-color: #f3f0e8;
    background: #f3f0e8;
    color: #111;
    opacity: 1;
  }

  .progress {
    right: 26px;
    bottom: 0;
    left: 26px;
    height: 1px;
    overflow: hidden;
    border-radius: 999px;
  }

  .progress i {
    background: var(--gold2);
  }

  main {
    padding-top: 0;
  }

  .page {
    --mx: 50%;
    --my: 50%;
    min-height: 100svh;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    scroll-margin-top: 0;
  }

  .page::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 25vw 25vw;
    pointer-events: none;
    opacity: .3;
  }

  .page::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 64%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
  }

  .page:hover::after {
    opacity: 1;
  }

  .paper {
    background: var(--paper);
  }

  .paper:nth-of-type(4n + 2) {
    background: var(--paper2);
  }

  .dark {
    background: #0a0c0c;
  }

  .page-inner {
    padding: clamp(112px, 13vh, 150px) var(--pad) clamp(88px, 11vh, 130px);
  }

  .page-footer {
    position: relative;
    z-index: 4;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0 var(--pad);
    padding: 18px 0 28px;
    font-size: .56rem;
  }

  .cover .page-footer,
  .hero-project .page-footer,
  .contact .page-footer {
    position: absolute;
    right: var(--pad);
    bottom: 0;
    left: var(--pad);
    margin: 0;
  }

  .screen-section-id {
    position: absolute;
    z-index: 5;
    top: 92px;
    right: var(--pad);
    display: flex;
    align-items: center;
    gap: 10px;
    color: currentColor;
    font-size: .58rem;
    letter-spacing: .16em;
    opacity: .48;
    pointer-events: none;
  }

  .screen-section-id::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
  }

  .eyebrow {
    font-size: .61rem;
    letter-spacing: .22em;
  }

  .eyebrow::before {
    width: 34px;
  }

  .display,
  .project-hero-copy h2,
  .res-copy h2,
  .gallery-heading h3,
  .tech-grid h3 {
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  }

  .display {
    max-width: 13ch;
    margin: 1.6rem 0 2rem;
    font-size: clamp(4.3rem, 8.6vw, 9.4rem);
    font-weight: 700;
    line-height: .78;
    letter-spacing: -.045em;
    text-transform: uppercase;
  }

  .display.small {
    font-size: clamp(3.5rem, 6.6vw, 7.2rem);
  }

  .lede {
    max-width: 42rem;
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    line-height: 1.72;
  }

  .cover {
    min-height: 100svh;
  }

  .cover::before {
    z-index: 1;
    background-size: 20vw 20vw;
    opacity: .38;
  }

  .cover .cover-image {
    filter: saturate(.45) contrast(1.08) brightness(.72);
    transform: scale(1.025);
    animation: hero-settle 1.4s cubic-bezier(.2, .8, .2, 1) both;
  }

  .cover .veil {
    background: linear-gradient(180deg, rgba(7, 9, 9, .42), rgba(7, 9, 9, .13) 42%, rgba(7, 9, 9, .78)), linear-gradient(90deg, rgba(6, 8, 8, .48), transparent 70%);
  }

  .cover-grid {
    display: block;
    min-height: 100svh;
    padding-top: 105px;
  }

  .cover-grid > .eyebrow {
    position: absolute;
    top: 102px;
    left: var(--pad);
  }

  .cover-logo {
    top: 96px;
    right: var(--pad);
    width: clamp(82px, 8vw, 122px);
    filter: brightness(0) invert(1);
    opacity: .88;
  }

  .screen-hero-type {
    position: absolute;
    z-index: 2;
    top: 23%;
    right: var(--pad);
    left: var(--pad);
    color: #ece9e1;
    pointer-events: none;
  }

  .screen-hero-type > span {
    position: absolute;
    top: -1.2rem;
    right: 14%;
    font-size: .57rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .7;
  }

  .screen-hero-type strong {
    display: block;
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(8rem, 22vw, 22rem);
    font-weight: 800;
    line-height: .7;
    letter-spacing: -.04em;
  }

  .screen-hero-type em {
    position: absolute;
    right: 5%;
    bottom: -20%;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
    text-transform: lowercase;
    text-shadow: 0 8px 32px rgba(0, 0, 0, .28);
  }

  .cover-copy {
    position: absolute;
    z-index: 4;
    bottom: clamp(128px, 18vh, 180px);
    left: var(--pad);
    width: min(420px, 36vw);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 2px;
    background: rgba(16, 18, 18, .55);
    backdrop-filter: blur(14px);
  }

  .cover-copy h1 {
    display: none;
  }

  .cover-copy p {
    margin: 0;
    font-size: clamp(.78rem, .9vw, .93rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
  }

  .screen-orbit {
    position: absolute;
    z-index: 5;
    right: var(--pad);
    bottom: clamp(134px, 19vh, 185px);
    display: grid;
    width: 94px;
    height: 94px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(12, 14, 14, .36);
    backdrop-filter: blur(12px);
    color: #fff;
    text-align: center;
    transition: color .3s ease, background .3s ease, transform .3s ease;
  }

  .screen-orbit::before,
  .screen-orbit::after {
    content: "";
    position: absolute;
    background: currentColor;
  }

  .screen-orbit::before {
    width: 22px;
    height: 1px;
    transform: translate(23px, -23px) rotate(-45deg);
  }

  .screen-orbit::after {
    width: 1px;
    height: 22px;
    transform: translate(30px, -30px);
  }

  .screen-orbit span {
    font-size: .57rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .screen-orbit:hover,
  .screen-orbit:focus-visible {
    background: #f1eee6;
    color: #101212;
    outline: none;
    transform: rotate(4deg) scale(1.05);
  }

  .cover-stats {
    position: absolute;
    z-index: 3;
    right: var(--pad);
    bottom: 52px;
    left: var(--pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, .26);
  }

  .cover-stats div {
    display: flex;
    min-height: 64px;
    padding: 16px 22px 0 0;
    align-items: baseline;
    gap: .8rem;
    border-right: 1px solid rgba(255, 255, 255, .18);
  }

  .cover-stats div:not(:first-child) {
    padding-left: 22px;
  }

  .cover-stats div:last-child {
    border-right: 0;
  }

  .cover-stats strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 2.35rem;
    font-weight: 600;
    color: #f1eee6;
  }

  .cover-stats span {
    font-size: .55rem;
    letter-spacing: .16em;
  }

  .index-layout,
  .split,
  .method-layout,
  .portfolio-open,
  .principle-layout,
  .contact-layout {
    gap: clamp(54px, 8vw, 140px);
  }

  .index-list a {
    position: relative;
    overflow: hidden;
    padding: 1.7rem .4rem;
  }

  .index-list a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #111313;
    transform: translateX(-101%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }

  .index-list a > * {
    position: relative;
    z-index: 1;
  }

  .index-list a:hover,
  .index-list a:focus-visible {
    padding-left: 1rem;
    background: transparent;
    color: #fff;
    outline: none;
  }

  .index-list a:hover::after,
  .index-list a:focus-visible::after {
    transform: translateX(0);
  }

  .image-frame,
  .main-photo,
  .side-photo,
  .mosaic figure,
  .duo-grid article,
  .triptych article {
    border-radius: 2px;
  }

  .image-frame img,
  .main-photo img,
  .side-photo img,
  .mosaic img,
  .duo-grid img,
  .triptych img {
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
  }

  .image-frame:hover img,
  .main-photo:hover img,
  .side-photo:hover img,
  .mosaic figure:hover img,
  .duo-grid article:hover img,
  .triptych article:hover img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.025);
  }

  .editorial-copy blockquote,
  .contact-layout > div:first-child > p {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 2.5vw, 2.8rem);
    line-height: 1.15;
  }

  .metric-grid {
    border-color: rgba(255, 255, 255, .18);
  }

  .metric-grid article {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    padding: 3rem 2rem;
    transition: background .3s ease;
  }

  .metric-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold2);
    transition: width .45s ease;
  }

  .metric-grid article:hover {
    background: rgba(255, 255, 255, .045);
  }

  .metric-grid article:hover::before {
    width: 100%;
  }

  .metric-grid strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(5.4rem, 10vw, 10rem);
    font-weight: 600;
    color: #f0ede6;
  }

  .service-grid {
    gap: 10px;
    border: 0;
  }

  .service-grid article {
    min-height: 360px;
    padding: 24px;
    border: 1px solid rgba(16, 18, 18, .2);
    background: rgba(255, 255, 255, .12);
    transition: color .3s ease, background .3s ease, transform .3s ease;
  }

  .service-grid article:hover {
    background: #111313;
    color: #f2efe8;
    transform: translateY(-8px);
  }

  .service-grid article:hover p {
    color: rgba(255, 255, 255, .64);
  }

  .service-grid h3,
  .timeline h3,
  .principles h3 {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .timeline article {
    position: relative;
    padding: 1.35rem .8rem;
    transition: padding-left .3s ease, background .3s ease;
  }

  .timeline article:hover {
    padding-left: 1.25rem;
    background: rgba(255, 255, 255, .22);
  }

  .tech-grid article {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
    transition: border-color .3s ease, transform .3s ease;
  }

  .tech-grid article::after {
    content: "";
    position: absolute;
    right: -30%;
    bottom: -45%;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(216, 183, 127, .42);
    border-radius: 50%;
    transition: transform .5s ease;
  }

  .tech-grid article:hover {
    border-color: rgba(216, 183, 127, .7);
    transform: translateY(-6px);
  }

  .tech-grid article:hover::after {
    transform: scale(1.24);
  }

  .tech-grid h3 {
    font-size: 3.2rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .hero-project .cover-image,
  .contact .cover-image {
    filter: saturate(.58) contrast(1.05);
  }

  .hero-project .veil.strong,
  .contact .veil.strong {
    background: linear-gradient(90deg, rgba(6, 8, 8, .88), rgba(6, 8, 8, .22) 72%), linear-gradient(0deg, rgba(6, 8, 8, .72), transparent 55%);
  }

  .project-hero-copy h2 {
    max-width: none;
    margin: 1.2rem 0 .5rem;
    font-size: clamp(7rem, 18vw, 19rem);
    font-weight: 800;
    line-height: .76;
    letter-spacing: -.045em;
    text-transform: uppercase;
  }

  .project-hero-copy > p {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 4.8rem);
    font-style: italic;
  }

  .hero-facts {
    gap: 1rem;
  }

  .hero-facts div {
    min-width: min(360px, 40vw);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(10, 12, 12, .46);
    backdrop-filter: blur(12px);
  }

  .hero-facts strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    font-weight: 600;
    color: #f0ede6;
  }

  .mosaic {
    gap: 10px;
    height: min(62vh, 740px);
  }

  .project-title {
    align-items: start;
  }

  .residence-grid {
    gap: 10px;
  }

  .res-copy h2 {
    font-size: clamp(3.5rem, 6.3vw, 7rem);
    font-weight: 700;
    line-height: .84;
    letter-spacing: -.04em;
    text-transform: uppercase;
  }

  .res-copy dl div {
    padding: .85rem 0;
  }

  .duo-grid,
  .triptych {
    gap: 10px;
  }

  .duo-grid article,
  .triptych article {
    background: #101212;
  }

  .duo-grid b,
  .triptych b {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 1.65rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .principles article {
    min-height: 190px;
    transition: color .3s ease, background .3s ease;
  }

  .principles article:hover {
    background: #111313;
    color: #fff;
  }

  .principles article:hover p {
    color: rgba(255, 255, 255, .65);
  }

  .contact-card {
    border-color: rgba(255, 255, 255, .25);
    border-radius: 2px;
    background: rgba(8, 10, 10, .62);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .26);
  }

  .contact-card a {
    transition: padding-left .3s ease, color .3s ease, background .3s ease;
  }

  .contact-card a:hover,
  .contact-card a:focus-visible {
    padding-left: 2rem;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    outline: none;
  }

  .lightbox {
    background: rgba(4, 6, 6, .96);
    backdrop-filter: blur(14px);
  }

  .lightbox img {
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
  }

  .lightbox button {
    min-width: 88px;
    min-height: 44px;
    border-radius: 999px;
    background: rgba(17, 19, 19, .75);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
  }

  .gallery-block {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 34px var(--pad) clamp(72px, 9vh, 110px);
    border-top-color: rgba(16, 18, 18, .22);
  }

  .page.has-gallery .page-inner {
    min-height: auto;
    padding-bottom: clamp(64px, 8vh, 96px);
  }

  .gallery-heading {
    margin-bottom: 20px;
  }

  .gallery-heading h3 {
    font-size: clamp(2.2rem, 4.5vw, 5rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.035em;
    text-transform: uppercase;
  }

  .gallery-actions {
    gap: 6px;
    padding: 5px;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: .82;
  }

  .gallery-actions button {
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    font-family: "Inter", Arial, sans-serif;
    font-size: .6rem;
    cursor: pointer;
  }

  .gallery-actions button:hover,
  .gallery-actions button:focus-visible {
    background: currentColor;
    color: #111;
  }

  .gallery-count {
    min-width: 74px;
    font-size: .64rem;
  }

  .gallery-track {
    gap: 10px;
    padding-right: var(--pad);
    scrollbar-width: none;
  }

  .gallery-track::-webkit-scrollbar {
    display: none;
  }

  .gallery-track::after {
    content: "";
    flex: 0 0 calc(var(--pad) - 10px);
  }

  .gallery-slide {
    flex-basis: min(74vw, 1040px);
    height: clamp(390px, 68vh, 760px);
    border-radius: 2px;
  }

  .gallery-slide img {
    filter: saturate(.86) contrast(1.02);
  }

  .gallery-slide:hover img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.02);
  }

  .gallery-caption {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(8, 10, 10, .55);
    backdrop-filter: blur(10px);
  }

  .motion-ready .page:not(.cover) .page-inner > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  }

  .motion-ready .page.in-view .page-inner > * {
    opacity: 1;
    transform: translateY(0);
  }

  .motion-ready .page.in-view .page-inner > *:nth-child(2) {
    transition-delay: .08s;
  }

  .motion-ready .page.in-view .page-inner > *:nth-child(3) {
    transition-delay: .16s;
  }

  @keyframes hero-settle {
    from {
      opacity: .3;
      transform: scale(1.08);
    }
    to {
      opacity: 1;
      transform: scale(1.025);
    }
  }
}

@media screen and (max-width: 900px) {
  :root {
    --pad: clamp(20px, 6vw, 42px);
  }

  .screen-nav {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 4px;
  }

  .screen-brand {
    padding-right: 4px;
  }

  .screen-brand span {
    display: none;
  }

  .screen-nav nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .screen-nav nav::-webkit-scrollbar {
    display: none;
  }

  .screen-nav nav a {
    flex: 0 0 auto;
    padding: 0 11px;
    font-size: .56rem;
  }

  .screen-nav nav a:nth-child(1),
  .screen-nav nav a:nth-child(3) {
    display: none;
  }

  .page {
    min-height: auto;
  }

  .page::before {
    background-size: 50vw 50vw;
  }

  .page::after {
    display: none;
  }

  .page-inner {
    min-height: auto;
    padding-top: 102px;
    padding-bottom: 84px;
  }

  .screen-section-id {
    top: 80px;
  }

  .display {
    max-width: 10ch;
    font-size: clamp(3.8rem, 19vw, 7rem);
    line-height: .8;
  }

  .display.small {
    font-size: clamp(3.25rem, 16vw, 6rem);
  }

  .cover,
  .cover-grid {
    min-height: 100svh;
  }

  .cover-grid {
    padding-top: 86px;
  }

  .cover-grid > .eyebrow {
    top: 86px;
    max-width: 190px;
  }

  .cover-logo {
    top: 82px;
    width: 70px;
  }

  .screen-hero-type {
    top: 25%;
  }

  .screen-hero-type > span {
    top: -24px;
    right: auto;
    left: 0;
    max-width: 210px;
    line-height: 1.5;
  }

  .screen-hero-type strong {
    font-size: clamp(6rem, 28vw, 10.5rem);
    line-height: .76;
  }

  .screen-hero-type em {
    right: 2%;
    bottom: -38%;
    font-size: clamp(3.6rem, 17vw, 6.5rem);
  }

  .cover-copy {
    bottom: 178px;
    width: calc(100% - (var(--pad) * 2) - 92px);
    padding: 14px 15px;
  }

  .cover-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .72rem;
    line-height: 1.5;
  }

  .screen-orbit {
    right: var(--pad);
    bottom: 178px;
    width: 76px;
    height: 76px;
  }

  .screen-orbit::before,
  .screen-orbit::after {
    display: none;
  }

  .screen-orbit span {
    font-size: .5rem;
  }

  .cover-stats {
    bottom: 46px;
  }

  .cover-stats div {
    display: block;
    min-height: 92px;
    padding: 14px 8px 0 0;
  }

  .cover-stats div:not(:first-child) {
    padding-left: 12px;
  }

  .cover-stats strong {
    display: block;
    font-size: 1.85rem;
  }

  .cover-stats span {
    display: block;
    margin-top: 5px;
    font-size: .46rem;
    line-height: 1.5;
  }

  .cover .page-footer,
  .hero-project .page-footer,
  .contact .page-footer {
    right: var(--pad);
    left: var(--pad);
  }

  .index-layout,
  .split,
  .section-head,
  .project-title,
  .method-layout,
  .portfolio-open,
  .principle-layout,
  .contact-layout {
    gap: 46px;
  }

  .image-frame {
    height: 62vh;
  }

  .metric-grid {
    margin-top: 48px;
  }

  .metric-grid article {
    min-height: 170px;
    padding: 2rem 1.2rem;
  }

  .metric-grid strong {
    font-size: 5.2rem;
  }

  .service-grid {
    gap: 8px;
  }

  .service-grid article {
    min-height: 230px;
  }

  .timeline article {
    grid-template-columns: 40px 100px 1fr;
    padding-right: 0;
    padding-left: 0;
  }

  .tech-grid {
    gap: 8px;
  }

  .tech-grid article {
    min-height: 280px;
  }

  .project-hero-copy h2 {
    font-size: clamp(6rem, 28vw, 11rem);
  }

  .project-hero-copy > p {
    font-size: 2.2rem;
  }

  .hero-facts {
    margin-top: 40px;
  }

  .hero-facts div {
    min-width: 0;
  }

  .hero-facts strong {
    font-size: 3.2rem;
  }

  .mosaic,
  .mosaic.three {
    height: auto;
  }

  .mosaic figure,
  .mosaic figure.wide,
  .mosaic figure.tall {
    height: 52vh;
  }

  .res-copy h2 {
    font-size: clamp(3.4rem, 16vw, 6.2rem);
  }

  .main-photo,
  .reverse .main-photo {
    height: 64vh;
  }

  .side-photo,
  .reverse .side-photo {
    height: 44vh;
  }

  .gallery-block {
    padding-top: 28px;
  }

  .gallery-heading {
    gap: 18px;
  }

  .gallery-heading h3 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 12vw, 4.6rem);
  }

  .gallery-actions {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-slide {
    flex-basis: 86vw;
    height: min(58svh, 600px);
  }

  .duo-grid img,
  .triptych img {
    height: 56vh;
  }
}

@media screen and (max-width: 520px) {
  .screen-nav nav a[href="#contato"] {
    display: none;
  }

  .screen-nav nav a[download] {
    padding: 0 12px;
  }

  .screen-hero-type {
    top: 29%;
  }

  .screen-hero-type strong {
    font-size: 27.8vw;
  }

  .cover-copy {
    width: calc(100% - (var(--pad) * 2) - 82px);
  }

  .screen-orbit {
    width: 68px;
    height: 68px;
  }

  .page-footer span:nth-child(2) {
    display: none;
  }

  .page-footer {
    grid-template-columns: 1fr auto;
  }

  .timeline article {
    grid-template-columns: 34px 1fr;
  }

  .timeline article p {
    grid-column: 2;
  }

  .gallery-actions button {
    padding: 0 11px;
    min-height: 44px;
  }

  .gallery-count {
    min-width: 56px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .motion-ready .page:not(.cover) .page-inner > * {
    opacity: 1;
    transform: none;
  }
}
