/* =========================================================
   AL AMIN SANI — PORTFOLIO
   Editorial / Research / Engineering
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #0b0b0b;
    --surface: #151515;

    --paper: #f0eee8;
    --paper-soft: #d8d5cd;
    --paper-muted: #99968e;

    --line: rgba(240, 238, 232, .16);
    --line-strong: rgba(240, 238, 232, .32);

    --accent: #d8ff3e;

    --font-display: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    --page-padding: clamp(20px, 4vw, 72px);
    --section-space: clamp(100px, 11vw, 180px);
    --max-width: 1680px;

    --fast: 180ms ease;
    --transition: 350ms cubic-bezier(.2, .7, .2, 1);
    --slow: 700ms cubic-bezier(.2, .7, .2, 1);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    color: var(--paper);

    background:
        linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px),
        var(--bg);

    background-size: 72px 72px;

    font-family: var(--font-body);
    line-height: 1.5;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

figure,
h1,
h2,
h3,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

::selection {
    color: #0b0b0b;
    background: var(--accent);
}


/* =========================================================
   ACCESSIBILITY + PAGE EFFECTS
   ========================================================= */

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 10000;

    padding: 10px 16px;

    color: #000;
    background: var(--accent);

    transform: translateY(-180%);
    transition: transform var(--fast);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 9999;

    pointer-events: none;

    opacity: .035;

    background-image:
        repeating-radial-gradient(
            circle at 0 0,
            transparent 0,
            rgba(255, 255, 255, .55) 1px,
            transparent 2px
        );

    background-size: 7px 7px;

    mix-blend-mode: screen;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;

    width: 0;
    height: 2px;

    background: var(--accent);
}

.cursor {
    display: none;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.eyebrow {
    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .13em;

    text-transform: uppercase;
}

.section-marker {
    display: flex;
    align-items: center;
    gap: 18px;

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
}

.section-marker span:first-child {
    color: var(--accent);
}

.section-marker::after {
    content: "";

    width: 90px;
    height: 1px;

    background: var(--line);
}

.inline-arrow-link,
.text-link {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    width: fit-content;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--line-strong);

    font-size: 14px;
    font-weight: 500;

    transition:
        color var(--fast),
        border-color var(--fast),
        gap var(--fast);
}

.inline-arrow-link:hover,
.text-link:hover {
    gap: 20px;

    color: var(--accent);
    border-color: var(--accent);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    min-height: 52px;

    padding: 0 21px;

    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform var(--fast),
        background var(--fast),
        color var(--fast),
        border-color var(--fast);
}

.button--primary {
    color: #0b0b0b;
    background: var(--accent);
}

.button--primary:hover {
    background: var(--paper);

    transform: translateY(-2px);
}

.button--outline {
    color: var(--paper);

    border-color: var(--line-strong);
}

.button--outline:hover {
    color: #0b0b0b;

    background: var(--paper);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;

    width: 100%;

    padding:
        24px
        var(--page-padding);

    border-bottom:
        1px solid
        var(--line);
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    width: fit-content;
}

.brand__mark {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: #0b0b0b;
    background: var(--accent);

    font-family: var(--font-mono);
    font-size: 10px;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__text strong {
    font-size: 12px;
    letter-spacing: .07em;
}

.brand__text small {
    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 8px;
}

.site-nav {
    display: flex;
    align-items: center;

    gap: clamp(18px, 2vw, 38px);
}

.site-nav a {
    position: relative;

    padding: 4px 0;

    color: var(--paper-soft);

    font-size: 12px;

    transition: color var(--fast);
}

.site-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform var(--transition);
}

.site-nav a:hover {
    color: var(--paper);
}

.site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   HEADER LINKEDIN
   ========================================================= */

.header-linkedin {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--paper-soft);

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .04em;

    transition: color var(--fast);
}

.header-linkedin:hover {
    color: var(--accent);
}

.linkedin-mark {
    display: grid;
    place-items: center;

    width: 20px;
    height: 20px;

    color: #0b0b0b;
    background: var(--paper);

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    transition:
        color var(--fast),
        background var(--fast);
}

.header-linkedin:hover .linkedin-mark {
    background: var(--accent);
}

.nav-linkedin-mobile {
    display: none;
}

.menu-toggle {
    display: none;

    padding: 8px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 1px;

    margin: 6px 0;

    background: var(--paper);
}


/* =========================================================
   SHARED WIDTH
   ========================================================= */

.hero,
.manifesto,
.operating-system,
.recognition,
.outside-lab {
    max-width: var(--max-width);

    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.34fr)
        minmax(340px, .66fr);

    grid-template-rows:
        auto
        auto
        1fr;

    min-height: 100svh;

    column-gap:
        clamp(35px, 4.6vw, 78px);

    /*
       Metadata was removed, so hero moves upward.
    */

    padding:
        140px
        var(--page-padding)
        24px;
}

.hero::before {
    content: "";

    position: absolute;
    top: 0;

    right:
        calc(
            var(--page-padding) +
            clamp(340px, 30vw, 485px) +
            18px
        );

    width: 1px;
    height: 100%;

    background: var(--line);

    pointer-events: none;
}


/* =========================================================
   HERO IDENTITY
   ========================================================= */

.hero__identity {
    grid-column: 1;
    grid-row: 1;

    position: relative;
    z-index: 5;

    padding-left:
        clamp(14px, 2vw, 38px);
}

.hero__identity .eyebrow {
    margin-bottom:
        clamp(14px, 1.5vw, 22px);
}

.hero__identity h1 {
    max-width: 900px;

    font-family: var(--font-display);

    font-size:
        clamp(74px, 9.5vw, 165px);

    font-weight: 700;
    line-height: .79;

    letter-spacing: -.075em;

    text-transform: uppercase;
    text-wrap: balance;
}

.hero__lower {
    display: contents;
}


/* =========================================================
   HERO PORTRAIT
   ========================================================= */

.hero__portrait-wrap {
    grid-column: 2;
    grid-row: 1 / span 2;

    position: relative;
    z-index: 3;

    align-self: start;
    justify-self: start;

    width: 100%;

    max-width: 485px;

    margin-left:
        clamp(0px, .5vw, 10px);
}

