@font-face {
    font-family: "Neue Haas Unica Pro";
    src: url("/fonts/NeueHaasUnicaPro-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Now Variable";
    src: url("/fonts/HelveticaNowVar-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-main: #111;
    --color-bg: #f8f6f2;
    --selection-color: #111;
    --selection-bg: #44300033;
    --img-over-opacity: 0;
    --bg-brightness: 1;
    --ink: var(--color-main);
    --bg: var(--color-bg);
    --header: 6.4rem;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --sans: "Neue Haas Unica Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --label: "Helvetica Now Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root { --header: 4rem; }

@media (min-width: 768px) {
    :root { --header: 5.6rem; }
}

@media (min-width: 1025px) {
    :root { --header: 8.4rem; }
}

* { box-sizing: border-box; }

html {
    font-size: 10px;
    background: var(--bg);
    color: var(--ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: auto;
    scrollbar-width: none;
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--color-bg);
    color: var(--color-main);
    font: 400 1.6rem/1.3 var(--sans);
}

html.doc-cases,
html.doc-cases body,
html.doc-archive,
html.doc-archive body {
    height: 100%;
    overflow: hidden;
}

html.is-locked,
html.is-locked body { overflow: hidden; }

body::-webkit-scrollbar { display: none; }

::selection { background: var(--selection-bg); color: var(--selection-color); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

button, input, textarea { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }

button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Paper texture lives under every page; it only shows while pages are cut/scaled
   during page transitions and inside the menu deck (same as the live site). */
.paper {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    filter: brightness(var(--bg-brightness));
    background: url("/img/by/paper_bg_2.BAEFMvQV.jpg") top / 286px repeat;
}

.app { position: relative; z-index: 1; }

.page {
    --cut: 100%;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-main);
    clip-path: polygon(0 0, var(--cut) 0, var(--cut) 100%, 0 100%);
    overflow: clip;
}

@media (max-width: 767px) {
    .page { min-height: 100dvh; }
}

html.is-pending .app { visibility: hidden; }

/* Big lowercase title that only appears on the page cards during transitions / menu */
.page-title {
    position: absolute;
    top: var(--menu-page-scroll, 0);
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 6.4rem .8rem 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .page-title { padding: 6.4rem 1.6rem 0; }
}

.page-title__text {
    display: block;
    text-transform: lowercase;
    letter-spacing: -.04em;
    font-size: 5.4rem;
    line-height: 1;
}

@media (min-width: 1025px) {
    .page-title__text { font-size: 6rem; }
}

@media (min-width: 1438px) {
    .page-title__text { font-size: 4.17vw; }
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 0;
}

.navgrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: .8rem;
    align-items: start;
    padding: 0 .8rem;
}

@media (min-width: 768px) {
    .navgrid { padding: 0 1.6rem; }
}

@media (min-width: 1025px) {
    .navgrid { grid-template-columns: repeat(14, 1fr); }
}

.logo-wrap { grid-column: 1 / span 2; }

.logo {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    min-height: 2.6rem;
    padding-top: .1rem;
}

.logo-line {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 1;
}

.logo-line > span { display: block; }

.logo-line > span + span {
    position: absolute;
    top: 100%;
    left: 0;
}

.award {
    position: absolute;
    top: .1rem;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    visibility: hidden;
    white-space: nowrap;
    pointer-events: none;
}

.award-line {
    position: relative;
    display: grid;
    justify-items: start;
    overflow: hidden;
    line-height: 1;
}

.award-line > span {
    grid-area: 1 / 1;
    display: block;
    white-space: nowrap;
}

.mark {
    display: none;
    width: 10.2rem;
    grid-column: 5 / span 3;
    align-self: center;
}

.signature { width: 100%; height: auto; display: block; overflow: visible; }

@media (min-width: 1025px) {
    .logo-wrap { grid-column: span 3; }
    .mark { display: block; }
}

.nav {
    grid-column: 3 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

@media (min-width: 768px) {
    .nav { grid-column: 4 / span 2; }
}

@media (min-width: 1025px) {
    .nav { grid-column: 9 / span 2; padding-top: .1rem; gap: .2rem; }
}

.easter {
    grid-column: 5 / span 2;
    position: relative;
    min-height: 5.2rem;
    justify-self: end;
    width: 100%;
}

@media (min-width: 1025px) {
    .easter { grid-column: 13 / span 2; }
}

.mask { display: block; overflow: hidden; }

.time-block { display: flex; flex-direction: column; gap: .2rem; padding: .1rem 6rem 0 0; }

.time-read { display: block; font-variant-numeric: tabular-nums; white-space: pre; }

.time-read > span { display: inline-block; }

.time-toggle { display: inline-block; }

.time-toggle .time-reset { display: none; }

html.is-traveling .time-label { display: none; }

html.is-traveling .time-reset { display: inline; }

@media (max-width: 767px) {
    .contact-toggle,
    .time-block { display: none; }
}

/* Two stacked copies; JS rolls them up on hover (live site behaviour). */
.slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1;
    vertical-align: top;
}

.slide > span { display: block; }

.slide > span + span {
    position: absolute;
    top: 100%;
    left: 0;
}

.header--intro .logo,
.header--intro .mark,
.header--intro .nav,
.header--intro .easter { visibility: hidden; }

.line { display: block; overflow: hidden; }
.line > span { display: block; will-change: transform; }

.egg {
    position: absolute;
    top: 0;
    right: 0;
    width: 5.8rem;
    height: 5.8rem;
    border-radius: 50%;
    cursor: grab;
}

@media (min-width: 1025px) {
    .egg { width: 5.2rem; height: 5.2rem; }
}

.egg.is-grabbing,
html.is-clocking,
html.is-clocking * { cursor: grabbing !important; }

.egg__disc,
.egg__ring,
.egg__hand,
.egg__follow {
    position: absolute;
    inset: 0;
}

.egg__disc { border-radius: 50%; border: 1px solid transparent; }

.egg__ring { width: 100%; height: 100%; overflow: visible; }

.egg__hand::before,
.egg__follow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: .15rem;
    width: .9rem;
    height: .9rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--bg);
}

