/* ========== RESET & VARIABLES ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #CCCCCC;
    --gray-dark: #808080;
    --gray-text: #999999;
}

html { scroll-behavior: smooth; }

/* Prevent widows / orphans across the site */
h1, h2, h3, h4,
.hero-title, .work-title, .all-work-title, .work-page-title,
.proj-title, .proj-pullquote, .contact-headline, .footer-text,
.proj-text-num, .proj-meta-value { text-wrap: balance; }

p, .proj-text p, .hero-col-text, .hero-intro,
.contact-value, .frame-label { text-wrap: pretty; }

body {
    background: var(--white);
    color: var(--black);
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.025em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Buttons/inputs don't inherit letter-spacing by default — force tracking -25 everywhere */
button, input, select, textarea {
    font-family: inherit;
    letter-spacing: inherit;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--black);
    text-decoration: none;
    justify-self: start;
}

.nav-center { justify-self: center; }

.header-right {
    justify-self: end;
    display: flex;
    gap: 80px;
    align-items: center;
}

.header-location {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    text-decoration: none;
    letter-spacing: -0.025em;
    white-space: nowrap;
}
.header-right { min-width: 0; }
.header-right .nav-link { white-space: nowrap; }

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: color 0.15s ease;
}
.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current="page"] { color: var(--black); }
/* The CTA link keeps default black (visual anchor) */
.nav-link--cta { color: var(--black); }
.nav-link--cta:hover { color: var(--gray-dark); }

/* Nav commas: gray by default, black on the comma next to the active tab */
.nav-comma { color: var(--gray-light); transition: color 0.15s ease; }
.nav-link.is-active + .nav-comma,
.nav-comma:has(+ .nav-link.is-active) { color: var(--black); }

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 120px 40px 80px;
}

.hero-frame {
    position: absolute;
    top: 120px;
    left: 40px;
    width: 290px;
    height: 320px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    transform: translate3d(0, var(--push, 0px), 0);
    will-change: transform;
}
.hero-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-intro {
    position: absolute;
    top: 140px;
    right: 40px;
    max-width: 360px;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--black);
}

.hero-title {
    margin: 0;
    padding-top: 240px;
    text-indent: 330px;
    font-size: clamp(48px, 5.5vw, 88px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--black);
}

.hero-bottom {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
}

.hero-col-label {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.4;
    color: var(--black);
}

.hero-col-text {
    grid-column: 3;
    max-width: 380px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--black);
}

/* ========== SELECTED WORKS ========== */
.selected-works {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.work {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--black);
}

.work-meta--four > span:nth-child(1) { font-weight: 500; }

.work-title-wrapper {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.work-annotation {
    position: absolute;
    font-family: 'Caveat', 'Snell Roundhand', 'Brush Script MT', cursive;
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    line-height: 0.9;
    letter-spacing: 0.5px;
    color: var(--black);
    white-space: nowrap;
    z-index: 2;
    transform: rotate(-4deg);
}

.work-annotation--left {
    top: 6px; left: 50%; margin-left: -300px;
    text-align: left;
}

.work-annotation--right {
    top: -2px; left: 50%; margin-left: 200px;
    text-align: left;
}

.work-annotation--center-left {
    top: -10px; left: 50%; margin-left: -180px;
    text-align: left;
}

.work-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--black);
    margin: 0;
}

.work-categories {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--gray-dark);
    margin-top: 12px;
}

/* Work case — scroll-driven progressive animations.
   Each .work has --p (0..1) set by JS based on scroll position.
   All transforms read from --p via calc(). No transitions: scroll drives smoothness. */

.work-frame-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-frame {
    position: relative;
    width: calc(600px + var(--p, 0) * (100% - 600px));
    aspect-ratio: calc(1 + var(--p, 0) * 0.778);
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: width, aspect-ratio;
}
.work-frame > img,
.work-frame > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.work-title {
    display: inline-flex;
    gap: 0.05em;
    align-items: center;
    justify-content: center;
}

.work-title .bracket,
.work-title .title-text {
    display: inline-block;
    will-change: transform;
}

.bracket-l { transform: translateX(calc(var(--p, 0) * -500px)); }
.bracket-r { transform: translateX(calc(var(--p, 0) * 500px)); }
.title-text { transform: scale(calc(1 + var(--p, 0) * 0.4)); }

.work-meta { transform: translateY(calc(var(--p, 0) * -20px)); will-change: transform; }
.work-categories { transform: translateY(calc(var(--p, 0) * 20px)); will-change: transform; }

.frame-label {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.work-cta {
    align-self: flex-end;
    font-size: 13px;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 4px;
}

/* ========== ALL WORK (scatter layout) ========== */
.all-work {
    position: relative;
    padding: 80px 40px 120px;
    overflow: hidden;
}

.scatter {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 1200px;
}

.scatter-frame {
    position: absolute;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.025em;
    overflow: hidden;
    text-decoration: none;
    transform:
        translate3d(var(--mx, 0px), calc(var(--py, 0px) + var(--my, 0px)), 0)
        rotate(var(--rot, 0deg));
    will-change: transform;
}
.scatter-frame > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}
.all-work .scatter-frame { background: transparent; }
.all-work .scatter-frame > img { object-fit: contain; }

.scatter-frame.f1  { top: 4%;  left: 0;       width: 130px; height: 180px; --rot: -1deg; }
.scatter-frame.f2  { top: 12%; left: 22%;     width: 90px;  height: 130px; --rot:  1deg; }
.scatter-frame.f3  { top: 0;   left: 38%;     width: 230px; height: 150px; }
.scatter-frame.f4  { top: -10px; right: -20px; width: 140px; height: 130px; }
.scatter-frame.f5  { top: 32%; right: 8%;     width: 180px; height: 140px; }
.scatter-frame.f6  { top: 36%; left: 30%;     width: 100px; height: 110px; --rot: -2deg; }
.scatter-frame.f7  { top: 50%; left: 0;       width: 130px; height: 180px; --rot:  1deg; }
.scatter-frame.f8  { top: 62%; left: 22%;     width: 100px; height: 100px; }
.scatter-frame.f9  { top: 56%; left: 38%;     width: 240px; height: 160px; }
.scatter-frame.f10 { top: 60%; left: 66%;     width: 100px; height: 100px; --rot:  2deg; }
.scatter-frame.f11 { top: 55%; right: -20px;  width: 130px; height: 160px; --rot:  4deg; }
.scatter-frame.f12 { top: 26%; left: 52%;      width: 140px; height: 180px; --rot: -3deg; }
.scatter-frame.f13 { top: 8%;  left: 68%;      width: 150px; height: 170px; --rot:  3deg; }
.scatter-frame.f14 { top: 42%; left: 46%;      width: 120px; height: 160px; --rot: -4deg; }
.scatter-frame.f15 { top: 72%; left: 8%;       width: 180px; height: 130px; --rot:  2deg; }
.scatter-frame.f16 { top: 78%; left: 40%;      width: 200px; height: 150px; --rot: -3deg; }
.scatter-frame.f17 { top: 74%; left: 74%;      width: 150px; height: 160px; --rot:  4deg; }
.scatter-frame.f18 { top: 88%; left: 20%;      width: 140px; height: 170px; --rot: -2deg; }
.scatter-frame.f19 { top: 90%; left: 58%;      width: 170px; height: 130px; --rot:  3deg; }
.scatter-frame.f20 { top: 20%; left: 82%;      width: 110px; height: 140px; --rot: -3deg; }
.scatter-frame.f21 { top: 45%; left: 12%;      width: 160px; height: 150px; --rot:  2deg; }
.scatter-frame.f22 { top: 30%; left: 12%;      width: 120px; height: 90px;  --rot: -2deg; }
.scatter-frame.f23 { top: 66%; left: 60%;      width: 170px; height: 130px; --rot: -3deg; }
.scatter-frame.f24 { top: 82%; left: 32%;      width: 140px; height: 140px; --rot:  2deg; }

.all-work-title-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-decoration: none;
    color: inherit;
}

.all-work-title {
    font-size: clamp(72px, 9vw, 130px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--black);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}

.all-work-count {
    font-size: 0.4em;
    font-weight: 500;
    vertical-align: super;
    margin-left: 0.05em;
}

/* ========== WORK PAGE ========== */
.work-page { padding-top: 64px; }

.work-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 40px 24px;
}

.work-page-title {
    font-size: clamp(72px, 9vw, 130px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
    margin: 0;
}

.work-page-count {
    font-size: 0.28em;
    font-weight: 500;
    vertical-align: super;
    margin-left: 0.05em;
    letter-spacing: -0.02em;
}

.view-toggle {
    position: fixed;
    top: 96px;
    right: 40px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    z-index: 900;
    background: var(--white);
    padding: 6px 0 6px 12px;
}

.view-toggle-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 16px;
    color: var(--gray-light);
    cursor: pointer;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.view-toggle-btn.is-active {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.view-toggle-sep {
    font-size: 16px;
    color: var(--black);
}

/* ===== Grid View ===== */
[data-view-panel][hidden] { display: none !important; }

.work-grid-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 40px 80px;
}

.work-row { display: grid; gap: 8px; align-items: start; }
.work-row--1 { grid-template-columns: 1fr; --bracket-shift: 50px; }
.work-row--2 { grid-template-columns: 1fr 1fr; --bracket-shift: 28px; }
.work-row--3 { grid-template-columns: 1fr 1fr 1fr; --bracket-shift: 10px; }

.work-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
    color: var(--black);
    align-self: start;
}