.hero__portrait {
    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: var(--surface);
}

.hero__portrait::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;

    width: 40px;
    height: 40px;

    border-top:
        1px solid
        var(--accent);

    border-left:
        1px solid
        var(--accent);

    pointer-events: none;

    transition:
        width var(--transition),
        height var(--transition);
}

.hero__portrait::after {
    content: "";

    position: absolute;
    inset: 0;

    border:
        1px solid
        rgba(240, 238, 232, .13);

    pointer-events: none;

    transition:
        border-color var(--transition);
}

.hero__portrait img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;

    filter:
        saturate(1)
        contrast(1.02);

    transform: scale(1);

    transition:
        transform 800ms cubic-bezier(.2, .7, .2, 1),
        filter 600ms ease;
}

.hero__portrait:hover img {
    transform: scale(1.035);

    filter:
        saturate(1.12)
        contrast(1.06)
        brightness(1.015);
}

.hero__portrait:hover::before {
    width: 68px;
    height: 68px;
}

.hero__portrait:hover::after {
    border-color:
        rgba(216, 255, 62, .38);
}

.hero__portrait figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 6;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    width: 100%;

    padding:
        45px
        12px
        12px;

    color: var(--paper);

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, .78)
        );

    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .08em;
}

.portrait-coordinate {
    position: absolute;
    z-index: 7;

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .07em;
}

.portrait-coordinate--top {
    top: -20px;
    left: 0;
}

.portrait-coordinate--bottom {
    right: 0;
    bottom: -20px;
}


/* =========================================================
   HERO INTRO
   ========================================================= */

.hero__intro {
    grid-column: 1;
    grid-row: 2;

    align-self: start;

    max-width: 680px;

    margin-left:
        clamp(14px, 2vw, 38px);

    padding:
        clamp(24px, 2.7vw, 42px)
        0
        clamp(18px, 2vw, 30px);
}

.hero__intro-lead {
    max-width: 620px;

    font-size:
        clamp(19px, 1.65vw, 27px);

    line-height: 1.34;

    letter-spacing: -.026em;
}

.hero__intro-lead strong {
    color: var(--accent);

    font-weight: 500;
}

.hero__intro > p:not(.hero__intro-lead) {
    max-width: 530px;

    margin-top: 17px;

    color: var(--paper-muted);

    font-size: 13px;
    line-height: 1.76;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 27px;

    margin-top: 27px;
}


/* =========================================================
   HERO STATUS
   ========================================================= */

.hero__status {
    grid-column: 2;
    grid-row: 2;

    position: relative;
    z-index: 8;

    align-self: end;
    justify-self: start;

    width:
        min(86%, 335px);

    margin:
        0
        0
        24px
        18px;

    padding:
        15px
        17px
        16px;

    border-left:
        2px solid
        var(--accent);

    background:
        rgba(11, 11, 11, .88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.status-label {
    margin-bottom: 9px;

    color: var(--accent);

    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .14em;
}

.status-value {
    color: var(--paper-soft);

    font-size: 11px;
    line-height: 1.55;
}

.status-code {
    display: block;

    margin-top: 12px;

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 7px;
}


/* =========================================================
   HERO FOOTER
   ========================================================= */

.hero__footer {
    grid-column: 1 / -1;
    grid-row: 3;

    align-self: end;

    display: flex;
    align-items: center;
    
    margin-bottom: 30px;
    gap: 15px;

    margin-top:
        clamp(22px, 3vw, 44px);

    padding-top: 15px;

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.hero__scroll-line {
    flex: 1;

    height: 1px;

    background: var(--line);
}


/* =========================================================
   PROFILE
   ========================================================= */

.manifesto {
    padding:
        clamp(65px, 7vw, 105px)
        var(--page-padding)
        clamp(90px, 10vw, 150px);

    border-top:
        1px solid
        var(--line);
}

.manifesto__heading--minimal {
    margin-top:
        clamp(20px, 2vw, 32px);

    padding-bottom:
        clamp(26px, 3vw, 42px);

    border-bottom:
        1px solid
        var(--line);
}

.manifesto__heading--minimal .eyebrow {
    color: var(--accent);

    font-size: 10px;
    letter-spacing: .15em;
}

.manifesto__body {
    display: grid;

    grid-template-columns:
        minmax(280px, .82fr)
        minmax(420px, 1.18fr);

    gap:
        clamp(70px, 10vw, 170px);

    margin-top:
        clamp(42px, 5vw, 75px);
}

.manifesto__copy {
    max-width: 590px;
}

.manifesto__copy .lead {
    max-width: 570px;

    margin-bottom: 32px;

    color: var(--paper);

    font-family: var(--font-serif);

    font-size:
        clamp(24px, 2.3vw, 39px);

    line-height: 1.25;

    letter-spacing: -.025em;
}

.manifesto__copy .lead strong {
    color: var(--accent);

    font-family: var(--font-body);
    font-weight: 500;
}

.manifesto__copy > p:not(.lead) {
    max-width: 520px;

    margin-bottom: 20px;

    color: var(--paper-muted);

    font-size: 13px;
    line-height: 1.8;
}

.manifesto__copy .inline-arrow-link {
    margin-top: 25px;
}

.manifesto__principles {
    border-top:
        1px solid
        var(--line);
}

.principle {
    display: grid;

    grid-template-columns:
        65px
        1fr;

    gap: 25px;

    padding:
        clamp(27px, 3vw, 42px)
        0;

    border-bottom:
        1px solid
        var(--line);

    transition:
        padding var(--transition),
        background var(--fast);
}

.principle:hover {
    padding-left: 15px;
    padding-right: 15px;

    background:
        rgba(255, 255, 255, .018);
}

.principle__number {
    color: var(--accent);

    font-family: var(--font-serif);

    font-size:
        clamp(28px, 2.4vw, 39px);

    font-style: italic;
}

.principle h3 {
    margin-bottom: 9px;

    font-size:
        clamp(17px, 1.4vw, 23px);

    font-weight: 500;
}

.principle p {
    max-width: 510px;

    color: var(--paper-muted);

    font-size: 12px;
    line-height: 1.68;
}


/* =========================================================
   SELECTED WORK
   ========================================================= */

.selected-work {
    position: relative;

    /*
       Reduced top and bottom whitespace.
    */

    padding:
        clamp(70px, 7vw, 115px)
        var(--page-padding)
        clamp(70px, 8vw, 125px);

    color: #111;

    background: var(--paper);
}

.selected-work::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 1px;
    height: 100%;

    background:
        rgba(0, 0, 0, .07);

    pointer-events: none;
}

.section-heading,
.case-files,
.work-footer,
.field-notes__heading,
.contact-sheet,
.final-cta__top,
.final-cta__statement,
.final-cta__actions {
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;
}

.selected-work .section-marker {
    color: #68665f;
}

.selected-work .section-marker::after {
    background:
        rgba(0, 0, 0, .18);
}

.section-heading h2 {
    /*
       Was 60px.
    */

    margin-top: 32px;

    font-family: var(--font-display);

    font-size:
        clamp(55px, 8vw, 142px);

    font-weight: 700;
    line-height: .87;

    letter-spacing: -.065em;
}

.section-heading > p {
    max-width: 430px;

    margin:
        22px
        0
        0
        auto;

    color: #68665f;

    font-size: 14px;
    line-height: 1.65;
}

.case-files {
    /*
       Much less empty space before first project.
    */

    margin-top:
        clamp(45px, 5vw, 80px);
}

.case-file {
    border-top:
        1px solid
        rgba(0, 0, 0, .21);
}

.case-file:last-child {
    border-bottom:
        1px solid
        rgba(0, 0, 0, .21);
}

.case-file__link {
    display: block;

    padding:
        26px
        0
        58px;
}

.case-file__meta {
    display: grid;

    grid-template-columns:
        60px
        1fr
        auto;

    gap: 20px;

    margin-bottom: 22px;

    color: #77746b;

    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.case-file__number {
    color: #111;
}


/* Smaller project image */

.case-file__image {
    position: relative;

    width:
        min(70%, 1080px);

    aspect-ratio:
        16 / 8.6;

    overflow: hidden;

    background: #d4d1c9;
}

.case-file:nth-child(even) .case-file__image {
    margin-left: auto;
}

.case-file__image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0, 0, 0, .18)
        );

    pointer-events: none;
}

