@font-face {
    font-family: RHZak;
    src: url('../fonts/RH-Zak-Reg.otf') format('opentype');
    font-display: swap
}

@font-face {
    font-family: Gulzar;
    src: url('../fonts/Gulzar-Regular.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Cairo;
    src: url('../fonts/Cairo-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

:root {
    --ink: #231f20;
    --sand: #cea084;
    --paper: #f5f0ea;
    --mist: #ddd5cc;
    --muted: #a79b91;
    --line: rgba(206, 160, 132, .35);
    --serif: RHZak, Georgia, serif;
    --sans: Arial, Helvetica, sans-serif;
    --arabic: Cairo, Tahoma, sans-serif;
    --shell: min(90rem, calc(100% - 3rem));
    --space: clamp(4.5rem, 9vw, 10rem);
    --header: 5.25rem
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 1rem)
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent
}

a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent
}

:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px
}

.skip-link {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 1rem;
    transform: translateY(-120%);
    background: var(--sand);
    color: var(--ink);
    padding: .65rem 1rem;
    z-index: 100
}

.skip-link:focus {
    transform: translateY(0)
}

.shell {
    width: var(--shell);
    margin-inline: auto
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1rem;
    color: var(--sand);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

.eyebrow::before {
    content: '';
    width: 2.25rem;
    height: 1px;
    background: currentColor
}

.display {
    font-family: var(--serif);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.04em
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h2 {
    font-size: clamp(2.7rem, 5vw, 5.6rem);
    max-width: 22ch
}

h3 {
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    font-weight: 400;
    line-height: 1.05
}

.lede {
    max-width: 42rem;
    color: var(--mist);
    font-size: clamp(1.06rem, 1.5vw, 1.28rem);
    line-height: 1.8
}

.text-link,
.button {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 3rem;
    border: 1px solid var(--sand);
    padding: .7rem 1rem;
    color: var(--paper);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background-color .25s, color .25s, transform .25s
}

.text-link::after,
.button::after {
    content: '↗';
    font-size: 1rem;
    line-height: 1
}

.text-link:hover,
.button:hover {
    background: var(--sand);
    color: var(--ink);
    transform: translateY(-2px)
}

.text-link:active,
.button:active {
    transform: translateY(0) scale(.98)
}

.button {
    background: var(--sand);
    color: var(--ink)
}

.button:hover {
    background: var(--paper)
}

.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 40;
    height: var(--header);
    border-block-end: 1px solid rgba(245, 240, 234, .14);
    background: rgba(35, 31, 32, .94);
    backdrop-filter: blur(16px)
}

.site-header {
    color: var(--paper)
}

.header-inner {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.brand {
    display: flex;
    align-items: center;
    min-width: 10rem
}

.brand img {
    width: 8.5rem;
    max-height: 3.1rem;
    object-fit: contain;
    object-position: left center
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--paper);
    padding: .75rem;
    font-size: 1.4rem
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.9rem, 2vw, 2rem);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase
}

.site-nav a {
    position: relative;
    padding: .5rem 0
}

.site-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 1px;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform .25s
}

.site-nav a:hover::after,
.site-nav a[aria-current=page]::after {
    transform: scaleX(1)
}

.language-link {
    color: var(--sand) !important
}

.hero {
    position: relative;
    min-height: min(53rem, calc(100svh - var(--header)));
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden
}

.hero {
    color: var(--paper)
}

.hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, var(--ink) 16%, rgba(35, 31, 32, .72) 48%, rgba(35, 31, 32, .14));
    pointer-events: none
}

.hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset-inline: 0;
    inset-block-end: 0;
    height: 18%;
    background: linear-gradient(transparent, var(--ink));
    pointer-events: none
}

.hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: 60% 18%;
    filter: grayscale(1) contrast(1.06)
}

.hero-content {
    position: relative;
    z-index: 2;
    width: var(--shell);
    margin: 0 auto;
    padding-block: clamp(4rem, 9vw, 8rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 25rem);
    gap: 2rem;
    align-items: end
}

.hero-title {
    margin: 0;
    font-size: clamp(4.5rem, 9vw, 9rem);
    max-width: none;
    white-space: nowrap
}

.hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--paper)
}

.hero-copy {
    max-width: 24rem;
    margin-inline-start: auto;
    padding-block-end: .6rem
}

.hero-copy p {
    color: var(--mist);
    font-size: 1.05rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem
}

.groundline {
    height: 1px;
    background: var(--sand);
    position: relative
}

.groundline::after {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: -3px;
    width: 7px;
    height: 7px;
    border: 1px solid var(--sand);
    border-radius: 50%;
    background: var(--ink)
}

.section {
    padding-block: var(--space)
}

.section-paper {
    background: var(--paper);
    color: var(--ink)
}

.section-paper .lede {
    color: #5d5652
}

.section-paper .text-link {
    color: var(--ink)
}

.section-head {
    display: grid;
    grid-template-columns: 1fr minmax(16rem, 38rem);
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 5rem)
}

.section-head h2 {
    margin-bottom: 0
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .84fr);
    gap: clamp(2rem, 7vw, 9rem);
    align-items: center
}

.portrait-frame {
    position: relative;
    overflow: hidden
}

.portrait-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 35%, rgba(206, 160, 132, .2))
}

