/* iBoost · Портфоліо — редакційний шар поверх Page.css (токени, шрифти, nav звідти) */

:root { --pf-accent: #ff4f00; }

.pf-main { display: block; }

/* ───────────────────────────── секції ───────────────────────────── */
.pf-sec { position: relative; }
.pf-sec--dark  { background: var(--ink);  color: var(--ink-text);  --hair: var(--ink-hair);  --tx2: var(--ink-text-2);  --surface: var(--ink-2); }
.pf-sec--deep  { background: #060608;     color: var(--ink-text);  --hair: rgba(242,239,233,.10); --tx2: rgba(237,233,225,.5); }
.pf-sec--bone  { background: var(--bone);  color: var(--paper-text); --hair: var(--paper-hair); --tx2: var(--paper-text-2); }
.pf-sec--cream { background: var(--cream); color: var(--paper-text); --hair: var(--paper-hair); --tx2: var(--paper-text-2); }
.pf-sec--dark::after, .pf-sec--deep::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.pf-pad   { padding-block: clamp(72px, 10vw, 156px); }
.pf-pad-s { padding-block: clamp(44px, 6vw, 88px); }
.pf-rule  { border-top: 1px solid var(--hair); }
.wrap     { position: relative; z-index: 4; }

/* ───────────────────────────── типографіка ───────────────────────── */
.pf-kicker {
  display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--tx2); margin-bottom: 26px; overflow-wrap: anywhere;
}
.pf-kicker b { color: var(--pf-accent); font-weight: 400; margin-right: 12px; }
.pf-kicker i { font-style: normal; opacity: .35; margin: 0 8px; }

.pf-h1 { font-family: var(--f-display); font-variation-settings: "wght" 640, "CONT" 200; line-height: .98; letter-spacing: -.02em; font-size: clamp(44px, 9vw, 132px); text-wrap: balance; }
.pf-h2 { font-family: var(--f-display); font-variation-settings: "wght" 620, "CONT" 200; line-height: 1.02; letter-spacing: -.015em; font-size: clamp(30px, 4.4vw, 62px); text-wrap: balance; }
.pf-lede { font-family: var(--f-serif); font-variation-settings: "opsz" 24; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.5; color: var(--tx2); max-width: 58ch; text-wrap: pretty; }
.pf-body { font-family: var(--f-serif); font-variation-settings: "opsz" 16; font-size: clamp(16.5px, 1.06vw, 19px); line-height: 1.7; max-width: 66ch; }
.pf-body + .pf-body { margin-top: 1.05em; }
.pf-mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }

/* буквиця + виносна цитата */
.pf-dropcap::first-letter {
  float: left; font-family: var(--f-display); font-variation-settings: "wght" 660, "CONT" 240;
  font-size: 4.1em; line-height: .78; padding: .06em .14em 0 0; color: var(--pf-accent);
}
.pf-quote {
  margin: clamp(34px, 4vw, 56px) 0; padding-left: clamp(20px, 2.4vw, 34px);
  border-left: 2px solid var(--pf-accent);
  font-family: var(--f-display); font-variation-settings: "wght" 600, "CONT" 160;
  font-size: clamp(21px, 2.3vw, 33px); line-height: 1.18; letter-spacing: -.01em; max-width: 22ch;
}