.egg__follow { opacity: 0; }

.egg.is-grabbing .egg__follow { opacity: 1; }

.egg__words {
    display: none;
    position: absolute;
    right: 6.6rem;
    top: 1.6rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .egg__words { display: inline-block; top: .1rem; }
}

@media (max-width: 1024px) {
    .header { align-items: flex-start; padding-top: .8rem; }
    .case-hero { padding-top: 6.4rem; }
}

@media (max-width: 767px) {
    .case-study { padding: 0 .8rem; }
}

/* ---------- Home gallery (cases) ---------- */

.gallery {
    position: relative;
    height: calc(100dvh - 4rem);
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: .8rem;
    overflow: hidden;
    padding: 0 .8rem .8rem;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    text-transform: uppercase;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .gallery { height: calc(100vh - 5.6rem); padding: 0 1.6rem 1.6rem; }
}

@media (min-width: 1025px) {
    .gallery { height: calc(100vh - 8.4rem); }
}

.gallery--intro { visibility: hidden; opacity: 0; }

.case {
    position: relative;
    flex-shrink: 0;
    width: 83%;
    color: inherit;
    transform-origin: bottom;
    will-change: transform;
}

.case:nth-child(1) { z-index: 10; }
.case:nth-child(2) { z-index: 9; }
.case:nth-child(3) { z-index: 8; }
.case:nth-child(4) { z-index: 7; }
.case:nth-child(5) { z-index: 6; }
.case:nth-child(6) { z-index: 5; }
.case:nth-child(7) { z-index: 4; }
.case:nth-child(8) { z-index: 3; }
.case:nth-child(9) { z-index: 2; }
.case:nth-child(10) { z-index: 1; }

@media (min-width: 768px) {
    .case { width: 36.6%; }
}

@media (min-width: 1025px) {
    .case { width: calc(28.74% - .8rem); }
}

@media (min-width: 1920px) {
    .case { width: calc(28.7% - .8rem); }
}

.case__wrapper,
.case__stage { display: block; transform-origin: 50%; }

.case__name-wrapper {
    display: block;
    margin-bottom: .8rem;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .case__name-wrapper { margin-bottom: 1.6rem; }
}

.case__name {
    position: relative;
    display: block;
    line-height: 1;
    overflow: hidden;
}

.case__name span { display: block; }

.case__name > span:nth-child(2) {
    position: absolute;
    top: 100%;
    left: 0;
}