.work-card-frame {
    position: relative;
    width: 100%;
    background: transparent;
    display: block;
    overflow: hidden;
}
.work-card-frame > img,
.work-card-frame > video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Aspect-ratio modifiers neutralized: the image dictates the height so there are no gray letterbox borders */
.work-card-frame--square,
.work-card-frame--tall,
.work-card-frame--xtall,
.work-card-frame--wide { aspect-ratio: auto; }

/* Placeholder card (no image, only a label) keeps its old square footprint */
.work-card-frame:has(> .frame-label) {
    aspect-ratio: 1 / 1;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card scroll-driven progressive animation (mirrors .work on home).
   JS sets --p (0..1) on each .work-card based on viewport position. */
.work-card-frame {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(calc((1 - var(--p, 0)) * 24px));
    will-change: transform;
}
.work-card-frame > .frame-label {
    transform: scale(calc(1 + var(--p, 0) * 0.06));
    will-change: transform;
}

.work-card-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.card-title {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
    padding-left: var(--bracket-shift, 40px);
    padding-right: var(--bracket-shift, 40px);
}
.card-bracket,
.card-title-text {
    display: inline-block;
    will-change: transform;
}
.card-bracket-l { transform: translateX(calc(var(--p, 0) * var(--bracket-shift, 40px) * -1)); }
.card-bracket-r { transform: translateX(calc(var(--p, 0) * var(--bracket-shift, 40px))); }

.work-card-year { color: var(--gray-light); }

/* ===== List View ===== */
.work-list-view {
    display: flex;
    flex-direction: column;
    padding: 0 0 80px;
}

.list-row {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    color: var(--gray-light);
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
    padding: 2px 0;
}

.list-row .list-name {
    display: inline-block;
    margin-right: 0.2em;
}

.list-row .list-name.is-bold {
    color: var(--black);
    font-weight: 700;
}

.list-row:hover .list-name { color: var(--black); }

/* List View — seamless infinite horizontal loop, alternating per row.
   Inner contains 2 identical sets of names; we animate exactly one set's width
   (--cycle) so when the animation loops, the second set sits where the first
   was — no visible jump. */
.list-row-inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}
@keyframes slideLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(var(--cycle, 100px) * -1)); }
}
@keyframes slideRight {
    from { transform: translateX(calc(var(--cycle, 100px) * -1)); }
    to   { transform: translateX(0); }
}
.list-row.right .list-row-inner,
.list-row.left  .list-row-inner {
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.list-row.right .list-row-inner { animation-name: slideRight; }
.list-row.left  .list-row-inner { animation-name: slideLeft;  }

@media (prefers-reduced-motion: reduce) {
    .list-row .list-row-inner { animation: none; }
}

/* ===== Work page responsive ===== */
@media (max-width: 900px) {
    .work-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 20px 20px; }
    .view-toggle { position: static; padding: 0; }
    .work-grid-view { padding: 0 20px 60px; gap: 8px; }
    .work-list-view { padding: 0 0 60px; }
    .work-row--2 { grid-template-columns: 1fr; }
    .work-row--3 { grid-template-columns: 1fr 1fr; }
    .list-row { font-size: 28px; }
}

/* ========== CONTACT PAGE ========== */
.contact-page { padding-top: 64px; }

.contact-block {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    padding: 80px 40px;
    align-items: end;
    min-height: calc(100vh - 64px);
}

.contact-block-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 40px;
}