/* ───────────────────── хіро індексу: орбіта + маркі ───────────────── */
.pf-hero { position: relative; overflow: hidden; min-height: clamp(560px, 88vh, 940px); display: flex; align-items: center; }
.pf-hero-bg { position: absolute; inset: 0; z-index: 1; }
.pf-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .55;
  mask-image: radial-gradient(ellipse 80% 62% at 62% 44%, #000 10%, transparent 76%);
}
.pf-orbit { position: absolute; right: -14vw; top: 50%; translate: 0 -50%; width: min(76vw, 900px); aspect-ratio: 1; z-index: 2; opacity: .95; }
.pf-orbit .o-ring { fill: none; stroke: rgba(242,239,233,.13); }
.pf-orbit .o-ring-a { stroke: rgba(255,79,0,.42); }
.pf-orbit .o-core { fill: #000; stroke: rgba(255,179,92,.6); }
.pf-orbit .o-glow { filter: blur(38px); opacity: .5; }
.pf-orbit .o-dot { fill: var(--pf-accent); }
.pf-orbit .o-spin { transform-origin: 500px 500px; animation: pf-spin 46s linear infinite; }
.pf-orbit .o-spin-2 { transform-origin: 500px 500px; animation: pf-spin 78s linear infinite reverse; }
@keyframes pf-spin { to { transform: rotate(360deg); } }

.pf-hero-in { position: relative; z-index: 5; }
.pf-hero-sub { margin-top: 30px; }
.pf-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.pf-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-top: 1px solid var(--hair); overflow: hidden; padding-block: 14px; background: linear-gradient(180deg, transparent, rgba(6,6,8,.75)); }
.pf-marquee-in { display: flex; gap: 42px; width: max-content; animation: pf-slide 52s linear infinite; }
.pf-marquee span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--tx2); white-space: nowrap; }
.pf-marquee span::after { content: "◆"; margin-left: 42px; color: var(--pf-accent); opacity: .55; }
@keyframes pf-slide { to { transform: translateX(-50%); } }

/* ───────────────────────────── лічильники ────────────────────────── */
.pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(44px, 6vw, 76px); border-top: 1px solid var(--hair); padding-top: 30px; }
.pf-stat-v { font-family: var(--f-display); font-variation-settings: "wght" 640, "CONT" 180; font-size: clamp(34px, 4vw, 58px); line-height: .9; font-variant-numeric: tabular-nums; }
.pf-stat-l { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx2); margin-top: 14px; line-height: 1.5; overflow-wrap: anywhere; }

/* ───────────────────────────── фільтр ────────────────────────────── */
.pf-filter { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 54px); border-bottom: 1px solid var(--hair); padding-bottom: 20px; }
.pf-chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 0 0 6px; border: 0; border-bottom: 2px solid transparent; background: transparent;
  color: var(--tx2); cursor: pointer; transition: color .2s, border-color .2s;
}
.pf-chip:hover { color: inherit; }
.pf-chip[aria-pressed="true"] { color: inherit; border-bottom-color: var(--pf-accent); }
.pf-chip sup { font-size: 9px; opacity: .5; margin-left: 5px; vertical-align: super; }

/* ─────────────────── асиметрична редакційна сітка ─────────────────── */
.pf-idx { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 2.4vw, 40px) clamp(18px, 2vw, 32px); }
.pf-tile { grid-column: span 2; position: relative; display: flex; flex-direction: column; }
.pf-tile--lg { grid-column: span 4; }
.pf-tile--md { grid-column: span 3; }
.pf-tile[hidden] { display: none; }

.pf-tile-media { position: relative; overflow: hidden; background: #08080a; border: 1px solid var(--hair); aspect-ratio: 16/11; }
.pf-tile--lg .pf-tile-media { aspect-ratio: 16/9; }
.pf-tile--md .pf-tile-media { aspect-ratio: 16/10; }
.pf-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: saturate(.9) contrast(1.03) brightness(.94); transition: transform .8s var(--ease-flow), filter .45s; }
.pf-tile:hover .pf-tile-media img { transform: scale(1.045); filter: saturate(1.02) contrast(1.05) brightness(1); }
.pf-tile-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(190deg, transparent 42%, rgba(6,6,8,.62) 88%);
  opacity: .9; transition: opacity .4s;
}
.pf-tile:hover .pf-tile-media::after { opacity: .55; }
.pf-tile-glow { position: absolute; inset: auto -20% -46% -20%; height: 62%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, var(--pf-accent), transparent 66%); opacity: .13; filter: blur(30px); transition: opacity .45s; }
.pf-tile:hover .pf-tile-glow { opacity: .3; }