.case__img {
    position: relative;
    display: block;
    aspect-ratio: 396 / 496;
    overflow: hidden;
}

.case__img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: #000;
    opacity: var(--img-over-opacity);
}

.case__img .shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: 50%;
    transform: scale(1.15);
}

.shot {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.print--f .shot::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    border-style: solid;
    border-width: .9rem 0 .9rem 1.5rem;
    border-color: transparent transparent transparent rgba(255, 255, 255, .88);
    transform: translate(-35%, -50%);
}

/* ---------- Menu deck: real page cards ---------- */

.menu[hidden],
.modal[hidden],
.thanks[hidden],
.form[hidden] { display: none !important; }

.menu {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.menu__wrapper {
    position: absolute;
    inset: 0;
}

.menu-tile {
    cursor: pointer;
    pointer-events: auto;
}

.menu-tile * { pointer-events: none !important; }

.page--menu-preview .gallery--intro { visibility: visible; opacity: 1; }

/* Content titles stay hidden on preview cards (they reveal once the page opens) */
.page--menu-preview .about__title,
.page--menu-preview .archive__title,
.page--menu-preview .archive__desc { visibility: hidden; }

.page--menu-preview .header--intro .logo,
.page--menu-preview .header--intro .mark,
.page--menu-preview .header--intro .nav,
.page--menu-preview .header--intro .easter { visibility: visible; }

html.is-menu .page:not(.page--menu-preview) { cursor: pointer; }

html.is-menu .page:not(.page--menu-preview) .header .menu-toggle,
html.is-menu .page:not(.page--menu-preview) .header .contact-toggle { position: relative; z-index: 2; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    overflow: auto;
    overflow-x: hidden;
    background: transparent;
}

.modal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 4, .82);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.modal.is-open::before { opacity: 1; }

.panel {
    position: relative;
    width: min(100.2rem, calc(100% - 3.2rem));
    margin: 10rem auto;
    padding: 2.4rem 2.4rem 10rem;
    background: #848f7a;
    color: #172016;
    transform: translateY(100vh);
    transition: transform .68s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

html.time-night .panel { background: #6e7965; color: #f4efe6; }

.modal.is-open .panel { transform: translateY(0); }

@keyframes panelIn {
    from { opacity: 0; transform: translateY(2rem); }
    to { opacity: 1; transform: none; }
}

.modal.is-open .panel__close { animation: panelIn .5s ease .1s both; }
.modal.is-open .tabs { animation: panelIn .55s cubic-bezier(.22, 1, .36, 1) .14s both; }
.modal.is-open .panel__title { animation: panelIn .8s cubic-bezier(.22, 1, .36, 1) .2s both; }
.modal.is-open .panel__desc { animation: panelIn .7s cubic-bezier(.22, 1, .36, 1) .3s both; }
.modal.is-open .panel__intro { animation: panelIn .7s cubic-bezier(.22, 1, .36, 1) .34s both; }
.modal.is-open .field-group,
.modal.is-open .btn-wrap,
.modal.is-open .form__lead { animation: panelIn .7s cubic-bezier(.22, 1, .36, 1) both; }
.modal.is-open .field-group:nth-of-type(1) { animation-delay: .38s; }
.modal.is-open .field-group:nth-of-type(2) { animation-delay: .42s; }
.modal.is-open .field-group:nth-of-type(3) { animation-delay: .46s; }
.modal.is-open .field-group:nth-of-type(4) { animation-delay: .5s; }
.modal.is-open .field-group:nth-of-type(5) { animation-delay: .54s; }
.modal.is-open .field-group:nth-of-type(6) { animation-delay: .58s; }
.modal.is-open .field-group:nth-of-type(7) { animation-delay: .62s; }
.modal.is-open .field-group:nth-of-type(8) { animation-delay: .66s; }
.modal.is-open .field-group:nth-of-type(9) { animation-delay: .7s; }
.modal.is-open .btn-wrap { animation-delay: .74s; }

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.panel__head,
.panel__body,
.form,
.form__lead,
.email-note { position: relative; z-index: 1; }

.panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 10.8rem;
}

.panel__head-inner { width: 34.2rem; }

.tabs {
    position: relative;
    display: flex;
    gap: 3rem;
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 0 0 1.9rem;
    padding-bottom: .6rem;
}

.tab-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.tabs__line {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 4rem;
    background: currentColor;
    transition: transform .35s var(--ease), width .35s var(--ease);
}

.panel__close {
    position: absolute;
    top: 0;
    right: 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
}

.panel__title {
    margin: 0;
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.06;
    font-size: clamp(6rem, 6.25vw, 9rem);
}

.panel__desc {
    position: absolute;
    top: 16rem;
    right: 5.9rem;
    width: 21.2rem;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.16;
    letter-spacing: -.01em;
}

.panel__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.6rem;
    border-top: 1px solid currentColor;
}

