/* =========================================================================
   Spec Media — overrides on top of the template's style.css + pages.css
   (loaded after them, plus header.css / footer.css)
   ========================================================================= */
:root {
  --accent: #e11d34;
  --brand: #8f0c1a;
  --brand-deep: #2d0406;
  --sans: 'General Sans', 'Lama Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
}
html.is-rtl { --sans: 'Cairo', 'General Sans', 'Segoe UI', Tahoma, sans-serif; --mono: 'Cairo', 'JetBrains Mono', monospace; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* the template hides the native pointer for its custom cursor; we don't ship that */
body, a, button, input, select, textarea { cursor: auto !important; }
button, a { cursor: pointer !important; }
.cursor, .loader, .page-veil { display: none !important; }

html.is-rtl .mono { letter-spacing: 0; text-transform: none; font-size: .8rem; }
html.is-rtl .phero-title, html.is-rtl .h2, html.is-rtl .rr-head, html.is-rtl [class*="-title"] { letter-spacing: 0; line-height: 1.18; }
html.is-rtl .rr-col { padding-right: 0; padding-left: clamp(22px, 3vw, 52px); }

.scroll-progress { z-index: 600; }

/* ── type scale: a notch smaller than the template ships ── */
.h2 { font-size: clamp(1.8rem, 4.4vw, 3.7rem); }
.lede { font-size: clamp(1rem, 1.55vw, 1.32rem); }
.body-copy { font-size: .92rem; }

/* ── split-text hooks ── */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
/* the template styles every span inside these headings as a block mask; letters must stay inline */
.split-line .ch, .lion-title .split-line .ch, .ahero-title .split-line .ch { display: inline-block !important; overflow: visible !important; will-change: transform; }
.lion-title .split-line, .ahero-title .split-line { display: block; overflow: hidden; }
.words .w { display: inline-block; color: rgba(43, 43, 43, .18); transition: color .3s ease; }
.words .w.on { color: var(--ink); }
.sect-dark .words .w { color: rgba(255, 255, 255, .18); }
.sect-dark .words .w.on { color: #fff; }

/* =========================================================================
   ABOUT — landing (replaces the curtain)
   The picture settles from a slight zoom, the headline climbs letter by
   letter out of its mask, and as you scroll the frame pushes in and the
   copy lifts away.
   ========================================================================= */
.ahero { position: relative; height: 175vh; background: var(--dark); }
.ahero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ahero-art { position: absolute; inset: 0; will-change: transform; }
.ahero-art img { filter: contrast(1.06) brightness(.7); transform: scale(1.14); animation: ahero-settle 2.4s var(--ease) .1s forwards; }
@keyframes ahero-settle { to { transform: scale(1); } }
.ahero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 8, .72) 0%, rgba(8, 6, 8, .16) 38%, rgba(8, 6, 8, .58) 72%, rgba(8, 6, 8, .92) 100%);
}
.ahero-face { position: absolute; left: clamp(18px, 3.4vw, 48px); right: clamp(18px, 3.4vw, 48px); bottom: clamp(96px, 15vh, 168px); z-index: 3; will-change: transform, opacity; }
.ahero-kicker { color: rgba(255, 255, 255, .55); margin-bottom: clamp(14px, 2.4vh, 26px); }
.ahero-title { font-size: clamp(2.4rem, 7.4vw, 6.2rem); font-weight: 500; letter-spacing: -.045em; line-height: .92; color: #f6f3f3; }
.ahero-lede { margin-top: clamp(16px, 2.6vh, 30px); max-width: 44ch; font-size: clamp(.86rem, 1.3vw, 1.05rem); line-height: 1.62; color: rgba(240, 236, 236, .68); }
.ahero-rail {
  position: absolute; left: clamp(18px, 3.4vw, 48px); right: clamp(18px, 3.4vw, 48px); bottom: clamp(24px, 4vh, 44px); z-index: 4;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255, 255, 255, .5);
}
@media (max-width: 900px) { .ahero { height: 150vh; } .ahero-rail span:nth-child(2) { display: none; } }

/* About: the framed photograph beside "who we are" is our own poster, so keep it crisp */
.figure img { transition: transform 1.2s var(--ease); }
.figure:hover img { transform: scale(1.04); }