.pf-tile-n { position: absolute; top: 14px; left: 16px; z-index: 3; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: rgba(237,233,225,.82); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.pf-tile-live { position: absolute; top: 12px; right: 12px; z-index: 3; font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .16em; text-transform: uppercase; background: rgba(6,6,8,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(242,239,233,.16); color: #eae6de; padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; }
.pf-tile-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.pf-tile-live.is-dev::before { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.pf-tile-live.is-arch::before { background: #77726a; box-shadow: none; }

.pf-tile-body { padding-top: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pf-tile-kick { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx2); }
.pf-tile-kick b { color: var(--pf-accent); font-weight: 400; }
.pf-tile-name { font-family: var(--f-display); font-variation-settings: "wght" 630, "CONT" 190;
  font-size: clamp(24px, 2.1vw, 34px); line-height: 1.02; letter-spacing: -.012em; overflow-wrap: anywhere; }
.pf-tile--lg .pf-tile-name { font-size: clamp(30px, 3.2vw, 52px); }
.pf-tile-tag { font-family: var(--f-serif); font-variation-settings: "opsz" 15; font-size: 15.5px; line-height: 1.52; color: var(--tx2); }
.pf-tile--lg .pf-tile-tag { font-size: 17px; max-width: 52ch; }
.pf-tile-under { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  border-top: 1px solid var(--hair); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx2); }
.pf-tile-under em { font-style: normal; color: var(--pf-accent); transition: transform .3s var(--ease-flow); display: inline-block; }
.pf-tile:hover .pf-tile-under em { transform: translate(4px, -4px); }
.pf-tile-link { position: absolute; inset: 0; z-index: 6; }
.pf-tile-link:focus-visible { outline: 2px solid var(--pf-accent); outline-offset: 4px; }

/* ──────────────────────── хіро кейсу (full-bleed) ─────────────────── */
.pf-case { position: relative; overflow: hidden; padding-top: clamp(96px, 12vw, 150px); padding-bottom: clamp(40px, 5vw, 72px); }
.pf-case-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.pf-case-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: .3; filter: saturate(.7) blur(2px); }
.pf-case-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,8,.86) 0%, rgba(6,6,8,.78) 42%, var(--ink) 96%); }
.pf-case-halo { position: absolute; z-index: 2; right: -6vw; top: -18vh; width: min(74vw, 820px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--pf-accent), transparent 62%); opacity: .16; filter: blur(58px); pointer-events: none; }
.pf-case-in { position: relative; z-index: 5; }
.pf-case-grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 4vw, 60px); align-items: end; margin-top: clamp(26px, 3vw, 44px); }
@media (min-width: 960px) { .pf-case-grid { grid-template-columns: 1.02fr .98fr; } }

.pf-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 26px; margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--hair); padding-top: 24px; }
.pf-meta-l { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx2); }
.pf-meta-v { font-family: var(--f-sans); font-weight: 400; font-size: 15px; line-height: 1.4; margin-top: 9px; }

/* рамка знімка */
.pf-frame { border: 1px solid var(--hair); background: var(--ink-2); box-shadow: 0 50px 100px -50px rgba(0,0,0,.95); }
.pf-frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--hair); }
.pf-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--hair); }
.pf-frame-url { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--tx2); margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-frame img { width: 100%; display: block; }
.pf-frame-cap { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx2); margin-top: 16px; }

.pf-svgwrap { position: relative; aspect-ratio: 8 / 5; width: 100%; min-width: 0; overflow: hidden; }
.pf-svgwrap > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-tile-media > .pf-svgwrap { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }

/* ───────────────────────── контент кейсу ─────────────────────────── */
.pf-two { display: grid; gap: clamp(30px, 4vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .pf-two { grid-template-columns: minmax(0, 20ch) minmax(0, 1fr); } }
.pf-two-h { align-self: start; }
@media (min-width: 980px) { .pf-two-h { position: sticky; top: 108px; } }

.pf-sec-n { font-family: var(--f-display); font-variation-settings: "wght" 300, "CONT" 120;
  font-size: clamp(52px, 6vw, 96px); line-height: .8; color: var(--pf-accent); opacity: .22; }

/* можливості — редакційний перелік, не однакові коробки */
.pf-caps { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
@media (min-width: 860px) { .pf-caps { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 72px); } }
.pf-cap { padding: clamp(24px, 2.6vw, 34px) 0; border-top: 1px solid var(--hair); }
.pf-cap-n { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--pf-accent); }
.pf-cap h3 { margin-top: 12px; font-family: var(--f-display); font-variation-settings: "wght" 600, "CONT" 150;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.12; letter-spacing: -.01em; }
.pf-cap p { margin-top: 12px; font-family: var(--f-serif); font-variation-settings: "opsz" 15; font-size: 16px; line-height: 1.6; color: var(--tx2); max-width: 46ch; }