.panel__intro {
    flex: 0 0 36.9rem;
    width: 36.9rem;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.16;
    letter-spacing: -.01em;
}

.form {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.form__lead,
.email-note {
    margin: 0 0 2rem;
    font-size: 1.8rem;
    line-height: 1.16;
    letter-spacing: -.01em;
}

.email-note { max-width: 36rem; }

.field-group {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    border-top: 1px solid currentColor;
    margin: 0;
    padding: 0 0 1.6rem;
}

.f-label {
    flex: 0 0 28.8rem;
    width: 28.8rem;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -.01em;
}

.f-label i { font-style: normal; }

.f-label-num { font-variant-numeric: tabular-nums; }

.check-grid,
.radio-grid {
    flex: 0 0 27.8rem;
    width: 27.8rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding-bottom: 2.4rem;
    font-size: 1.8rem;
    line-height: 1;
}

.check-item,
.radio-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}

.check-item input,
.radio-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box,
.radio-dot {
    width: 1.4rem;
    height: 1.4rem;
    border: 1px solid currentColor;
    flex: none;
    margin-top: .2rem;
    display: inline-block;
}

.radio-dot { border-radius: 50%; }

.check-item input:checked + .check-box { background: currentColor; }

.radio-item input:checked + .radio-dot {
    background: radial-gradient(circle, currentColor 0 45%, transparent 48%);
}

.field-group:has(input:not([type="checkbox"]):not([type="radio"])),
.field-group:has(textarea) {
    min-height: 7.6rem;
    align-items: center;
}

