/* ============================================================
   Paradox Praxis - gallery aesthetic for every inner page.
   Loaded after app.css. White ground, hairline rules, light
   type, calm dots, motion limited to a single slow fade.
   ============================================================ */

:root {
  --bg:      #f8f7f5;
  --bg-warm: #f8f7f5;
  --rule:    rgba(22, 19, 14, 0.14);
  --accent-wash: transparent;
}
body { background: var(--bg); }

/* nav: paper, one hairline */
.site-nav { background: rgba(248, 247, 245, 0.92); border-bottom: 1px solid var(--rule); }
.site-nav__inner { max-width: none; padding-left: clamp(22px, 4vw, 64px); padding-right: clamp(22px, 4vw, 64px); }
.site-nav__brand { font-size: 0.74rem; letter-spacing: 0.22em; }
.site-nav__mark canvas { width: 38px; }

/* the dots, calm, softened into the page */
.page-mark { padding-top: clamp(40px, 8vh, 96px); }
.page-mark__canvas {
  width: min(48vw, 460px);
  -webkit-mask-image: radial-gradient(ellipse 60% 64% at 50% 50%, #000 26%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 64% at 50% 50%, #000 26%, transparent 100%);
  animation: ppfade 0.9s ease both;
}
@keyframes ppfade { from { opacity: 0; } to { opacity: 1; } }

/* one artwork per page, set small and crisp above the title */
.page-art { display: flex; justify-content: center; padding-top: clamp(40px, 8vh, 96px); animation: ppfade 0.8s ease both; }
.page-art img { display: block; width: auto; height: auto; max-width: min(260px, 56vw); max-height: 34svh; mix-blend-mode: multiply; }

/* page header */
.page-head { padding-top: clamp(20px, 4vh, 48px); }
.page-head__title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: 0.06em; }
.page-head__lead { font-weight: 300; max-width: 38ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* body copy lighter and more open */
.prose p:not(.phase__body):not(.quote__text):not(.standfirst) { font-weight: 300; }
.prose .key { color: var(--ink); font-weight: 500; }

/* sections: open white, divided by hairlines, not tinted bands */
.section--warm { background: transparent; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* no lift, no shadow, no tint on hover: only colour and a small arrow shift */
.path:hover, .reveal-on .paths.is-visible > .path:hover { transform: none; background: transparent; border-color: transparent; box-shadow: none; }
.path::before { display: none; }
.path:hover .path__title { letter-spacing: 0.2em; }
.card:hover, .offer:hover, .who:hover { background: transparent; }
.path:hover .link-line .arrow, .who:hover .who__close .arrow, .btn:hover .arrow, .link-line:hover .arrow { transform: translateX(3px); }
.arrow { color: inherit; }

/* testimonials: set straight on the page */
.rotator { background: none; padding-left: 0; padding-right: 0; }
.quote__text { font-weight: 300; }

/* only a slow fade on scroll, never a movement */
.reveal-on .page-head, .reveal-on .define, .reveal-on .who, .reveal-on .trust,
.reveal-on .quote:not(.rotator__item), .reveal-on .rotator, .reveal-on .newsletter,
.reveal-on .method-sec, .reveal-on .rule, .reveal-on .about__photo, .reveal-on .prose,
.reveal-on .paths > *, .reveal-on .cards > *, .reveal-on .offers > *, .reveal-on .phases > *,
.reveal-on .faq > .faq__item {
  transform: none !important;
  transition: opacity 0.45s ease !important;
  transition-delay: 0s !important;
}
.reveal-on .method-sec .method-sec__h::before { transform: none; transition: none; }

/* footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--rule); }

/* ============================================================
   Pages with an artwork lay out like the homepage hero:
   a full-screen field, big title on the left, the plate on the right.
   ============================================================ */
body.has-art { position: relative; }
.has-art .page-art {
  position: absolute;
  top: 64px;
  right: 0;
  width: min(46vw, 620px);
  height: calc(100svh - 64px);
  padding: 0 clamp(22px, 4vw, 64px) 0 0;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.has-art .page-art img { max-width: 100%; max-height: 66svh; }
.has-art .page-head {
  max-width: none;
  margin: 0;
  text-align: left;
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 8vh, 96px) clamp(22px, 4vw, 64px) clamp(40px, 9vh, 110px);
}
.has-art .page-head__mark { margin-left: 0; }
.has-art .page-head__kicker { font-size: 0.64rem; letter-spacing: 0.26em; color: var(--ink-52); }
.has-art .page-head__title { max-width: 46vw; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1.05; letter-spacing: 0.06em; margin-top: clamp(20px, 3.5vh, 36px); overflow-wrap: anywhere; }
.has-art .page-head__lead { margin: clamp(22px, 4vh, 40px) 0 0; max-width: 34ch; text-align: left; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.has-art .page-head > * { text-align: left; }
.has-art .page-head .btn-row { justify-content: flex-start; }
@media (max-width: 900px) {
  .has-art .page-art { position: static; width: auto; height: auto; padding: clamp(32px, 6vh, 56px) clamp(22px, 4vw, 64px) 0; justify-content: flex-start; }
  .has-art .page-art img { max-height: 44svh; }
  .has-art .page-head { min-height: 0; padding-top: clamp(28px, 5vh, 48px); }
  .has-art .page-head__title { max-width: none; }
}

/* ============================================================
   One structure everywhere: the homepage grid.
   A wide left-aligned field, a label column on the left,
   the text in the right-hand column, hairlines between bands.
   ============================================================ */
:root { --pad: clamp(22px, 4vw, 64px); }
.wrap, .wrap--wide { max-width: 1500px; padding-left: var(--pad); padding-right: var(--pad); }

/* page header: left-aligned, large, anchored low in its own field */
.page-head {
  max-width: none;
  margin: 0;
  text-align: left;
  min-height: 42svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 10vh, 120px) var(--pad) clamp(36px, 7vh, 84px);
}
.page-head > * { text-align: left; }
.page-head__kicker { font-size: 0.64rem; letter-spacing: 0.26em; color: var(--ink-52); }
.page-head__title { max-width: 46vw; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1.05; letter-spacing: 0.06em; margin-top: clamp(20px, 3.5vh, 36px); overflow-wrap: anywhere; }
.page-head__lead { margin: clamp(22px, 4vh, 40px) 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

/* body bands: 12-column grid, text starts in column 5 */
main > section.wrap, main > article.wrap, .article {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-top: clamp(48px, 9vh, 110px);
  padding-bottom: clamp(48px, 9vh, 110px);
}
main > section.wrap:not(.page-head), main > article.wrap { border-top: 1px solid var(--rule); }
main > section.wrap > *, main > article.wrap > *, .article > * { grid-column: 5 / 12; min-width: 0; }
main > section.wrap > h2, .prose > h2 {
  grid-column: 1 / 5;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: clamp(1.2rem, 2.2vw, 1.9rem); line-height: 1.15;
  color: var(--ink); margin: 0; padding-right: 1rem;
}
main > section.wrap > h2::before, .prose > h2::before { display: none; }
.prose .rule, .rule { grid-column: 1 / -1; }

/* method: a label column and a text column, per section */
.method-sec { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; column-gap: inherit; padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(28px, 5vh, 56px); }
.method-sec > * { grid-column: 5 / 12; min-width: 0; }
.method-sec__h { grid-column: 1 / 5 !important; grid-row: 1 / span 20; align-self: start; position: sticky; top: 96px; font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: 0.05em; }
.method-sec__h::before { display: none; }

/* offers and cards: title left, text right, hairline rows */
.offers, .cards { grid-column: 1 / -1 !important; }
.offer { display: grid; grid-template-columns: 4fr 7fr; column-gap: clamp(16px, 2vw, 32px); align-items: start; padding: clamp(28px, 5vh, 52px) 0; border-bottom: 1px solid var(--rule); }
.offer__title { grid-column: 1; grid-row: 1 / span 2; font-size: clamp(1.4rem, 3vw, 2.6rem); color: var(--ink); letter-spacing: 0.04em; }
.offer__body { grid-column: 2; margin-top: 0; max-width: 40rem; font-weight: 300; }
.offer__more { grid-column: 2; margin-top: 8px; }
.card { padding-top: clamp(28px, 5vh, 52px); padding-bottom: clamp(28px, 5vh, 52px); border-bottom: 1px solid var(--rule); }
.cards { border-top: 0; }

/* about: the portrait sits in the label column */
.about__photo { grid-column: 1 / 5 !important; grid-row: 1 / span 6; align-self: start; position: sticky; top: 96px; margin-bottom: 0; }

/* centred leftovers go left */
.btn-row { justify-content: flex-start; }
.newsletter, .quote, .define { text-align: left; }
.quote { margin-left: 0; }
.wrap[style*="text-align:center"] { text-align: left !important; }
.wrap[style*="text-align:center"] p { margin-left: 0 !important; margin-right: 0 !important; }
.faq, .contact-wrap form, .contact-wrap > * { max-width: none; }
.contact-wrap { max-width: 1500px; }
.contact-wrap > * { max-width: 36rem; }

/* essays */
.article { max-width: 1500px; padding-left: var(--pad); padding-right: var(--pad); margin: 0 auto; }
.article__head { grid-column: 1 / -1 !important; text-align: left; }
.article__title { max-width: 46vw; }
.article-fig figcaption, .poem { text-align: left; }

@media (max-width: 900px) {
  main > section.wrap > *, main > article.wrap > *, .article > *, .method-sec > *, main > section.wrap > h2, .prose > h2, .offers, .cards { grid-column: 1 / -1 !important; }
  .method-sec__h { position: static; grid-row: auto; margin-bottom: 18px; }
  .page-head__title, .article__title { max-width: none; }
  .offer { grid-template-columns: 1fr; row-gap: 14px; }
  .offer__title, .offer__body, .offer__more { grid-column: 1; grid-row: auto; }
  .about__photo { position: static; grid-row: auto; margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) { .page-mark__canvas, .page-art { animation: none; } }

.method-sec__h, .method-sec, .prose h2, .prose h3, .method-sub { text-align: left; }
.method-sec__h { margin: 0; padding-right: 1rem; }

/* specificity fixes for the grid */
main > article.wrap > .method-sec, main > section.wrap > .method-sec { grid-column: 1 / -1; }
main > article.wrap > .rule, main > section.wrap > .rule, .article > .rule { grid-column: 1 / -1; }
main [style*="text-align:center"] { text-align: left !important; }
main [style*="margin:0 auto"] { margin-left: 0 !important; margin-right: 0 !important; }
.article__head > *, .article__head { margin-left: 0; margin-right: 0; text-align: left; }
.article__sub { max-width: 34ch; }
.page-mark { justify-content: flex-start; padding-left: var(--pad); padding-top: clamp(40px, 8vh, 96px); }
.page-mark__canvas { width: min(34vw, 340px); }
@media (max-width: 900px) { main > article.wrap > .method-sec, .method-sec > * { grid-column: 1 / -1; } }


/* ============================================================
   Pages with the photograph: the homepage hero, repeated.
   ============================================================ */
.has-art .site-nav { position: absolute; inset: 0 0 auto 0; z-index: 5; background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-art .site-nav__menu a, .has-art .site-nav__lang a { color: #fff; }
.has-art .site-nav__menu a[aria-current="page"] { border-bottom-color: #fff; }
.has-art .site-nav__menu a::after { background: #fff; }
.has-art .site-nav__lang { opacity: 0.8 !important; }
.page-photo { position: absolute; z-index: 1; top: 0; right: 0; width: 64vw; height: 100svh; margin: 0; pointer-events: none; animation: ppfade 1s ease both;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.page-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.page-photo::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(180deg, rgba(12, 11, 10, 0.7), rgba(12, 11, 10, 0)); }
.has-art .page-head { position: relative; z-index: 2; min-height: 100svh; padding-top: calc(64px + clamp(40px, 8vh, 96px)); }
@media (max-width: 900px) {
  .has-art .site-nav.is-open { position: fixed; }
  .has-art .site-nav__menu a, .has-art .site-nav__lang a { color: var(--ink-52); }
  .has-art .site-nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
  .has-art .site-nav__menu a::after { background: var(--accent); }
  .page-photo { top: 64px; width: 100%; height: 42svh; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 66%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 66%, transparent 100%); }
  .page-photo::after { display: none; }
  .has-art .page-head { min-height: calc(100svh - 64px); justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .page-photo { animation: none; } }


/* closing plate: a full-bleed image that wakes softly as the page ends */
.end-plate { position: relative; height: min(70svh, 640px); overflow: hidden; background: #0d0c0a; border-top: 1px solid var(--rule); }
.end-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.reveal-on .end-plate img { opacity: 0; transform: scale(1.05); transition: opacity 1s ease, transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .end-plate.is-in img { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .end-plate img { opacity: 1; transform: none; transition: none; } }

.end-plate--drift img { object-position: 50% 78%; transform-origin: 50% 50%; }
.end-plate--drift { background: var(--bg); }


/* ---------- contact: two choices, the form lives in a dialog ---------- */
.contact-choose__lead { font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.7; color: var(--ink); max-width: 34rem; }
.contact-choose__row { margin-top: 28px; gap: 14px; justify-content: flex-start; }
.cm { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(13, 12, 10, 0.55); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.5s ease, visibility 0.5s ease; }
.cm.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.cm__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100svh - 40px); overflow-y: auto; background: var(--bg); padding: clamp(32px, 5vw, 56px); transform: translateY(12px); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cm.is-open .cm__panel { transform: none; }
.cm__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; cursor: pointer; font-size: 1rem; color: var(--ink-38); padding: 6px; line-height: 1; transition: color 0.2s; }
.cm__close:hover { color: var(--ink); }
.cm__kicker { font-family: var(--sans); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-52); }
.cm__title { margin: 12px 0 clamp(22px, 4vh, 36px); font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.cm form, .cm .contact-success { max-width: none; }
@media (prefers-reduced-motion: reduce) { .cm, .cm__panel { transition: none; } }

/* writing: pieces turn black on hover */
.card__title, .card__sum, .card__label, .card__meta { transition: color 0.35s ease; }
.card:hover .card__title, .card:hover .card__sum, .card:hover .card__label, .card:hover .card__meta, .card:hover .card__meta .read { color: #000; }
.card--soon { display: none; }


/* ============================================================
   About: a portrait and a short list that opens on request
   ============================================================ */
.ab { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); padding: clamp(48px, 9vh, 110px) var(--pad) clamp(72px, 12vh, 140px); border-top: 1px solid var(--rule); max-width: 1500px; margin: 0 auto; }
.ab__photo { grid-column: 1 / 5; align-self: start; position: sticky; top: 96px; margin: 0; }
.ab__photo img { display: block; width: 100%; height: auto; max-height: 78svh; object-fit: cover; object-position: 50% 30%; }
.ab__ph { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; color: var(--ink-38); background: var(--bg-warm); }
.ab__list { grid-column: 6 / 13; border-top: 1px solid var(--rule); }
.ab-row { border-bottom: 1px solid var(--rule); transition: opacity 0.6s ease; }
.ab__list:hover .ab-row:not(:hover):not(.is-open) { opacity: 0.5; }
.ab-row__head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: clamp(24px, 4vh, 40px) 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); }
.ab-row__lead { font-family: var(--sans); font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ab-row__head:hover .ab-row__lead { transform: translateX(6px); }
.ab-row__lead--static { padding: clamp(24px, 4vh, 40px) 0; }
.ab-row__icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 0.7em; }
.ab-row__icon::before, .ab-row__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease; }
.ab-row__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ab-row.is-open .ab-row__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.ab-row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ab-row.is-open .ab-row__panel { grid-template-rows: 1fr; }
.ab-row__inner { overflow: hidden; }
.ab-row__inner p { padding: 0 0 clamp(24px, 4vh, 40px); max-width: 38rem; font-weight: 300; font-size: 1rem; line-height: 1.8; color: var(--ink-72); opacity: 0; transition: opacity 0.7s ease 0.1s; }
.ab-row.is-open .ab-row__inner p { opacity: 1; }
@media (max-width: 900px) {
  .ab { display: block; }
  .ab__photo { position: static; margin-bottom: 36px; max-width: 420px; }
  .ab__list { }
}
@media (prefers-reduced-motion: reduce) { .ab-row__panel, .ab-row__inner p, .ab-row__lead { transition: none; } }

/* about: the name is set in the body font */
.page-about .page-head__title { font-family: var(--sans); font-weight: 300; text-transform: none; letter-spacing: -0.025em; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.02; }

/* method: the three testimonials, set small and left in the text column */
.method-quotes { grid-column: 5 / 12; display: grid; gap: clamp(28px, 5vh, 48px); padding: clamp(28px, 5vh, 56px) 0 0; }
.method-quotes .quote { margin: 0; text-align: left; max-width: 36rem; }
.method-quotes .quote__text { font-size: clamp(0.98rem, 1.2vw, 1.1rem); line-height: 1.75; font-weight: 300; }
.method-quotes .quote__cite { justify-content: flex-start; margin-top: 10px; }
@media (max-width: 900px) { .method-quotes { grid-column: 1 / -1; } }

/* one hairline above the offers, not two */
.offers { border-top: 0; }

/* no second line where the offers meet the next section */
.offers .offer:last-child { border-bottom: 0; }


/* ============================================================
   Work with me: a clear list, a note over the hills, soft questions
   ============================================================ */
.offers { margin: 0 -20px; }
.offer { padding-left: 20px; padding-right: 20px; transition: background-color 0.9s ease, color 0.9s ease, opacity 0.9s ease; }
.offers:hover .offer:not(:hover) { opacity: 0.5; }
.offer:hover { background: #3b3935; color: #f3f1ec; }
.offer:hover .offer__title, .offer:hover .offer__body, .offer:hover .link-line { color: #f3f1ec; }
.offer:hover .link-line { border-color: rgba(243, 241, 236, 0.6); }
.offer__title { transition: color 0.9s ease; }
.offer__body { font-size: 1rem; line-height: 1.7; }

.wm-note .mp-scene__in { padding-top: clamp(80px, 15vh, 170px); padding-bottom: clamp(80px, 15vh, 170px); }
.wm-note__h { grid-column: 1 / 5; margin: 0; font-family: var(--sans); font-weight: 300; font-size: clamp(1.3rem, 2.3vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; color: #fff; text-transform: none; padding-right: 1rem; }
.wm-note__t { grid-column: 5 / 12; }
.wm-note__t p { font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.6; color: #fff !important; margin: 0 0 1.1em; }
.wm-note__link { display: inline-flex; gap: 0.6em; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); color: #fff; transition: border-color 0.4s ease; }
.wm-note__link:hover { border-bottom-color: #fff; }
@media (max-width: 900px) { .wm-note__h, .wm-note__t { grid-column: 1 / -1; } .wm-note__h { margin-bottom: 20px; } .wm-note .mp-scene__in { display: block; } }

/* questions: the same soft drop-down as elsewhere */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__trigger { font-weight: 300; font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: -0.01em; line-height: 1.4; padding: clamp(22px, 3.6vh, 34px) 0; }
.faq__trigger:hover { color: var(--ink); }
.faq__icon::before, .faq__icon::after { background: var(--ink); height: 1px; }
.faq__panel-inner p { font-weight: 300; line-height: 1.8; color: var(--ink-72); }


/* about: the list continues in bands, white then image then white */
.ab--rest { padding-top: 0; border-top: 0; }
.ab--rest .ab__list { grid-column: 6 / 13; border-top: 0; }
.ab-scene .mp-scene__in { padding-top: clamp(40px, 8vh, 90px); padding-bottom: clamp(40px, 8vh, 90px); }
.ab__list--dark { grid-column: 6 / 13; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.ab__list--dark .ab-row { border-bottom-color: rgba(255, 255, 255, 0.28); }
.ab__list--dark .ab-row__lead, .ab__list--dark .ab-row__head { color: #fff; }
.ab__list--dark .ab-row__icon::before, .ab__list--dark .ab-row__icon::after { background: #fff; }
.ab__list--dark .ab-row__inner p { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 900px) { .ab__list--dark, .ab--rest .ab__list { grid-column: 1 / -1; } }


/* about: the portrait fills the right of the first screen and melts into the page */
body.page-about { position: relative; }
.page-about .page-head { position: relative; z-index: 2; min-height: calc(100svh - 64px); justify-content: flex-end; }
.page-about .page-head__title { max-width: 46vw; }
.ab-portrait { position: absolute; z-index: 1; top: calc(64px + 16svh); right: clamp(24px, 7vw, 120px); width: min(38vw, 580px); height: min(60svh, 520px); margin: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%); mask-composite: intersect; animation: ppfade 0.9s ease both; }
.ab-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 46% 35%; mix-blend-mode: multiply; filter: brightness(1.06) contrast(1.02); }
.page-about .ab { padding-top: clamp(24px, 5vh, 60px); }
.ab .ab__list { grid-column: 6 / 13; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 900px) {
  .ab-portrait { position: static; width: 100%; height: 52svh; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .page-about .page-head { min-height: 0; }
  .page-about .page-head__title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ab-portrait { animation: none; } }


/* about: the standard opening, the list starts in the text column like every other page */
.page-about .ab { display: grid; padding: clamp(40px, 7vh, 90px) var(--pad) clamp(40px, 7vh, 90px); border-top: 1px solid var(--rule); }
.page-about .ab .ab__list, .page-about .ab--rest .ab__list, .page-about .ab__list--dark { grid-column: 5 / 12; max-width: none; margin: 0; }
.page-about .ab--rest { border-top: 0; padding-top: 0; }
.page-about .ab-scene .mp-scene__in { display: grid; }
@media (max-width: 900px) { .page-about .ab .ab__list, .page-about .ab--rest .ab__list, .page-about .ab__list--dark { grid-column: 1 / -1; } }


/* about: the landscape and the credentials */
.ab-lead { max-width: 36rem; }
.ab-cred { margin-top: clamp(20px, 4vh, 36px); border-top: 1px solid var(--rule); }
.ab-cred .ab-row { border-bottom: 1px solid var(--rule); }
.ab-cred__list { list-style: none; padding: 0 0 clamp(20px, 3.4vh, 32px); margin: 0; }
.ab-cred__list li { padding: 10px 0; font-weight: 300; font-size: 0.98rem; line-height: 1.6; color: var(--ink-72); border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; }
.ab-cred__list li:first-child { border-top: 0; }
.ab-cred__list li span { flex: 0 0 auto; color: var(--ink-52); font-variant-numeric: tabular-nums; }
.ab-cred__list a { color: var(--ink); border-bottom: 1px solid var(--ink-38); }
.page-about .method-sec { padding-top: clamp(40px, 7vh, 84px); padding-bottom: clamp(40px, 7vh, 84px); }
.page-about .method-sec__h { position: static; }


/* about: a path told as a thin line with dots, after lauracincera.com/credentials */
.ab-path { padding: clamp(56px, 10vh, 120px) var(--pad); border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.ab-timeline { grid-column: 5 / 12; list-style: none; margin: 0; padding: 0 0 0 clamp(26px, 3vw, 40px); border-left: 1px solid var(--ink-22); }
.ab-timeline__item { position: relative; padding-bottom: clamp(34px, 6vh, 64px); }
.ab-timeline__item:last-child { padding-bottom: 0; }
.ab-timeline__item::before { content: ''; position: absolute; left: calc(-1 * clamp(26px, 3vw, 40px) - 4px); top: 0.35em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ab-timeline__label { margin: 0 0 12px; font-family: var(--sans); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.ab-timeline__item p { margin: 0; max-width: 38rem; font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.75; color: var(--ink-72); }
.ab-credgroup { padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(28px, 5vh, 56px); }
.ab-credgroup__h { font-size: 0.64rem !important; font-weight: 600 !important; letter-spacing: 0.22em !important; text-transform: uppercase !important; }
.ab-cred__list--open { padding: 0; }
@media (max-width: 900px) { .ab-timeline { grid-column: 1 / -1; } }


/* credentials: each group settles in, line by line */
.reveal-on .ab-credgroup .ab-cred__list li { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 40ms); }
.reveal-on .ab-credgroup.is-in .ab-cred__list li { opacity: 1; transform: none; }
.reveal-on .ab-credgroup .method-sec__h { opacity: 0; transition: opacity 0.5s ease; }
.reveal-on .ab-credgroup.is-in .method-sec__h { opacity: 1; }
.ab-cred__list--open:hover li:not(:hover) { opacity: 0.5 !important; }
.ab-cred__list li { transition: opacity 0.5s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { .reveal-on .ab-credgroup .ab-cred__list li, .reveal-on .ab-credgroup .method-sec__h { opacity: 1; transform: none; transition: none; } }

.page-about .ab-credhead-sec { padding-bottom: 0 !important; }


/* the path answers the pointer: one stage comes forward, the rest soften */
.ab-timeline__item { transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ab-timeline__item::before { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s ease; }
.ab-timeline__label, .ab-timeline__item p { transition: color 0.5s ease; }
.ab-timeline:hover .ab-timeline__item:not(:hover) { opacity: 0.4; }
.ab-timeline__item:hover { transform: translateX(8px); }
.ab-timeline__item:hover::before { transform: scale(1.9); box-shadow: 0 0 0 6px rgba(110, 31, 46, 0.12); }
.ab-timeline__item:hover .ab-timeline__label { color: var(--accent); }
.ab-timeline__item:hover p { color: var(--ink); }
.ab-timeline__item p a { color: var(--ink); border-bottom: 1px solid var(--ink-38); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ab-timeline__item, .ab-timeline__item::before { transition: none; } .ab-timeline__item:hover { transform: none; } }