/* конвеєр — з’єднана лінія з вузлами */
.pf-rail { position: relative; margin-top: clamp(26px, 3vw, 42px); display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pf-rail { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.pf-rail-step { position: relative; padding: 30px 26px 30px 0; }
@media (min-width: 860px) { .pf-rail-step { padding: 44px 24px 0 0; } }
.pf-rail-step::before { content: ""; position: absolute; left: 0; top: 34px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pf-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pf-accent) 18%, transparent); }
@media (min-width: 860px) { .pf-rail-step::before { top: 0; translate: 0 -4px; } }
.pf-rail-step::after { content: ""; position: absolute; left: 4px; top: 43px; bottom: -8px; width: 1px; background: var(--hair); }
@media (min-width: 860px) { .pf-rail-step::after { left: 13px; right: 0; top: 0; bottom: auto; width: auto; height: 1px; } }
.pf-rail-step:last-child::after { display: none; }
.pf-rail-n { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--tx2); padding-left: 24px; }
@media (min-width: 860px) { .pf-rail-n { padding-left: 0; } }
.pf-rail-t { margin-top: 10px; font-family: var(--f-sans); font-weight: 400; font-size: 15.5px; line-height: 1.35; padding-left: 24px; }
@media (min-width: 860px) { .pf-rail-t { padding-left: 0; max-width: 22ch; } }

/* під капотом */
.pf-list { list-style: none; padding: 0; margin: 0; }
.pf-list li { border-top: 1px solid var(--hair); padding: 20px 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  font-family: var(--f-serif); font-variation-settings: "opsz" 15; font-size: 16.5px; line-height: 1.6; }
.pf-list li::before { content: "→"; font-family: var(--f-mono); font-size: 12px; color: var(--pf-accent); padding-top: 5px; }

.pf-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pf-stack span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--hair); color: var(--tx2); transition: border-color .2s, color .2s; }
.pf-stack span:hover { border-color: var(--pf-accent); color: inherit; }

/* цифри — великі, без коробок */
.pf-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(28px, 3.4vw, 56px); margin-top: 8px; }
.pf-num { border-top: 1px solid var(--hair); padding-top: 22px; }
.pf-num-v { font-family: var(--f-display); font-variation-settings: "wght" 640, "CONT" 180;
  font-size: clamp(38px, 4.6vw, 74px); line-height: .88; font-variant-numeric: tabular-nums; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pf-num-l { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx2); margin-top: 16px; line-height: 1.5; overflow-wrap: anywhere; }

/* кнопки */
.pf-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pf-btn { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 24px; border: 1px solid currentColor; display: inline-block; cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s; }
.pf-btn:hover { transform: translateY(-2px); }
.pf-btn--fill { background: var(--pf-accent); border-color: var(--pf-accent); color: #fff; }
.pf-btn--fill:hover { filter: brightness(1.12); }
.pf-btn--ghost:hover { color: var(--ink); background: var(--ink-text); border-color: var(--ink-text); }
.pf-sec--bone .pf-btn--ghost:hover, .pf-sec--cream .pf-btn--ghost:hover { color: var(--bone); background: var(--paper-text); border-color: var(--paper-text); }

/* наступний кейс — велика прев’ю-плитка */
.pf-next { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.4vw, 34px); }
@media (min-width: 800px) { .pf-next { grid-template-columns: 1fr 1fr; } }
.pf-next a { position: relative; display: block; border: 1px solid var(--hair); padding: clamp(26px, 3vw, 40px); overflow: hidden; transition: border-color .25s; }
.pf-next a:hover { border-color: var(--pf-accent); }
.pf-next-l { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx2); }
.pf-next-n { font-family: var(--f-display); font-variation-settings: "wght" 620, "CONT" 180;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.02; margin-top: 14px; overflow-wrap: anywhere; }
.pf-next-tag { font-family: var(--f-serif); font-size: 15px; line-height: 1.5; color: var(--tx2); margin-top: 12px; max-width: 40ch; }
.pf-next--r { text-align: right; }
.pf-next--r .pf-next-tag { margin-left: auto; }