.contact-headline {
    font-size: clamp(40px, 6.2vw, 100px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
    color: var(--black);
    margin: 0;
}

/* Flip-clock style headline — smooth crossfade between two phrases on rotateX */
.flip-headline { perspective: 1800px; }

.flip-card {
    display: grid;
    transform-style: preserve-3d;
    animation: flipLoop 9s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.flip-face {
    grid-area: 1 / 1;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-line {
    display: block;
    white-space: nowrap;
}

.flip-back { transform: rotateX(180deg); }

@keyframes flipLoop {
    0%, 42%   { transform: rotateX(0deg); }
    50%, 92%  { transform: rotateX(180deg); }
    100%      { transform: rotateX(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .flip-card { animation: none; }
}

/* Smooth entrance for the rest of the contact page */
.contact-block-main,
.contact-info { animation: contactFadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.contact-block-main { animation-delay: 0.05s; }
.contact-info      { animation-delay: 0.25s; }

.contact-socials { animation: contactFadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }
.contact-socials a { position: relative; transition: letter-spacing 0.4s ease, color 0.3s ease; }
.contact-socials a:hover { letter-spacing: 0.04em; }

.contact-item { animation: contactFadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.contact-item:nth-child(1) { animation-delay: 0.35s; }
.contact-item:nth-child(2) { animation-delay: 0.45s; }
.contact-item:nth-child(3) { animation-delay: 0.55s; }

.contact-value { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); display: inline-block; }
.contact-item:hover .contact-value { transform: translateX(6px); }

/* Gentle floating motion on the headline */
.flip-headline {
    animation: contactFloat 7s ease-in-out infinite;
    transform-origin: left center;
}
@keyframes contactFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes contactFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .contact-block-main,
    .contact-info,
    .contact-socials,
    .contact-item,
    .flip-headline { animation: none; }
}

.contact-socials {
    font-size: 16px;
    color: var(--black);
    letter-spacing: -0.025em;
    margin-top: 80px;
}
.contact-socials a {
    color: var(--black);
    text-decoration: none;
}
.contact-socials a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-self: end;
    align-self: end;
    padding-bottom: 8px;
}

/* ===== Quote / Project Inquiry Form ===== */
.quote-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 120px;
    align-items: start;
    padding: 140px 40px 120px;
}

.quote-headline {
    font-size: clamp(40px, 6.2vw, 100px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
    color: var(--black);
    margin: 0;
    position: sticky;
    top: 96px;
    min-height: 2.05em;
}
.quote-headline .type-caret {
    width: 0.06em;
    height: 0.78em;
    background: var(--black);
    vertical-align: -0.04em;
}

/* Down arrow on the flip-back headline */
.flip-arrow {
    display: inline-block;
    animation: arrowNudge 1.6s ease-in-out infinite;
}
@keyframes arrowNudge {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* Quote form field stagger entrance */
.quote-field {
    opacity: 0;
    transform: translateY(16px);
    animation: quoteFieldIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.quote-field:nth-child(1) { animation-delay: 0.10s; }
.quote-field:nth-child(2) { animation-delay: 0.18s; }
.quote-field:nth-child(3) { animation-delay: 0.26s; }
.quote-field:nth-child(4) { animation-delay: 0.34s; }
.quote-field:nth-child(5) { animation-delay: 0.42s; }
.quote-field:nth-child(6) { animation-delay: 0.50s; }
.quote-field:nth-child(7) { animation-delay: 0.58s; }

.quote-form-foot {
    opacity: 0;
    transform: translateY(16px);
    animation: quoteFieldIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s forwards;
}

@keyframes quoteFieldIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .quote-field,
    .quote-form-foot { opacity: 1; transform: none; animation: none; }
    .flip-arrow { animation: none; }
}

.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quote-field--full { grid-column: 1 / -1; }

.quote-label {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--gray-dark);
    text-transform: uppercase;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--black);
    border-radius: 0;
    padding: 8px 0;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: -0.025em;
    color: var(--black);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    transition: border-color 0.2s ease;
}
.quote-field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%),
                      linear-gradient(135deg, var(--black) 50%, transparent 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 28px;
}
.quote-field textarea {
    resize: vertical;
    min-height: 80px;
}
.quote-field input::placeholder,
.quote-field textarea::placeholder { color: var(--gray-light); }
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus { border-bottom-width: 2px; }

.quote-form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}
.quote-tagline {
    font-size: 14px;
    color: var(--black);
    margin: 0;
}
.quote-submit {
    background: var(--black);
    color: var(--white);
    border: 0;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.025em;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.quote-submit:hover { transform: translateY(-1px); }

.contact-footer {
    display: flex;
    gap: 28px;
    padding: 32px 40px;
    border-top: 0;
}

@media (max-width: 900px) {
    .contact-block {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        min-height: auto;
        gap: 60px;
    }
    .contact-info { justify-self: start; }
    .contact-socials { margin-top: 32px; }
    .contact-footer { padding: 24px 20px; }
    .quote-section { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px 24px; }
    .quote-headline { position: static; }
    .quote-form-grid { grid-template-columns: 1fr; gap: 20px; }
    .quote-form-foot { flex-direction: column; align-items: flex-start; }
}

/* ========== PROJECT PAGE ========== */
.project-page { padding-top: 64px; }

.project {
    padding: 60px 40px 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.proj-head { margin-bottom: 32px; }

.proj-title {
    font-size: clamp(40px, 5.4vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: center;
    margin: 0 0 24px;
    color: var(--black);
    position: sticky;
    top: 80px;
    z-index: 50;
    background: var(--white);
    padding: 8px 0;
}
.proj-title .bracket,
.proj-title .title-text { display: inline-block; will-change: transform; }
.proj-title .bracket { margin: 0 0.15em; }

/* Scroll-driven bracket spread on project page (mirrors home work title) */
.proj-title .bracket-l { transform: translateX(calc(var(--p, 0) * -500px)); }
.proj-title .bracket-r { transform: translateX(calc(var(--p, 0) *  500px)); }

/* Parallax frames — moved on Y by JS via --py */
[data-parallax] {
    transform: translate3d(0, var(--py, 0px), 0);
    will-change: transform;
}

.proj-meta {
    list-style: none;
    margin: 0;
    padding: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 40px;
    row-gap: 12px;
    border-top: 1px solid var(--gray-light);
    font-size: 14px;
}
.proj-meta li {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex: 0 1 auto;
}
.proj-meta-label { color: var(--gray-dark); }
.proj-meta-value { color: var(--black); font-weight: 500; }

.proj-frame {
    position: relative;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.proj-frame > img,
.proj-frame > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.proj-frame > img[data-fit="contain"],
.proj-frame > video[data-fit="contain"] {
    object-fit: contain;
    background: transparent;
}

.proj-hero {
    aspect-ratio: 16 / 9;
    margin: 24px 0 96px;
}

/* ---- Stages: text + tall frame, side by side ---- */
.proj-stage--ab,
.proj-stage--ba {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 96px;
}
.proj-stage--ab .stage-tall { grid-column: 1; }
.proj-stage--ab .stage-text { grid-column: 2; }
.proj-stage--ba .stage-text { grid-column: 1; }
.proj-stage--ba .stage-tall { grid-column: 2; }
.stage-tall { aspect-ratio: 4 / 5; min-height: 520px; }

.proj-pair {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    margin-bottom: 96px;
}
.proj-pair .pair-a { aspect-ratio: 1 / 1; }
.proj-pair .pair-b { aspect-ratio: 16 / 10; }

.proj-text { display: flex; flex-direction: column; gap: 14px; padding: 12px 0; align-self: center; max-width: 520px; }
.proj-text-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}
.proj-text-label { font-weight: 500; }
.proj-text p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--black);
    margin: 0;
    max-width: 480px;
}

/* ---- Pull-quote ---- */
.proj-stage--quote {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin: 0 0 96px;
}
.proj-pullquote {
    font-size: clamp(32px, 3.4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--black);
    margin: 0;
    max-width: 580px;
}
.stage-q-1 { aspect-ratio: 4 / 5; min-height: 480px; }

/* ---- Closing wide frame ---- */
.proj-closing {
    aspect-ratio: 16 / 7;
    margin: 0 0 48px;
}

/* ---- Project footer (caption + next) ---- */
.proj-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 24px 0 60px;
    text-align: center;
}
.proj-stage--results {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    margin-bottom: 96px;
}
.proj-stage--results .proj-text { grid-column: 2; }
.proj-next {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: letter-spacing 0.3s ease;
}
.proj-next:hover { letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 900px) {
    .project { padding: 40px 20px 24px; }
    .proj-meta { grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12px; }
    .proj-stage--ab,
    .proj-stage--ba,
    .proj-pair,
    .proj-stage--quote,
    .proj-stage--results {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .proj-stage--results .proj-text { grid-column: 1; }
    .stage-tall { min-height: 0; aspect-ratio: 4 / 5; }
    .stage-q-1 { min-height: 0; aspect-ratio: 4 / 5; }
    .proj-text p { max-width: 100%; }
}

/* ========== ABOUT PAGE ========== */
.about-page { padding-top: 64px; }

/* --- Hero with scattered frames + Hello there (mirrors home All Work) --- */
.about-hero {
    padding: 40px 40px;
    overflow: hidden;
}
.about-scatter {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 720px;
}
.about-scatter .scatter-frame { color: var(--white); font-size: 13px; }
.about-scatter .f1  { top: 4%;  left: 0;        width: 130px; height: 180px; --rot: -1deg; }
.about-scatter .f2  { top: 12%; left: 22%;      width:  90px; height: 130px; --rot:  1deg; }
.about-scatter .f3  { top: 0;   left: 38%;      width: 230px; height: 150px; }
.about-scatter .f4  { top: -10px; right: -20px; width: 140px; height: 130px; }
.about-scatter .f5  { top: 32%; right: 8%;      width: 180px; height: 140px; }
.about-scatter .f6  { top: 36%; left: 30%;      width: 100px; height: 110px; --rot: -2deg; }
.about-scatter .f7  { top: 50%; left: 0;        width: 130px; height: 180px; --rot:  1deg; }
.about-scatter .f8  { top: 62%; left: 22%;      width: 100px; height: 100px; }
.about-scatter .f9  { top: 56%; left: 38%;      width: 240px; height: 160px; }
.about-scatter .f10 { top: 60%; left: 66%;      width: 100px; height: 100px; --rot:  2deg; }
.about-scatter .f11 { top: 55%; right: -20px;   width: 130px; height: 160px; --rot:  4deg; }

.about-hello {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(64px, 11vw, 168px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
    margin: 0;
    text-align: center;
    min-height: 1.1em;
    pointer-events: none;
}
.about-hello .type-caret {
    width: 0.05em;
    height: 0.85em;
    background: var(--black);
    vertical-align: -0.04em;
}

/* --- Intro: I'm Loli + offset paragraph cells --- */
.about-intro {
    padding: 80px 40px 100px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 40px;
    align-items: start;
}
.bio-cell { margin: 0; }
.bio-cell--name { grid-column: 1 / span 4; grid-row: 1; display: flex; flex-direction: column; gap: 4px; }
.bio-cell--a    { grid-column: 3 / span 4; grid-row: 2; }
.bio-cell--b    { grid-column: 7 / span 5; grid-row: 1 / span 2; padding-top: 80px; }
.bio-cell--c    { grid-column: 4 / span 4; grid-row: 3; padding-top: 12px; }
.bio-cell--d    { grid-column: 8 / span 5; grid-row: 3; padding-top: 36px; }

.about-name {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0;
    color: var(--black);
}
.about-aka {
    font-style: italic;
    font-size: 13px;
    color: var(--gray-dark);
    margin-left: 0.4em;
}
.bio-cell p,
p.bio-cell { font-size: 14px; line-height: 1.5; color: var(--black); margin: 0; max-width: 360px; }

/* --- Big belief quote --- */
.about-belief {
    padding: 60px 40px 100px;
}
.belief-text {
    font-size: clamp(40px, 6.4vw, 104px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--black);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.18em 0.22em;
}
.belief-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(120px) rotate(-8deg) scale(0.7);
    transform-origin: bottom left;
    filter: blur(8px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.belief-word.is-revealed {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
    filter: blur(0);
}
.belief-emph { font-style: italic; }
.belief-text > .belief-word:nth-child(1)  { transition-delay: 0.00s; }
.belief-text > .belief-word:nth-child(2)  { transition-delay: 0.04s; }
.belief-text > .belief-word:nth-child(3)  { transition-delay: 0.08s; }
.belief-text > .belief-word:nth-child(4)  { transition-delay: 0.12s; }
.belief-text > .belief-word:nth-child(5)  { transition-delay: 0.16s; }
.belief-text > .belief-word:nth-child(6)  { transition-delay: 0.20s; }
.belief-text > .belief-word:nth-child(7)  { transition-delay: 0.24s; }
.belief-text > .belief-word:nth-child(8)  { transition-delay: 0.28s; }
.belief-text > .belief-word:nth-child(9)  { transition-delay: 0.32s; }
.belief-text > .belief-word:nth-child(10) { transition-delay: 0.36s; }
.belief-text > .belief-word:nth-child(11) { transition-delay: 0.40s; }
.belief-text > .belief-word:nth-child(12) { transition-delay: 0.44s; }
.belief-text > .belief-word:nth-child(13) { transition-delay: 0.48s; }
.belief-text > .belief-word:nth-child(14) { transition-delay: 0.52s; }
.belief-text > .belief-word:nth-child(15) { transition-delay: 0.56s; }
.belief-text > .belief-word:nth-child(16) { transition-delay: 0.60s; }

/* --- Skills: infinite marquee + shuffle highlight (no lines) --- */
.about-skills {
    padding: 36px 0;
    overflow: hidden;
}
.skills-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(24px, 2.8vw, 44px);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--gray-light);
    line-height: 1.4;
}
.skills-track {
    display: inline-block;
    will-change: transform;
    animation: marqueeLoop linear infinite;
}
.skill-word,
.skill-sep { display: inline-block; }
.skill-word {
    transition: color 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-word.is-on {
    color: var(--black);
    transform: translateY(-3px);
}
.skill-sep { color: var(--gray-light); padding: 0 0.15em; }

@keyframes marqueeLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(var(--cycle, 100px) * -1)); }
}

/* --- Beyond design block --- */
.about-beyond {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}
.beyond-frame {
    aspect-ratio: 4 / 5;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    overflow: hidden;
}
.beyond-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.beyond-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--black);
    margin: 0;
    max-width: 480px;
}