.case-file__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(.82)
        contrast(1.03);

    transition:
        transform 900ms cubic-bezier(.2, .7, .2, 1),
        filter 500ms ease;
}

.case-file:hover .case-file__image img {
    transform: scale(1.025);

    filter:
        saturate(1)
        contrast(1);
}

.image-stamp {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;

    padding:
        7px
        9px;

    color: #111;

    background:
        var(--accent);

    font-family: var(--font-mono);
    font-size: 7px;
}

.case-file__content {
    display: grid;

    grid-template-columns:
        1.6fr
        .7fr;

    gap: 70px;

    padding-top: 26px;
}

.case-file__kicker {
    margin-bottom: 12px;

    color: #77746b;

    font-family: var(--font-mono);
    font-size: 8px;
}

.case-file h3 {
    max-width: 920px;

    font-family: var(--font-display);

    font-size:
        clamp(33px, 4vw, 69px);

    font-weight: 600;
    line-height: .98;

    letter-spacing: -.045em;
}

.case-file__summary {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: end;

    gap: 24px;
}

.case-file__summary p {
    color: #69675f;

    font-size: 12px;
    line-height: 1.65;
}

.project-arrow {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border:
        1px solid
        rgba(0, 0, 0, .23);

    border-radius: 50%;

    transition:
        background var(--fast),
        transform var(--fast);
}

.case-file:hover .project-arrow {
    background: var(--accent);

    transform: rotate(45deg);
}


/* Less spacing around final project footer */

.work-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-top: 38px;
}

.work-footer p {
    color: #77746b;

    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
}

.selected-work .button--outline {
    color: #111;

    border-color:
        rgba(0, 0, 0, .27);
}

.selected-work .button--outline:hover {
    color: var(--paper);

    background: #111;
    border-color: #111;
}


/* =========================================================
   HOW I WORK
   ========================================================= */

.operating-system {
    /*
       Slightly tighter section overall.
    */

    padding:
        clamp(80px, 9vw, 145px)
        var(--page-padding);

    border-bottom:
        1px solid
        var(--line);
}

.operating-system__intro {
    display: grid;

    grid-template-columns:
        .5fr
        1.5fr;

    gap: 50px;

    margin-top: 48px;
}

.operating-system__intro h2 {
    max-width: 1050px;

    font-family: var(--font-display);

    font-size:
        clamp(46px, 6vw, 105px);

    font-weight: 600;
    line-height: .95;

    letter-spacing: -.055em;
}

.operating-list {
    margin-top: 62px;

    list-style: none;

    border-top:
        1px solid
        var(--line);
}

.operating-list li {
    display: grid;

    grid-template-columns:
        70px
        minmax(170px, .8fr)
        1.3fr;

    gap: 30px;

    /*
       Reduced row spacing.
    */

    padding:
        23px
        0;

    border-bottom:
        1px solid
        var(--line);

    transition:
        padding var(--transition),
        background var(--fast);
}

.operating-list li:hover {
    padding-left: 20px;
    padding-right: 20px;

    background: var(--surface);
}

.operating-list__index {
    padding-top: 5px;

    color: var(--accent);

    font-family: var(--font-mono);
    font-size: 9px;
}

.operating-list h3 {
    font-family: var(--font-serif);

    font-size:
        clamp(25px, 2.5vw, 42px);

    font-style: italic;
    font-weight: 400;
}