.field-group input,
.field-group textarea {
    flex: 1;
    min-width: 0;
    width: 27.8rem;
    border: 0;
    background: transparent;
    color: inherit;
    resize: none;
    padding: 0;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.field-group input:focus,
.field-group textarea:focus { outline: none; }

.field-group textarea { overflow: hidden; }

.field-group input::placeholder,
.field-group textarea::placeholder { color: inherit; opacity: .45; }

.field-group.is-invalid { box-shadow: inset 0 1px 0 #8c1919; }

.btn-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    margin-top: 5.2rem;
}

.btn-submit {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font-size: clamp(3.2rem, 4vw, 4rem);
    line-height: 1.2;
    letter-spacing: -.03em;
}

.btn-submit:disabled { opacity: .5; }

.email-note { padding: 2rem 0 3rem; }

@media (max-width: 767px) {
    .panel { margin: 6rem auto; padding: 1.6rem 1.6rem 6rem; }
    .panel__head { flex-direction: column; padding-bottom: 6rem; }
    .panel__head-inner { width: 100%; }
    .panel__title { font-size: clamp(4.6rem, 12vw, 7rem); }
    .panel__desc { position: static; width: 100%; margin-top: 2rem; }
    .panel__body { flex-direction: column; }
    .panel__intro { flex: none; width: 100%; margin-bottom: 2rem; }
    .field-group { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .f-label { flex: none; width: 100%; }
    .check-grid,
    .radio-grid,
    .field-group input,
    .field-group textarea { width: 100%; flex: none; }
    .tabs { gap: 2rem; }
}

.thanks {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 8, 4, .82);
    opacity: 0;
    transition: opacity .4s ease;
}

.thanks.is-open { opacity: 1; }

.thanks__card {
    width: min(46rem, calc(100% - 3rem));
    background: #efe6d4;
    color: #111;
    text-align: center;
    padding: 4.4rem 3rem 3.2rem;
}

html.time-night .thanks__card { background: #1c1f1a; color: #f4efe6; }

.thanks__card h2 {
    margin: 0 0 2rem;
    font-weight: 400;
    font-size: 4.4rem;
    letter-spacing: -.03em;
}

.thanks__card .signature { width: 8.4rem; margin: 0 auto 2rem; }

.thanks__card p { margin: 0 0 2.4rem; font-size: 1.6rem; }

.thanks__card button { text-transform: uppercase; font-size: 1.2rem; }

.archive {
    height: calc(100dvh - var(--header));
    display: flex;
    flex-direction: column;
    padding: 0 1.6rem 1.6rem;
}

.archive__head {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: .8rem;
    align-items: last baseline;
    padding-top: 4.6rem;
}

.archive__title,
.archive__desc { margin: 0; }

.archive__title {
    grid-column: 1 / span 8;
    margin: 0;
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.24;
    font-size: 5.4rem;
}

@media (min-width: 1025px) {
    .archive__title { font-size: 9rem; }
}

@media (min-width: 1438px) {
    .archive__title { font-size: 6.26vw; }
}

.archive__desc {
    grid-column: 9 / span 3;
    margin: 0;
    max-width: 17.2rem;
    text-transform: uppercase;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1;
}

.archive__viewport {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.archive__viewport.is-grabbing { cursor: grabbing; }

.archive__track {
    display: flex;
    align-items: flex-end;
    gap: .8rem;
    padding-bottom: 0;
    will-change: transform;
}

.print {
    margin: 0;
    flex: none;
    height: 27rem;
    width: max-content;
    cursor: pointer;
    transform-origin: 50% 100%;
}

@media (min-width: 1438px) {
    .print { height: 18.776vw; }
}

.print .shot {
    width: auto;
    height: 100%;
    max-width: none;
}


.about { padding: 2rem 1.6rem 8rem; }

.about__title,
.values__title,
.process__pin h2,
.study__head h1 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: .9;
}

.about__title {
    max-width: 19ch;
    font-size: clamp(4rem, 6.3vw, 9rem);
    line-height: 1.24;
    margin-bottom: 6rem;
}

@media (min-width: 1025px) {
    .about__title { font-size: 9rem; }
}

@media (min-width: 1438px) {
    .about__title { font-size: 6.26vw; }
}

.about__title .line + .line,
.values__title .line + .line { margin-top: -1.6rem; }

@media (min-width: 1025px) {
    .about__title .line + .line,
    .values__title .line + .line { margin-top: -3.2rem; }
}

@media (min-width: 1438px) {
    .about__title .line + .line,
    .values__title .line + .line { margin-top: -2.23vw; }
}

.about__block {
    display: grid;
    grid-template-columns: 21.3% 1fr;
    column-gap: 37%;
    align-items: center;
    margin-bottom: 8rem;
}

.about__block--flip {
    grid-template-columns: 1fr 21.3%;
    column-gap: 8%;
}

.about__photo { overflow: hidden; aspect-ratio: 4 / 5; }

.about__photo--wide { aspect-ratio: 5 / 4; }

.about__photo--desk { aspect-ratio: 16 / 11; }

.about__copy > article:not(.about__block) { margin-bottom: 8rem; max-width: 42rem; }

@media (max-width: 767px) {
    .about__block,
    .about__block--flip {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 3.2rem;
    }
}

.about__copy h2 {
    margin: 0 0 1.2rem;
    font-size: 2.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -.01em;
}

.about__copy article { margin-bottom: 4.8rem; }

.about__copy p,
.services {
    margin: 0 0 1.4rem;
    max-width: 50rem;
    font-size: 2.4rem;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.services { list-style: none; padding: 0; }

.services li,
.menu__list li { display: flex; gap: 1rem; }

.text-link {
    border-bottom: 1px solid currentColor;
    font-size: inherit;
    line-height: inherit;
}

.values {
    position: relative;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: .8rem;
    padding: 10rem 1.6rem 10rem;
    overflow: hidden;
}

.values__bg {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
}

.values__bg .shot { flex: 1; height: 100%; }

.values__title,
.values__cards { position: relative; z-index: 1; }

.values__title {
    grid-column: 5 / span 8;
    max-width: none;
    margin: 0 0 3.1rem;
    line-height: 1.24;
    font-size: clamp(4rem, 6.25vw, 9rem);
}

.values__cards {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 13.4rem;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: .8rem;
}

.value { grid-column: span 4; }

.value h3 {
    margin: 0 0 4.6rem;
    display: flex;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 400;
    text-transform: uppercase;
}

.value__frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    cursor: pointer;
}

.value__paper {
    position: absolute;
    inset: 0;
    background: #efe6d6 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.35'/></svg>");
    color: #111;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    transform: translateY(104%);
    transition: transform .6s var(--ease);
}

.value.is-open .value__paper { transform: none; }

.value__paper p { margin: 0; font-size: 1.8rem; line-height: 1.3; }

.value__name {
    text-transform: uppercase;
    display: flex;
    gap: .8rem;
    font-size: 2rem;
}

.value__x {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 2.4rem;
    height: 2.4rem;
}

.value__x svg { width: 100%; height: 100%; }

.process { height: 420vh; }

.process__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2.4rem;
    padding: calc(var(--header) + 2rem) 1.6rem 3.2rem;
}

.process__pin h2 {
    max-width: 16ch;
    font-size: clamp(3.6rem, 5vw, 7.2rem);
}

.process__steps { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; }

.process__steps button {
    display: flex;
    gap: .8rem;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    text-transform: uppercase;
    opacity: .28;
    transition: opacity .3s ease;
}

.process__steps button.is-active { opacity: 1; }

.process__copy {
    position: relative;
    min-height: 14rem;
    max-width: 52rem;
}

.process__copy article {
    position: absolute;
    inset: 0 auto auto 0;
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    line-height: 1.35;
    opacity: 0;
    transform: translateY(.8rem);
    transition: opacity .4s ease, transform .4s ease;
}

.process__copy article.is-active { opacity: 1; transform: none; }

.process__copy .tagline { margin: 1rem 0 0; opacity: .65; }

.process__bar {
    height: 1px;
    background: rgba(17, 17, 17, .2);
    position: relative;
}

html.time-night .process__bar { background: rgba(244, 239, 230, .25); }

.process__bar span {
    position: absolute;
    left: 0;
    top: -1px;
    height: 2px;
    width: 0;
    background: currentColor;
}

.study { padding: 0 0 8rem; }

.study__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100dvh - var(--header));
}