/* --- CTA --- */
.about-cta {
    padding: 60px 40px 60px;
    position: relative;
}
.cta-text {
    font-size: clamp(48px, 7.4vw, 116px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    color: var(--black);
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
}
.cta-line {
    display: block;
    opacity: 0;
    transform: translateX(-260px) rotate(-6deg) skewX(-8deg);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}
.cta-line.is-revealed { opacity: 1; transform: translateX(0) rotate(0) skewX(0); }
.cta-line:nth-child(even).is-revealed { transform: translateX(0) rotate(0) skewX(0); }
.cta-line:nth-child(even) { transform: translateX(260px) rotate(6deg) skewX(8deg); transform-origin: right center; }
.cta-text > .cta-line:nth-child(1) { transition-delay: 0.05s; }
.cta-text > .cta-line:nth-child(2) { transition-delay: 0.18s; }
.cta-text > .cta-line:nth-child(3) { transition-delay: 0.31s; }
.cta-text > .cta-line:nth-child(4) { transition-delay: 0.44s; }
.cta-text > .cta-line:nth-child(5) { transition-delay: 0.57s; }
.cta-text > .cta-line:nth-child(6) { transition-delay: 0.70s; }

.cta-wink {
    color: inherit;
    text-decoration: none;
    transition: transform 0.4s ease;
    display: inline-block;
}
.cta-wink:hover { transform: rotate(15deg) scale(1.15); }

.cta-cv {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
    position: absolute;
    right: 40px;
    bottom: 60px;
}

/* --- Reveal helpers (expo-out for disruptive but smooth feel) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(120px) skewY(-3deg);
    filter: blur(6px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}
.reveal-up.is-revealed { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); }

.reveal-zoom {
    opacity: 0;
    transform: scale(0.5) rotate(-12deg);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
                transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
                filter 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}
.reveal-zoom.is-revealed { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal-up, .reveal-zoom, .belief-word, .cta-line {
        opacity: 1; transform: none;
    }
    .marquee-inner { animation: none; }
}

@media (max-width: 900px) {
    .about-hero { padding: 20px; }
    .about-scatter { height: 540px; }
    .about-scatter .scatter-frame { font-size: 11px; }
    .about-scatter .f1  { width: 90px;  height: 130px; }
    .about-scatter .f2  { width: 70px;  height: 100px; left: 30%; }
    .about-scatter .f3  { width: 130px; height: 100px; left: 55%; }
    .about-scatter .f4  { width: 90px;  height: 90px;  right: -10px; }
    .about-scatter .f5  { width: 110px; height: 90px;  top: 30%; right: 0; }
    .about-scatter .f6  { width: 70px;  height: 80px;  top: 38%; left: 38%; }
    .about-scatter .f7  { width: 90px;  height: 130px; top: 58%; }
    .about-scatter .f8  { width: 70px;  height: 70px;  top: 68%; left: 30%; }
    .about-scatter .f9  { width: 140px; height: 100px; top: 62%; left: 50%; }
    .about-scatter .f10 { width: 70px;  height: 70px;  top: 78%; left: 70%; }
    .about-scatter .f11 { width: 90px;  height: 110px; top: 72%; right: -10px; }
    .about-skills { padding: 28px 20px; }
    .about-intro { grid-template-columns: 1fr; gap: 24px; padding: 60px 20px; }
    .bio-cell--name,
    .bio-cell--a,
    .bio-cell--b,
    .bio-cell--c,
    .bio-cell--d { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
    .about-belief { padding: 40px 20px 60px; }
    .about-beyond { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px; }
    .about-cta { padding: 40px 20px 80px; }
    .cta-cv { position: static; margin-top: 24px; right: auto; bottom: auto; }
}

/* ========== CV PAGE ========== */
.cv-page { padding-top: 64px; }

.cv-hero {
    padding: 80px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: end;
}
.cv-hero-photo {
    aspect-ratio: 4 / 5;
    background: var(--gray-light);
    overflow: hidden;
}
.cv-hero-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.cv-hero-text { display: flex; flex-direction: column; gap: 8px; }
.cv-name {
    font-size: clamp(48px, 8vw, 128px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
    color: var(--black);
    margin: 0;
    min-height: 1.05em;
}
.cv-name .type-caret {
    width: 0.05em;
    height: 0.82em;
    background: var(--black);
    vertical-align: -0.04em;
}
.cv-subname {
    font-size: 16px;
    color: var(--gray-dark);
    margin: 0;
}

.cv-section {
    padding: 80px 40px;
    border-top: 1px solid var(--gray-light);
}
.cv-section-title {
    font-size: clamp(36px, 5.4vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--black);
    margin: 0 0 48px;
}

.cv-entries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}
.cv-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
}
.cv-date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gray-dark);
    text-transform: uppercase;
}
.cv-arrow {
    display: inline-block;
    margin: 0 0.3em;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cv-entry:hover .cv-arrow { transform: translateX(6px); }
.cv-role {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--black);
    margin: 0;
}
.cv-role em { font-style: normal; font-weight: 500; color: var(--black); }
.cv-sep { color: var(--gray-light); font-weight: 500; }
.cv-entry p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--black);
    margin: 4px 0 0;
}

/* Tools */
.cv-section--tools { padding-bottom: 120px; }
.cv-tools {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 64px;
    max-width: 1100px;
}
.cv-tool {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 24px;
}
.cv-tool-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}
.cv-bar {
    display: block;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--black);
    overflow: hidden;
    position: relative;
}
.cv-bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--black);
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--delay, 0s) + 0.15s);
}
.cv-tool.is-revealed .cv-bar-fill { width: var(--lv, 0%); }
.cv-tool-note {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-style: italic;
    font-weight: 400;
    color: var(--gray-dark);
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    .cv-hero { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px 24px; }
    .cv-hero-photo { max-width: 320px; }
    .cv-section { padding: 60px 20px; }
    .cv-section-title { margin-bottom: 32px; }
    .cv-entries { grid-template-columns: 1fr; gap: 32px; }
    .cv-tools { grid-template-columns: 1fr; gap: 16px; }
    .cv-tool { grid-template-columns: 120px 1fr; gap: 16px; }
}

/* ========== FOOTER ========== */
.footer {
    padding: 80px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-text {
    font-size: 64px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--gray-light);
    margin: 0;
    min-height: 2.1em;
}

.footer-text-emph { color: var(--black); }

.type-caret {
    display: inline-block;
    width: 0.06em;
    height: 0.85em;
    background: var(--gray-light);
    margin-left: 0.04em;
    vertical-align: -0.05em;
    animation: caretBlink 1s infinite step-end;
}

@keyframes caretBlink {
    0%, 50%   { opacity: 1; }
    50.01%,100% { opacity: 0; }
}

.footer-contact-link {
    display: inline-block;
    font-size: 14px;
    color: var(--black);
    text-decoration: underline;
    width: fit-content;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav-link {
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--gray-text);
    text-transform: uppercase;
}

.contact-value {
    font-size: 13px;
    color: var(--black);
    padding-left: 12px;
}

/* ========== SELECTION ========== */
::selection { background: var(--black); color: var(--white); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .header { grid-template-columns: 1fr auto; padding: 0 20px; }
    .nav-center { display: none; }
    .header-right { gap: 20px; }
    .hero { padding: 100px 20px 60px; }
    .hero-frame, .hero-intro {
        position: static;
        width: 100%;
        max-width: 280px;
        margin-bottom: 24px;
    }
    .hero-frame { height: 280px; }
    .hero-title { padding-top: 0; text-indent: 0; font-size: 36px; }
    .hero-bottom { grid-template-columns: 1fr; row-gap: 16px; }
    .hero-col-label, .hero-col-text { grid-column: 1; }
    .work-title, .footer-text { font-size: 36px; }
    .work-annotation {
        position: static;
        transform: rotate(-3deg);
        display: block;
        text-align: center;
        margin: 0 auto 8px;
    }
    .all-work-title { font-size: 56px; }
    .scatter { height: 900px; }
    .scatter-frame { font-size: 11px; }
    .scatter-frame.f1  { width: 90px;  height: 130px; }
    .scatter-frame.f2  { width: 70px;  height: 100px; left: 30%; }
    .scatter-frame.f3  { width: 130px; height: 100px; left: 55%; }
    .scatter-frame.f4  { width: 90px;  height: 90px;  right: -10px; }
    .scatter-frame.f5  { width: 110px; height: 90px;  top: 36%; right: 0; }
    .scatter-frame.f6  { width: 70px;  height: 80px;  top: 40%; left: 38%; }
    .scatter-frame.f7  { width: 90px;  height: 130px; top: 60%; }
    .scatter-frame.f8  { width: 70px;  height: 70px;  top: 70%; left: 30%; }
    .scatter-frame.f9  { width: 140px; height: 100px; top: 65%; left: 50%; }
    .scatter-frame.f10 { width: 70px;  height: 70px;  top: 80%; left: 70%; }
    .scatter-frame.f11 { width: 90px;  height: 110px; top: 75%; right: -10px; }
    .scatter-frame.f12 { width: 100px; height: 130px; top: 85%; left: 40%; }
    .scatter-frame.f13 { width: 110px; height: 120px; top: 88%; left: 10%; }
    .scatter-frame.f14 { width: 90px;  height: 110px; top: 92%; right: 5%; }
    .scatter-frame.f15,
    .scatter-frame.f16,
    .scatter-frame.f17,
    .scatter-frame.f18,
    .scatter-frame.f19,
    .scatter-frame.f20,
    .scatter-frame.f21,
    .scatter-frame.f22,
    .scatter-frame.f23,
    .scatter-frame.f24 { display: none; }
    .footer { grid-template-columns: 1fr; padding: 60px 20px 40px; }
}

