/* Ștefan Bugalete Architecture & Design — one system for every page.
   One face (Archivo), one dark ground, one warm accent, one type scale, one spacing rhythm.
   Square edges everywhere: the half-round blocks live only in the logo. */

/* ---------- tokens ---------- */
:root {
  --bg: #0a0908;
  --bg-2: #131110;
  --bg-3: #1b1815;
  --ink: #ece5da;
  --ink-2: #cfc6ba;            /* secondary text over photographs */
  --muted: #9a9085;
  --line: rgba(236, 229, 218, .13);
  --line-2: rgba(236, 229, 218, .26);
  --glow: #e2b07a;
  --error: #e58a6f;

  --font: "Montserrat", ui-sans-serif, sans-serif;
  /* type scale: one size per role, used the same on every page */
  --fs-xl: clamp(3.25rem, 1rem + 8.6vw, 9.5rem);     /* page titles */
  --fs-l: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);      /* lead sentences, the email */
  --fs-m: clamp(1.2rem, 1rem + .7vw, 1.6rem);        /* project and award names */
  --fs-body: 1.0625rem;
  --fs-s: .875rem;
  --fs-label: .6875rem;

  --gut: clamp(20px, 4vw, 56px);
  --bar: 76px;
  --top: calc(var(--bar) + clamp(48px, 8vw, 112px)); /* where a page's title starts */
  --sec: clamp(72px, 9vw, 136px);
  --gap: clamp(14px, 1.8vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --slow: cubic-bezier(.65, 0, .35, 1);

  color-scheme: dark;
  scrollbar-color: #3d3631 var(--bg);
  accent-color: var(--glow);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--glow);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--glow); color: var(--bg); }
:focus-visible { outline: 1px solid var(--glow); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: -60px; z-index: 60; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* pages fade into each other where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--slow); }

/* ---------- the type roles ---------- */
.hw-hero__h1, .pf-head__h1, .pj-hero__h1, .pj-next__title, .foot__word {
  margin: 0; font-weight: 300; font-size: var(--fs-xl); letter-spacing: -.055em; line-height: .88; text-wrap: balance;
}
.ab-lead, .ct-mail { font-weight: 300; font-size: var(--fs-l); letter-spacing: -.025em; line-height: 1.22; text-wrap: pretty; }
.hw-card__title, .ab-awards__title, .hw-bar__title { font-weight: 400; font-size: var(--fs-m); letter-spacing: -.02em; line-height: 1.2; }
.label, .hw-hero__places, .pj-hero__cat, .pj-next__cat, .hw-bar__cat, .field label, .ct-facts dt, .pj-facts dt, .foot__cats, .chip, .langs {
  font-size: var(--fs-label); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; font-stretch: 125%;
}
.label { color: var(--muted); }
.hw-hero__places, .pj-hero__cat, .pj-next__cat { color: var(--glow); }

/* links: a hairline that draws away, and one arrow that steps */
.ln { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .6s var(--ease), color .3s; }
.ln:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--glow); }
.ln--arrow { display: inline-flex; align-items: center; gap: 10px; background: none; font-size: var(--fs-s); letter-spacing: .04em; }
.arrow { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.ln--arrow:hover .arrow { transform: translateX(5px); }

/* ---------- header: the mark, and one word that opens everything ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gut); pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -9px; color: #ece5da; mix-blend-mode: difference; }
.icon-mark { width: 26px; height: 26px; fill: currentColor; flex: none; }
.brand .icon-mark { transition: transform .7s var(--ease); }
.brand:hover .icon-mark { transform: rotate(90deg); }
.menu { position: relative; z-index: 2; min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; color: #ece5da; mix-blend-mode: difference; font-size: 1.125rem; font-weight: 400; letter-spacing: -.01em; }
.menu::after { content: ""; display: block; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu:hover::after { transform: scaleX(1); transform-origin: left; }
.bar.is-open .brand, .bar.is-open .menu { mix-blend-mode: normal; }

.overlay {
  position: fixed; inset: 0; z-index: 1; background: var(--bg);
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--bar) + 4vh) var(--gut) 28px;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.bar.is-open .overlay { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.overlay__nav { display: flex; flex-direction: column; justify-content: center; gap: .04em; }
.overlay__nav a {
  align-self: flex-start; font-weight: 300; font-size: var(--fs-xl); letter-spacing: -.055em; line-height: .95;
  color: var(--muted); opacity: 0; transform: translateY(24%); transition: color .4s, opacity .6s var(--ease), transform .8s var(--ease);
}
.bar.is-open .overlay__nav a { opacity: 1; transform: none; }
.bar.is-open .overlay__nav a:nth-child(2) { transition-delay: 0s, .06s, .06s; }
.bar.is-open .overlay__nav a:nth-child(3) { transition-delay: 0s, .12s, .12s; }
.bar.is-open .overlay__nav a:nth-child(4) { transition-delay: 0s, .18s, .18s; }
.overlay__nav a:hover, .overlay__nav a[aria-current="page"] { color: var(--ink); }
.overlay__nav a[aria-current="page"]::after { content: ""; display: inline-block; width: .1em; height: .1em; margin-left: .14em; background: var(--glow); vertical-align: .12em; }
.overlay__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--muted); }
.langs { display: inline-flex; gap: 16px; margin-left: auto; }
.langs a { color: var(--muted); transition: color .3s; }
.langs a[aria-current="true"], .langs a:hover { color: var(--ink); }

/* ---------- page heads (portfolio, about, contact) ---------- */
.pf-head, .ab-head { padding: var(--top) 0 clamp(28px, 4vw, 52px); margin: 0 var(--gut); border-bottom: 1px solid var(--line); }
.pf-head { border-bottom: 0; padding-bottom: 0; }
.pf-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-top: clamp(28px, 3vw, 44px); padding-top: 18px; border-top: 1px solid var(--line); }
.pf-head__lead { color: var(--muted); font-size: var(--fs-s); }