.operating-list p {
    max-width: 630px;

    padding-top: 5px;

    color: var(--paper-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RECOGNITION
   ========================================================= */

.recognition {
    padding:
        clamp(85px, 9vw, 150px)
        var(--page-padding);
}

.recognition__header {
    display: grid;

    grid-template-columns:
        .7fr
        1.3fr;

    align-items: end;

    gap: 50px;
}

.recognition__header h2 {
    font-family: var(--font-display);

    font-size:
        clamp(50px, 6vw, 103px);

    font-weight: 600;
    line-height: .95;

    letter-spacing: -.055em;
}

.recognition-list {
    /*
       Was 100px.
    */

    margin-top: 62px;

    border-top:
        1px solid
        var(--line);
}

.recognition-row {
    display: grid;

    grid-template-columns:
        100px
        1fr
        250px;

    align-items: center;

    gap: 30px;

    /*
       Tighter recognition rows.
    */

    padding:
        22px
        0;

    border-bottom:
        1px solid
        var(--line);

    transition:
        transform var(--fast);
}

.recognition-row:hover {
    transform:
        translateX(10px);
}

.recognition-row__year {
    color: var(--accent);

    font-family: var(--font-mono);
    font-size: 9px;
}

.recognition-row h3 {
    margin-bottom: 5px;

    font-size:
        clamp(18px, 2vw, 29px);

    font-weight: 500;
}

.recognition-row p {
    color: var(--paper-muted);

    font-size: 11px;
    line-height: 1.5;
}

.recognition-row__type {
    justify-self: end;

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 8px;
}

.recognition__link {
    margin-top: 30px;
}


/* =========================================================
   FIELD NOTES
   ========================================================= */

.field-notes {
    padding:
        clamp(85px, 9vw, 145px)
        var(--page-padding);

    background: #111;
}

.field-notes__heading h2 {
    max-width: 1200px;

    margin-top:
        clamp(38px, 4vw, 60px);

    font-family: var(--font-display);

    font-size:
        clamp(49px, 6.2vw, 110px);

    font-weight: 600;
    line-height: .95;

    letter-spacing: -.055em;
}


/*
   Masonry-style layout.
   Images keep original proportions.
*/

.contact-sheet {
    columns: 3;

    column-gap:
        clamp(18px, 2vw, 30px);

    margin-top:
        clamp(65px, 8vw, 115px);
}

.contact-sheet__item {
    position: relative;

    display: inline-block;

    vertical-align: top;

    width: 100%;

    margin:
        0
        0
        clamp(28px, 3vw, 44px);

    break-inside: avoid;
    page-break-inside: avoid;
}

.contact-sheet__item img {
    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        grayscale(100%)
        contrast(1.04);

    transition:
        filter 500ms ease,
        transform 500ms ease;
}

.contact-sheet__item:hover img {
    filter:
        grayscale(0%)
        contrast(1);

    transform:
        translateY(-3px);
}

.contact-sheet__item figcaption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-top: 10px;
    padding-top: 8px;

    border-top:
        1px solid
        var(--line);

    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 7px;
    line-height: 1.45;
}


/* =========================================================
   OUTSIDE THE LAB
   ========================================================= */

.outside-lab {
    padding:
        var(--section-space)
        var(--page-padding);
}

.outside-lab__layout {
    display: grid;

    grid-template-columns:
        1.15fr
        .72fr
        .65fr;

    align-items: center;

    gap:
        clamp(30px, 5vw, 90px);

    margin-top: 75px;
}

.outside-lab__title h2 {
    max-width: 850px;

    margin-top: 20px;

    font-family: var(--font-display);

    font-size:
        clamp(48px, 6vw, 103px);

    font-weight: 600;
    line-height: .94;

    letter-spacing: -.055em;
}

.outside-lab__image {
    aspect-ratio:
        4 / 5;

    overflow: hidden;

    transform:
        rotate(1.2deg);
}

.outside-lab__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%);

    transition:
        filter var(--slow),
        transform var(--slow);
}

.outside-lab__image:hover img {
    filter:
        grayscale(0%);

    transform:
        scale(1.02);
}

.outside-lab__copy {
    align-self: end;

    padding-bottom: 15px;
}

.outside-lab__copy p {
    margin-bottom: 18px;

    color: var(--paper-muted);

    font-size: 13px;
    line-height: 1.75;
}

.outside-lab__copy .inline-arrow-link {
    margin-top: 18px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.final-cta {
    position: relative;

    /*
       Slightly reduced vertical size.
    */

    padding:
        44px
        var(--page-padding)
        32px;

    overflow: hidden;

    color: #0b0b0b;

    background:
        var(--accent);
}

.final-cta::after {
    content: "CONTACT";

    position: absolute;
    right: -.03em;
    bottom: -.19em;

    color:
        rgba(0, 0, 0, .045);

    font-family: var(--font-display);

    font-size:
        clamp(140px, 27vw, 520px);

    font-weight: 800;
    line-height: .8;

    letter-spacing: -.09em;

    pointer-events: none;
}

.final-cta__top,
.final-cta__statement,
.final-cta__actions {
    position: relative;
    z-index: 2;
}

.final-cta__top {
    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 30px;
}

.final-cta .section-marker {
    color:
        rgba(0, 0, 0, .52);
}

.final-cta .section-marker span:first-child {
    color: #0b0b0b;
}

.final-cta .section-marker::after {
    background:
        rgba(0, 0, 0, .22);
}

.final-cta__top > p {
    max-width: 380px;

    color:
        rgba(0, 0, 0, .55);

    font-family: var(--font-mono);
    font-size: 8px;
    line-height: 1.5;
}


/* Smaller + closer CTA heading */

.final-cta__statement {
    margin-top:
        clamp(50px, 6vw, 95px);
}

.final-cta__statement h2 {
    max-width: 1320px;

    font-family: var(--font-display);

    font-size:
        clamp(52px, 7.8vw, 140px);

    font-weight: 700;
    line-height: .87;

    letter-spacing: -.065em;
}

.final-cta__statement h2 span {
    display: block;
}

.final-cta__word {
    padding-left:
        clamp(18px, 7vw, 110px);

    font-family: var(--font-serif);

    font-style: italic;
    font-weight: 400;
}

.final-cta__actions {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: end;

    gap: 60px;

    margin-top:
        clamp(45px, 5.5vw, 85px);

    border-top:
        1px solid
        rgba(0, 0, 0, .27);
}

.final-cta__email {
    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 30px;

    padding:
        22px
        0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, .27);

    font-size:
        clamp(19px, 2.2vw, 34px);

    font-weight: 500;

    transition:
        padding var(--transition),
        background var(--fast);
}