/* ========== MOBILE POLISH (≤760px) — refines existing 900px rules without touching desktop ========== */
@media (max-width: 760px) {
    /* Header: location text hidden on small screens to make room */
    .header {
        height: 56px;
        grid-template-columns: auto 1fr auto;
        padding: 0 16px;
    }
    .logo { font-size: 16px; }
    .header-location { display: none; }
    .header-right { gap: 12px; align-items: center; }
    .header-right .nav-link { font-size: 12px; white-space: nowrap; }

    body { font-size: 13px; }

    /* Hero (home): tighter padding, smaller fixed frame, more readable title */
    .hero { padding: 80px 18px 40px; }
    .hero-frame { width: 100%; max-width: none; height: 240px; margin: 0 0 16px; }
    .hero-intro { font-size: 13px; max-width: 100%; margin-bottom: 12px; }
    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
        line-height: 1.1;
        padding-top: 0;
        text-indent: 0;
    }
    .hero-bottom { margin-top: 32px; row-gap: 12px; }

    /* Selected Works */
    .selected-works { padding: 60px 18px; gap: 60px; }
    .work-meta {
        flex-wrap: wrap;
        gap: 6px 12px;
        font-size: 11px;
    }
    .work-meta span { white-space: nowrap; }
    .work-title {
        font-size: clamp(32px, 9vw, 56px);
        line-height: 0.98;
    }
    .work-categories { font-size: 11px; letter-spacing: 1px; margin-top: 8px; }
    .work-annotation { font-size: 16px; }
    .work-frame { width: 100% !important; aspect-ratio: 4 / 3 !important; }
    .work-cta { font-size: 12px; }

    /* All Work scatter: shrink container so it's not absurdly tall on mobile */
    .all-work { padding: 60px 18px 80px; }
    .scatter { height: 680px; max-width: 100%; }
    .all-work-title { font-size: 48px; }
    .all-work-count { font-size: 0.38em; }

    /* Footer: tighter padding + nav columns */
    .footer { padding: 60px 18px 32px; gap: 40px; }
    .footer-text { font-size: 32px; line-height: 1.05; min-height: 2.4em; }
    .footer-nav { gap: 6px; }
    .footer-nav-link { font-size: 13px; }
    .footer-contact-info { gap: 12px; }
    .contact-label { font-size: 9px; }
    .contact-value { font-size: 12px; padding-left: 8px; }

    /* === Work page === */
    .work-head { padding: 32px 18px 16px; gap: 12px; }
    .work-page-title { font-size: clamp(48px, 14vw, 80px); }
    .view-toggle { font-size: 14px; }
    .view-toggle-btn { font-size: 14px; }
    .work-grid-view { padding: 0 18px 60px; gap: 8px; }
    .work-card-caption { font-size: 13px; gap: 10px; }

    /* List view text size smaller on mobile */
    .list-row { font-size: 22px; }
    .work-list-view { padding: 40px 0 60px; }

    /* === Project page === */
    .project { padding: 32px 18px 24px; }
    .proj-title {
        font-size: clamp(28px, 8vw, 44px);
        margin: 0 0 16px;
        padding: 4px 0;
        top: 64px;
    }
    .proj-meta {
        padding: 16px 0 0;
        font-size: 12px;
        column-gap: 16px;
        row-gap: 8px;
        justify-content: flex-start;
    }
    .proj-hero { margin: 16px 0 48px; }
    .stage-tall { min-height: 0; aspect-ratio: 4 / 5; }
    .stage-q-1 { min-height: 0; aspect-ratio: 4 / 5; }
    .proj-stage--ab,
    .proj-stage--ba,
    .proj-stage--quote,
    .proj-pair,
    .proj-stage--results {
        margin-bottom: 60px;
        gap: 16px;
    }
    .proj-text { padding: 8px 0; max-width: 100%; }
    .proj-text p { font-size: 13px; }
    .proj-pullquote {
        font-size: clamp(24px, 6vw, 36px);
        line-height: 1.1;
        max-width: 100%;
    }
    .proj-closing { margin: 0 0 32px; aspect-ratio: 16 / 9; }
    .proj-footer { padding: 24px 0 60px; }
    .proj-next { font-size: 22px; }
    .proj-text-num { font-size: 11px; }

    /* === Contact page === */
    .contact-block {
        padding: 40px 18px;
        gap: 32px;
    }
    .contact-headline { font-size: clamp(36px, 11vw, 64px); }
    .contact-socials { font-size: 14px; }
    .contact-info { gap: 16px; }
    .quote-section { padding: 48px 18px 24px; gap: 24px; }
    .quote-headline {
        font-size: clamp(32px, 10vw, 56px);
        min-height: 2em;
    }
    .quote-field input,
    .quote-field select,
    .quote-field textarea { font-size: 14px; }
    .quote-tagline { font-size: 13px; }
    .quote-submit { padding: 12px 24px; font-size: 13px; width: 100%; text-align: center; }

    /* === About page === */
    .about-hero { padding: 16px; }
    .about-scatter { height: 460px; }
    .about-hello {
        font-size: clamp(40px, 12vw, 72px);
        line-height: 1.05;
    }
    .about-intro { padding: 40px 18px; gap: 20px; }
    .about-name { font-size: clamp(32px, 9vw, 48px); }
    .about-aka { font-size: 12px; }
    .bio-cell p, p.bio-cell { font-size: 13px; max-width: 100%; }
    .about-belief { padding: 32px 18px 60px; }
    .belief-text {
        font-size: clamp(28px, 9vw, 48px);
        line-height: 1.05;
        gap: 0.12em 0.18em;
    }
    .about-skills { padding: 24px 0; }
    .skills-marquee { font-size: clamp(18px, 5vw, 28px); }
    .about-beyond { padding: 48px 18px; gap: 24px; }
    .beyond-frame { max-width: 100%; }
    .beyond-text { font-size: 13px; max-width: 100%; }
    .about-cta { padding: 32px 18px 60px; }
    .cta-text {
        font-size: clamp(36px, 11vw, 60px);
        line-height: 1;
        margin-bottom: 32px;
    }
    .cta-line {
        transform: translateX(-120px) rotate(-3deg) skewX(-4deg);
    }
    .cta-line:nth-child(even) {
        transform: translateX(120px) rotate(3deg) skewX(4deg);
    }
    .cta-cv { font-size: 13px; }

    /* === CV page === */
    .cv-hero { padding: 32px 18px 16px; gap: 20px; }
    .cv-hero-photo { max-width: 220px; }
    .cv-name { font-size: clamp(36px, 11vw, 64px); }
    .cv-subname { font-size: 14px; }
    .cv-section { padding: 48px 18px; }
    .cv-section-title {
        font-size: clamp(28px, 8vw, 44px);
        margin-bottom: 24px;
    }
    .cv-entries { gap: 24px; }
    .cv-entry { max-width: 100%; }
    .cv-role { font-size: 18px; }
    .cv-entry p { font-size: 13px; }
    .cv-date { font-size: 11px; }
    .cv-section--tools { padding-bottom: 80px; }
    .cv-tools { gap: 14px; }
    .cv-tool { grid-template-columns: 110px 1fr; gap: 12px; }
    .cv-tool-name { font-size: 13px; }
    .cv-bar { height: 8px; }
}

/* ========== EXTRA SMALL (≤480px) — tighten further ========== */
@media (max-width: 480px) {
    .header { padding: 0 12px; }
    .header-right .nav-link { font-size: 11px; }
    .logo { font-size: 14px; }

    .hero { padding: 70px 14px 32px; }
    .hero-frame { height: 200px; }
    .hero-title { font-size: 26px; }

    .selected-works { padding: 40px 14px; gap: 48px; }
    .work-title { font-size: clamp(26px, 10vw, 40px); }
    .work-meta { font-size: 10px; gap: 4px 10px; }

    .all-work { padding: 40px 14px 60px; }
    .scatter { height: 520px; }
    .all-work-title { font-size: 36px; }

    .footer { padding: 40px 14px 24px; gap: 28px; }
    .footer-text { font-size: 28px; }

    .work-head { padding: 24px 14px 12px; }
    .work-page-title { font-size: 48px; }
    .work-grid-view { padding: 0 14px 40px; gap: 8px; }
    .list-row { font-size: 18px; }

    .project { padding: 24px 14px 20px; }
    .proj-title { font-size: 24px; top: 56px; }
    .proj-meta { font-size: 11px; column-gap: 12px; }
    .proj-pullquote { font-size: 22px; }
    .proj-next { font-size: 18px; }

    .contact-block { padding: 32px 14px; }
    .contact-headline { font-size: 40px; }
    .quote-section { padding: 32px 14px 20px; }
    .quote-headline { font-size: 36px; }
    .quote-label { font-size: 11px; }

    .about-hero { padding: 12px; }
    .about-scatter { height: 360px; }
    .about-hello { font-size: 36px; }
    .about-intro { padding: 32px 14px; }
    .about-name { font-size: 28px; }
    .belief-text { font-size: 26px; }
    .skills-marquee { font-size: 18px; }
    .cta-text { font-size: 36px; }

    .cv-hero { padding: 24px 14px 12px; }
    .cv-hero-photo { max-width: 180px; }
    .cv-name { font-size: 36px; }
    .cv-section { padding: 36px 14px; }
    .cv-section-title { font-size: 26px; }
    .cv-role { font-size: 16px; }
    .cv-tool { grid-template-columns: 96px 1fr; gap: 10px; }
    .cv-tool-name { font-size: 12px; }
}

/* ========== Reduce heavy animations on mobile/touch ========== */
@media (max-width: 760px) {
    /* Soften the cta-line and belief-word transforms so they don't overshoot off-screen on narrow viewports */
    .belief-word {
        transform: translateY(60px) rotate(-4deg) scale(0.85);
        filter: blur(4px);
    }
    /* Disable mouse-driven parallax (it's only relevant on cursor-capable devices) */
    .scatter-frame,
    .about-scatter .scatter-frame { --mx: 0px; --my: 0px; }
    /* Project title isn't sticky on mobile (saves space) */
    .proj-title { position: static; }
}