.portrait-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(.8)
}

.number-list {
    counter-reset: item;
    display: grid;
    gap: 0
}

.number-list article {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1.25rem;
    border-block-start: 1px solid var(--line);
    padding: 1.5rem 0
}

.number-list article:last-child {
    border-block-end: 1px solid var(--line)
}

.number-list article::before {
    counter-increment: item;
    content: '0' counter(item);
    color: var(--sand);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em
}

.number-list h3 {
    margin-bottom: .55rem
}

.number-list p {
    margin-bottom: 0;
    color: var(--mist)
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem
}

.project-card {
    grid-column: span 4;
    position: relative;
    min-height: 22rem;
    overflow: hidden;
    background: #3b3333
}

.project-card:nth-child(5n+1) {
    grid-column: span 8
}

.project-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .65, .2, 1), filter .5s;
    filter: saturate(.8) brightness(.75)
}

.project-card:hover img {
    transform: scale(1.06);
    filter: saturate(1) brightness(.5)
}

.project-card-content {
    position: absolute;
    inset: auto 1.25rem 1.25rem;
    z-index: 1
}

.project-card span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--sand)
}

.project-card h3 {
    margin: .3rem 0 0;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem)
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem
}

.filter-bar button {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    background: transparent;
    border: 1px solid rgba(35, 31, 32, .2);
    color: var(--ink);
    padding: .65rem .9rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase
}

.filter-bar button[aria-pressed=true] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper)
}

.filter-bar button:active {
    transform: scale(.98)
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-block: 1px solid var(--line)
}

.story-grid article {
    min-height: 14rem;
    padding: 1.5rem;
    border-inline-end: 1px solid var(--line)
}

.story-grid article:last-child {
    border: 0
}

.story-grid span {
    color: var(--sand);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em
}

.story-grid h3 {
    font-size: 1.5rem;
    margin: .7rem 0
}

.story-grid p {
    font-size: .9rem;
    color: var(--mist);
    margin: 0
}

.editorial {
    max-width: 52rem
}

.editorial h2 {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3.3vw, 3.8rem)
}

.editorial p {
    color: var(--mist);
    font-size: 1.05rem;
    line-height: 1.9
}

.section-paper .editorial p {
    color: #5d5652
}

.feature-band {
    position: relative;
    min-height: 33rem;
    display: grid;
    align-items: end;
    overflow: hidden
}

.feature-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 31, 32, .97), rgba(35, 31, 32, .72) 55%, rgba(35, 31, 32, .3))
}

.feature-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1)
}

.feature-band .shell {
    position: relative;
    padding-block: 4rem
}

.feature-band h2 {
    margin-bottom: 1rem
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.journal-card {
    display: flex;
    flex-direction: column;
    min-height: 26rem;
    padding: 1.5rem;
    background: var(--ink);
    transition: background-color .3s, color .3s
}

.journal-card:hover {
    background: var(--sand);
    color: var(--ink)
}

.journal-card span {
    color: var(--sand);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.journal-card:hover span {
    color: var(--ink)
}

.journal-card h3 {
    margin: 1.5rem 0 auto;
    font-size: clamp(2rem, 3vw, 3rem)
}

.journal-card p {
    font-size: .94rem
}

.journal-card .arrow {
    font-size: 1.5rem
}

.page-hero {
    padding-block: clamp(5rem, 10vw, 10rem) clamp(3.5rem, 7vw, 7rem);
    border-block-end: 1px solid var(--line)
}

.page-hero h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(4rem, 10vw, 9rem)
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    color: var(--muted);
    font-size: .75rem;
    margin-bottom: 2rem
}

.breadcrumb a:hover {
    color: var(--sand)
}

.project-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 38rem
}

.project-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-detail-copy {
    padding: clamp(2rem, 6vw, 7rem);
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: #312a2b
}

.project-detail-copy h1 {
    margin: .5rem 0 1rem;
    font-size: clamp(3.7rem, 7vw, 7rem)
}

.placeholder {
    border: 1px dashed var(--line);
    padding: 1.5rem;
    color: var(--muted);
    font-size: .9rem
}

.placeholder strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem
}

.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(2rem, 8vw, 10rem)
}

.contact-list {
    list-style: none;
    margin: 2.2rem 0 0;
    padding: 0
}

.contact-list li {
    border-block-start: 1px solid var(--line);
    padding: 1rem 0
}

.contact-list span {
    display: block;
    color: var(--sand);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.contact-list a {
    font-size: 1.2rem
}

.contact-form {
    display: grid;
    gap: 1.1rem
}

.field {
    display: grid;
    gap: .4rem
}

.field label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.field input,
.field textarea {
    width: 100%;
    border: 0;
    border-block-end: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--paper);
    padding: .75rem 0;
    outline: 0
}

.field input:focus,
.field textarea:focus {
    border-color: var(--sand)
}

.field:focus-within label {
    color: var(--sand)
}

.field input:focus-visible,
.field textarea:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px
}

.field textarea {
    min-height: 8rem;
    resize: vertical
}

.form-status {
    min-height: 1.6rem;
    margin: 0;
    color: var(--sand);
    font-size: .9rem
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.site-footer {
    border-block-start: 1px solid var(--line);
    padding-block: 2rem;
    background: #191617
}

.footer-inner {
    width: var(--shell);
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: .78rem
}

.footer-inner strong {
    color: var(--paper)
}

html.js .reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity .7s ease, transform .7s ease
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none
}