/* ── contact ── */
.lion-title { font-size: clamp(1.7rem, 5.2vw, 4.2rem); }
.talk-title { font-size: clamp(1.9rem, 5.4vw, 4.4rem); }
.talk-send { font-family: var(--mono); }
.form-status { grid-column: 1 / -1; min-height: 1em; opacity: 0; transition: opacity .3s; color: #ff8a95; }
.form-status.show { opacity: 1; }
.talk-form .form-status { text-align: center; }
.mono-link { display: inline-flex; align-items: center; gap: 26px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid rgba(0, 0, 0, .35); width: fit-content; transition: gap .4s var(--ease); }
.mono-link:hover { gap: 38px; }
html.is-rtl .mono-link i, html.is-rtl .btn i { display: inline-block; transform: scaleX(-1); }
html.is-rtl .talk-form { text-align: right; }
html.is-rtl .field-select::after { right: auto; left: 22px; }
html.is-rtl .field input, html.is-rtl .field select, html.is-rtl .field textarea { font-family: var(--sans); }

/* RTL: the hairline rules draw from the right, in reading order */
html.is-rtl .rr-rail, html.is-rtl .rr-crule { transform: scaleX(-1); }
html.is-rtl .sect-head .mono:last-child { direction: ltr; unicode-bidi: isolate; }
/* ── portfolio ── */
.ahero-cycle img { filter: contrast(1.05) brightness(.62); transform: none; animation: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 56px); }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .2); font-size: .8rem; font-weight: 500; color: #3a3a3a; background: transparent; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.chip:hover { border-color: #0a0909; }
.chip.is-active { background: #0a0909; color: #fff; border-color: #0a0909; }
.works-empty { padding: 40px 0; color: #8b8b8b; text-align: center; }
html.is-rtl .work-slab .slab-bar { direction: rtl; }
html.is-rtl .slab-title { letter-spacing: 0; }
/* ── portfolio index ── */
.pf-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vw, 46px); }
.pf-bar .chips { margin-bottom: 0; }
.pf-view { display: inline-flex; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px; padding: 3px; flex: none; }
.pf-view button { padding: 8px 18px; border-radius: 999px; font-size: .78rem; font-weight: 500; color: #4a4a4a; transition: background .25s ease, color .25s ease; }
.pf-view button.is-active { background: #0a0909; color: #fff; }

.pf[data-view="list"] { border-top: 1px solid rgba(0, 0, 0, .14); }
.pf-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 2.6fr) minmax(0, 1.2fr) minmax(0, 1.3fr) 3.6rem 2rem; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: clamp(18px, 2.4vw, 32px) 0; border-bottom: 1px solid rgba(0, 0, 0, .14); color: #0a0909;
  transition: opacity .35s ease, padding .5s var(--ease), color .3s ease;
}
.pf-n { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: #8b8b8b; }
.pf-thumb { display: none; }
.pf-title { font-size: clamp(1.3rem, 3.1vw, 2.8rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
html.is-rtl .pf-title { letter-spacing: 0; }
.pf-client, .pf-disc, .pf-year { font-size: .84rem; color: #6a6666; }
.pf-year { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-align: end; }
.pf-go { font-size: 1.1rem; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s ease, transform .4s var(--ease); color: var(--accent); text-align: end; }
.pf[data-view="list"]:hover .pf-row { opacity: .26; }
.pf[data-view="list"] .pf-row:hover { opacity: 1; padding-inline-start: 14px; }
.pf-row:hover .pf-go { opacity: 1; transform: none; }
.pf-row:hover .pf-n { color: var(--accent); }

.pf[data-view="grid"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(14px, 2vw, 26px); }
.pf-card { display: block; }
.pf-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #dcdcdc; }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pf-card:hover .pf-card__media img { transform: scale(1.06); }
.pf-card__tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 9, 9, .62); color: #fff; font-size: .68rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pf-card__meta { padding-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pf-card__meta span { font-family: var(--mono); font-size: .64rem; color: var(--accent); }
.pf-card__meta h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.pf-card__meta p { width: 100%; font-size: .82rem; color: #6a6666; }

.pf-preview { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(240px, 24vw, 380px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 40px 90px rgba(10, 9, 9, .35); transition: opacity .3s ease; will-change: transform; background: #0a0909; }
.pf-preview.on { opacity: 1; }
.pf-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .pf-bar { flex-direction: column; }
  .pf[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-row { grid-template-columns: 4.4rem minmax(0, 1fr) 1.5rem; row-gap: 4px; }
  .pf-n, .pf-client, .pf-disc, .pf-year { grid-column: 2; }
  .pf-n { grid-row: 1; display: none; }
  .pf-thumb { display: block; grid-column: 1; grid-row: 1 / span 3; width: 4.4rem; height: 4.4rem; border-radius: 10px; object-fit: cover; }
  .pf-title { grid-column: 2; font-size: 1.15rem; }
  .pf-go { grid-column: 3; grid-row: 1; opacity: 1; transform: none; }
  .pf-year { text-align: start; }
}
@media (max-width: 560px) { .pf[data-view="grid"] { grid-template-columns: 1fr; } }

/* =========================================================================
   PORTFOLIO — dark gallery
   ========================================================================= */
body:has(.pfh) .page, body:has(.pfh) { background: #060607; }

/* hero: a wall of our own work, four columns drifting in opposite directions */
.pfh { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: end; background: #060607; color: #fff; }
.pfh__wall { position: absolute; inset: -6% 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); padding: 0 clamp(10px, 1.2vw, 18px); will-change: transform; }
.pfh__col { overflow: hidden; }
.pfh__strip { display: grid; gap: clamp(10px, 1.2vw, 18px); animation: pfh-up 70s linear infinite; will-change: transform; }
.pfh__col--2 .pfh__strip, .pfh__col--4 .pfh__strip { animation-name: pfh-down; animation-duration: 82s; }
.pfh__col--3 .pfh__strip { animation-duration: 90s; }
.pfh__strip figure { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #15131a; }
.pfh__strip img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.04); }
@keyframes pfh-up { to { transform: translateY(-50%); } }
@keyframes pfh-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.pfh__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 62%, rgba(6, 6, 7, .35), rgba(6, 6, 7, .9) 100%), linear-gradient(180deg, rgba(6, 6, 7, .78) 0%, rgba(6, 6, 7, .25) 34%, rgba(6, 6, 7, .96) 100%); }
.pfh::after { content: ''; position: absolute; inset: auto -10% -30% -10%; height: 70%; pointer-events: none; background: radial-gradient(50% 60% at 50% 100%, rgba(225, 29, 52, .3), transparent 70%); }

.pfh__body { position: relative; z-index: 3; padding: clamp(120px, 20vh, 220px) clamp(18px, 3.4vw, 48px) clamp(74px, 11vh, 120px); max-width: 1480px; width: 100%; margin: 0 auto; }
.pfh__kicker { color: rgba(255, 255, 255, .6); margin-bottom: clamp(14px, 2.4vh, 26px); }
.pfh__title { font-size: clamp(3.2rem, 11.5vw, 11.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .84; color: #f6f1f1; margin: 0; }
html.is-rtl .pfh__title { letter-spacing: 0; line-height: 1.05; }
.pfh__title .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.pfh__title .split-line:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.pfh__lede { margin: clamp(18px, 3vh, 34px) 0 0; max-width: 42ch; font-size: clamp(.95rem, 1.35vw, 1.2rem); line-height: 1.6; color: rgba(245, 240, 240, .72); }
.pfh__stats { display: flex; gap: clamp(30px, 5vw, 80px); margin: clamp(26px, 4.4vh, 50px) 0 0; padding-top: clamp(18px, 2.6vh, 28px); border-top: 1px solid rgba(255, 255, 255, .18); width: fit-content; }
.pfh__stats dt { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pfh__stats dd { margin: 8px 0 0; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
html.is-rtl .pfh__stats dd { letter-spacing: 0; text-transform: none; font-size: .84rem; }
.pfh__cue { position: absolute; z-index: 4; inset-inline-end: clamp(18px, 3.4vw, 48px); bottom: clamp(26px, 5vh, 54px); display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none; }
html.is-rtl .pfh__cue { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .82rem; }
.pfh__cue i { width: 1px; height: 46px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.pfh__cue i::after { content: ''; position: absolute; inset: 0; background: #fff; animation: pfh-cue 1.9s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes pfh-cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(100%); } }

/* gallery section */
.pfx { position: relative; background: #060607; color: #fff; padding: clamp(60px, 8vw, 120px) 0 clamp(70px, 9vw, 140px); }
.pfx::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 30% at 85% 12%, rgba(176, 20, 40, .16), transparent 70%), radial-gradient(50% 30% at 5% 60%, rgba(120, 12, 30, .14), transparent 70%); }
.pfx__inner { position: relative; max-width: 1480px; margin: 0 auto; padding: 0 clamp(18px, 3.4vw, 48px); }
.pfx__intro { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 70px); align-items: start; margin-bottom: clamp(40px, 6vw, 90px); }
.pfx__intro .mono { color: rgba(255, 255, 255, .45); padding-top: .6em; }
.pfx__lede { font-size: clamp(1.3rem, 2.7vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.22; max-width: 28ch; margin: 0; }
html.is-rtl .pfx__lede { letter-spacing: 0; line-height: 1.55; }
.pfx .words .w, .pfx .w { color: rgba(255, 255, 255, .2); }
.pfx .w.on { color: #fff; }

.pfx__bar { position: sticky; top: 96px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: clamp(22px, 3vw, 40px); padding: 10px 12px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(10, 10, 12, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pfx__bar .chips { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pfx__bar .chips::-webkit-scrollbar { display: none; }
.pfx .chip { flex: none; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); background: transparent; padding: 9px 16px; }
.pfx .chip:hover { border-color: #fff; color: #fff; }
.pfx .chip.is-active { background: #fff; color: #060607; border-color: #fff; }
.pfx__tools { display: flex; align-items: center; gap: 14px; flex: none; }
.pfx__count { color: rgba(255, 255, 255, .5); }
.pfx__count b { color: #fff; font-weight: 500; }
.pfx .pf-view { border-color: rgba(255, 255, 255, .2); }
.pfx .pf-view button { color: rgba(255, 255, 255, .7); }
.pfx .pf-view button.is-active { background: #fff; color: #060607; }

/* bento: a 7-cell pattern that always tiles a 12-column grid */
.pfx .pf[data-view="grid"] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17.5vw, 270px); grid-auto-flow: dense; gap: clamp(10px, 1.3vw, 20px); border: 0; }
.pcell { position: relative; display: block; border-radius: clamp(14px, 1.5vw, 22px); overflow: hidden; background: #141218; color: #fff; text-decoration: none; isolation: isolate; grid-column: span 4; grid-row: span 1; }
.pcell:nth-child(7n + 1) { grid-column: span 7; grid-row: span 2; }
.pcell:nth-child(7n + 2) { grid-column: span 5; }
.pcell:nth-child(7n + 3) { grid-column: span 5; }
.pcell:nth-child(7n + 4) { grid-column: span 4; grid-row: span 2; }
.pcell:nth-child(7n + 5) { grid-column: span 8; }
.pcell:nth-child(7n + 6) { grid-column: span 4; }
.pcell:nth-child(7n + 7) { grid-column: span 4; }
.pcell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s ease; z-index: -2; }
.pcell::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 6, 7, .5) 0%, rgba(6, 6, 7, 0) 30%, rgba(6, 6, 7, 0) 48%, rgba(6, 6, 7, .88) 100%); transition: opacity .5s ease; }
.pcell:hover > img { transform: scale(1.07); }
.pcell__n { position: absolute; top: clamp(14px, 1.6vw, 22px); inset-inline-start: clamp(14px, 1.6vw, 22px); font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: rgba(255, 255, 255, .85); }
.pcell__go { position: absolute; top: clamp(12px, 1.4vw, 20px); inset-inline-end: clamp(12px, 1.4vw, 20px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #060607; font-size: 1rem; opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .4s ease, transform .6s var(--ease); }
.pcell:hover .pcell__go { opacity: 1; transform: none; }
.pcell__meta { position: absolute; inset-inline: clamp(16px, 1.8vw, 26px); bottom: clamp(16px, 1.8vw, 26px); display: grid; gap: 6px; justify-items: start; }
.pcell__tag { font-size: .66rem; font-weight: 600; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateY(6px); opacity: 0; transition: opacity .45s ease, transform .55s var(--ease); }
.pcell:hover .pcell__tag { opacity: 1; transform: none; }
.pcell__meta strong { font-size: clamp(1rem, 1.45vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.pcell:nth-child(7n + 1) .pcell__meta strong, .pcell:nth-child(7n + 4) .pcell__meta strong { font-size: clamp(1.25rem, 2.2vw, 2.2rem); }
.pcell__meta em { font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .7); }
html.is-rtl .pcell__meta strong { letter-spacing: 0; }
html.is-rtl .pcell__n { font-family: var(--sans); letter-spacing: 0; }

/* list view on dark */
.pfx .pf[data-view="list"] { border-top: 1px solid rgba(255, 255, 255, .14); }
.pfx .pf-row { color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
.pfx .pf-n, .pfx .pf-client, .pfx .pf-disc, .pfx .pf-year { color: rgba(255, 255, 255, .55); }
.pfx .pf-row:hover .pf-n, .pfx .pf-go { color: #ff4a5a; }
.pfx .pf[data-view="list"]:hover .pf-row { opacity: .3; }
.pfx .works-empty { color: rgba(255, 255, 255, .5); }

@media (max-width: 900px) {
  .pfh__wall { grid-template-columns: repeat(3, 1fr); }
  .pfh__col--4 { display: none; }
  .pfx__intro { grid-template-columns: 1fr; }
  .pfx__bar { top: 78px; flex-direction: column; align-items: stretch; }
  .pfx__tools { justify-content: space-between; }
  .pfx .pf[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 52vw; }
  .pcell, .pcell:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .pcell:nth-child(5n + 1) { grid-column: span 2; grid-row: span 1; }
  .pcell__tag { opacity: 1; transform: none; }
  .pfh__cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pfh__strip, .pfh__cue i::after { animation: none; } }

/* =========================================================================
   BLOG / JOURNAL
   ========================================================================= */
body.is-blog { background: #060607; }
body.is-blog .page { background: #060607; }
.bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.bmeta span:first-child { color: #ff6b7a; }
.bmeta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
html.is-rtl .bmeta { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .8rem; }

.bhero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; background: #060607; color: #fff; }
.bhero__glow { position: absolute; inset: -20% -10% auto -10%; height: 130%; pointer-events: none; background: radial-gradient(45% 45% at 80% 20%, rgba(225, 29, 52, .32), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(120, 12, 30, .3), transparent 70%); }
.bhero__body { position: relative; z-index: 2; max-width: 1480px; width: 100%; margin: 0 auto; padding: clamp(150px, 24vh, 240px) clamp(18px, 3.4vw, 48px) clamp(40px, 6vh, 70px); }
.bhero__kicker { color: rgba(255, 255, 255, .6); margin-bottom: clamp(14px, 2.4vh, 26px); }
.bhero__title { font-size: clamp(3rem, 10vw, 10rem); font-weight: 500; letter-spacing: -.055em; line-height: .86; margin: 0; color: #f6f1f1; }
html.is-rtl .bhero__title { letter-spacing: 0; line-height: 1.1; }
.bhero__title .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.bhero__title .split-line:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.bhero__lede { margin: clamp(18px, 3vh, 34px) 0 0; max-width: 44ch; font-size: clamp(.95rem, 1.35vw, 1.2rem); line-height: 1.6; color: rgba(245, 240, 240, .72); }

.bfeat { background: #060607; padding: 0 clamp(18px, 3.4vw, 48px) clamp(40px, 6vw, 90px); }
.bfeat__card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; max-width: 1480px; margin: 0 auto; border-radius: clamp(18px, 2vw, 30px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); color: #fff; text-decoration: none; }
.bfeat__media { position: relative; min-height: clamp(280px, 38vw, 560px); overflow: hidden; }
.bfeat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bfeat__card:hover .bfeat__media img { transform: scale(1.05); }
.bfeat__flag { position: absolute; top: 18px; inset-inline-start: 18px; padding: 8px 14px; border-radius: 999px; background: #e11d34; color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .06em; }
.bfeat__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 64px); }
.bfeat__text h2 { font-size: clamp(1.7rem, 3.4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 18px; }
html.is-rtl .bfeat__text h2 { letter-spacing: 0; line-height: 1.3; }
.bfeat__ex { margin: 0; max-width: 44ch; font-size: clamp(.92rem, 1.15vw, 1.05rem); line-height: 1.65; color: rgba(255, 255, 255, .7); }
.bfeat__go { margin-top: clamp(22px, 3vw, 40px); display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: .92rem; transition: gap .4s var(--ease); }
.bfeat__card:hover .bfeat__go { gap: 24px; }
html.is-rtl .bfeat__go b, html.is-rtl .bpost__cta b, html.is-rtl .phead__back span { display: inline-block; transform: scaleX(-1); }

.bgrid { background: #060607; color: #fff; padding: 0 clamp(18px, 3.4vw, 48px) clamp(70px, 9vw, 140px); }
.bgrid__bar { max-width: 1480px; margin: 0 auto clamp(24px, 3vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(20px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, .12); }
.bgrid__bar .chips { margin: 0; }
.bgrid .chip, .brel .chip { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); background: transparent; }
.bgrid .chip:hover { border-color: #fff; color: #fff; }
.bgrid .chip.is-active { background: #fff; color: #060607; border-color: #fff; }
.bgrid__count { color: rgba(255, 255, 255, .5); }
.bgrid__count b { color: #fff; font-weight: 500; }
.bgrid__list { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 54px) clamp(16px, 2vw, 30px); }
.bcard { display: block; color: #fff; text-decoration: none; }
.bcard[hidden] { display: none; }
.bcard__media { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; margin-bottom: 20px; background: #141218; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.06); }
.bcard h3 { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 10px; transition: color .3s ease; }
html.is-rtl .bcard h3 { letter-spacing: 0; line-height: 1.35; }
.bcard:hover h3 { color: #ff6b7a; }
.bcard__ex { margin: 0 0 14px; font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .62); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__go { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
html.is-rtl .bcard__go { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .82rem; }

/* article */
.phead { position: relative; min-height: 72vh; display: grid; align-items: end; overflow: hidden; background: #060607; color: #fff; }
.phead__media { position: absolute; inset: 0; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); transform: scale(1.06); }
.phead__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 7, .7) 0%, rgba(6, 6, 7, .1) 40%, rgba(6, 6, 7, .96) 100%); }
.phead__body { position: relative; z-index: 2; max-width: 1180px; width: 100%; margin: 0 auto; padding: clamp(130px, 20vh, 200px) clamp(18px, 3.4vw, 48px) clamp(36px, 6vh, 70px); }
.phead__back { display: inline-flex; gap: 10px; align-items: center; margin-bottom: clamp(20px, 3vh, 34px); font-size: .86rem; color: rgba(255, 255, 255, .8); text-decoration: none; }
.phead__back:hover { color: #fff; }
.bmeta--light span:first-child { color: #ff8a96; }
.phead__title { font-size: clamp(2.1rem, 5.6vw, 5.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin: 0 0 18px; max-width: 18ch; }
html.is-rtl .phead__title { letter-spacing: 0; line-height: 1.25; }
.phead__ex { margin: 0; max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.6; color: rgba(245, 240, 240, .78); }

.bpost { background: #f4f4f2; color: #1b1819; padding: clamp(56px, 8vw, 120px) clamp(18px, 3.4vw, 48px); }
.bpost__col { max-width: 720px; margin: 0 auto; }
.bpost__col > * + * { margin-top: 1.5em; }
.bpost__col p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.85; color: #3b3637; margin-bottom: 0; }
.bpost__col h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; margin: 2em 0 0; color: #0a0909; }
html.is-rtl .bpost__col h2 { letter-spacing: 0; line-height: 1.35; }
.bpost__col blockquote { margin: 2em 0; padding: .2em 0 .2em 1.4em; border-inline-start: 3px solid #e11d34; padding-inline-start: 1.4em; padding-left: 0; font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; color: #0a0909; }
html.is-rtl .bpost__col blockquote { letter-spacing: 0; line-height: 1.55; }
.bpost__col ul { padding: 0; margin: 1.4em 0; list-style: none; display: grid; gap: 12px; }
.bpost__col li { position: relative; padding-inline-start: 1.6em; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; color: #3b3637; }
.bpost__col li::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #e11d34; }
.bpost__foot { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid rgba(0, 0, 0, .14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #6b6667; }
.bpost__cta { display: inline-flex; gap: 12px; align-items: center; padding: 14px 26px; border-radius: 999px; background: #0a0909; color: #fff; font-weight: 600; text-decoration: none; transition: background .3s ease, gap .4s var(--ease); }
.bpost__cta:hover { background: #e11d34; gap: 20px; }

.brel { background: #060607; color: #fff; padding: clamp(60px, 8vw, 120px) clamp(18px, 3.4vw, 48px) clamp(70px, 9vw, 130px); }
.brel__inner { max-width: 1480px; margin: 0 auto; }
.brel .sh { color: rgba(255, 255, 255, .45); }

@media (max-width: 900px) {
  .bfeat__card { grid-template-columns: 1fr; }
  .bgrid__list, .bgrid__list--3 { grid-template-columns: 1fr; }
  .bhero { min-height: 62vh; }
}
@media (min-width: 901px) and (max-width: 1200px) { .bgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the dotted display face on the big page titles */
.lion-title, .ahero-title .split-line:last-child, .pfh__title .split-line:last-child, .bhero__title .split-line:last-child { font-family: 'Doto', var(--font, sans-serif); font-variation-settings: 'ROND' 100; font-weight: 900; letter-spacing: -.01em; }

/* ── Journal, magazine layout: a cinematic featured banner, then staggered picture cards on cream ── */
.bfeat { background: #f4f4f2; padding: clamp(36px, 5vw, 80px) clamp(18px, 3.4vw, 48px) 0; }
.bfeat__card { position: relative; display: block; max-width: 1480px; min-height: clamp(420px, 50vw, 700px); border: 0; border-radius: 8px; background: #141218; }
.bfeat__media { position: absolute; inset: 0; min-height: 0; clip-path: inset(0 50% 0 50%); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); }
.bfeat.is-in .bfeat__media { clip-path: inset(0 0 0 0); }
.bfeat__media img { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.bfeat.is-in .bfeat__media img { transform: scale(1); }
.bfeat.is-in .bfeat__card:hover .bfeat__media img { transform: scale(1.05); transition-duration: 1.4s; }
.bfeat__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 7, .2) 0%, rgba(6, 6, 7, .1) 35%, rgba(6, 6, 7, .86) 100%); }
.bfeat__text { position: relative; z-index: 2; min-height: inherit; justify-content: flex-end; padding: clamp(22px, 4vw, 60px); max-width: 980px; }
.bfeat__text h2 { font-size: clamp(2rem, 4.8vw, 4.6rem); line-height: 1; margin-bottom: 16px; }
.bfeat__text > * { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.bfeat.is-in .bfeat__text > * { opacity: 1; transform: none; }
.bfeat.is-in .bfeat__text > :nth-child(1) { transition-delay: .9s; } .bfeat.is-in .bfeat__text > :nth-child(2) { transition-delay: 1s; }
.bfeat.is-in .bfeat__text > :nth-child(3) { transition-delay: 1.1s; } .bfeat.is-in .bfeat__text > :nth-child(4) { transition-delay: 1.2s; }
.bfeat__flag { z-index: 3; top: 22px; inset-inline-start: 22px; }

.bgrid { background: #f4f4f2; color: #0a0909; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(80px, 9vw, 150px); }
.bgrid__bar { border-top: 1px solid rgba(10, 9, 9, .85); }
.bgrid .chip, .brel .chip { border-color: rgba(10, 9, 9, .25); color: #3a3a3a; }
.bgrid .chip:hover { border-color: #0a0909; color: #0a0909; }
.bgrid .chip.is-active { background: #0a0909; color: #fff; border-color: #0a0909; }
.bgrid__count { color: rgba(10, 9, 9, .5); } .bgrid__count b { color: #0a0909; }
.brel .chip { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); }

/* alternating wide cards: picture on one side, text on the other, swapping every row; same 4:3 picture, framed */
#blist { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 38px); }
#blist .bcard { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 70px); align-items: center; padding: clamp(12px, 1.4vw, 20px); border: 1px solid rgba(10, 9, 9, .22); border-radius: 12px; background: #fff; color: #0a0909;
  opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .5s ease; }
#blist .bcard.is-in { opacity: 1; transform: none; }
#blist .bcard.is-in:hover { border-color: #e11d34; box-shadow: 0 26px 50px rgba(10, 9, 9, .1); }
#blist .bcard { grid-template-rows: 1fr auto auto auto auto 1fr; }
#blist .bcard__media { grid-column: 1; grid-row: 1 / span 6; align-self: center; margin: 0; aspect-ratio: 4 / 3; border-radius: 8px; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1) .1s; }
#blist .bcard:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
#blist .bcard:nth-child(even) .bcard__media { grid-column: 2; clip-path: inset(0 0 0 100%); }
html.is-rtl #blist .bcard__media { clip-path: inset(0 0 0 100%); }
html.is-rtl #blist .bcard:nth-child(even) .bcard__media { clip-path: inset(0 100% 0 0); }
#blist .bcard.is-in .bcard__media, #blist .bcard.is-in:nth-child(even) .bcard__media { clip-path: inset(0 0 0 0); }
#blist .bcard__media img { transform: scale(1.3); transition: transform 1.9s cubic-bezier(.2, .7, .2, 1) .1s; }
#blist .bcard.is-in .bcard__media img { transform: scale(1); }
#blist .bcard.is-in:hover .bcard__media img { transform: scale(1.05); transition-duration: 1.2s; transition-delay: 0s; }
#blist .bcard > :not(.bcard__media) { grid-column: 2; padding-inline: clamp(0px, 1vw, 16px); }
#blist .bcard:nth-child(even) > :not(.bcard__media) { grid-column: 1; }
#blist .bcard .bmeta { grid-row: 2; align-self: end; margin: 0 0 14px; color: rgba(10, 9, 9, .55); }
#blist .bcard h3 { grid-row: 3; margin: 0 0 14px; font-size: clamp(1.7rem, 3.2vw, 3.2rem); line-height: 1.04; letter-spacing: -.04em; max-width: 16ch; transition: color .3s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.is-rtl #blist .bcard h3 { letter-spacing: 0; line-height: 1.3; }
#blist .bcard__ex { grid-row: 4; margin: 0 0 18px; color: rgba(10, 9, 9, .62); font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.65; max-width: 44ch; -webkit-line-clamp: 4; }
#blist .bcard__go { grid-row: 5; align-self: start; display: inline-flex; align-items: center; gap: 12px; color: #0a0909; }
#blist .bmeta span:first-child { color: #e11d34; }
#blist .bcard:hover h3 { color: #e11d34; transform: translateX(6px); }
html.is-rtl #blist .bcard:hover h3 { transform: translateX(-6px); }
#blist .bcard__go b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(10, 9, 9, .3); font-weight: 400; transition: background .3s ease, color .3s ease, transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s ease; }
#blist .bcard:hover .bcard__go b { background: #e11d34; border-color: #e11d34; color: #fff; transform: rotate(45deg); }
#blist .bcard .bmeta, #blist .bcard h3, #blist .bcard__ex, #blist .bcard__go { opacity: 0; transform: translateY(18px); }
#blist .bcard.is-in .bmeta, #blist .bcard.is-in h3, #blist .bcard.is-in .bcard__ex, #blist .bcard.is-in .bcard__go { opacity: 1; transform: none; }
#blist .bcard .bmeta, #blist .bcard__ex, #blist .bcard__go { transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
#blist .bcard h3 { transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1), color .3s ease; }
#blist .bcard.is-in .bmeta { transition-delay: .55s; } #blist .bcard.is-in h3 { transition-delay: .65s; } #blist .bcard.is-in .bcard__ex { transition-delay: .75s; } #blist .bcard.is-in .bcard__go { transition-delay: .85s; }
#blist .bcard.is-in:hover h3 { transition-delay: 0s; }
@media (max-width: 900px) {
  #blist .bcard, #blist .bcard:nth-child(even) { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  #blist .bcard__media, #blist .bcard:nth-child(even) .bcard__media { grid-column: 1; grid-row: 1; }
  #blist .bcard > :not(.bcard__media), #blist .bcard:nth-child(even) > :not(.bcard__media) { grid-column: 1; }
  #blist .bcard .bmeta { grid-row: 2; margin: 6px 0 0; } #blist .bcard h3 { grid-row: 3; margin: 0; } #blist .bcard__ex { grid-row: 4; margin: 0; } #blist .bcard__go { grid-row: 5; }
  .bfeat__card { min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .bfeat__media, #blist .bcard__media, #blist .bcard:nth-child(even) .bcard__media { clip-path: none; } #blist .bcard, .bfeat__text > *, #blist .bcard .bmeta, #blist .bcard h3, #blist .bcard__ex, #blist .bcard__go { opacity: 1; transform: none; }
  .bfeat__media img, #blist .bcard__media img { transform: none; }
}
/* red in the journal is always the crimson gradient */
.bmeta span:first-child, .bmeta--light span:first-child { background: linear-gradient(120deg, #ff6b7a, #e11d34 55%, #b3122a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bfeat__flag { background: linear-gradient(140deg, #e11d34, #8f0c1a); }
#blist .bmeta span:first-child { background: linear-gradient(120deg, #ff5b6b, #e11d34 55%, #8f0c1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
#blist .bcard:hover h3 { background: linear-gradient(110deg, #ff5b6b 0%, #e11d34 50%, #8f0c1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
#blist .bcard.is-in:hover { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, #ff5b6b, #e11d34 55%, #8f0c1a) border-box; }
#blist .bcard:hover .bcard__go b { background: linear-gradient(140deg, #e11d34, #8f0c1a); border-color: transparent; color: #fff; }
.bpost__cta:hover { background: linear-gradient(140deg, #e11d34, #8f0c1a); }
.bpost__col blockquote { border-image: linear-gradient(180deg, #ff5b6b, #e11d34, #8f0c1a) 1; }
.bpost__col li::before { background: linear-gradient(140deg, #ff5b6b, #e11d34, #8f0c1a); }
/* ── portfolio page on phones: one roomy card per row, calmer filter bar, no tag pills over the titles ── */
@media (max-width: 900px) {
  .pfx .pf[data-view="grid"] { grid-template-columns: 1fr; grid-auto-rows: 66vw; gap: 14px; }
  .pcell, .pcell:nth-child(n), .pcell:nth-child(5n + 1) { grid-column: span 1; grid-row: span 1; }
  .pcell__tag { display: none; }
  .pcell__meta { inset-inline: 16px; bottom: 16px; gap: 4px; }
  .pcell__meta strong, .pcell:nth-child(7n + 1) .pcell__meta strong, .pcell:nth-child(7n + 4) .pcell__meta strong { font-size: 1.2rem; }
  .pcell__meta em { font-size: .78rem; }
  .pfx__bar { position: static; padding: 8px; }
  .pfx__intro { gap: 14px; margin-bottom: 30px; }
  .pfx__lede { font-size: 1.35rem; }
}