/* ==========================================================================
   i18n: Language picker + loading screen overlays
   ========================================================================== */
body.lang-locked { overflow: hidden; }

#lang-overlay,
#loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
}
#lang-overlay[hidden],
#loader-overlay[hidden] { display: none; }

#lang-overlay.is-visible,
#loader-overlay.is-visible { opacity: 1; }

#lang-overlay.is-hidden,
#loader-overlay.is-hidden { opacity: 0; }

.lang-picker {
    text-align: center;
    padding: 2rem;
    max-width: 720px;
    width: 100%;
}

.lang-toggle {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    align-items: baseline;
    margin: 0 0 1.5rem 0;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.lang-option {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #999;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.2s ease;
}
.lang-option.is-active {
    color: #000;
    font-weight: 700;
}
.lang-option:hover { color: #000; }
.lang-option:focus-visible { outline: none; }

.lang-sep {
    color: #999;
    font-size: 14px;
}

.lang-go {
    display: inline-block;
    margin-top: 0.5rem;
    color: #000;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.lang-go:hover { opacity: 0.6; }

.loader-counter {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: -0.04em;
    color: #000;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

/* Header language switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    letter-spacing: -0.025em;
    color: var(--gray-light, #999);
}
.lang-switch-btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: -0.025em;
    color: var(--gray-light, #999);
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}
.lang-switch-btn.is-active {
    color: var(--black, #000);
    font-weight: 700;
    text-decoration: underline;
}
.lang-switch-btn:hover { color: var(--black, #000); }
.lang-switch-btn:focus-visible { outline: none; }

@media (max-width: 540px) {
    .lang-toggle { flex-direction: row; }
}

/* ========================================================================
   Updates: preloader gate, nowrap, footer contact links, CV buttons,
   contact-info-below-form, ES-only CV nav link
   ======================================================================== */

/* Hide page content while picker/loader is about to run (first visit / home first-of-session) */
html.is-preloading body > *:not(#lang-overlay):not(#loader-overlay) { visibility: hidden; }
html.is-preloading #loader-overlay,
html.is-preloading #lang-overlay { visibility: visible; }

/* Header: "Let's get in touch ;)" + lang switch in one line */
.header-right .nav-link { white-space: nowrap; }

/* Home/work bracket titles: prevent the brackets from spreading the title onto two lines */
.work-title .title-text,
.card-title-text,
.proj-title .title-text { white-space: nowrap; }

/* Footer contact links — keep visual style identical to .contact-value */
.footer-contact-info a.contact-value {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.footer-contact-info a.contact-value:hover { opacity: 0.7; }

/* CV nav link — visible in both languages */
.nav-link--cv-es { display: inline; }

/* CV BUTTON (about page) */
.cv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.cv-button:hover { transform: translateY(-2px); }
.cv-button--ghost {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
}
.cv-button--ghost:hover { background: var(--black); color: var(--white); }
.cv-button--xl { padding: 18px 36px; font-size: 18px; }

.cv-inline-block {
    display: flex;
    justify-content: center;
    padding: 24px 40px 8px;
}
.cv-inline-block--alt { justify-content: flex-end; padding: 24px 40px; }

/* Floating CV (about page only) — always visible while scrolling */
.cv-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    padding: 12px 22px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.cv-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
@media (max-width: 600px) {
    .cv-floating { right: 16px; bottom: 16px; padding: 10px 18px; font-size: 12px; }
    .cv-inline-block, .cv-inline-block--alt { padding: 18px 20px; justify-content: center; }
}

/* Contact: contact-info moved below the form, no longer in the grid above */
.contact-info--below {
    display: flex;
    gap: 40px;
    padding: 24px 40px 40px;
    flex-wrap: wrap;
}
.contact-info--below .contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-block--compact { min-height: auto; padding-bottom: 0; }
.contact-block--compact .contact-block-main { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .contact-info--below { padding: 20px 20px 32px; gap: 24px; }
}

/* ========================================================================
   Roaming CV button — drifts across the viewport, always clickable
   ======================================================================== */
.cv-roaming {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 950;
    padding: 14px 26px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    will-change: transform;
    animation: cvRoamWild 14s cubic-bezier(.65,.05,.35,1) infinite;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.cv-roaming:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    outline: 1.5px solid var(--black);
    outline-offset: -1.5px;
    animation-play-state: paused;
}
.cv-roaming:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
    animation-play-state: paused;
}

@keyframes cvRoamWild {
      0% { transform: translate( 4vw,  82vh) rotate(-8deg)  scale(1);    }
     10% { transform: translate(70vw,  85vh) rotate( 12deg) scale(1.1);  }
     20% { transform: translate(82vw,  20vh) rotate(-15deg) scale(0.92); }
     30% { transform: translate(20vw,   8vh) rotate( 9deg)  scale(1.08); }
     40% { transform: translate(50vw,  55vh) rotate(-20deg) scale(1);    }
     50% { transform: translate( 6vw,  40vh) rotate( 14deg) scale(0.95); }
     60% { transform: translate(78vw,  60vh) rotate(-10deg) scale(1.12); }
     70% { transform: translate(30vw,  86vh) rotate( 18deg) scale(0.98); }
     80% { transform: translate(60vw,  12vh) rotate(-12deg) scale(1.05); }
     90% { transform: translate(10vw,  68vh) rotate( 6deg)  scale(1);    }
    100% { transform: translate( 4vw,  82vh) rotate(-8deg)  scale(1);    }
}

@media (prefers-reduced-motion: reduce) {
    .cv-roaming {
        animation: none;
        top: auto;
        bottom: 24px;
        right: 24px;
        left: auto;
    }
}

@media (max-width: 600px) {
    .cv-roaming {
        padding: 11px 20px;
        font-size: 12px;
        animation-duration: 18s;
    }
    @keyframes cvRoamWild {
          0% { transform: translate( 4vw, 82vh) rotate(-8deg)  scale(1);    }
         20% { transform: translate(55vw, 70vh) rotate( 12deg) scale(1.08); }
         40% { transform: translate(58vw, 14vh) rotate(-15deg) scale(0.95); }
         60% { transform: translate( 6vw, 30vh) rotate( 10deg) scale(1.05); }
         80% { transform: translate(40vw, 88vh) rotate(-10deg) scale(1);    }
        100% { transform: translate( 4vw, 82vh) rotate(-8deg)  scale(1);    }
    }
}

/* ========================================================================
   Clickable home work-title brackets (link wraps existing animated spans)
   ======================================================================== */
.work-title-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.work-title-link:hover { opacity: 0.72; }

/* ========================================================================
   Contact socials → minimal floating chips that drift
   ======================================================================== */
.contact-socials--inline {
    display: flex;
    gap: 16px;
    margin-top: 80px;
    flex-wrap: wrap;
}
.contact-socials .social-chip,
.social-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    animation: socialDrift 6s ease-in-out infinite;
    will-change: transform;
}
.contact-socials .social-chip--alt,
.social-chip--alt {
    background: var(--white);
    color: var(--black);
    border: 1.5px solid var(--black);
    animation-delay: -2.5s;
    animation-duration: 7s;
}
.contact-socials .social-chip:hover,
.social-chip:hover {
    transform: translateY(-2px) scale(1.03);
    animation-play-state: paused;
}
.contact-socials .social-chip--alt:hover,
.social-chip--alt:hover { background: var(--black); color: var(--white); }

@keyframes socialDrift {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    25%      { transform: translate(8px, -6px) rotate(2deg); }
    50%      { transform: translate(-4px, -10px) rotate(-3deg); }
    75%      { transform: translate(-10px, 4px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .social-chip { animation: none; }
}

/* ========================================================================
   Contact page: more breathing room
   ======================================================================== */
.contact-block { padding: 120px 60px; gap: 60px; }
@media (max-width: 900px) {
    .contact-block { padding: 80px 24px; }
    .contact-socials--inline { margin-top: 48px; }
}

/* Footer now 2 columns (footer-left removed across the site) */
@media (max-width: 900px) {
    .footer { grid-template-columns: 1fr; }
}

/* ========================================================================
   Work + project frames: switch to contain to avoid cropping text inside
   the images. Use a neutral white canvas so the letterboxing reads clean.
   ======================================================================== */
.selected-works .work-frame,
.work-grid-view .work-card-frame,
.project-page .proj-frame {
    background: transparent;
}

/* Glenlivet: long project title on a single line */
.project-page--glenlivet .proj-title {
    font-size: clamp(22px, 3.1vw, 48px);
    white-space: nowrap;
}
.project-page--glenlivet .proj-title .title-text { white-space: nowrap; }
@media (max-width: 640px) {
    .project-page--glenlivet .proj-title { font-size: clamp(16px, 5vw, 22px); }
}

/* Generous breathing room between hero image and project title on every project page */
.project-page .proj-head { margin-top: 40px; margin-bottom: 40px; }
.project-page .proj-hero { margin-bottom: 60px; }
.project-page .proj-stage { margin-bottom: 40px; }
@media (max-width: 900px) {
    .project-page .proj-hero { margin-bottom: 40px; }
}

/* ========================================================================
   Ojo de Tigre: playful scatter of graphic pieces + enlarged claim frame
   ======================================================================== */
.stage-tall--xl { aspect-ratio: 4 / 5; min-height: 640px; }
@media (max-width: 900px) {
    .stage-tall--xl { min-height: 0; aspect-ratio: 4 / 5; }
}

.proj-pieces-scatter {
    position: relative;
    padding: 80px 40px 120px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
}
.proj-pieces-scatter .piece {
    overflow: hidden;
    transition: transform 0.4s ease;
}
.proj-pieces-scatter .piece:hover { transform: translateY(-6px) rotate(0) !important; }
.proj-pieces-scatter .piece img { width: 100%; height: auto; display: block; }

.piece--mezcaloclock { grid-column: 1 / span 5; margin-top: 0;    transform: rotate(-2.5deg); }
.piece--menu         { grid-column: 7 / span 4; margin-top: 80px; transform: rotate(1.8deg); }
.piece--invitation   { grid-column: 3 / span 5; margin-top: 40px; transform: rotate(-1.2deg); }
.piece--thankyou     { grid-column: 8 / span 5; margin-top: -40px; transform: rotate(2.8deg); }

@media (max-width: 900px) {
    .proj-pieces-scatter { padding: 40px 20px 80px; gap: 32px; grid-template-columns: 1fr; }
    .piece--mezcaloclock,
    .piece--menu,
    .piece--invitation,
    .piece--thankyou {
        grid-column: 1;
        margin-top: 0;
    }
}

/* Ojo de Tigre — creative process slides (full-width, generous spacing) */
.proj-process {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.proj-process-slide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}
.proj-process-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 900px) {
    .proj-process { padding: 32px 16px; gap: 24px; }
}

/* ========================================================================
   Genstone project: brand green, product carousel, big site CTA
   ======================================================================== */
.project-page--genstone { --genstone-green: #68D38E; }

/* Product line-up: static 3×2 grid of the family, no arrows */
.genstone-lineup {
    padding: 40px 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.genstone-lineup-header {
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray-dark);
    text-transform: uppercase;
}
.genstone-lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #F1F2F1;
    padding: 24px;
    border-radius: 12px;
}
.genstone-lineup-item {
    aspect-ratio: 1 / 1;
    background: #F1F2F1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.genstone-lineup-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product zoom — the two shots were composed to sit together as one wide diptych */
.genstone-zooms {
    padding: 20px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #E9EAE9;
    border-radius: 8px;
    overflow: hidden;
}
.genstone-zoom-item {
    aspect-ratio: 4 / 5;
    background: transparent;
    overflow: hidden;
}
.genstone-zoom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Nudge the two halves toward each other so the product joins across the gutter */
.genstone-zoom-item:first-child img { object-position: right center; }
.genstone-zoom-item:last-child  img { object-position: left center; }

@media (max-width: 900px) {
    .genstone-lineup { padding: 24px 20px 10px; }
    .genstone-lineup-grid { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
    .genstone-zooms { grid-template-columns: 1fr; padding: 10px 20px 40px; }
    .genstone-zoom-item { aspect-ratio: 4 / 3; }
    .genstone-zoom-item:first-child img,
    .genstone-zoom-item:last-child img { object-position: center; }
}

/* Site CTA — compact pill with the brand green */
.genstone-site-cta {
    padding: 40px 40px 80px;
    display: flex;
    justify-content: center;
}
.genstone-site-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 22px;
    background: var(--genstone-green, #68D38E);
    color: var(--black);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 14px rgba(48, 168, 74, 0.22);
}
.genstone-site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(48, 168, 74, 0.30);
    background: #7ADD9E;
}
.genstone-site-btn-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--black);
}
.genstone-site-btn-url {
    font-size: 15px;
    color: var(--black);
    line-height: 1;
}
@media (max-width: 700px) {
    .genstone-site-cta { padding: 28px 20px 56px; }
    .genstone-site-btn { padding: 8px 16px; }
    .genstone-site-btn-url { font-size: 13px; }
}

/* ========================================================================
   MOBILE (≤820px) — simple, linear, always-visible.
   Desktop rules above are untouched. Strategy: kill all fixed/absolute
   positioning, kill parallax, stack everything vertically, guarantee the
   header + full menu are present, cap image heights so text is never cut.
   ======================================================================== */
@media (max-width: 820px) {

    /* --- Base --- */
    html { scroll-behavior: auto; }
    html, body {
        -webkit-text-size-adjust: 100%;
        overflow-x: hidden;
        max-width: 100vw;
    }
    body {
        font-size: 16px !important;
        line-height: 1.55 !important;
        letter-spacing: -0.01em;
    }
    p { font-size: 16px; line-height: 1.6; }
    img { max-width: 100%; height: auto; }

    /* Kill parallax offsets on mobile (JS still runs, but --py has no effect) */
    [data-parallax] { transform: none !important; --py: 0 !important; }

    /* --- HEADER: static, stacks, ALWAYS visible --- */
    .header {
        position: static !important;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 16px;
        height: auto !important;
        min-height: 0 !important;
        padding: 14px 18px !important;
        background: var(--white);
        border-bottom: 1px solid #eee;
        grid-template-columns: none !important;
    }
    .logo {
        font-size: 18px;
        justify-self: auto;
        flex: 0 0 auto;
    }
    /* Force the nav to appear (earlier 900px block hides it with display:none) */
    .nav-center {
        display: block !important;
        order: 3;
        flex: 1 0 100%;
        justify-self: auto;
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
        padding: 8px 0 2px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
    }
    .nav-center .nav-link,
    .nav-center a { font-size: 14px; }
    .nav-comma { display: inline; }
    .header-right {
        order: 2;
        justify-self: auto;
        gap: 12px !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .header-location { display: none !important; }
    .lang-switch { font-size: 13px; }
    .lang-switch-btn { font-size: 13px; }
    .nav-link--cta { font-size: 13px; }

    /* No body top-padding since header is static now */
    body { padding-top: 0 !important; }

    /* --- HOME --- */
    .hero { padding: 28px 20px 40px !important; }
    .hero-frame {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 260px !important;
        margin: 0 0 24px !important;
        transform: none !important;
    }
    .hero-intro {
        position: static !important;
        max-width: 100% !important;
        margin: 0 0 24px !important;
        font-size: 15px;
        line-height: 1.55;
    }
    .hero-title {
        padding-top: 0 !important;
        text-indent: 0 !important;
        font-size: clamp(34px, 9vw, 48px) !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }
    .hero-title .bracket,
    .hero-title .bracket-l,
    .hero-title .bracket-r { display: inline; transform: none !important; }
    .hero-bottom {
        margin-top: 32px;
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
    .hero-col-label { font-size: 13px; letter-spacing: 1.2px; }
    .hero-col-text  { font-size: 15px; line-height: 1.55; }

    /* Selected works — single column */
    .selected-works {
        padding: 40px 20px !important;
        gap: 56px !important;
    }
    .work { gap: 20px !important; }
    .work-meta { flex-wrap: wrap; gap: 4px 12px; font-size: 12px; justify-content: flex-start !important; }
    .work-meta > span { white-space: normal !important; }
    .work-title-wrapper { padding-top: 8px !important; }
    /* Titles are long — force them to wrap and disable the scroll-driven scale */
    .work-title {
        display: block !important;
        font-size: clamp(28px, 8vw, 40px) !important;
        line-height: 1.05 !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
    }
    .work-title-link {
        display: inline;
        text-decoration: none;
        color: inherit;
    }
    .work-title .bracket,
    .work-title .bracket-l,
    .work-title .bracket-r,
    .work-title .title-text {
        display: inline !important;
        transform: none !important;
        white-space: normal !important;
    }
    .work-annotation { display: none !important; }
    .work-categories {
        font-size: 12px;
        letter-spacing: 1px;
        text-align: left;
        transform: none !important;
        margin-top: 6px !important;
    }
    /* Keep the frame positioned so the absolute <img inset:0> stays inside it */
    .work-frame {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        transform: none !important;
        margin: 0 !important;
    }
    .work-frame > img,
    .work-frame > video {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .work-cta { font-size: 13px; text-align: right; display: block; }

    /* All-work scatter → clean stacked grid (scatter is unusable on phones) */
    .all-work { padding: 40px 20px 60px !important; }
    .all-work-title { font-size: clamp(40px, 12vw, 64px) !important; }
    .scatter {
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        position: relative !important;
    }
    .scatter-frame,
    .scatter .frame,
    .scatter > [class*="f"] {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: block !important;
    }
    .scatter-frame.f15,
    .scatter-frame.f16,
    .scatter-frame.f17,
    .scatter-frame.f18,
    .scatter-frame.f19,
    .scatter-frame.f20,
    .scatter-frame.f21,
    .scatter-frame.f22,
    .scatter-frame.f23,
    .scatter-frame.f24 { display: block !important; }

    /* --- WORK PAGE --- */
    .work-head { padding: 24px 20px 8px !important; }
    .work-page-title { font-size: clamp(44px, 13vw, 72px) !important; }
    .view-toggle { font-size: 13px; }
    .work-grid,
    .work-row,
    .work-row--2,
    .work-row--3 {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        padding: 0 20px !important;
    }
    .work-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    .work-card-frame,
    .work-card-image {
        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
    }
    .work-card-caption {
        font-size: 14px;
        gap: 6px;
        padding: 12px 2px 0;
    }
    .work-card-title { font-size: 15px; }
    .work-card-year { font-size: 13px; }

    /* List view */
    .list-row { padding: 14px 6px !important; }
    .list-name { font-size: 22px !important; }
    .list-cat  { font-size: 11px !important; }
    .list-year { font-size: 13px !important; }

    /* --- PROJECT PAGES --- */
    .project-page .proj-head {
        padding: 24px 20px 16px !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }
    .proj-title {
        position: static !important;
        font-size: clamp(28px, 9vw, 44px) !important;
        padding: 4px 0 !important;
        top: auto !important;
        text-align: left !important;
        white-space: normal !important;
    }
    .proj-title .bracket,
    .proj-title .bracket-l,
    .proj-title .bracket-r {
        transform: none !important;
        margin: 0 0.1em;
        display: inline;
    }
    .proj-title .title-text {
        white-space: normal !important;
        transform: none !important;
        display: inline;
    }
    .proj-meta {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 16px !important;
        padding-top: 14px !important;
    }
    .proj-meta li { display: flex; flex-direction: column; gap: 4px; }
    .proj-meta-label { font-size: 10px; letter-spacing: 1.3px; }
    .proj-meta-value { font-size: 14px; line-height: 1.35; }

    .proj-hero {
        margin: 0 20px 32px !important;
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
    }
    .project-page .proj-hero,
    .project-page .proj-closing,
    .project-page .proj-frame { border-radius: 4px; }

    /* Every 2-col project block collapses to 1 column */
    .proj-stage,
    .proj-stage--ab,
    .proj-stage--ba,
    .proj-pair,
    .proj-stage--quote,
    .proj-stage--results {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 20px !important;
        margin: 0 0 40px !important;
    }
    .proj-stage > *,
    .proj-stage--ab > *,
    .proj-stage--ba > *,
    .proj-pair > * {
        width: 100% !important;
        margin-bottom: 24px !important;
        grid-column: auto !important;
    }
    .stage-text,
    .stage-text.proj-text,
    .proj-text {
        grid-column: auto !important;
        padding: 0 !important;
    }

    /* Image frames — keep position:relative (contains absolute img inset:0) and cap sizes */
    .proj-frame,
    .stage-tall,
    .stage-tall--xl,
    .stage-q-1,
    .pair-a, .pair-b {
        position: relative !important;
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        width: 100% !important;
        transform: none !important;
    }
    .proj-pair .pair-a,
    .proj-pair .pair-b {
        aspect-ratio: 4 / 3 !important;
    }
    .proj-frame > img,
    .proj-frame > video {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .proj-closing {
        margin: 0 20px 24px !important;
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
    }

    /* Paragraph copy — comfortable reading */
    .proj-text p {
        font-size: 16px !important;
        line-height: 1.65 !important;
        margin-bottom: 14px !important;
    }
    .proj-text-num {
        font-size: 44px !important;
        line-height: 1 !important;
        margin-bottom: 14px !important;
        display: block !important;
    }
    .proj-text-label { font-size: 11px !important; letter-spacing: 1.4px; }

    .proj-pullquote {
        font-size: clamp(24px, 6.8vw, 34px) !important;
        line-height: 1.2 !important;
        padding: 8px 0 !important;
        white-space: normal !important;
    }

    /* Genstone-specific */
    .genstone-lineup { padding: 20px !important; }
    .genstone-lineup-grid {
        grid-template-columns: 1fr 1fr !important;
        padding: 12px !important;
        gap: 10px !important;
    }
    .genstone-lineup-eyebrow { font-size: 12px; letter-spacing: 1.2px; }
    .genstone-zooms {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 20px !important;
    }
    .proj-pieces-scatter {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 20px !important;
        height: auto !important;
        position: relative !important;
    }
    .proj-pieces-scatter .piece {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }
    .genstone-site-cta { padding: 28px 20px 48px !important; }
    .genstone-site-btn { padding: 12px 22px !important; font-size: 14px; }
    .genstone-site-btn-url { font-size: 13px; }

    /* Next project */
    .proj-footer { padding: 20px 20px 40px !important; }
    .proj-next { font-size: 15px !important; }

    /* --- ABOUT --- */
    .about-hero { padding: 40px 20px 0 !important; }
    .about-hello, .about-name { font-size: clamp(32px, 10vw, 46px) !important; }
    .about-aka { font-size: 13px; }
    .about-intro {
        grid-template-columns: 1fr !important;
        padding: 32px 20px !important;
        gap: 20px !important;
    }
    .bio-cell, .bio-cell p { font-size: 16px !important; line-height: 1.6 !important; }
    .about-belief { padding: 40px 20px !important; }
    .belief-text { font-size: clamp(26px, 7.5vw, 38px) !important; line-height: 1.2 !important; }
    .about-skills { padding: 24px 0 !important; }
    .skill-word, .skill-sep { font-size: 24px !important; }
    .about-beyond {
        padding: 32px 20px !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .beyond-frame { aspect-ratio: 4 / 3 !important; height: auto !important; }
    .beyond-text { font-size: 16px !important; line-height: 1.6 !important; }
    .about-cta { padding: 40px 20px 60px !important; text-align: left !important; }
    .cta-text { font-size: clamp(28px, 8vw, 42px) !important; line-height: 1.2 !important; }
    .cta-line { display: block; }

    /* Roaming CV button — pin it, don't fly it around a tiny screen */
    .cv-roaming {
        position: fixed !important;
        left: 50% !important;
        top: auto !important;
        bottom: 16px !important;
        transform: translateX(-50%) !important;
        animation: none !important;
        padding: 12px 22px !important;
        font-size: 13px !important;
        z-index: 900;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    /* --- CV --- */
    .cv-hero, .cv-body { padding: 24px 20px !important; }
    .cv-name { font-size: clamp(44px, 13vw, 64px) !important; }
    .cv-subname { font-size: 13px; }
    .cv-section-title { font-size: clamp(24px, 6.8vw, 32px) !important; }
    .cv-role { flex-direction: column !important; gap: 4px !important; }
    .cv-role-name, .cv-role-title { font-size: 15px !important; }
    .cv-role-desc { font-size: 14px !important; line-height: 1.55 !important; }
    .cv-tools { grid-template-columns: 1fr !important; gap: 14px !important; }
    .cv-tool { grid-template-columns: 110px 1fr !important; gap: 12px !important; }
    .cv-tool-name { font-size: 14px !important; }
    .cv-tool-note { font-size: 11px !important; }
    .cv-bar { height: 6px !important; }

    /* --- CONTACT --- */
    .contact-block {
        grid-template-columns: 1fr !important;
        padding: 40px 20px 32px !important;
        min-height: auto !important;
        gap: 32px !important;
    }
    .contact-headline { font-size: clamp(40px, 13vw, 68px) !important; }
    .contact-socials--inline {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
    .social-chip { font-size: 13px; padding: 10px 18px; }

    .quote-section {
        grid-template-columns: 1fr !important;
        padding: 40px 20px 24px !important;
        gap: 24px !important;
    }
    .quote-headline {
        position: static !important;
        font-size: clamp(30px, 9vw, 46px) !important;
        line-height: 1.1 !important;
        min-height: 0 !important;
    }
    .quote-form-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .quote-field { font-size: 15px; }
    .quote-label { font-size: 11px; letter-spacing: 1.4px; }
    .quote-field input,
    .quote-field select,
    .quote-field textarea {
        font-size: 16px !important; /* prevents iOS auto-zoom on focus */
        width: 100% !important;
    }
    .quote-form-foot {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .quote-tagline { font-size: 14px; }
    .quote-submit { font-size: 15px !important; padding: 14px 28px !important; }

    /* --- FOOTER (global) --- */
    .footer {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        padding: 48px 20px 32px !important;
        gap: 28px !important;
        align-items: flex-start !important;
    }
    .footer-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px 20px !important;
    }
    .footer-nav-link { font-size: 14px !important; }
    .footer-contact-info { gap: 12px !important; }
    .contact-item { display: flex; flex-direction: column; gap: 2px; }
    .contact-label { font-size: 10px; letter-spacing: 1.4px; }
    .contact-value { font-size: 14px !important; }

    /* Language picker overlay + loader — center on small screens */
    #lang-overlay .lang-picker { padding: 24px !important; }
    .lang-toggle { font-size: 14px !important; }
    .lang-option { font-size: 14px !important; }
    .loader-counter { font-size: clamp(60px, 20vw, 100px) !important; }
}

/* --- Extra-tight phones (≤420px) --- */
@media (max-width: 420px) {
    body { font-size: 15px !important; }
    p, .proj-text p { font-size: 15px !important; }
    .header { padding: 12px 14px !important; }
    .logo { font-size: 16px; }
    .nav-center, .nav-center .nav-link { font-size: 13px !important; }
    .nav-link--cta { font-size: 12px !important; }
    .lang-switch, .lang-switch-btn { font-size: 12px !important; }
    .selected-works,
    .about-intro,
    .about-belief,
    .quote-section,
    .contact-block { padding-left: 16px !important; padding-right: 16px !important; }
    .proj-stage,
    .proj-stage--ab,
    .proj-stage--ba,
    .proj-pair,
    .proj-stage--quote,
    .proj-stage--results { padding: 0 16px !important; }
    .proj-hero, .proj-closing { margin-left: 16px !important; margin-right: 16px !important; }
    .genstone-lineup-grid { grid-template-columns: 1fr 1fr !important; }
    .scatter { grid-template-columns: 1fr 1fr !important; }
}