[dir=rtl] {
    font-family: var(--arabic);
    letter-spacing: 0
}

[dir=rtl] .display,
[dir=rtl] h3 {
    font-family: var(--arabic);
    letter-spacing: 0
}

[dir=rtl] .eyebrow,
[dir=rtl] .site-nav,
[dir=rtl] .text-link,
[dir=rtl] .button,
[dir=rtl] .filter-bar button {
    letter-spacing: 0
}

[dir=rtl] .brand img {
    object-position: right center
}

[dir=rtl] .hero::before {
    background: linear-gradient(270deg, var(--ink) 16%, rgba(35, 31, 32, .72) 48%, rgba(35, 31, 32, .14))
}

[dir=rtl] .hero-title {
    line-height: 1.08
}

[dir=rtl] .hero-copy {
    margin-inline-start: 0;
    margin-inline-end: auto
}

@media (max-width:900px) {
    .site-nav {
        gap: .85rem;
        font-size: .67rem
    }

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

    .hero-copy {
        margin-inline-start: 0
    }

    .story-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .story-grid article:nth-child(3) {
        border-inline-end: 0
    }

    .story-grid article:nth-child(n+4) {
        border-block-start: 1px solid var(--line)
    }

    .project-card,
    .project-card:nth-child(5n+1) {
        grid-column: span 6
    }

    .project-detail-hero {
        grid-template-columns: 1fr
    }

    .project-detail-hero img {
        max-height: 28rem
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .section-head {
        grid-template-columns: 1fr
    }
}

@media (max-width:700px) {
    :root {
        --shell: min(100% - 2rem, 90rem);
        --header: 4.6rem
    }

    .menu-toggle {
        display: block
    }

    .site-nav {
        position: fixed;
        inset: var(--header) 0 0;
        background: var(--ink);
        padding: 2rem 1rem;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 1.1rem;
        transform: translateX(100%);
        transition: transform .25s ease;
        font-size: .9rem
    }

    .site-nav.is-open {
        transform: none
    }

    [dir=rtl] .site-nav {
        transform: translateX(-100%)
    }

    [dir=rtl] .site-nav.is-open {
        transform: none
    }

    .hero {
        min-height: calc(100svh - var(--header))
    }

    .hero::before {
        background: linear-gradient(0deg, var(--ink) 6%, rgba(35, 31, 32, .23) 68%, rgba(35, 31, 32, .35))
    }

    .hero-content {
        padding-block: 3rem
    }

    .hero-title {
        font-size: clamp(4rem, 18vw, 6.2rem);
        white-space: normal
    }

    .split {
        grid-template-columns: 1fr
    }

    .section-head {
        gap: 1rem
    }

    .project-grid {
        grid-template-columns: 1fr;
        display: grid
    }

    .project-card,
    .project-card:nth-child(5n+1) {
        grid-column: auto;
        min-height: 19rem
    }

    .story-grid {
        grid-template-columns: 1fr
    }

    .story-grid article,
    .story-grid article:nth-child(3) {
        border-inline-end: 0;
        border-block-start: 1px solid var(--line)
    }

    .story-grid article:first-child {
        border-block-start: 0
    }

    .journal-grid {
        grid-template-columns: 1fr
    }

    .journal-card {
        min-height: 20rem
    }

    .footer-inner {
        display: grid
    }

    .page-hero h1 {
        font-size: clamp(3.4rem, 15vw, 5.7rem)
    }

    .project-detail-copy {
        min-height: 22rem
    }

    .project-detail-copy h1 {
        font-size: clamp(3rem, 13vw, 5rem)
    }
}

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

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

/* Light editorial surfaces, with dark reserved for media-led moments. */
body {
    background: var(--paper);
    color: var(--ink)
}

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

.section-paper {
    background: #ece5dc
}

.section .eyebrow,
.section .story-grid>article>span,
.section .number-list>article::before {
    color: #75482f
}

.lede,
.number-list p,
.story-grid p,
.editorial p {
    color: #5d5652
}

.text-link {
    color: var(--ink)
}

.hero .lede,
.hero-copy p,
.feature-band .lede,
.project-detail-copy .lede {
    color: var(--mist)
}

.hero .text-link,
.feature-band .text-link,
.site-header .text-link,
.project-detail-copy .text-link {
    color: var(--paper)
}

.feature-band,
.project-detail-copy {
    color: var(--paper)
}

.faq-section {
    background: #ece5dc;
    border-block: 1px solid rgba(35, 31, 32, .12)
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(16rem, .65fr) minmax(0, 1fr);
    gap: clamp(2rem, 9vw, 10rem);
    align-items: start
}

.faq-layout h2 {
    margin-bottom: 1rem
}

.faq-intro {
    position: sticky;
    inset-block-start: calc(var(--header) + 2rem)
}

.faq-list {
    border-block: 1px solid rgba(35, 31, 32, .18)
}

.faq-item {
    border-block-end: 1px solid rgba(35, 31, 32, .18)
}

.faq-item:last-child {
    border: 0
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.1rem;
    list-style: none;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    line-height: 1.15;
    cursor: pointer
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--sand);
    font-family: var(--sans);
    font-size: 1.75rem;
    font-weight: 400;
    transition: transform .25s
}