.final-cta__email:hover {
    padding-left: 16px;
    padding-right: 16px;

    background:
        rgba(0, 0, 0, .065);
}

.final-cta__social {
    display: flex;

    gap: 24px;

    padding-bottom: 23px;

    font-family: var(--font-mono);
    font-size: 9px;
}

.final-cta__social a {
    border-bottom:
        1px solid
        rgba(0, 0, 0, .32);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    padding:
        32px
        var(--page-padding)
        40px;

    border-top:
        1px solid
        var(--line);

    background:
        var(--bg);
}

.site-footer__identity {
    display: flex;

    flex-direction: column;
}

.site-footer__identity strong {
    font-size: 11px;
}

.site-footer__identity span,
.site-footer__note,
.site-footer__meta {
    color: var(--paper-muted);

    font-family: var(--font-mono);
    font-size: 8px;
}

.site-footer__note {
    max-width: 310px;
}

.site-footer__meta {
    display: flex;

    justify-content:
        flex-end;

    gap: 22px;
}

.site-footer__meta a:hover {
    color: var(--accent);
}


/* =========================================================
   NOSCRIPT
   ========================================================= */

.noscript-message {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 99999;

    padding: 10px 14px;

    color: #111;
    background: var(--accent);

    font-family: var(--font-mono);
    font-size: 9px;

    transform: translateX(-50%);
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .site-header {
        grid-template-columns:
            1fr
            auto;
    }

    .site-nav,
    .header-linkedin {
        display: none;
    }

    .menu-toggle {
        display: block;

        justify-self: end;
    }

    .nav-linkedin-mobile {
        display: block;
    }


    /* HERO */

    .hero {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(300px, .8fr);

        column-gap:
            clamp(28px, 4vw, 52px);
    }

    .hero::before {
        display: none;
    }

    .hero__identity {
        padding-left: 18px;
    }

    .hero__identity h1 {
        font-size:
            clamp(68px, 9vw, 120px);
    }

    .hero__intro {
        margin-left: 18px;
    }

    .hero__portrait-wrap {
        max-width: 430px;
    }


    /* PROFILE */

    .manifesto__body {
        grid-template-columns:
            .9fr
            1.1fr;

        gap: 70px;
    }


    /* OUTSIDE LAB */

    .outside-lab__layout {
        grid-template-columns:
            1fr
            .72fr;
    }

    .outside-lab__copy {
        grid-column:
            1 / -1;

        max-width: 650px;

        margin-left: auto;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    :root {
        --section-space: 100px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        grid-template-columns:
            1fr
            minmax(235px, .9fr);

        grid-template-rows:
            auto
            auto
            auto;

        column-gap: 24px;

        padding-top: 94px;
        padding-bottom: 30px;
    }

    .hero__identity {
        padding-left: 0;
    }

    .hero__identity h1 {
        font-size:
            clamp(56px, 10.5vw, 92px);
    }

    .hero__intro {
        margin-left: 0;

        padding-top: 28px;
    }

    .hero__portrait-wrap {
        max-width: 340px;
    }

    .hero__status {
        margin-bottom: 18px;
    }


    /* PROFILE */

    .manifesto {
        padding-top: 60px;
    }

    .manifesto__body {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    /* SELECTED WORK */

    .selected-work {
        padding-top: 72px;
        padding-bottom: 78px;
    }

    .section-heading h2 {
        margin-top: 28px;
    }

    .case-files {
        margin-top: 48px;
    }

    .case-file__image {
        width: 100%;
    }

    .case-file__content {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .case-file__summary {
        max-width: 600px;
    }


    /* HOW I WORK */

    .operating-system {
        padding-top: 75px;
        padding-bottom: 85px;
    }

    .operating-system__intro,
    .recognition__header {
        display: block;
    }

    .operating-system__intro h2,
    .recognition__header h2 {
        margin-top: 30px;
    }

    .operating-list {
        margin-top: 50px;
    }

    .operating-list li {
        grid-template-columns:
            55px
            .8fr
            1.2fr;
    }


    /* RECOGNITION */

    .recognition {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .recognition-list {
        margin-top: 50px;
    }

    .recognition-row {
        grid-template-columns:
            60px
            1fr;
    }

    .recognition-row__type {
        grid-column: 2;

        justify-self: start;
    }


    /* FIELD NOTES */

    .contact-sheet {
        columns: 2;

        column-gap: 20px;
    }


    /* CONTACT */

    .final-cta__actions {
        grid-template-columns:
            1fr;
    }


    /* FOOTER */

    .site-footer {
        grid-template-columns:
            1fr
            1fr;
    }

    .site-footer__note {
        display: none;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    :root {
        --page-padding: 18px;
        --section-space: 85px;
    }


    /* HERO */

    .hero {
        display: block;

        min-height: auto;

        /*
           Metadata removed, so mobile hero
           can also begin higher.
        */

        padding-top: 84px;
        padding-bottom: 28px;
    }

    .hero__identity {
        padding-left: 0;
    }

    .hero__identity .eyebrow {
        max-width: 270px;

        margin-bottom: 17px;

        line-height: 1.55;
    }

    .hero__identity h1 {
        font-size:
            clamp(58px, 18vw, 92px);

        line-height: .84;
    }

    .hero__lower {
        display: grid;

        grid-template-columns: 1fr;

        margin-top: 34px;
    }

    .hero__portrait-wrap {
        width: 84%;

        max-width: none;

        margin-left: auto;
    }

    .hero__intro {
        margin-left: 0;

        padding:
            38px
            0
            0;
    }

    .hero__intro-lead {
        font-size: 20px;
    }

    .hero__status {
        width: 82%;

        margin:
            -18px
            0
            0
            auto;
    }

    .hero__footer {
        margin-top: 42px;

        padding-top: 0;
    }


    /* PROFILE */

    .manifesto {
        padding-top: 55px;
        padding-bottom: 80px;
    }

    .manifesto__heading--minimal {
        margin-top: 12px;

        padding-bottom: 24px;
    }

    .manifesto__body {
        margin-top: 38px;

        gap: 50px;
    }

    .manifesto__copy .lead {
        font-size:
            clamp(23px, 7vw, 32px);
    }

    .principle {
        grid-template-columns:
            44px
            1fr;
    }

    .principle:hover {
        padding-left: 0;
        padding-right: 0;

        background: transparent;
    }


    /* SELECTED WORK */

    .selected-work {
        padding-top: 68px;
        padding-bottom: 72px;
    }

    .selected-work::before {
        display: none;
    }

    .section-heading h2 {
        margin-top: 28px;

        font-size:
            clamp(51px, 15vw, 85px);
    }

    .section-heading > p {
        margin:
            20px
            0
            0;
    }

    .case-files {
        margin-top: 45px;
    }

    .case-file__link {
        padding-bottom: 48px;
    }

    .case-file__meta {
        grid-template-columns:
            34px
            1fr;

        gap:
            8px
            15px;
    }

    .case-file__meta span:last-child {
        grid-column: 2;
    }

    .case-file__image {
        width: 100%;

        aspect-ratio:
            4 / 3;
    }

    .case-file h3 {
        font-size:
            clamp(31px, 9vw, 49px);
    }

    .work-footer {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 32px;
    }


    /* HOW I WORK */

    .operating-system {
        padding-top: 72px;
        padding-bottom: 78px;
    }

    .operating-system__intro {
        margin-top: 38px;
    }

    .operating-system__intro h2 {
        font-size:
            clamp(42px, 12vw, 70px);
    }

    .operating-list {
        margin-top: 44px;
    }

    .operating-list li {
        grid-template-columns:
            35px
            1fr;

        gap: 15px;

        padding:
            20px
            0;
    }

    .operating-list h3 {
        font-size: 25px;
    }

    .operating-list p {
        grid-column: 2;
    }


    /* RECOGNITION */

    .recognition {
        padding-top: 72px;
        padding-bottom: 80px;
    }

    .recognition__header h2 {
        font-size:
            clamp(43px, 12vw, 72px);
    }

    .recognition-list {
        margin-top: 44px;
    }

    .recognition-row {
        grid-template-columns:
            38px
            1fr;

        gap: 15px;

        padding:
            19px
            0;
    }

    .recognition-row:hover {
        transform: none;
    }


    /* FIELD NOTES */

    .field-notes {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .field-notes__heading h2 {
        margin-top: 36px;

        font-size:
            clamp(43px, 12vw, 72px);
    }

    .contact-sheet {
        columns: 1;

        margin-top: 50px;
    }

    .contact-sheet__item {
        margin-bottom: 34px;
    }


    /* OUTSIDE LAB */

    .outside-lab__layout {
        grid-template-columns: 1fr;

        gap: 45px;

        margin-top: 55px;
    }

    .outside-lab__title h2 {
        font-size:
            clamp(44px, 12vw, 72px);
    }

    .outside-lab__image {
        width: 76%;

        margin-left: auto;
    }


    /* CONTACT */

    .final-cta {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .final-cta__top {
        display: block;
    }

    .final-cta__top > p {
        margin-top: 22px;
    }

    .final-cta__statement {
        margin-top: 48px;
    }

    .final-cta__statement h2 {
        font-size:
            clamp(48px, 13vw, 76px);

        line-height: .9;
    }

    .final-cta__word {
        padding-left: 18px;
    }

    .final-cta__actions {
        margin-top: 55px;
    }

    .final-cta__email {
        font-size: 19px;
    }

    .final-cta__social {
        flex-wrap: wrap;
    }


    /* FOOTER */

    .site-footer {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .site-footer__meta {
        justify-content: flex-start;

        flex-wrap: wrap;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .hero__portrait-wrap {
        width: 90%;
    }

    .hero__actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero__actions .button {
        width: 100%;

        justify-content: space-between;
    }

    .hero__status {
        width: 91%;
    }

    .outside-lab__image {
        width: 86%;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}

/* =========================================================
   FINAL DESKTOP TWEAKS
   ========================================================= */

@media (min-width: 901px) {

    /* ---------------------------------------------------------
       HERO NAME
       Force:
       AL AMIN
       SANI
       --------------------------------------------------------- */

    .hero__identity h1 {
        max-width: 6.8ch;
        text-wrap: wrap;
    }


    /* ---------------------------------------------------------
       FINAL CONTACT CTA
       Slightly bigger heading
       --------------------------------------------------------- */

    .final-cta__statement h2 {
        font-size:
            clamp(58px, 8.4vw, 150px);
    }


    /* Slightly more space above the statement */

    .final-cta__statement {
        margin-top:
            clamp(58px, 6.8vw, 108px);
    }


    /* Slightly more space below the statement */

    .final-cta__actions {
        margin-top:
            clamp(52px, 6.2vw, 96px);
    }


    /* Slightly more outer space in green section */

    .final-cta {
        padding-top: 50px;
        padding-bottom: 38px;
    }
}

/* =========================================================
   MOBILE ART DIRECTION — V2
   Append this at the VERY END of style.css

   Desktop is untouched.
   Only screens <= 680px are affected.
   ========================================================= */

@media (max-width: 680px) {

    :root {
        --page-padding: clamp(18px, 5vw, 24px);
        --section-space: 82px;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .site-header {
        padding:
            16px
            var(--page-padding);

        border-bottom-color:
            rgba(240, 238, 232, .11);
    }

    .brand {
        gap: 10px;
    }

    .brand__mark {
        width: 32px;
        height: 32px;

        font-size: 9px;
    }

    .brand__text strong {
        font-size: 11px;
    }

    .brand__text small {
        font-size: 7px;
    }

    .menu-toggle {
        padding: 7px 0 7px 10px;
    }


    /* =====================================================
       HERO
       Give mobile its own composition instead of simply
       stacking the desktop layout.
       ===================================================== */

    .hero {
        display: block;

        min-height: auto;

        padding:
            94px
            var(--page-padding)
            28px;
    }


    .hero__identity {
        padding: 0;
    }


    .hero__identity .eyebrow {
        max-width: 290px;

        margin-bottom: 18px;

        font-size: 8px;

        line-height: 1.55;

        letter-spacing: .13em;
    }


    .hero__identity h1 {
        max-width: 6.8ch;

        font-size:
            clamp(56px, 16.5vw, 80px);

        line-height: .79;

        letter-spacing: -.07em;

        text-wrap: wrap;
    }


    /*
       IMPORTANT:
       Reorder the content so the status panel overlaps
       the portrait rather than appearing after the intro.
    */

    .hero__lower {
        display: grid;

        grid-template-columns: 1fr;

        margin-top: 32px;
    }


    .hero__portrait-wrap {
        order: 1;

        width: 92%;
        max-width: none;

        margin-left: auto;
        margin-right: 0;
    }


    .hero__portrait {
        aspect-ratio: 4 / 5;
    }


    .hero__portrait img {
        object-position: center 18%;
    }


    .hero__portrait figcaption {
        padding:
            42px
            10px
            10px;

        gap: 12px;

        font-size: 7px;
    }


    .portrait-coordinate {
        font-size: 7px;
    }


    /*
       Overlapping status card.
    */

    .hero__status {
        order: 2;

        position: relative;
        z-index: 10;

        width: min(80%, 300px);

        margin:
            -46px
            0
            0
            0;

        padding:
            16px
            17px
            17px;

        border-left:
            2px solid
            var(--accent);

        background:
            rgba(11, 11, 11, .95);

        box-shadow:
            0
            20px
            50px
            rgba(0, 0, 0, .28);

        backdrop-filter:
            blur(18px);

        -webkit-backdrop-filter:
            blur(18px);
    }


    .status-value {
        font-size: 11px;

        line-height: 1.6;
    }


    /*
       Intro now comes AFTER image/status composition.
    */

    .hero__intro {
        order: 3;

        max-width: none;

        margin: 30px 0 0;

        padding:
            28px
            0
            0;

        border-top:
            1px solid
            var(--line);
    }


    .hero__intro-lead {
        max-width: 360px;

        font-size:
            clamp(20px, 5.7vw, 24px);

        line-height: 1.32;
    }


    .hero__intro > p:not(.hero__intro-lead) {
        max-width: 390px;

        margin-top: 16px;

        font-size: 12px;

        line-height: 1.75;
    }


    .hero__actions {
        gap:
            17px
            22px;

        margin-top: 24px;
    }


    .hero__actions .button {
        min-height: 49px;
    }


    .hero__footer {
        margin-top: 38px;
        margin-bottom: 0;

        font-size: 7px;

        letter-spacing: .1em;
    }


    .hero__scroll-line {
        max-width: 80px;
    }



    /* =====================================================
       GLOBAL MOBILE DETAILS
       ===================================================== */

    .section-marker {
        gap: 12px;

        font-size: 8px;

        letter-spacing: .11em;
    }


    .section-marker::after {
        width: 55px;
    }


    .eyebrow {
        font-size: 9px;
    }



    /* =====================================================
       PROFILE
       ===================================================== */

    .manifesto {
        padding-top: 62px;
        padding-bottom: 82px;
    }


    .manifesto__body {
        margin-top: 34px;

        gap: 44px;
    }


    .manifesto__copy .lead {
        max-width: 380px;

        font-size:
            clamp(23px, 6.7vw, 30px);

        line-height: 1.29;
    }


    .manifesto__copy > p:not(.lead) {
        font-size: 12px;

        line-height: 1.76;
    }


    .principle {
        grid-template-columns:
            39px
            1fr;

        gap: 15px;

        padding:
            24px
            0;
    }


    .principle__number {
        font-size: 28px;
    }


    .principle h3 {
        font-size: 18px;

        line-height: 1.2;
    }



    /* =====================================================
       SELECTED WORK
       Keep the desktop asymmetric feeling on mobile.
       ===================================================== */

    .selected-work {
        padding-top: 66px;
        padding-bottom: 72px;
    }


    .section-heading h2 {
        max-width: 8ch;

        margin-top: 24px;

        font-size:
            clamp(48px, 13.5vw, 68px);

        line-height: .88;

        letter-spacing: -.06em;
    }


    .section-heading > p {
        max-width: 355px;

        margin:
            20px
            0
            0;

        font-size: 12px;

        line-height: 1.7;
    }


    .case-files {
        margin-top: 42px;
    }


    .case-file__link {
        padding:
            22px
            0
            46px;
    }


    .case-file__meta {
        grid-template-columns:
            31px
            1fr;

        gap:
            7px
            13px;

        margin-bottom: 16px;

        font-size: 7px;

        line-height: 1.45;
    }


    /*
       Odd projects = larger / left aligned.
    */

    .case-file:nth-child(odd)
    .case-file__image {
        width: 93%;

        margin-left: 0;
        margin-right: auto;
    }


    /*
       Even projects = smaller / right aligned.
       This restores desktop's alternating composition.
    */

    .case-file:nth-child(even)
    .case-file__image {
        width: 82%;

        margin-left: auto;
        margin-right: 0;
    }


    .case-file__image {
        aspect-ratio: 4 / 3;
    }


    .image-stamp {
        left: 10px;
        bottom: 10px;

        padding:
            6px
            8px;

        font-size: 6px;
    }


    .case-file__content {
        grid-template-columns: 1fr;

        gap: 16px;

        padding-top: 19px;
    }


    .case-file__kicker {
        margin-bottom: 8px;

        font-size: 7px;
    }


    .case-file h3 {
        max-width: 350px;

        font-size:
            clamp(30px, 8.7vw, 43px);

        line-height: .96;
    }


    .case-file__summary {
        grid-template-columns:
            1fr
            auto;

        gap: 17px;

        max-width: 390px;

        align-items: end;
    }


    .case-file__summary p {
        font-size: 11px;

        line-height: 1.65;
    }


    .project-arrow {
        width: 38px;
        height: 38px;

        flex: 0 0 auto;
    }


    .work-footer {
        gap: 20px;
    }



    /* =====================================================
       HOW I WORK
       ===================================================== */

    .operating-system {
        padding-top: 72px;
        padding-bottom: 80px;
    }


    .operating-system__intro {
        margin-top: 34px;
    }


    .operating-system__intro h2 {
        max-width: 350px;

        font-size:
            clamp(40px, 11vw, 58px);

        line-height: .94;
    }


    .operating-list {
        margin-top: 40px;
    }


    .operating-list li {
        grid-template-columns:
            31px
            1fr;

        gap:
            12px
            14px;

        padding:
            21px
            0;
    }


    .operating-list h3 {
        font-size:
            clamp(23px, 6.5vw, 28px);
    }


    .operating-list p {
        grid-column: 2;

        padding-top: 0;

        font-size: 11px;

        line-height: 1.65;
    }



    /* =====================================================
       RECOGNITION
       Stronger year/content hierarchy.
       ===================================================== */

    .recognition {
        padding-top: 72px;
        padding-bottom: 82px;
    }


    .recognition__header h2 {
        max-width: 350px;

        font-size:
            clamp(41px, 11.5vw, 60px);

        line-height: .93;
    }


    .recognition-list {
        margin-top: 40px;
    }


    .recognition-row {
        position: relative;

        grid-template-columns:
            52px
            1fr;

        gap: 14px;

        align-items: start;

        padding:
            22px
            0;
    }


    /*
       Vertical editorial rail.
    */

    .recognition-row::before {
        content: "";

        position: absolute;

        top: 0;
        bottom: 0;

        left: 51px;

        width: 1px;

        background:
            var(--line);
    }


    .recognition-row__year {
        padding-top: 4px;

        font-size: 8px;
    }


    .recognition-row h3 {
        font-size:
            clamp(19px, 5.3vw, 23px);

        line-height: 1.2;
    }


    .recognition-row p {
        max-width: 310px;

        margin-top: 6px;

        font-size: 10px;

        line-height: 1.55;
    }


    .recognition-row__type {
        grid-column: 2;

        justify-self: start;

        margin-top: 6px;

        font-size: 7px;

        letter-spacing: .06em;
    }



    /* =====================================================
       FIELD NOTES
       ===================================================== */

    .field-notes {
        padding-top: 76px;
        padding-bottom: 76px;
    }


    .field-notes__heading h2 {
        max-width: 350px;

        margin-top: 31px;

        font-size:
            clamp(41px, 11.5vw, 60px);

        line-height: .93;
    }


    .contact-sheet {
        margin-top: 42px;
    }


    .contact-sheet__item figcaption {
        gap: 10px;

        font-size: 6px;
    }



    /* =====================================================
       OUTSIDE THE LAB
       ===================================================== */

    .outside-lab__layout {
        gap: 34px;

        margin-top: 44px;
    }


    .outside-lab__title h2 {
        max-width: 340px;

        font-size:
            clamp(41px, 11.5vw, 60px);

        line-height: .93;
    }


    .outside-lab__image {
        width: 88%;

        margin-left: auto;
        margin-right: 0;

        transform:
            rotate(.8deg);
    }


    .outside-lab__copy {
        max-width: 390px;

        margin-left: 0;

        padding-bottom: 0;
    }


    .outside-lab__copy p {
        font-size: 12px;

        line-height: 1.72;
    }



    /* =====================================================
       CONTACT CTA
       ===================================================== */

    .final-cta {
        padding:
            34px
            var(--page-padding)
            30px;
    }


    .final-cta__statement {
        margin-top: 45px;
    }


    .final-cta__statement h2 {
        max-width: 360px;

        font-size:
            clamp(45px, 12.3vw, 64px);

        line-height: .88;
    }


    .final-cta__word {
        padding-left: 15px;
    }


    .final-cta__actions {
        gap: 15px;

        margin-top: 47px;
    }


    .final-cta__email {
        gap: 18px;

        padding:
            19px
            0;

        font-size:
            clamp(16px, 4.8vw, 19px);

        overflow-wrap: anywhere;
    }


    .final-cta__social {
        gap:
            14px
            20px;

        padding-bottom: 5px;
    }



    /* =====================================================
       FOOTER
       ===================================================== */

    .site-footer {
        padding:
            27px
            var(--page-padding)
            34px;

        gap: 17px;
    }

}



/* =========================================================
   MOBILE PHOTO COLLAGE
   Use two-column masonry on normal modern phones.
   ========================================================= */

@media
(min-width: 390px)
and (max-width: 680px) {

    .contact-sheet {
        columns: 2;

        column-gap: 13px;
    }


    .contact-sheet__item {
        margin-bottom: 20px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 389px) {

    .contact-sheet {
        columns: 1;
    }


    .hero__portrait-wrap {
        width: 94%;
    }


    .hero__status {
        width: 86%;
    }


    .case-file:nth-child(odd)
    .case-file__image {
        width: 96%;
    }


    .case-file:nth-child(even)
    .case-file__image {
        width: 87%;
    }

}


/* =========================================================
   TOUCH DEVICES
   Avoid sticky / awkward desktop hover effects.
   ========================================================= */

@media
(hover: none)
and (pointer: coarse) {

    .case-file:hover
    .case-file__image img,

    .contact-sheet__item:hover img,

    .outside-lab__image:hover img {

        transform: none;
    }


    .recognition-row:hover {
        transform: none;
    }


    .principle:hover {
        padding-left: 0;
        padding-right: 0;

        background: transparent;
    }

}
/* =========================================================
   MOBILE HERO ORDER — FINAL OVERRIDE
   Mobile only (<= 680px). Desktop/tablet desktop composition
   remains unchanged.

   Mobile order:
   1. Eyebrow + AL AMIN SANI
   2. Portrait
   3. About / intro text
   4. Hero action buttons
   5. Current signal card
   ========================================================= */

@media (max-width: 680px) {

    .hero__lower {
        display: flex;
        flex-direction: column;
        margin-top: 26px;
    }

    .hero__portrait-wrap {
        order: 1;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
    }

    .hero__portrait {
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .hero__intro {
        order: 2;
        width: 100%;
        max-width: none;
        margin: 28px 0 0;
        padding: 26px 0 0;
        border-top: 1px solid var(--line);
    }

    .hero__actions {
        width: 100%;
        margin-top: 24px;
    }

    .hero__status {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 30px 0 0;
    }
}