/* ---------- home: one screen, the projects turning behind two words ---------- */
.hw-hero { position: relative; height: max(100svh, 640px); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hw-slides { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hw-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--slow); pointer-events: none; }
.hw-slide.is-on { opacity: 1; }
.hw-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.46); }
@media (prefers-reduced-motion: no-preference) { .hw-slide.is-on img { animation: drift 8s linear both; } }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
.hw-hero::after, .pj-hero::after { content: ""; position: absolute; inset: 50% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(10, 9, 8, .72)); pointer-events: none; }
.hw-hero__words { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding: 0 var(--gut) clamp(24px, 4vh, 40px); }
.hw-hero__h1 { max-width: 9ch; }
.hw-hero__side { display: flex; flex-direction: column; gap: 14px; max-width: 320px; padding-bottom: 10px; }
.hw-hero__side p:first-child { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.6; }

.hw-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 20px 32px; margin: 0 var(--gut); padding: 16px 0 22px; border-top: 1px solid var(--line-2); font-size: var(--fs-s); }
.hw-bar__now { display: flex; gap: 16px; align-items: baseline; min-width: 0; }
.hw-bar__title { font-size: 1rem; transition: color .4s; }
.hw-bar__now:hover .hw-bar__title { color: var(--glow); }
.hw-bar__cat { color: var(--muted); }
.hw-bar__steps { display: flex; gap: 6px; }
.hw-step { width: 44px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.hw-step span { display: block; height: 1px; background: rgba(236, 229, 218, .28); position: relative; overflow: hidden; transition: background .3s; }
.hw-step span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hw-step.is-on span::after { transform: scaleX(1); }
.hw-step:hover span { background: rgba(236, 229, 218, .6); }
@media (prefers-reduced-motion: no-preference) { .hw-hero.is-playing .hw-step.is-on span::after { animation: fill var(--slide, 6s) linear both; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hw-bar__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.hw-bar__n { color: var(--ink); }

/* ---------- the work in two columns ---------- */
.hw-projects { padding: clamp(40px, 5vw, 72px) var(--gut) var(--sec); }
.hw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) var(--gap); align-items: start; }
.hw-card:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); } /* an offset rhythm, never a flat row */
.hw-card a { display: flex; flex-direction: column; gap: 16px; }
.hw-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
.hw-card--tall .hw-card__media { aspect-ratio: 4 / 5; }
.hw-card__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transition: transform 1.6s var(--ease), filter .9s var(--ease); }
.hw-card a:hover .hw-card__media img, .hw-card a:focus-visible .hw-card__media img { transform: scale(1.035); filter: brightness(1); }
.hw-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); position: relative; }
.hw-card__meta::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.hw-card a:hover .hw-card__meta::before { transform: scaleX(1); }
.hw-card__title { transition: color .4s; }
.hw-card a:hover .hw-card__title { color: var(--glow); }
.hw-card__info { font-size: var(--fs-s); color: var(--muted); white-space: nowrap; }
.hw-card[hidden] { display: none; }
.pf-grid.is-filtered .hw-card { margin-top: 0; }
.pf-grid.is-filtering .hw-card:not([hidden]) { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* portfolio filter: text tabs */
.filters { display: flex; flex-wrap: wrap; gap: 0 22px; }
.chip { min-height: 44px; padding: 0 1px; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); cursor: pointer; transition: color .3s, border-color .3s; }
.chip sup { margin-left: 4px; font-size: .5625rem; letter-spacing: 0; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--glow); }

/* ---------- project ---------- */
.pj-hero { position: relative; height: max(92svh, 600px); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.pj-hero__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
@media (prefers-reduced-motion: no-preference) { .js .pj-hero__img { animation: drift 2.6s var(--ease) both; } }
.pj-hero__words { width: 100%; display: flex; flex-direction: column; gap: 16px; padding: 0 var(--gut) clamp(32px, 6vh, 60px); }
.pj-hero__h1 { max-width: 14ch; }
.pj-back { align-self: flex-start; font-size: var(--fs-s); color: var(--ink-2); transition: color .3s; }
.pj-back:hover { color: var(--glow); }
.pj-info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 112px); padding: var(--sec) var(--gut); align-items: start; }
.pj-gallery { display: flex; flex-direction: column; gap: var(--gap); padding: 0 var(--gut) var(--sec); }
.pj-row--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pj-pic { overflow: hidden; background: var(--bg-3); }
.pj-pic img { width: 100%; height: 100%; object-fit: cover; }
.pj-row--wide .pj-pic { aspect-ratio: 16 / 9; }
.pj-row--pair .pj-pic { aspect-ratio: 4 / 5; }
.pj-next { position: relative; display: flex; align-items: flex-end; min-height: 70svh; overflow: hidden; isolation: isolate; }
.pj-next img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.34); transition: filter 1.2s var(--ease), transform 1.8s var(--ease); }
.pj-next:hover img { filter: brightness(.55); transform: scale(1.03); }
.pj-next__words { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--gut) clamp(36px, 6vh, 60px); }

/* ---------- fact lists (project, contact) share one look ---------- */
.pj-facts, .ct-facts { border-top: 1px solid var(--line); }
.pj-facts > div, .ct-facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pj-facts dt, .ct-facts dt { color: var(--muted); padding-top: 3px; }