.faq-item[open] summary::after {
    transform: rotate(45deg)
}

.faq-item p {
    max-width: 44rem;
    margin: 0;
    padding: 0 3rem 1.5rem 0;
    color: #5d5652;
    line-height: 1.85
}

.site-footer {
    padding-block: 0;
    background: #191617;
    color: var(--paper)
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.25fr repeat(2, .7fr);
    gap: clamp(2rem, 6vw, 7rem);
    padding-block: clamp(3rem, 7vw, 6rem);
    font-size: .9rem
}

.footer-brand {
    display: grid;
    justify-items: start;
    gap: 1.25rem
}

.footer-brand img {
    width: 8.5rem;
    max-height: 3.1rem;
    object-fit: contain
}

.footer-brand p {
    max-width: 22rem;
    margin: 0;
    color: var(--mist)
}

.footer-title {
    margin: 0 0 1rem;
    color: var(--sand);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.footer-links {
    display: grid;
    gap: .55rem
}

.footer-links a {
    width: max-content;
    color: var(--mist);
    transition: color .2s, transform .2s
}

.footer-links a:hover {
    color: var(--sand);
    transform: translateX(.25rem)
}

.footer-contact {
    margin: 0 0 .7rem;
    color: var(--mist)
}

.footer-note {
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: .75rem
}

.footer-bottom {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(245, 240, 234, .14);
    color: var(--muted);
    font-size: .75rem
}

.footer-bottom strong {
    color: var(--paper)
}

html.js .hero-content>div:first-child {
    animation: hero-rise .9s .12s both cubic-bezier(.2, .75, .2, 1)
}

html.js .hero-copy {
    animation: hero-rise .9s .3s both cubic-bezier(.2, .75, .2, 1)
}

html.js .hero-image {
    animation: hero-image 1.25s both cubic-bezier(.2, .75, .2, 1)
}

html.js .page-hero>* {
    animation: hero-rise .7s .1s both ease-out
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(1.5rem)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes hero-image {
    from {
        opacity: 0;
        transform: scale(1.04)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@media (max-width:900px) {
    .faq-layout {
        grid-template-columns: 1fr
    }

    .faq-intro {
        position: static
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }
}

@media (max-width:700px) {
    .faq-item summary {
        min-height: 4.5rem
    }

    .faq-item p {
        padding-inline-end: 0
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding-block: 3rem
    }

    .footer-brand {
        grid-column: auto
    }

    .footer-bottom {
        display: grid
    }

    .footer-links a:hover {
        transform: none
    }
}

/* Portfolio refinement: captions stay readable; motion supports, never hides, content. */
h2 {
    font-size: clamp(2.35rem, 3.7vw, 4.4rem)
}

.hero-title {
    font-size: clamp(4.25rem, 7.5vw, 8rem)
}

.page-hero h1 {
    font-size: clamp(3.25rem, 7vw, 7rem)
}

.section-head {
    margin-bottom: clamp(2rem, 4vw, 3.75rem)
}

.project-grid {
    gap: clamp(.75rem, 1.3vw, 1.25rem)
}

.project-card {
    color: var(--paper);
    isolation: isolate;
    min-height: clamp(20rem, 25vw, 25rem)
}

.project-card::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(0deg, rgba(24, 20, 20, .92), rgba(24, 20, 20, .52) 38%, rgba(24, 20, 20, 0) 73%);
    pointer-events: none
}

.project-card img {
    filter: saturate(.82) brightness(.9)
}

.project-card:hover img {
    filter: saturate(1) brightness(.76)
}

.project-card h3 {
    color: var(--paper);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .55)
}

.project-card span {
    color: #efc5a8;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .7)
}

.home-project-grid .project-card:nth-child(4n+1),
.home-project-grid .project-card:nth-child(4n+4) {
    grid-column: span 7
}

.home-project-grid .project-card:nth-child(4n+2),
.home-project-grid .project-card:nth-child(4n+3) {
    grid-column: span 5
}

.journal-card {
    min-height: 22rem;
    color: var(--paper);
    background: #282324;
    transition: background-color .3s, color .3s, transform .3s ease
}

.journal-card:nth-child(2) {
    background: #c99c7f;
    color: var(--ink)
}

.journal-card p {
    color: var(--mist)
}

.journal-card:nth-child(2) p {
    color: #41322d
}

.journal-card .arrow {
    color: var(--sand)
}

.journal-card:nth-child(2) span,
.journal-card:nth-child(2) .arrow {
    color: #6f432f
}

.journal-card:hover {
    background: #352b2b;
    color: var(--paper);
    transform: translateY(-.25rem)
}

.journal-card:nth-child(2):hover {
    background: #b98263;
    color: var(--ink)
}

.journal-card:hover span,
.journal-card:hover .arrow {
    color: #efc5a8
}

.journal-card:nth-child(2):hover span,
.journal-card:nth-child(2):hover .arrow {
    color: #6f432f
}

.field input,
.field textarea {
    color: var(--ink)
}

.field input::placeholder,
.field textarea::placeholder {
    color: #766b65;
    opacity: 1
}

html.js .reveal {
    transform: translateY(.9rem);
    transition-duration: .55s
}

@media (max-width:900px) {
    .home-project-grid .project-card:nth-child(n) {
        grid-column: span 6
    }
}

@media (max-width:700px) {
    .site-nav {
        display: none;
        transform: none
    }

    .site-nav.is-open {
        display: flex
    }

    .home-project-grid .project-card:nth-child(n) {
        grid-column: auto
    }

    .journal-card {
        min-height: 19rem
    }

    .journal-card:hover {
        transform: none
    }
}

/* Opening sections are quieter editorial introductions; the Home keeps the bold thesis. */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    transition: background-color .28s ease, border-color .28s ease, backdrop-filter .28s ease, color .28s ease
}

.site-header.is-scrolled {
    background: rgba(35, 31, 32, .94);
    border-color: rgba(245, 240, 234, .14);
    backdrop-filter: blur(16px);
    color: var(--paper)
}

.site-header.site-header--ink:not(.is-scrolled) {
    color: var(--ink)
}

.site-header.site-header--ink:not(.is-scrolled) .menu-toggle {
    color: var(--ink)
}

.hero {
    min-height: min(53rem, 100svh)
}

.page-hero {
    padding-block: calc(var(--header) + clamp(3rem, 6vw, 6rem)) clamp(3rem, 5vw, 5.5rem);
    background: linear-gradient(115deg, #f5f0ea 0%, #f5f0ea 68%, #ece5dc 100%)
}

.page-hero .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .6fr);
    column-gap: clamp(2rem, 8vw, 9rem);
    row-gap: 1.15rem;
    align-items: end
}