.pf-crumbs { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx2); overflow-wrap: anywhere; }
.pf-crumbs a:hover { color: var(--pf-accent); }
.pf-crumbs em { font-style: normal; opacity: .35; margin: 0 8px; }

/* метод */
.pf-infra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: 40px; }
.pf-infra dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--pf-accent); border-top: 1px solid var(--hair); padding-top: 16px; }
.pf-infra dd { margin: 12px 0 0; font-family: var(--f-serif); font-size: 15.5px; line-height: 1.55; color: var(--tx2); }

/* ─────────────────────── поява при скролі ────────────────────────── */
.js .pf-rv { opacity: 0; transform: translateY(22px); }
.js .pf-rv.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-flow), transform .7s var(--ease-flow); }

/* ─────────────────────────── адаптив ─────────────────────────────── */
@media (max-width: 1100px) {
  .pf-idx { grid-template-columns: repeat(4, 1fr); }
  .pf-tile, .pf-tile--md { grid-column: span 2; }
  .pf-tile--lg { grid-column: span 4; }
}
@media (max-width: 780px) {
  .pf-idx { grid-template-columns: 1fr; }
  .pf-tile, .pf-tile--lg, .pf-tile--md { grid-column: span 1; }
  .pf-tile-media, .pf-tile--lg .pf-tile-media, .pf-tile--md .pf-tile-media { aspect-ratio: 16/10; }
  .pf-orbit { right: -34vw; opacity: .5; }
  .pf-two { grid-template-columns: 1fr; }
  .pf-next--r { text-align: left; }
  .pf-next--r .pf-next-tag { margin-left: 0; }
  .pf-quote { font-size: clamp(20px, 5.4vw, 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .pf-rv { opacity: 1; transform: none; }
}

/* ── калібрування хіро: не лізти під навігацію і не перетинати орбіту ── */
.pf-hero { padding-top: clamp(132px, 17vh, 200px); padding-bottom: clamp(96px, 13vh, 150px); min-height: clamp(620px, 94vh, 1020px); }
.pf-hero .pf-h1 { max-width: 15ch; font-size: clamp(42px, 7.2vw, 104px); }
.pf-hero .pf-lede { max-width: 46ch; }
.pf-orbit { right: -17vw; width: min(70vw, 840px); opacity: .85; }
@media (max-width: 1240px) { .pf-hero .pf-h1 { max-width: 13ch; } }
@media (max-width: 900px) { .pf-hero .pf-h1 { max-width: none; } .pf-orbit { display: none; } }

/* тайл: рівний нижній край у ряду */
.pf-tile-body { justify-content: flex-start; }
.pf-tile-media img { will-change: transform; }

/* ── полірування кейсу ── */
.pf-two-h .pf-h2 { font-size: clamp(23px, 2.1vw, 33px); line-height: 1.06; }
.pf-case-bg img { opacity: .22; filter: saturate(.6) blur(7px); transform: scale(1.06); }
.pf-meta { grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)); gap: 22px 26px; }
.pf-sec-n { letter-spacing: -.04em; }
.pf-two-h .pf-kicker { margin-bottom: 0; }
.pf-cap:nth-child(-n+2) { border-top-color: transparent; }
@media (max-width: 860px) { .pf-cap:nth-child(2) { border-top-color: var(--hair); } }

/* ── єдина пропорція плиток = пропорція знімка (16:10), без обрізання ── */
.pf-tile-media,
.pf-tile--lg .pf-tile-media,
.pf-tile--md .pf-tile-media { aspect-ratio: 16 / 10; }
.pf-tile-media img { object-position: center top; image-rendering: auto; }
.pf-svgwrap { aspect-ratio: 16 / 10; }