/* ---------- about ---------- */
.ab-main, .ct-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); padding: clamp(40px, 5vw, 72px) var(--gut) var(--sec); align-items: start; }
.ab-portrait { margin: 0; }
@media (min-width: 861px) { .ab-portrait { position: sticky; top: calc(var(--bar) + 24px); } }
.ab-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; filter: saturate(.85) contrast(1.04) brightness(.92); }
.ab-portrait figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: var(--fs-s); color: var(--muted); }
.ab-portrait figcaption span:first-child { color: var(--ink); }
.ab-text { display: flex; flex-direction: column; }
.ab-bio { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; max-width: 58ch; color: var(--muted); line-height: 1.7; }
.ab-block { margin-top: clamp(56px, 6vw, 88px); }
.ab-block .label { margin-bottom: 18px; }
.ab-awards li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.ab-awards li:last-child { border-bottom: 1px solid var(--line); }
.ab-awards__year { grid-row: span 2; color: var(--glow); font-size: var(--fs-s); font-variant-numeric: tabular-nums; padding-top: 5px; }
.ab-awards__meta { color: var(--muted); font-size: var(--fs-s); }
.ab-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ab-services li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ab-services li:nth-child(odd) { padding-right: 24px; }
.ab-faq > div { padding: 20px 0; border-top: 1px solid var(--line); }
.ab-faq > div:last-child { border-bottom: 1px solid var(--line); }
.ab-faq h3 { font-size: var(--fs-body); font-weight: 400; margin-bottom: 6px; }
.ab-faq p { color: var(--muted); max-width: 62ch; }
.ab-cta { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- contact ---------- */
.ct-intro { display: flex; flex-direction: column; gap: 22px; }
.ct-lead { color: var(--muted); max-width: 40ch; }
.ct-mail { align-self: flex-start; margin-top: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: color .4s, border-color .4s; overflow-wrap: anywhere; }
.ct-mail:hover { color: var(--glow); border-color: var(--glow); }
.ct-facts { margin-top: 12px; }
.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide, .ct-form .form__foot, .ct-form .form__status { grid-column: 1 / -1; }
.field label { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 10px 0; font: 300 1.25rem/1.4 var(--font); letter-spacing: -.01em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 6px top 55% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--muted) 50%) right 0 top 55% / 6px 6px no-repeat; }
.field select option { background: var(--bg-2); color: var(--ink); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--glow); box-shadow: 0 1px 0 var(--glow); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field__err { font-size: var(--fs-s); color: var(--error); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.form__note, .form__status { font-size: var(--fs-s); color: var(--muted); }
.form__status:empty { display: none; }

/* the one solid button on the site (and the 404's way home) */
.ct-send, .btn {
  display: inline-flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 28px; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 0; font: 500 .8125rem var(--font); letter-spacing: .18em; text-transform: uppercase;
  transition: background .4s var(--ease);
}
.ct-send:hover, .btn:hover { background: var(--glow); }
.ct-send:hover .arrow, .btn:hover .arrow { transform: translateX(5px); }

/* ---------- footer: the name, set across the page ---------- */
.foot { padding: var(--sec) var(--gut) 24px; border-top: 1px solid var(--line); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--fs-l); font-weight: 300; letter-spacing: -.025em; }
.foot__nav a { color: var(--muted); transition: color .3s; }
.foot__nav a:hover, .foot__nav a[aria-current="page"] { color: var(--ink); }
.foot__links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: var(--fs-s); }
.foot__word { display: block; margin-top: clamp(48px, 7vw, 112px); font-size: clamp(3rem, 15.4vw, 17rem); letter-spacing: -.07em; line-height: .8; white-space: nowrap; color: var(--bg-3); user-select: none; transition: color 1.2s var(--ease); }
.foot:hover .foot__word { color: #2a2420; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.foot__legal .icon-mark { width: 20px; height: 20px; fill: var(--ink); }
.foot__legal .foot__mark { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: 0 var(--gut); }
.notfound .wrap { display: flex; flex-direction: column; gap: 24px; }
.notfound .display { font-weight: 300; font-size: var(--fs-xl); letter-spacing: -.055em; line-height: .88; }
.notfound .lead { color: var(--muted); }
.notfound .icon-mark { width: 40px; height: 40px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .ab-main, .ct-main, .pj-info { grid-template-columns: 1fr; }
  .ab-portrait { max-width: 480px; }
}
@media (max-width: 760px) {
  .hw-hero__side { padding-bottom: 0; }
  .hw-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .hw-bar__steps { grid-column: 1 / -1; grid-row: 2; }
  .hw-step { flex: 1; width: auto; }
  .hw-bar__all { display: none; }
  .hw-grid { grid-template-columns: 1fr; }
  .hw-card:nth-child(even) { margin-top: 0; }
  .pj-row--pair { grid-template-columns: 1fr; }
  .pj-row--wide .pj-pic { aspect-ratio: 4 / 5; }
  .foot__links { align-items: flex-start; }
}
@media (max-width: 560px) {
  .ct-form, .ab-services { grid-template-columns: 1fr; }
  .ct-send { width: 100%; justify-content: space-between; }
  .ct-facts > div, .pj-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .ab-awards li { grid-template-columns: 1fr; }
  .ab-awards__year { grid-row: auto; padding-top: 0; }
}


/* ---------- trial homes: the whole portfolio, drifting without end ---------- */
.page-inf { overflow: hidden; height: 100svh; overscroll-behavior: none; }
.inf { position: fixed; inset: 0; overflow: hidden; background: var(--bg); touch-action: none; }
.inf-item { position: absolute; display: block; will-change: transform; }
.inf-item img { width: 100%; height: auto; filter: brightness(.82) saturate(.9); transition: filter .7s var(--ease); }
.inf-item:hover img, .inf-item:focus-visible img { filter: none; }
.inf-cap { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; font-stretch: 125%; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.inf-cap span:first-child { color: var(--ink); }
.inf-item:hover .inf-cap, .inf-item:focus-visible .inf-cap { opacity: 1; transform: none; }

/* A: free collage */
.inf--colaj .inf-item { left: calc(var(--x) * 1%); top: 0; width: calc(var(--w) * 1vw); }

/* B: columns moving at different speeds, some up, some down */
.inf-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.inf-col { position: relative; overflow: visible; }
.inf-track { display: flex; flex-direction: column; gap: var(--gap); will-change: transform; }
.inf--coloane .inf-item { position: relative; }
.inf--coloane .inf-cap { top: auto; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(10, 9, 8, .8)); }

/* the name holds still and inverts over the pictures */
.inf-stage { position: fixed; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 16px; pointer-events: none; mix-blend-mode: difference; color: #ece5da; }
.inf-name { font-weight: 300; font-size: clamp(3rem, 1rem + 9vw, 10.5rem); letter-spacing: -.06em; line-height: .9; white-space: nowrap; }
.inf-name span { color: #8d8478; }
.inf-sub { font-size: var(--fs-label); letter-spacing: .3em; text-transform: uppercase; font-stretch: 125%; text-align: center; }
.inf-hint, .inf-all { position: fixed; z-index: 6; bottom: 22px; font-size: var(--fs-s); }
.inf-hint { left: var(--gut); color: var(--muted); }
.inf-all { right: var(--gut); }
@media (max-width: 760px) {
  .inf--colaj .inf-item { width: calc(var(--w) * 2.1vw); max-width: 72vw; }
  .inf--colaj .inf-item:nth-child(odd) { left: 4%; }
  .inf--colaj .inf-item:nth-child(even) { left: auto; right: 4%; }
  .inf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inf-col:nth-child(n+3) { display: none; }
}

/* ---------- the entrance: words come out of the dark, once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .enter [data-enter] { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  .entered [data-enter] { opacity: 1; transform: none; filter: none; transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
  .settled [data-enter] { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

.inf--coloane .inf-item img { filter: brightness(.6) saturate(.85); }
.inf--coloane .inf-item:hover img { filter: none; }


@media (max-width: 760px) { .inf-cap { white-space: normal; flex-wrap: wrap; gap: 2px 10px; } }



/* ---------- Montserrat system (after hot-walls.com, and the face of the logo): semibold tight titles, semibold capitals for names ---------- */
.hw-hero__h1, .pf-head__h1, .pj-hero__h1, .pj-next__title, .overlay__nav a, .inf-name { font-weight: 600; letter-spacing: -.055em; }
.foot__word { font-weight: 600; letter-spacing: -.06em; }
.ab-lead, .ct-mail, .foot__nav { font-weight: 400; letter-spacing: -.025em; }
.hw-card__title, .ab-awards__title, .hw-bar__title { font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1rem, .9rem + .5vw, 1.375rem); }
.label, .hw-hero__places, .pj-hero__cat, .pj-next__cat, .hw-bar__cat, .field label, .ct-facts dt, .pj-facts dt, .foot__cats, .chip, .langs, .inf-cap, .inf-sub { font-weight: 500; letter-spacing: .16em; font-stretch: 100%; }
.inf-name span { color: #8d8478; }
.menu { font-weight: 600; letter-spacing: -.02em; }
.ct-send, .btn { font-weight: 600; }
body { font-weight: 400; }
.ab-bio, .ct-lead, .hw-hero__side p:first-child, .pf-head__lead { font-weight: 300; }

/* ---------- top menu: the words are always there on a wide screen; a phone keeps the full-screen menu ---------- */
.topnav { display: none; }
@media (min-width: 861px) {
  .menu { display: none; }
  .topnav { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); color: #ece5da; mix-blend-mode: difference; font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; }
  .topnav a { position: relative; padding: 10px 0; opacity: .72; transition: opacity .3s; }
  .topnav a:hover, .topnav a[aria-current="page"] { opacity: 1; }
  .topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .topnav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .topnav a[aria-current="page"]::before { content: ""; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -2px; background: currentColor; }
  .topnav__sep { width: 1px; height: 14px; background: currentColor; opacity: .35; }
}



/* ---------- colour trial: light monochrome — paper white, greys, ink black ---------- */
:root {
  --bg: #f1f0ee;
  --bg-2: #e7e6e3;
  --bg-3: #dad9d6;
  --ink: #121212;
  --ink-2: #f2f2f2;
  --muted: #6a6a6a;
  --line: rgba(0, 0, 0, .12);
  --line-2: rgba(0, 0, 0, .28);
  --glow: #121212;
  --error: #121212;
  color-scheme: light;
  scrollbar-color: #b5b5b5 var(--bg);
}
/* the mark and the menu invert over whatever is behind them */
.brand, .menu, .topnav, .inf-stage { color: #f2f2f2; }
.inf-name span { color: #8a8a8a; }
/* words over photographs stay light */
.pj-hero, .pj-next { color: #f2f2f2; }
.pj-hero__cat, .pj-next__cat { color: #f2f2f2; opacity: .8; }
.pj-hero::after { background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.pj-back { color: #e6e6e6; }
.pj-back:hover { color: #fff; }
.pj-next .label { color: #d0d0d0; }
.foot:hover .foot__word { color: #cbcac7; }
::selection { background: #121212; color: #f1f0ee; }
.ct-send, .btn { background: #121212; color: #f1f0ee; }
.ct-send:hover, .btn:hover { background: #3a3a3a; }
.field select option { background: #fff; color: #121212; }
.field [aria-invalid="true"] { border-bottom-width: 2px; }
/* pictures rest in black and white and wake to colour under the pointer */
.hw-card__media img, .inf-item img { filter: grayscale(1) contrast(1.05); }
.hw-card a:hover .hw-card__media img, .hw-card a:focus-visible .hw-card__media img, .inf-item:hover img, .inf-item:focus-visible img { filter: none; }
.ab-portrait img { filter: grayscale(1) contrast(1.05); }
.overlay__nav a[aria-current="page"]::after { background: var(--ink); }

/* ---------- the mark: a little larger; its four blocks part on hover and close again ---------- */
.brand { width: 52px; height: 52px; margin-left: -10px; }
.brand .icon-mark { width: 34px; height: 34px; transition: none; }
.brand:hover .icon-mark { transform: none; }
.icon-mark path { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.brand:hover .b0, .brand:focus-visible .b0 { transform: translate(-34px, -34px); }
.brand:hover .b1, .brand:focus-visible .b1 { transform: translate(34px, -34px); }
.brand:hover .b2, .brand:focus-visible .b2 { transform: translate(-34px, 34px); }
.brand:hover .b3, .brand:focus-visible .b3 { transform: translate(34px, 34px); }
/* on arrival the blocks slide together once */
@media (prefers-reduced-motion: no-preference) {
  .js .brand .b0 { animation: m0 1.1s cubic-bezier(.16, 1, .3, 1) .15s backwards; }
  .js .brand .b1 { animation: m1 1.1s cubic-bezier(.16, 1, .3, 1) .22s backwards; }
  .js .brand .b2 { animation: m2 1.1s cubic-bezier(.16, 1, .3, 1) .29s backwards; }
  .js .brand .b3 { animation: m3 1.1s cubic-bezier(.16, 1, .3, 1) .36s backwards; }
}
@keyframes m0 { from { transform: translate(-120px, -120px); opacity: 0; } }
@keyframes m1 { from { transform: translate(120px, -120px); opacity: 0; } }
@keyframes m2 { from { transform: translate(-120px, 120px); opacity: 0; } }
@keyframes m3 { from { transform: translate(120px, 120px); opacity: 0; } }

/* the header inverts as a whole, so the mark and the words read on light pages and over photographs alike */
.bar { mix-blend-mode: difference; }
.brand, .menu, .topnav { mix-blend-mode: normal; color: #f2f2f2; }
.bar.is-open { mix-blend-mode: normal; }
.bar.is-open .brand, .bar.is-open .menu { color: var(--ink); }

/* ---------- the mark, larger again; new motion: blocks grow in one by one, and turn over on hover ---------- */
.brand { width: 60px; height: 60px; margin-left: -8px; }
.brand .icon-mark { width: 44px; height: 44px; }
.icon-mark path { transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.brand:hover .b0, .brand:focus-visible .b0,
.brand:hover .b1, .brand:focus-visible .b1,
.brand:hover .b2, .brand:focus-visible .b2,
.brand:hover .b3, .brand:focus-visible .b3 { transform: rotate(180deg); }
.brand .b1 { transition-delay: .06s; } .brand .b2 { transition-delay: .12s; } .brand .b3 { transition-delay: .18s; }
@media (prefers-reduced-motion: no-preference) {
  .js .brand .b0 { animation: grow .9s cubic-bezier(.16, 1, .3, 1) .15s backwards; }
  .js .brand .b1 { animation: grow .9s cubic-bezier(.16, 1, .3, 1) .27s backwards; }
  .js .brand .b2 { animation: grow .9s cubic-bezier(.16, 1, .3, 1) .39s backwards; }
  .js .brand .b3 { animation: grow .9s cubic-bezier(.16, 1, .3, 1) .51s backwards; }
}
@keyframes grow { from { transform: scale(0); opacity: 0; } }
@media (max-width: 760px) { .brand .icon-mark { width: 36px; height: 36px; } }

/* ---------- the mark, smooth: blocks fade in softly; on hover they breathe apart a little, then settle ---------- */
.icon-mark path { transition: transform 1.2s cubic-bezier(.45, 0, .2, 1), opacity 1.2s ease; transition-delay: 0s !important; }
.brand:hover .b0, .brand:focus-visible .b0 { transform: translate(-14px, -14px); }
.brand:hover .b1, .brand:focus-visible .b1 { transform: translate(14px, -14px); }
.brand:hover .b2, .brand:focus-visible .b2 { transform: translate(-14px, 14px); }
.brand:hover .b3, .brand:focus-visible .b3 { transform: translate(14px, 14px); }
@media (prefers-reduced-motion: no-preference) {
  .js .brand .b0, .js .brand .b1, .js .brand .b2, .js .brand .b3 { animation: soft 1.6s cubic-bezier(.45, 0, .2, 1) backwards; }
  .js .brand .b1 { animation-delay: .1s; } .js .brand .b2 { animation-delay: .2s; } .js .brand .b3 { animation-delay: .3s; }
}
@keyframes soft { from { opacity: 0; transform: scale(.82); } }

/* ---------- the mark: only a fade, nothing moves ---------- */
.icon-mark path, .brand:hover .icon-mark path, .brand:focus-visible .icon-mark path { transform: none !important; transition: none !important; }
.brand .icon-mark { transition: opacity .6s ease; }
.brand:hover .icon-mark { opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .js .brand .b0, .js .brand .b1, .js .brand .b2, .js .brand .b3 { animation: none; }
  .js .brand .icon-mark { animation: fadein 1.4s ease .1s backwards; }
}
@keyframes fadein { from { opacity: 0; } }

.foot__legal { margin-top: clamp(48px, 6vw, 88px); }


.brand { width: 72px; height: 72px; margin-left: -10px; }
.brand .icon-mark { width: 56px; height: 56px; }
@media (max-width: 760px) { .brand { width: 56px; height: 56px; } .brand .icon-mark { width: 44px; height: 44px; } }


/* ---------- portfolio: the words sit on the photograph — number at the top, name and category at the foot ---------- */
.pf-grid { counter-reset: proj; }
.pf-grid .hw-card a { position: relative; gap: 0; overflow: hidden; }
.pf-grid .hw-card a::before {
  counter-increment: proj; content: counter(proj, decimal-leading-zero);
  position: absolute; top: 18px; left: 22px; z-index: 2; color: #f2f2f2;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; font-variant-numeric: tabular-nums;
}
.pf-grid .hw-card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  flex-direction: column-reverse; align-items: flex-start; gap: 6px;
  padding: 90px 22px 22px; border-top: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62)); color: #f2f2f2;
}
.pf-grid .hw-card__meta::before { display: none; }
.pf-grid .hw-card__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.25rem); line-height: 1.05; color: #f2f2f2; transform: translateY(6px); transition: transform .8s var(--ease), color .4s; }
.pf-grid .hw-card a:hover .hw-card__title { color: #fff; transform: none; }
.pf-grid .hw-card__info { color: rgba(242, 242, 242, .75); font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.pf-grid .hw-card__info::after { content: " →"; opacity: 0; transition: opacity .5s; }
.pf-grid .hw-card a:hover .hw-card__info::after { opacity: 1; }

/* ---------- portfolio: like the home page — a small caption under the photo, shown only on hover ---------- */
.pf-grid .hw-card a::before { content: none; }
.pf-grid .hw-card__meta {
  position: static; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0 0; background: none; color: var(--ink);
  opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.pf-grid .hw-card a:hover .hw-card__meta, .pf-grid .hw-card a:focus-visible .hw-card__meta { opacity: 1; transform: none; }
.pf-grid .hw-card__title { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--ink); transform: none; }
.pf-grid .hw-card a:hover .hw-card__title { color: var(--ink); }
.pf-grid .hw-card__info { color: var(--muted); }
.pf-grid .hw-card__info::after { content: none; }
@media (hover: none) { .pf-grid .hw-card__meta { opacity: 1; transform: none; } }

/* ---------- about, editorial: the name set large beside the portrait, then the story and the record in full-width rows ---------- */
.ab2-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding: var(--top) var(--gut) var(--sec); min-height: 100svh; }
.ab2-intro__words { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); padding-bottom: 8px; }
.ab2-name { display: flex; flex-direction: column; margin: 0; font-weight: 600; font-size: clamp(3.6rem, 1rem + 9.6vw, 11rem); letter-spacing: -.06em; line-height: .84; }
.ab2-name span:last-child { padding-left: clamp(0px, 8vw, 140px); color: var(--muted); }
.ab2-role { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding-top: 14px; border-top: 1px solid var(--ink); align-self: flex-start; min-width: 50%; }
.ab2-lead { max-width: 28ch; }
.ab2-portrait { margin: 0; position: relative; overflow: hidden; }
.ab2-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 45%; filter: grayscale(1) contrast(1.06); transition: filter 1.2s var(--ease), transform 1.8s var(--ease); }
.ab2-portrait:hover img { filter: none; transform: scale(1.02); }

.ab2-sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(32px, 5vw, 96px); padding: 0 var(--gut) var(--sec); }
.ab2-sec__label { padding-top: 14px; border-top: 1px solid var(--ink); align-self: start; color: var(--ink); }
.ab2-bio { columns: 2; column-gap: clamp(28px, 4vw, 64px); padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.ab2-bio p { break-inside: avoid; margin-bottom: 1.2em; }
.ab2-bio p:first-child::first-line { color: var(--ink); }

.ab2-rows { border-top: 1px solid var(--line); }
.ab2-row { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, auto); align-items: baseline; gap: 8px 32px; padding: clamp(20px, 2.4vw, 32px) 16px; margin: 0 -16px; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .5s var(--ease); }
.ab2-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.ab2-row:hover { color: var(--bg); }
.ab2-row:hover::before { transform: scaleY(1); }
.ab2-row__year { font-size: var(--fs-s); font-variant-numeric: tabular-nums; color: inherit; opacity: .6; }
.ab2-row__title { font-weight: 500; font-size: var(--fs-l); letter-spacing: -.03em; line-height: 1.1; }
.ab2-row__title a { background: none; }
.ab2-row__meta { font-size: var(--fs-s); text-align: right; opacity: .7; }
.ab2-rows--small .ab2-row__title { font-size: var(--fs-m); }

@media (max-width: 860px) {
  .ab2-intro { grid-template-columns: 1fr; min-height: 0; align-items: start; }
  .ab2-portrait { order: -1; max-width: 520px; }
  .ab2-sec { grid-template-columns: 1fr; }
  .ab2-bio { columns: 1; }
}
@media (max-width: 560px) {
  .ab2-row { grid-template-columns: 1fr; gap: 4px; }
  .ab2-row__meta { text-align: left; }
  .ab2-name span:last-child { padding-left: 0; }
}

/* ---------- contact, editorial: one quiet sentence, the address set like a sign, a form that stays out of the way ---------- */
.ct2-head { padding: var(--top) var(--gut) clamp(56px, 7vw, 112px); display: flex; flex-direction: column; gap: clamp(40px, 6vw, 96px); }
.ct2-statement { max-width: 18ch; font-weight: 300; font-size: var(--fs-l); letter-spacing: -.025em; line-height: 1.2; color: var(--muted); }
.ct2-mail { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .02em; padding-bottom: clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--ink); font-weight: 600; font-size: clamp(2.2rem, .6rem + 6.4vw, 8.2rem); letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
.ct2-mail__at { color: var(--muted); font-weight: 300; transition: color .5s var(--ease); }
.ct2-mail__domain { color: var(--muted); transition: color .5s var(--ease); }
.ct2-mail .arrow { width: clamp(28px, 3vw, 52px); height: auto; margin-left: auto; align-self: center; transform: rotate(-45deg); transition: transform .7s var(--ease); }
.ct2-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.ct2-mail:hover::after { transform: scaleX(1); }
.ct2-mail:hover .ct2-mail__at, .ct2-mail:hover .ct2-mail__domain { color: var(--ink); }
.ct2-mail:hover .arrow { transform: rotate(0deg) translateX(6px); }

.ct2-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 120px); padding: 0 var(--gut) var(--sec); align-items: start; }
.ct2-side { display: flex; flex-direction: column; gap: 40px; }
.ct2-topics { border-top: 1px solid var(--ink); }
.ct2-topics li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.ct2-ig { display: flex; flex-direction: column; gap: 8px; }
.ct2-form { padding-top: 14px; border-top: 1px solid var(--line); }
.ct2-form .form__foot { align-items: center; }
@media (max-width: 860px) { .ct2-grid { grid-template-columns: 1fr; } }


/* ---------- titles, faded: the same face and weight, softer in tone ---------- */
.pf-head__h1, .ab2-name span:first-child { color: rgba(18, 18, 18, .45); }
.ab2-name span:last-child { color: rgba(18, 18, 18, .25); }
.pj-hero__h1, .pj-next__title { color: rgba(242, 242, 242, .72); }
.inf-name { opacity: .6; }

/* ---------- project, editorial: the story holds still on the left, the pictures scroll past on the right ---------- */
.pj2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 72px); padding: var(--top) var(--gut) var(--sec); align-items: start; }
.pj2-info { align-self: stretch; }
.pj2-info__in { position: sticky; top: calc(var(--bar) + 24px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.pj2-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.pj2-top span { color: var(--muted); font-variant-numeric: tabular-nums; }
.pj2-back { transition: opacity .3s; }
.pj2-back:hover { opacity: .55; }
.pj2-title { margin: 0; font-weight: 600; font-size: clamp(2.6rem, 1rem + 4.2vw, 5.6rem); letter-spacing: -.055em; line-height: .9; color: rgba(18, 18, 18, .45); text-wrap: balance; }
.pj2-facts { border-top: 1px solid var(--line); }
.pj2-facts > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.pj2-facts dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pj2-text { color: var(--muted); max-width: 40ch; line-height: 1.7; }

.pj2-gallery { display: flex; flex-direction: column; gap: var(--gap); }
.pj2-row--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.pj2-row--pair .pj2-pic:last-child { margin-top: clamp(40px, 8vw, 140px); }
.pj2-pic { position: relative; margin: 0; overflow: hidden; background: var(--bg-3); }
.pj2-pic img { width: 100%; height: auto; display: block; transition: transform 1.8s var(--ease); }
.pj2-pic:hover img { transform: scale(1.025); }
.pj2-pic figcaption { position: absolute; left: 14px; bottom: 12px; color: #f2f2f2; font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s var(--ease); mix-blend-mode: difference; }
.pj2-pic:hover figcaption { opacity: 1; }

.pj2-next { display: flex; flex-direction: column; gap: 14px; margin: 0 var(--gut); padding: clamp(48px, 6vw, 96px) 0 var(--sec); border-top: 1px solid var(--ink); }
.pj2-next .label { color: var(--muted); }
.pj2-next__row { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.pj2-next__title { font-weight: 600; font-size: var(--fs-xl); letter-spacing: -.055em; line-height: .9; color: rgba(18, 18, 18, .45); transition: color .6s var(--ease); }
.pj2-next:hover .pj2-next__title { color: var(--ink); }
.pj2-next__thumb { width: 0; height: clamp(70px, 9vw, 140px); overflow: hidden; transition: width .8s var(--ease); flex: none; }
.pj2-next__thumb img { width: clamp(100px, 13vw, 200px); height: 100%; object-fit: cover; }
.pj2-next:hover .pj2-next__thumb { width: clamp(100px, 13vw, 200px); }
.pj2-next .arrow { width: clamp(28px, 3vw, 48px); height: auto; margin-left: auto; transition: transform .6s var(--ease); }
.pj2-next:hover .arrow { transform: translateX(8px); }
.pj2-next__cat { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .pj2 { grid-template-columns: 1fr; }
  .pj2-info__in { position: static; }
  .pj2-row--pair { grid-template-columns: 1fr; }
  .pj2-row--pair .pj2-pic:last-child { margin-top: 0; }
  .pj2-pic figcaption { opacity: 1; }
  .pj2-next__thumb { display: none; }
}

/* ---------- about, quieter: the name at a modest size, the record without the drama ---------- */
.ab2-intro { min-height: 0; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
.ab2-name { flex-direction: row; flex-wrap: wrap; gap: 0 .28em; font-weight: 500; font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; }
.ab2-name span:last-child { padding-left: 0; }
.ab2-lead { max-width: 34ch; }
.ab2-portrait img { aspect-ratio: 4 / 5; }
.ab2-row__title { font-size: var(--fs-m); font-weight: 500; }
.ab2-rows--small .ab2-row__title { font-size: 1.0625rem; }
.ab2-row::before { background: var(--bg-2); }
.ab2-row:hover { color: inherit; }
.ab2-row { padding-block: clamp(16px, 1.8vw, 24px); }


/* ---------- warm monochrome: paper instead of white, warm ink instead of black ---------- */
:root {
  --bg: #eeeae3;
  --bg-2: #e5e0d8;
  --bg-3: #d8d2c8;
  --ink: #1d1a17;
  --muted: #75706a;
  --line: rgba(29, 26, 23, .12);
  --line-2: rgba(29, 26, 23, .26);
  --glow: #1d1a17;
  scrollbar-color: #bdb6ab var(--bg);
}
.pf-head__h1, .ab2-name span:first-child, .pj2-title, .pj2-next__title { color: rgba(29, 26, 23, .45); }
.ab2-name span:last-child { color: rgba(29, 26, 23, .25); }
.pj2-next:hover .pj2-next__title { color: var(--ink); }
::selection { background: #1d1a17; color: #eeeae3; }
.ct-send, .btn { background: #1d1a17; color: #eeeae3; }
.ct-send:hover, .btn:hover { background: #3b3631; }
/* black-and-white photographs with a breath of warmth */
.hw-card__media img, .inf-item img, .ab2-portrait img { filter: grayscale(1) sepia(.14) contrast(1.04); }

/* ---------- Info, version 2: the portrait holds still on the left, the facts scroll past on the right ---------- */
.ab3 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.ab3-portrait { position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; }
.ab3-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.05); }
.ab3-portrait figcaption { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: var(--gut); display: flex; justify-content: space-between; gap: 16px; color: #f2f2f2; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.ab3-portrait::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); pointer-events: none; }
.ab3-body { padding: var(--top) var(--gut) var(--sec) clamp(32px, 6vw, 112px); display: flex; flex-direction: column; gap: var(--sec); min-width: 0; }
.ab3-head { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.ab3-h1 { margin: 0; font-weight: 600; font-size: clamp(1.9rem, 1rem + 2.6vw, 3.6rem); letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; max-width: 22ch; }
.ab3-bio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); color: var(--muted); font-weight: 300; font-size: 1.0625rem; line-height: 1.7; }
.ab3-sec { display: flex; flex-direction: column; gap: 20px; }
.ab3-sec__h { display: flex; align-items: baseline; gap: 18px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.ab3-sec__n { font-variant-numeric: tabular-nums; color: var(--muted); }
.ab3-list { list-style: none; }
.ab3-list li { display: flex; align-items: baseline; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: var(--fs-m); letter-spacing: -.03em; text-transform: uppercase; }
.ab3-list li span { min-width: 2.5ch; font-size: var(--fs-s); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.ab3-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.ab3-awards li { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 32px); background: var(--bg-2); min-height: 220px; transition: background .5s var(--ease), color .5s var(--ease); }
.ab3-awards li:hover { background: var(--ink); color: var(--bg); }
.ab3-awards__project { font-weight: 600; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -.045em; line-height: 1; }
.ab3-awards__title { margin-top: auto; font-size: var(--fs-s); font-weight: 500; }
.ab3-awards__meta { font-size: var(--fs-s); opacity: .65; }
.ab3-faq details { border-bottom: 1px solid var(--line); }
.ab3-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.ab3-faq summary::-webkit-details-marker { display: none; }
.ab3-faq summary::after { content: "+"; font-weight: 300; font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); }
.ab3-faq details[open] summary::after { transform: rotate(45deg); }
.ab3-faq details p { padding: 0 0 22px; max-width: 60ch; color: var(--muted); font-weight: 300; }
.ab3-cta { margin-top: calc(var(--sec) * -.4); }
@media (max-width: 860px) {
  .ab3 { grid-template-columns: 1fr; }
  .ab3-portrait { position: relative; height: 78svh; }
  .ab3-body { padding: clamp(48px, 10vw, 80px) var(--gut) var(--sec); }
  .ab3-bio { grid-template-columns: 1fr; }
}

/* ---------- Contact, version 2: a photograph with the invitation on one side, the details and the form on the other ---------- */
.ct3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.ct3-visual { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #f2f2f2; }
.ct3-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); }
.ct3-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .65)); }
.ct3-visual__words { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: var(--gut); display: flex; flex-direction: column; gap: 20px; }
.ct3-h1 { margin: 0; font-weight: 600; font-size: clamp(2.4rem, 1rem + 4.4vw, 5.6rem); letter-spacing: -.055em; line-height: .92; text-wrap: balance; max-width: 12ch; }
.ct3-topics { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.ct3-body { padding: var(--top) var(--gut) var(--sec) clamp(32px, 5vw, 96px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); min-width: 0; }
.ct3-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.ct3-facts div { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.ct3-facts div:nth-child(odd) { padding-right: 20px; }
.ct3-facts .ct3-facts__wide { grid-column: 1 / -1; }
.ct3-facts dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ct3-facts dd { margin: 0; font-size: 1.0625rem; font-weight: 500; overflow-wrap: anywhere; }
.ct3-or { padding-top: 8px; }
.ct3-form { display: grid; grid-template-columns: 1fr; gap: 28px; }
.ct3-field label { display: flex; gap: 14px; }
.ct3-n { font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 860px) {
  .ct3 { grid-template-columns: 1fr; }
  .ct3-visual { position: relative; height: 72svh; }
  .ct3-body { padding: clamp(40px, 8vw, 72px) var(--gut) var(--sec); }
  .ct3-facts { grid-template-columns: 1fr; }
  .ct3-facts div:nth-child(odd) { padding-right: 0; }
}

/* ---------- Info: the page title is "info", like every other page; the intro follows below it ---------- */
.ab2-head + .ab2-intro { padding-top: clamp(40px, 5vw, 72px); min-height: 0; }
.ab3-title { margin-bottom: clamp(12px, 2vw, 28px); }
@media (max-width: 860px) {
  /* a later rule set two columns for every width; on a phone the intro is one column again */
  .ab2-intro { grid-template-columns: 1fr; }
}

/* ---------- award and press logos (a wordmark stands in until the logo file is added) ---------- */
.logo-mark { display: inline-flex; align-items: center; justify-content: flex-start; height: 40px; min-width: 0; }
.logo-mark img { max-height: 40px; max-width: 140px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.logo-mark__word { font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; padding: 7px 10px; border: 1px solid currentColor; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
li:hover .logo-mark img, a:hover .logo-mark img { opacity: 1; filter: none; }
.ab2-row--logo { grid-template-columns: 4rem 10rem minmax(0, 1fr) minmax(0, auto); }
.ab3-awards .logo-mark { margin-bottom: 18px; }
.ab3-press { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.ab3-press li { display: block; padding: 0; border: 0; }
.ab3-press li > a, .ab3-press li > div { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); transition: border-color .4s var(--ease), background .4s var(--ease); }
.ab3-press li > a:hover { border-color: var(--ink); background: var(--bg-2); }
.ab3-press__title { font-weight: 500; font-size: 1rem; line-height: 1.35; }
.ab3-press__meta { margin-top: auto; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .ab2-row--logo { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .ab2-row--logo .logo-mark { grid-column: 2; }
  .ab2-row--logo .ab2-row__title, .ab2-row--logo .ab2-row__meta { grid-column: 2; text-align: left; }
}

/* Info: awards and press as rows inside the right-hand column; the details sit under the title */
.ab3-rows .ab2-row--logo { grid-template-columns: 3.5rem 9.5rem minmax(0, 1fr); margin: 0; padding-left: 12px; padding-right: 12px; }
.ab3-rows .ab2-row__title { font-size: var(--fs-m); }
.ab3-rows .ab2-row__meta { grid-column: 3; text-align: left; }
.logo-mark__word { max-width: none; }
@media (max-width: 860px) {
  .ab3-rows .ab2-row--logo { grid-template-columns: 3.5rem minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .ab3-rows .ab2-row__meta { grid-column: 2; }
}
.ab3-rows.ab2-rows--small .ab2-row__title { font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }

/* Info: a longer biography — the first paragraph as a lead, the rest as one readable column */
.ab3-h1 { font-weight: 500; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); letter-spacing: -.025em; line-height: 1.3; max-width: 34ch; }
.ab3-bio { grid-template-columns: 1fr; gap: 1.1em; max-width: 62ch; }

/* ---------- home: while the first photographs load, only the name shows; then the photographs fade in one after another and the name softens ---------- */
.js .page-inf .inf-name { opacity: 1; transition: opacity 2.4s var(--ease) .2s; }
.js.is-loaded .page-inf .inf-name { opacity: .6; }
.js .page-inf .inf-item { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: calc(min(var(--i, 0), 14) * 110ms + 150ms); }
.js.is-loaded .page-inf .inf-item { opacity: 1; }
.js .page-inf .inf-hint, .js .page-inf .inf-all { opacity: 0; transition: opacity 1s var(--ease) 1.2s; }
.js.is-loaded .page-inf .inf-hint, .js.is-loaded .page-inf .inf-all { opacity: 1; }