.page-hero .breadcrumb {
    grid-column: 1/-1;
    margin: 0 0 clamp(.75rem, 2vw, 1.75rem)
}

.page-hero .eyebrow {
    grid-column: 1;
    margin-bottom: 0
}

.page-hero h1 {
    grid-column: 1;
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.85rem, 5vw, 5.6rem);
    line-height: 1.01
}

.page-hero .lede {
    grid-column: 2;
    grid-row: 2/span 2;
    align-self: end;
    margin: 0;
    padding-inline-start: 1.25rem;
    border-inline-start: 1px solid rgba(117, 72, 47, .42);
    font-size: clamp(1rem, 1.25vw, 1.18rem)
}

.project-detail-hero {
    min-height: clamp(32rem, 70svh, 48rem)
}

.project-detail-copy h1 {
    font-size: clamp(3rem, 5.5vw, 5.8rem)
}

@media (max-width:900px) {
    .page-hero .shell {
        grid-template-columns: 1fr
    }

    .page-hero .lede {
        grid-column: 1;
        grid-row: auto;
        margin-top: .4rem;
        max-width: 42rem
    }

    .page-hero h1 {
        max-width: 13ch
    }
}

@media (max-width:700px) {
    .site-header.site-header--ink:not(.is-scrolled) .site-nav {
        color: var(--paper)
    }

    .page-hero {
        padding-block: calc(var(--header) + 2.75rem) 3.25rem
    }

    .page-hero .lede {
        padding-inline-start: 1rem
    }

    .project-detail-hero {
        min-height: 30rem
    }
}

/* A shared image-led banner keeps inner pages distinct without changing their content structure. */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--paper);
    background: var(--ink)
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none
}

.page-hero::before {
    z-index: 0;
    background-image: var(--page-hero-image, none);
    background-position: var(--page-hero-position, 50% 50%);
    background-size: cover;
    filter: grayscale(.72) saturate(.72) contrast(1.05);
    transform: scale(1.025)
}

.page-hero::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(35, 31, 32, .97), rgba(35, 31, 32, .86) 40%, rgba(35, 31, 32, .56) 67%, rgba(35, 31, 32, .42))
}

.page-hero .shell {
    position: relative;
    z-index: 2
}

.page-hero .breadcrumb {
    color: rgba(245, 240, 234, .7)
}

.page-hero .breadcrumb a:hover {
    color: var(--sand)
}

.page-hero .eyebrow {
    color: var(--sand)
}

.page-hero .lede {
    color: var(--paper);
    background: rgba(35, 31, 32, .34);
    backdrop-filter: blur(3px);
    border-inline-start-color: var(--sand);
    padding: 1rem
}

[dir=rtl] .page-hero::after {
    background: linear-gradient(270deg, rgba(35, 31, 32, .97), rgba(35, 31, 32, .86) 40%, rgba(35, 31, 32, .56) 67%, rgba(35, 31, 32, .42))
}

[dir=rtl] .page-hero h1 {
    max-width: 16.5ch;
    font-size: clamp(2.6rem, 4.45vw, 4rem);
    line-height: 1.12
}

@media (max-width:700px) {

    .page-hero::after,
    [dir=rtl] .page-hero::after {
        background: linear-gradient(0deg, rgba(35, 31, 32, .97), rgba(35, 31, 32, .82) 55%, rgba(35, 31, 32, .38))
    }

    .page-hero .lede {
        background: rgba(35, 31, 32, .4)
    }
}

/* Cairo provides the Arabic site's readable text and real weight range. */
html[dir=rtl],
html[dir=rtl] body {
    font-family: var(--arabic)
}

html[dir=rtl] .display,
html[dir=rtl] h1,
html[dir=rtl] h2,
html[dir=rtl] h3,
html[dir=rtl] .faq-item summary {
    font-family: var(--arabic);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.18
}