.study__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.4rem 3.2rem 3.2rem;
}

.study__copy h1 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .92;
    font-size: clamp(5.6rem, 6.2vw, 9.2rem);
    max-width: 10ch;
    text-transform: lowercase;
}

.study__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4.8rem;
    text-transform: uppercase;
    font-family: var(--label);
    font-size: 1.2rem;
    letter-spacing: .04em;
    line-height: 1.35;
}

.study__meta p { margin: 0; }

.study__hero {
    min-height: calc(100dvh - var(--header));
    overflow: hidden;
}

.study__hero .shot {
    width: 100%;
    height: 100%;
    min-height: calc(100dvh - var(--header));
    object-fit: cover;
}

.study__lead {
    width: min(46rem, 46vw);
    margin: 10rem 8vw 8rem auto;
    font-size: clamp(2.8rem, 3.1vw, 4.2rem);
    line-height: 1.15;
    letter-spacing: -.03em;
}

.study__band h2 {
    margin: 0;
    padding: 1.2rem 1.6rem .8rem;
    font-family: var(--label);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.study__row {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: 0 .45rem 2.4rem;
    scrollbar-width: none;
}

.study__row img,
.study__row video {
    height: 46vh;
    width: auto;
    max-width: none;
    flex: none;
    object-fit: cover;
}

.study__next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    min-height: 70vh;
    margin-top: 6rem;
    padding: 2rem 1.6rem 0;
}

.study__next span {
    grid-column: 1;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: .06em;
}

.study__next strong {
    grid-column: 1;
    font-weight: 400;
    font-size: clamp(4.8rem, 6vw, 8rem);
    letter-spacing: -.045em;
    line-height: .92;
    text-transform: lowercase;
}

.study__next img {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: 70vh;
    object-fit: cover;
    justify-self: end;
}

.study__prev {
    display: inline-block;
    margin: 2.4rem 1.6rem 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: .04em;
}

@media (max-width: 767px) {
    .study__top,
    .study__next { grid-template-columns: 1fr; }
    .study__hero,
    .study__hero .shot { min-height: 62vh; }
    .study__lead { width: auto; margin: 4rem 1.6rem; }
    .study__next img { grid-column: 1; grid-row: auto; height: 48vh; }
}