html[dir=rtl] .eyebrow,
html[dir=rtl] .site-nav,
html[dir=rtl] .text-link,
html[dir=rtl] .button,
html[dir=rtl] .filter-bar button,
html[dir=rtl] .footer-title {
    font-family: var(--arabic);
    font-weight: 600
}

/* Final refinement: compact hierarchy, immediate header feedback, and gentle project filtering. */
.site-header {
    transition: background-color .22s ease, border-color .22s ease, backdrop-filter .22s ease, color .22s ease
}

.hero {
    min-height: min(58rem, calc(100svh + 3rem))
}

h2 {
    font-size: clamp(2.05rem, 3.15vw, 3.7rem);
    line-height: 1.05
}

.hero-title {
    font-size: clamp(4rem, 6.6vw, 7rem)
}

.page-hero h1 {
    font-size: clamp(2.7rem, 4.45vw, 4.8rem)
}

.faq-intro h2 {
    max-width: 11ch
}

.editorial h2 {
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    font-size: clamp(1.85rem, 2.6vw, 3rem);
    line-height: 1.12
}

.project-detail-copy h1 {
    font-size: clamp(2.45rem, 4vw, 4.25rem);
    line-height: 1.05
}

.project-card {
    transition: opacity .22s ease, transform .22s ease
}

.project-card.is-filtered-out {
    opacity: 0;
    transform: scale(.96);
    pointer-events: none
}

@media (max-width:700px) {
    .hero {
        min-height: calc(100svh - var(--header))
    }

    .hero-title {
        font-size: clamp(3.75rem, 16vw, 5.35rem)
    }

    .page-hero h1 {
        font-size: clamp(2.45rem, 10.5vw, 3.25rem)
    }

    .editorial h2 {
        font-size: clamp(1.8rem, 8vw, 2.45rem)
    }
}

/* Keep supporting titles compact enough to leave room for the content itself. */
h2 {
    font-size: clamp(1.9rem, 2.65vw, 3.15rem)
}

.page-hero h1 {
    font-size: clamp(2.3rem, 3.45vw, 4rem);
    line-height: 1.06
}

.faq-intro h2 {
    max-width: 16ch;
    font-size: clamp(1.75rem, 2.35vw, 2.65rem);
    line-height: 1.12
}

.editorial h2 {
    font-size: clamp(1.65rem, 2.1vw, 2.45rem);
    line-height: 1.16
}

@media (max-width:700px) {
    .page-hero h1 {
        font-size: clamp(2.15rem, 7.8vw, 2.75rem)
    }

    .faq-intro h2 {
        font-size: clamp(1.7rem, 5.3vw, 1.9rem)
    }

    .editorial h2 {
        font-size: clamp(1.65rem, 6vw, 2.15rem)
    }
}

/* Journal cards use portrait-led stories with one consistent dark base. */
.journal-grid {
    gap: clamp(.75rem, 1.35vw, 1.25rem);
    background: transparent;
    border: 0
}

.journal-card.journal-card--visual {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #282324;
    color: var(--paper);
    border: 1px solid rgba(35, 31, 32, .14);
    transition: background-color .28s ease, color .28s ease, transform .28s ease
}

.journal-card.journal-card--visual:nth-child(2) {
    background: #282324;
    color: var(--paper)
}

.journal-card--visual img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: saturate(.78);
    transition: transform .5s cubic-bezier(.2, .65, .2, 1), filter .3s
}

.journal-card--visual:nth-child(3) img {
    object-position: center 23%
}

.journal-card--visual span {
    margin: 1.15rem 1.25rem 0;
    color: #efc5a8;
    font-size: .68rem
}

.journal-card--visual h3 {
    margin: .45rem 1.25rem 0;
    color: inherit;
    font-size: clamp(1.6rem, 2.1vw, 2.25rem);
    line-height: 1.02
}

.journal-card--visual p {
    margin: 1rem 1.25rem;
    color: var(--mist);
    font-size: .92rem;
    line-height: 1.65
}

.journal-card--visual .arrow {
    margin: 0 1.25rem 1.15rem;
    color: #efc5a8
}

.journal-card.journal-card--visual:nth-child(2) p {
    color: var(--mist)
}

.journal-card.journal-card--visual:nth-child(2) span,
.journal-card.journal-card--visual:nth-child(2) .arrow {
    color: #efc5a8
}

.journal-card.journal-card--visual:hover {
    background: #c99c7f;
    color: var(--ink);
    transform: translateY(-.25rem)
}

.journal-card.journal-card--visual:hover img {
    transform: scale(1.035);
    filter: saturate(1)
}

.journal-card.journal-card--visual:hover span,
.journal-card.journal-card--visual:hover .arrow {
    color: var(--ink)
}

.journal-card.journal-card--visual:hover p {
    color: #41322d
}

@media (max-width:700px) {
    .journal-card.journal-card--visual:hover {
        transform: none
    }

    .journal-card--visual span {
        margin: 1rem 1rem 0
    }

    .journal-card--visual h3 {
        margin-inline: 1rem
    }

    .journal-card--visual p {
        margin-inline: 1rem
    }

    .journal-card--visual .arrow {
        margin-inline: 1rem
    }
}

.feature-band img {
    filter: saturate(.7) brightness(.72)
}

/* Editorial refinement: keep the existing imagery and content, with calmer type and warmer art direction. */
.section {
    padding-block: clamp(4rem, 7.5vw, 8rem)
}

h2 {
    font-size: clamp(2rem, 3.25vw, 3.8rem);
    line-height: 1.02
}

.hero::before {
    background: linear-gradient(90deg, rgba(35, 31, 32, .88) 0%, rgba(35, 31, 32, .62) 34%, rgba(35, 31, 32, .12) 78%), linear-gradient(0deg, rgba(35, 31, 32, .62), transparent 58%)
}

.hero-image {
    filter: saturate(.82) contrast(1.02) brightness(.9)
}

.hero-content {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    gap: clamp(1rem, 2vw, 1.6rem)
}

.hero-content > div:first-child {
    max-width: 54rem
}

.hero-title {
    max-width: 10ch;
    font-size: clamp(3.6rem, 6.25vw, 7rem);
    line-height: .94
}

.hero-copy {
    max-width: 34rem;
    margin-inline-start: 0
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem
}

.hero + .section + .section {
    background: var(--ink);
    color: var(--paper)
}

.hero + .section + .section .eyebrow,
.hero + .section + .section .story-grid > article > span {
    color: #e2b497
}

.hero + .section + .section .lede,
.hero + .section + .section .story-grid p {
    color: var(--mist)
}

.hero + .section + .section .story-grid article {
    border-color: rgba(245, 240, 234, .18)
}

.portrait-frame img,
.journal-card--visual img {
    filter: saturate(.88) brightness(.96)
}

.project-card img {
    filter: saturate(.94) brightness(.98)
}

.project-card:hover img {
    filter: saturate(1) brightness(.9)
}

.project-card::after {
    background: linear-gradient(0deg, rgba(24, 20, 20, .92), rgba(24, 20, 20, .4) 38%, transparent 73%)
}

.page-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 5.25vw, 5.75rem);
    line-height: .98;
    text-wrap: balance
}

.project-detail-copy h1 {
    font-size: clamp(2.7rem, 4.8vw, 5.2rem);
    line-height: .98
}

.faq-layout h2 {
    font-size: clamp(1.9rem, 3.5vw, 3.5rem);
    line-height: 1.04
}

.faq-item summary {
    font-size: clamp(1.15rem, 1.8vw, 1.55rem)
}

.editorial h2 {
    font-size: clamp(1.8rem, 3vw, 3.25rem);
    line-height: 1.06
}

.feature-band img {
    filter: saturate(.82) brightness(.78)
}

@media (max-width: 700px) {
    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem)
    }

    .hero::before {
        background: linear-gradient(0deg, rgba(35, 31, 32, .88) 2%, rgba(35, 31, 32, .56) 58%, rgba(35, 31, 32, .12) 100%)
    }

    .hero-content {
        gap: 1rem;
        padding-block: 4rem 3rem
    }

    .hero-title {
        font-size: clamp(3.2rem, 15vw, 5.4rem)
    }

    .hero-actions {
        gap: .5rem
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 10vw, 3.7rem)
    }

    .project-detail-copy h1 {
        font-size: clamp(2.4rem, 10vw, 3.8rem)
    }

    .faq-layout h2 {
        font-size: clamp(1.8rem, 7.5vw, 2.5rem)
    }

    .editorial h2 {
        font-size: clamp(1.8rem, 7vw, 2.55rem)
    }
}

/* Mobile navigation: compact panel inspired by the supplied reference, not a full-screen takeover. */
@media (max-width:700px) {
    body.menu-open {
        overflow: visible
    }

    body.menu-open .site-header {
        background: var(--ink);
        border-color: rgba(245, 240, 234, .14);
        backdrop-filter: none
    }

    .menu-toggle {
        position: relative;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 1px solid rgba(245, 240, 234, .42);
        color: var(--paper) !important;
        font-size: 0;
        transition: border-color .22s ease, background-color .22s ease
    }

    .menu-toggle::before,
    .menu-toggle::after {
        content: '';
        position: absolute;
        inset: 50% auto auto 50%;
        width: 1.05rem;
        height: 1px;
        background: currentColor;
        transition: transform .22s ease
    }

    .menu-toggle::before {
        transform: translate(-50%, calc(-50% - .24rem))
    }

    .menu-toggle::after {
        transform: translate(-50%, calc(-50% + .24rem))
    }

    .menu-toggle[aria-expanded=true] {
        background: rgba(206, 160, 132, .16);
        border-color: var(--sand)
    }

    .menu-toggle[aria-expanded=true]::before {
        transform: translate(-50%, -50%) rotate(45deg)
    }

    .menu-toggle[aria-expanded=true]::after {
        transform: translate(-50%, -50%) rotate(-45deg)
    }

    .site-nav,
    .site-header.site-header--ink:not(.is-scrolled) .site-nav {
        position: fixed;
        inset: var(--header) 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        padding: 0 1rem;
        overflow: hidden;
        visibility: hidden;
        color: var(--ink);
        background: var(--paper);
        box-shadow: 0 .8rem 1.5rem rgba(35, 31, 32, .15);
        opacity: 0;
        transform: translateY(-.75rem);
        transition: max-height .28s ease, opacity .2s ease, transform .28s ease, visibility .28s step-end
    }

    .site-nav.is-open {
        max-height: 25rem;
        padding-block: .4rem;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: max-height .32s ease, opacity .2s ease, transform .32s ease, visibility 0s
    }

    .site-nav a {
        width: 100%;
        padding: .9rem .15rem;
        border-block-end: 1px solid rgba(35, 31, 32, .11);
        color: inherit
    }

    .site-nav a:last-child {
        border-block-end: 0
    }

    .site-nav a::after {
        inset-inline: .15rem auto;
        width: 1.25rem
    }
}