.study__body {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 4rem;
    align-items: start;
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.study__body p { margin: 0; max-width: 28ch; }

.study__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    html.doc-archive,
    html.doc-archive body { height: auto; overflow: auto; }

    .archive { height: auto; display: block; }
    .archive__head { grid-template-columns: 1fr; }
    .archive__title,
    .archive__desc { grid-column: 1 / -1; }
    .archive__viewport {
        overflow: visible;
        cursor: default;
        touch-action: auto;
        display: block;
        margin-top: 3rem;
    }
    .archive__track { flex-direction: column; align-items: stretch; gap: 2rem; }
    .print,
    .print--p,
    .print--l,
    .print--f { width: 100%; height: auto; transform: none; }
    .print .shot { width: 100%; height: auto; aspect-ratio: 4 / 5; }

    .about__grid,
    .panel__intro,
    .study__body,
    .values__cards { grid-template-columns: 1fr; }

    .values__title,
    .value { grid-column: 1 / -1; }

    .about__copy p,
    .services,
    .study__body { font-size: 1.9rem; }

    .field--line,
    fieldset.field { display: block; }
    fieldset.field legend,
    .field--line .field__label { display: block; width: auto; margin-bottom: .8rem; }
}

@media (max-width: 767px) {
    .header .contact-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery--intro,
    .header--intro .logo,
    .header--intro .mark,
    .header--intro .nav,
    .header--intro .easter {
        visibility: visible;
        opacity: 1;
    }
}

/* ---------- Case detail page (matches the live layout) ---------- */

.case-study { padding: 0 1.6rem; }

.case-hero {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: .8rem;
    align-items: start;
}

@media (min-width: 1025px) {
    .case-hero { margin-top: -2.4rem; }
}

.case-hero__left {
    grid-column: 1 / span 8;
    grid-row: 1 / span 2;
    position: sticky;
    top: 10rem;
    height: calc(100vh - 10rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.case-hero__title {
    margin: 0;
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.24;
    text-transform: lowercase;
    font-size: 9rem;
    max-width: 64.4rem;
}

@media (min-width: 1438px) {
    .case-hero__title { font-size: 6.26vw; max-width: 44.78vw; }
}

.case-hero__title .line + .line { margin-top: -3.2rem; }

@media (min-width: 1438px) {
    .case-hero__title .line + .line { margin-top: -2.23vw; }
}

.case-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    padding: 3.6rem 0 1.6rem;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.case-hero__content span,
.case-next__content span { display: block; }

.case-hero__cat,
.case-hero__tags { overflow: hidden; }

.case-hero__media {
    grid-column: 9 / span 6;
    grid-row: 1;
}

.case-hero__image {
    position: relative;
    width: 100%;
    aspect-ratio: 387 / 482;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .case-hero__media {
        display: flex;
        align-items: flex-end;
        height: calc(100vh - 6rem);
        padding-bottom: 1.6rem;
    }
    .case-hero__image { height: 100%; aspect-ratio: auto; }
}

.case-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-hero__desc {
    grid-column: 9 / span 6;
    grid-row: 2;
    padding: 5.6rem 0 1rem;
}

.case-hero__desc p {
    margin: 0;
    font-size: 4rem;
    line-height: 1.22;
    letter-spacing: -.04em;
}

@media (min-width: 1025px) {
    .case-hero__desc { margin-top: -.8rem; }
}

@media (min-width: 1438px) {
    .case-hero__desc { padding-top: 3.89vw; }
    .case-hero__desc p { font-size: 2.78vw; }
}

/* Horizontal scroll rows */

.case-rows {
    position: relative;
    margin-top: 23rem;
    height: 250vh;
}

.case-rows__sticky {
    position: sticky;
    top: calc(10.55vh - 3.6rem);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
}

.case-rows__name {
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
}

.case-rows__holder {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.case-rows__row {
    display: flex;
    gap: .8rem;
    width: max-content;
    will-change: transform;
}

.case-rows__img {
    height: 39.45vh;
    width: auto;
    aspect-ratio: 194 / 292;
    object-fit: cover;
    flex: none;
}

/* Staggered gallery */

.case-gallery {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-auto-flow: dense;
    gap: .8rem;
    padding-top: 23rem;
    font-family: var(--label);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.case-gallery__item { margin-bottom: 23.2rem; }

.case-gallery__media img {
    width: 100%;
    height: auto;
    display: block;
}

.case-gallery__media video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.case-gallery__group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.case-gallery__group img,
.case-gallery__group video {
    width: 100%;
    height: auto;
    display: block;
}

.case-gallery__name {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 1.6rem;
    line-height: 1;
}

.case-gallery__name > span { display: block; }


/* Next case */

.case-next {
    padding: 5rem 0 1.6rem;
    overflow: hidden;
}

.case-next__link {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: .8rem;
    align-items: end;
}

.case-next__left {
    position: relative;
    grid-column: 1 / span 8;
    margin-bottom: -2.2rem;
}

.case-next__title {
    margin: 0;
    max-width: 64.4rem;
    padding-bottom: .5rem;
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.24;
    font-size: 9rem;
}

@media (min-width: 1438px) {
    .case-next { padding-top: 3.48vw; }
    .case-next__left { margin-bottom: -1.53vw; }
    .case-next__title { font-size: 6.26vw; max-width: 44.78vw; padding-bottom: .35vw; }
}

.case-next__line {
    position: relative;
    display: block;
    overflow: hidden;
}

.case-next__line > span { display: inline-block; }

.case-next__line > span:nth-child(2) {
    position: absolute;
    top: 100%;
    left: 0;
}

.case-next__name { display: block; overflow: hidden; text-transform: lowercase; }

/* font-headline-1: split lines overlap like the live site's SplitText line divs */
.case-next__name,
.case-next__name .line + .line,
.archive__title .line + .line { margin-top: -3.2rem; }

@media (min-width: 1438px) {
    .case-next__name,
    .case-next__name .line + .line,
    .archive__title .line + .line { margin-top: -2.23vw; }
}

@media (max-width: 1024px) {
    .case-next__name,
    .case-next__name .line + .line,
    .archive__title .line + .line { margin-top: -1.6rem; }
}

.case-next__content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    padding: 3.6rem 0 1.6rem;
    font-family: var(--label);
    font-size: 1.2rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.case-next__image {
    grid-column: 13 / span 2;
    aspect-ratio: 192 / 221;
}

.case-next__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.case-next__img img,
.case-next__img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: 50%;
    transform: scale(1.4);
}

@media (max-width: 1024px) {
    .case-hero { grid-template-columns: repeat(6, 1fr); }
    .case-hero__media { grid-column: 1 / span 6; grid-row: auto; order: 1; }
    .case-hero__left {
        grid-column: 1 / span 6;
        grid-row: auto;
        position: static;
        height: auto;
        order: 2;
        padding-top: 2.4rem;
    }
    .case-hero__desc {
        grid-column: 1 / span 6;
        grid-row: auto;
        order: 3;
        padding: 2.4rem 0 0;
    }
    .case-hero__desc p { font-size: 2.4rem; line-height: 1.3; }
    .case-hero__title { font-size: 5.4rem; max-width: none; }

    .case-rows {
        height: auto;
        margin-top: 7.5rem;
        overflow: visible;
    }
    .case-rows__sticky {
        position: static;
        height: auto;
        flex-direction: column-reverse;
        gap: 1.6rem;
    }
    .case-rows__holder {
        flex-direction: column;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        margin-inline: -.8rem;
        padding-inline: .8rem;
    }
    .case-rows__holder::-webkit-scrollbar { display: none; }
    .case-rows__row {
        transform: none !important;
        padding-inline: .8rem;
        gap: .4rem;
    }
    .case-rows__img { height: 19.9rem; width: 26vw; }

    .case-gallery { grid-template-columns: 1fr; padding-top: 8rem; }
    .case-gallery__item,
    .case-gallery__item--0,
    .case-gallery__item--1,
    .case-gallery__item--2,
    .case-gallery__item--3 {
        grid-column: 1 / -1;
        margin-bottom: 7.2rem;
    }
    .case-gallery__group { grid-template-columns: 1fr; gap: .8rem; }

    .case-next__link { grid-template-columns: repeat(6, 1fr); }
    .case-next__left { grid-column: 1 / -1; margin-bottom: 12.6rem; }
    .case-next__image { grid-column: 4 / span 3; }
    .case-next__title { font-size: 5.4rem !important; }
    .case-next__content { display: none; }
    .case-next__img img { transform: scale(1.3); }
}