/* Carry the homepage's quieter editorial scale through every inner-page template. */
.page-hero {
    display: grid;
    align-items: center;
    min-height: clamp(34rem, 58svh, 43rem);
    padding-block: calc(var(--header) + clamp(2rem, 4vw, 4rem)) clamp(2.75rem, 4vw, 4rem)
}

.page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 3.8vw, 4rem);
    line-height: 1.02
}

.page-hero::after {
    background: linear-gradient(90deg, rgba(35, 31, 32, .93), rgba(35, 31, 32, .78) 46%, rgba(35, 31, 32, .56) 74%, rgba(35, 31, 32, .48))
}

[dir=rtl] .page-hero::after {
    background: linear-gradient(270deg, rgba(35, 31, 32, .93), rgba(35, 31, 32, .78) 46%, rgba(35, 31, 32, .56) 74%, rgba(35, 31, 32, .48))
}

[dir=rtl] .page-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 1.18
}

.project-detail-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr)
}

.project-detail-copy {
    padding: clamp(2rem, 5vw, 5.5rem)
}

.project-detail-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 4.4vw, 4.5rem);
    line-height: 1.02;
    text-wrap: balance
}

.editorial {
    display: grid;
    grid-template-columns: minmax(13rem, .78fr) minmax(0, 1.22fr);
    column-gap: clamp(2.5rem, 9vw, 8rem);
    row-gap: clamp(1.25rem, 2.4vw, 2rem);
    max-width: 76rem;
    margin-inline: auto;
    align-items: start
}

.editorial > .eyebrow {
    grid-column: 1 / -1;
    margin: 0
}

.editorial > h2 {
    grid-column: 1;
    margin: 0;
    padding-top: 1.25rem;
    border-block-start: 1px solid var(--line);
    font-size: clamp(1.7rem, 2.55vw, 2.4rem);
    line-height: 1.14;
    text-wrap: balance
}

.editorial > p:not(.eyebrow) {
    grid-column: 2;
    margin: 0;
    padding-top: 1.25rem;
    border-block-start: 1px solid var(--line);
    max-width: 68ch;
    line-height: 1.85
}

.editorial > .placeholder {
    grid-column: 2;
    align-self: start
}

.journal-card--visual:focus-visible,
.project-card:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px
}

@media (max-width:900px) {
    .project-detail-hero {
        grid-template-columns: 1fr
    }

    .project-detail-hero img {
        max-height: min(62vw, 32rem)
    }

    .project-detail-copy h1 {
        max-width: 14ch
    }
}

@media (max-width:700px) {
    .page-hero {
        min-height: clamp(26rem, 62svh, 34rem);
        padding-block: calc(var(--header) + 1.75rem) 2.5rem
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 7.5vw, 2.65rem);
        line-height: 1.06
    }

    [dir=rtl] .page-hero h1 {
        font-size: clamp(2rem, 7.2vw, 2.55rem);
        line-height: 1.2
    }

    .page-hero .lede {
        padding: .8rem;
        font-size: .98rem
    }

    .project-detail-copy {
        min-height: 0;
        padding: 2rem 1.25rem 2.5rem
    }

    .project-detail-copy h1 {
        font-size: clamp(2.35rem, 9vw, 3.25rem)
    }

    .editorial h2 {
        text-wrap: balance
    }

    .editorial {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .7rem
    }

    .editorial > .eyebrow,
    .editorial > h2,
    .editorial > p:not(.eyebrow),
    .editorial > .placeholder {
        grid-column: 1
    }

    .editorial > h2 {
        margin-top: 1.7rem;
        padding-top: 1rem
    }

    .editorial > h2:first-of-type {
        margin-top: .5rem
    }

    .editorial > p:not(.eyebrow) {
        padding-top: .9rem;
        border-block-start: 0
    }
}

.footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center
}

.footer-bottom > span:last-child {
    justify-self: end;
    text-align: end
}

.footer-credit {
    justify-self: center;
    color: var(--muted);
    text-align: center;
    white-space: nowrap
}

.footer-credit a {
    color: var(--sand);
    text-underline-offset: .18em;
    transition: color .2s ease
}

.footer-credit a:hover {
    color: var(--paper)
}

@media (min-width:901px) {
    .page-hero .shell {
        align-items: center
    }

    .page-hero .eyebrow {
        grid-row: 1;
        align-self: end
    }

    .page-hero h1,
    .page-hero .lede {
        grid-row: 2;
        align-self: center
    }

    .page-hero .lede {
        margin: 0
    }
}

@media (max-width:700px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center
    }

    .footer-bottom > *,
    .footer-bottom > span:last-child {
        grid-column: 1;
        justify-self: center;
        text-align: center
    }
}
