/* Deegeehub portfolio page (portfolio.html, hy-portfolio.html).
   Self-contained: does not depend on styles.css. Scroll effects live in portfolio.js. */

:root {
  --bg: #f3f2ef;
  --ink: #17181d;
  --muted: #5d6070;
  --brand: #4154e8;
  --line: #17181d14;
  --tint: 65, 84, 232;
  --sans: "Inter Tight", "Noto Sans Armenian", Arial, Helvetica, sans-serif;
  --serif: "Instrument Serif", "Noto Serif Armenian", Georgia, "Times New Roman", serif;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Background ---------- */
.pf-bg, .pf-tint {
  position: fixed; inset: 0; pointer-events: none;
}
.pf-bg { z-index: -2; width: 100%; height: 100%; }
.pf-tint {
  z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--tint), .10), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(var(--tint), .12), transparent 70%);
}

/* ---------- Header ---------- */
.pf-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  pointer-events: none;
}
.pf-header > * { pointer-events: auto; }
.pf-header::before {
  content: ""; position: absolute; inset: 0 0 -26px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--bg) 35%, transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.is-scrolled .pf-header::before { opacity: .92; }
.brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 20px; font-weight: 750; letter-spacing: -1px;
  font-family: Arial, Helvetica, sans-serif;
}
.brand-mark {
  width: 24px; height: 24px; background: var(--brand);
  mask: url('assets/deegeehub-mark-mask.png') center/contain no-repeat;
  -webkit-mask: url('assets/deegeehub-mark-mask.png') center/contain no-repeat;
}
.brand-period { margin-left: -6px; color: var(--brand); }

.pf-header-title {
  position: fixed; left: 50%; top: 13px; z-index: 51;
  transform: translate(-50%, -6px);
  font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.pf-header-title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; }
.pf-header-title.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

.pf-nav { display: flex; align-items: center; gap: 6px; }
.pf-nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 7px 10px; border-radius: 99px; transition: color .2s;
}
.pf-nav-link:hover { color: var(--ink); }
.lang-switch {
  display: flex; padding: 3px; border-radius: 99px;
  background: #ffffffb3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: .4px;
}
.lang-switch a { padding: 6px 9px; border-radius: 99px; color: #555763; line-height: 1; }
.lang-switch a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #22212d1a; }
.pf-nav-cta {
  margin-left: 4px; white-space: nowrap;
  font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 99px;
  background: #fff; box-shadow: 0 1px 3px #22212d14;
  transition: background .2s, color .2s;
}
.pf-nav-cta:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.pf-hero {
  position: fixed; inset: 0; z-index: 1;
  display: grid; place-items: center;
  padding: 70px var(--gutter) min(24vh, 30vw);
  text-align: center;
}
.pf-hero-inner { max-width: min(980px, 100%); min-width: 0; will-change: filter, opacity; }
.pf-eyebrow-xl {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.2vw, 17px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #7c4dff, #4154e8 55%, #e8930c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 1s var(--ease) .1s, opacity 1s var(--ease) .1s;
}
.pf-h1 {
  margin: 0;
  font-size: min(10.4vw, 16.5vh, 158px);
  font-weight: 600; line-height: .96; letter-spacing: -.045em;
  perspective: 1200px;
}
.pf-h1 .line { display: block; white-space: nowrap; transform-style: preserve-3d; }
html:lang(hy) .pf-h1 { font-size: min(8.6vw, 15vh, 132px); letter-spacing: -.035em; }
.pf-h1 .w {
  display: inline-block; transform-style: preserve-3d; transform-origin: 50% 100%;
  transition: transform 1.1s var(--ease), opacity .9s var(--ease);
  transition-delay: calc(.25s + var(--i) * .12s);
}
.pf-h1 .serif {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: 1.08em;
}
.pf-h1 .serif.it { font-style: italic; padding-right: .06em; }
.pf-lede {
  max-width: 34em; margin: clamp(16px, 2.4vh, 26px) auto 0;
  font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; color: var(--muted); text-wrap: pretty;
}
.pf-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: clamp(16px, 2.4vh, 24px);
  padding: 14px 24px; border-radius: 99px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 17px;
  transition: transform .25s var(--ease), background .2s;
}
.pf-hero-cta:hover { transform: translateY(-2px); background: #000; }
.pf-lede, .pf-hero-cta { transition: opacity 1s var(--ease) .75s, transform 1s var(--ease) .75s, background .2s; }
.pf-hero-cta { transition-delay: .85s; }

/* Before load (set by an inline script, so no-JS visitors see everything) */
.is-loading .pf-eyebrow-xl { opacity: 0; transform: translateY(10px); }
.is-loading .pf-h1 .w { opacity: 0; transform: translateY(.35em) rotateX(-85deg); }
.is-loading .pf-lede, .is-loading .pf-hero-cta { opacity: 0; transform: translateY(14px); }
.is-loading .pf-dots, .is-loading .pf-float { opacity: 0; }
.is-loading .pf-float { transform: translateY(20px); }

/* Fan of project polaroids at the bottom of the hero */
.pf-fan { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; }
.pf-fan-item {
  position: absolute; bottom: 0;
  width: var(--w); left: calc(var(--x) - var(--w) / 2);
  z-index: var(--z);
  will-change: transform;
}
.pf-fan-rise {
  transform: translateY(calc(var(--w) * .58 - var(--y)));
  transition: transform 1.3s var(--ease);
  transition-delay: calc(.6s + var(--d) * .09s);
}
.is-loading .pf-fan-rise { transform: translateY(calc(var(--w) * 1.25)); }
.pf-fan-card {
  aspect-ratio: 1; padding: 3.5%;
  background: #fff; border-radius: calc(var(--w) * .07);
  box-shadow: 0 18px 40px -18px #1b1d2366, 0 2px 6px #1b1d2314;
  transform: rotate(var(--r));
}
.pf-fan-card .pf-shot { border-radius: calc(var(--w) * .045); height: 100%; }
.pf-fan-item:nth-child(1) { --x: -21vw; --y: -1.6vw; --r: -14deg; --w: 13vw; --z: 1; --d: 0; }
.pf-fan-item:nth-child(2) { --x: -11vw; --y: 1vw;    --r: -7deg;  --w: 14.5vw; --z: 2; --d: 1; }
.pf-fan-item:nth-child(3) { --x: 0vw;   --y: 2.4vw;  --r: 0deg;   --w: 16vw; --z: 3; --d: 2; }
.pf-fan-item:nth-child(4) { --x: 11vw;  --y: 1vw;    --r: 7deg;   --w: 14.5vw; --z: 2; --d: 3; }
.pf-fan-item:nth-child(5) { --x: 21vw;  --y: -1.6vw; --r: 14deg;  --w: 13vw; --z: 1; --d: 4; }

.pf-spacer { height: 100vh; height: 100svh; }

/* ---------- Project list ---------- */
.pf-list {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(24px, 6vh, 80px);
  padding-bottom: 18vh;
}
.pf-item {
  width: min(76.73%, 1080px);
  scroll-margin-top: 12vh;
}
.pf-persp {
  perspective: 1400px;
  transform-origin: 50% 50%;
  will-change: transform;
}
.pf-card {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
  padding: 16px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 40px 80px -40px #1b1d2347, 0 2px 8px #1b1d230d;
  transform-style: preserve-3d;
  will-change: transform;
}
.pf-body {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(6px, 1.4vw, 18px) clamp(4px, 1vw, 14px) 4px 0;
  color: var(--ink-accent, var(--ink));
}
.pf-eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent);
}
.pf-title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 2.9vw, 42px); line-height: 1.04; letter-spacing: -.01em;
  text-wrap: balance;
}
.pf-client { margin: 16px 0 6px; font-weight: 650; font-size: 15.5px; }
.pf-desc { margin: 0; font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--ink-accent) 72%, #fff); text-wrap: pretty; }
.pf-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 18px 0 0; padding: 0; list-style: none;
}
.pf-tags li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: 99px;
  font-size: 13px; font-weight: 600; line-height: 1.2;
  background: color-mix(in srgb, var(--accent) 11%, #fff);
  color: var(--ink-accent);
}
.pf-tags li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.pf-tags li.is-key { background: var(--accent); color: #fff; }
.pf-tags li.is-key::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.pf-tags li.is-link { padding: 0; }
.pf-tags li.is-link::before { display: none; }
.pf-tags li.is-link a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: inherit;
  transition: background .2s;
}
.pf-tags li.is-link a::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center/9px no-repeat;
}
.pf-tags li.is-link a:hover { background: var(--ink-accent); }
.pf-btn {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 20px; border-radius: 99px;
  background: var(--accent); color: #fff;
  font-weight: 650; font-size: 15.5px;
  box-shadow: 0 8px 20px -10px var(--accent);
  transition: background .2s, transform .25s var(--ease);
}
.pf-btn svg { transition: transform .25s var(--ease); }
.pf-btn:hover { background: var(--ink-accent); transform: translateY(-1px); }
.pf-btn:hover svg { transform: translateX(3px); }

.pf-sample {
  position: absolute; top: 24px; left: 24px; z-index: 3;
  padding: 4px 9px; border-radius: 99px;
  background: #ffffffe6; color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Project visual (screenshot slot) ---------- */
.pf-shot {
  position: relative; overflow: hidden;
  aspect-ratio: 1;
  border-radius: 24px;
  container-type: inline-size;
  background:
    radial-gradient(70% 60% at 25% 15%, color-mix(in srgb, var(--accent) 55%, #fff), transparent 70%),
    linear-gradient(160deg, var(--accent), var(--ink-accent));
  isolation: isolate;
}
.pf-shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-shot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(#ffffff38 26%, transparent 30%);
  background-size: 2.6cqw 2.6cqw;
  mask-image: linear-gradient(200deg, transparent 25%, #000 85%);
  -webkit-mask-image: linear-gradient(200deg, transparent 25%, #000 85%);
}
.pf-shot-label {
  position: absolute; left: 6cqw; bottom: 5cqw; z-index: 2;
  font-family: var(--sans); font-weight: 800;
  font-size: 15cqw; line-height: .82; letter-spacing: -.05em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 .6cqw 3cqw #0000002e;
}

/* Real screenshots in device frames. Sizes use cqw so the same markup
   scales from the full card down to the small hero fan. */
.pf-shot--phones .pf-shot-label,
.pf-shot--site .pf-shot-label { top: 6cqw; bottom: auto; font-size: 13cqw; }
.dev-phone, .dev-browser { position: absolute; z-index: 0; margin: 0; }
.dev-phone {
  width: 39cqw; padding: 1.3cqw; border-radius: 6.6cqw;
  background: #111216;
  box-shadow: 0 5cqw 9cqw -3cqw #00000070, inset 0 0 0 .4cqw #ffffff24;
}
.dev-phone img { width: 100%; height: auto; border-radius: 5.4cqw; }
.dev-phone--front { right: 9cqw; top: 25cqw; transform: rotate(5deg); z-index: 1; }
.dev-phone--back { left: 13cqw; top: 31cqw; width: 36cqw; transform: rotate(-8deg); filter: brightness(.94); }
.dev-phone--side { right: 5cqw; top: 46cqw; width: 29cqw; padding: 1cqw; border-radius: 5cqw; transform: rotate(6deg); z-index: 1; }
.dev-phone--side img { border-radius: 4.1cqw; }
.dev-browser {
  left: 7cqw; top: 25cqw; width: 98cqw;
  border-radius: 2.4cqw; overflow: hidden; background: #fff;
  box-shadow: 0 5cqw 9cqw -3cqw #00000066;
  transform: rotate(-3deg); transform-origin: 0 0;
}
.dev-browser img { width: 100%; height: auto; }
.dev-browser-bar {
  display: flex; align-items: center; gap: 1cqw;
  height: 5cqw; padding: 0 2.4cqw; background: #eeece8;
}
.dev-browser-bar i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #c9c6bf; }
.dev-browser-bar span {
  margin-left: 2cqw; padding: .5cqw 2.4cqw; border-radius: 2cqw;
  background: #fff; color: #6b6d76;
  font-size: 2.1cqw; font-weight: 600; line-height: 1.2;
}

/* Placeholder mockups, generated by portfolio.js from data-mock. */
.mock-phone {
  position: absolute; z-index: 0;
  width: 42cqw; aspect-ratio: 9 / 18.5;
  right: 11cqw; top: 8cqw;
  padding: 1.6cqw; border-radius: 7.5cqw;
  background: #121318;
  box-shadow: 0 6cqw 10cqw -4cqw #00000066, inset 0 0 0 .5cqw #ffffff1f;
  transform: rotate(9deg);
}
.mock-phone.alt { right: auto; left: 30cqw; top: 6cqw; transform: rotate(-7deg); }
.mock-screen {
  height: 100%; overflow: hidden; border-radius: 6cqw;
  background: #f7f6f3;
  display: flex; flex-direction: column; gap: 2cqw;
  padding: 0 0 3cqw;
}
.mock-appbar {
  height: 26%; padding: 7cqw 3cqw 3cqw;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent));
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqw;
}
.mock-appbar i { display: block; height: 2cqw; width: 60%; border-radius: 2cqw; background: #ffffffd9; }
.mock-appbar i + i { width: 38%; background: #ffffff8c; }
.mock-row {
  display: flex; align-items: center; gap: 2cqw;
  margin: 0 3cqw; padding: 2.2cqw; border-radius: 3cqw;
  background: #fff; box-shadow: 0 .4cqw 1.2cqw #0000000f;
}
.mock-row b { width: 7cqw; height: 7cqw; flex: none; border-radius: 2cqw; background: color-mix(in srgb, var(--accent) 30%, #fff); }
.mock-row span { flex: 1; height: 1.8cqw; border-radius: 2cqw; background: #e3e2de; box-shadow: 0 3cqw 0 -.2cqw #efeeea; margin-bottom: 2.4cqw; }
.mock-cta { margin: auto 3cqw 0; height: 7cqw; border-radius: 4cqw; background: var(--ink-accent); }
.mock-badge {
  position: absolute; z-index: 2; left: 14cqw; top: 22cqw;
  width: 17cqw; height: 17cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--accent);
  box-shadow: 0 3cqw 6cqw -2cqw #0000004d;
  transform: rotate(-10deg);
}
.mock-badge svg { width: 55%; height: 55%; }
.mock-browser {
  position: absolute; z-index: 0;
  left: 9cqw; right: 9cqw; top: 9cqw;
  border-radius: 3.4cqw; overflow: hidden;
  background: #fbfaf7;
  box-shadow: 0 6cqw 10cqw -4cqw #00000059;
  transform: rotate(-4deg);
}
.mock-browser-bar { display: flex; gap: 1.2cqw; padding: 2.4cqw 3cqw; background: #ebe9e4; }
.mock-browser-bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #c9c6bf; }
.mock-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3cqw; padding: 5cqw 4.5cqw 6cqw; align-items: center; }
.mock-page-copy { display: flex; flex-direction: column; gap: 1.8cqw; }
.mock-page-copy i { display: block; height: 3cqw; border-radius: 2cqw; background: var(--ink-accent); }
.mock-page-copy i:nth-child(2) { width: 75%; }
.mock-page-copy i:nth-child(3) { height: 1.4cqw; width: 90%; margin-top: 1cqw; background: #d8d6d0; }
.mock-page-copy i:nth-child(4) { height: 1.4cqw; width: 70%; background: #d8d6d0; }
.mock-page-copy b { display: block; width: 55%; height: 5.4cqw; margin-top: 2cqw; border-radius: 3cqw; background: var(--accent); }
.mock-page-art {
  aspect-ratio: 1; border-radius: 3cqw;
  background:
    radial-gradient(circle at 70% 30%, #ffffffb3 0 14%, transparent 15%),
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 40%, #fff), var(--accent));
}
.mock-open {
  position: absolute; inset: 7cqw; z-index: 0;
  border: .7cqw dashed #ffffffb3; border-radius: 6cqw;
  display: grid; place-items: center;
}
.mock-open span {
  width: 22cqw; height: 22cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--accent);
  font-size: 16cqw; font-weight: 300; line-height: 1;
  box-shadow: 0 3cqw 8cqw -3cqw #00000066;
}

/* ---------- Progress dots ---------- */
.pf-dots {
  position: fixed; right: var(--gutter); top: 50%; z-index: 40;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-50%);
  margin: 0; padding: 0; list-style: none;
  transition: opacity .6s var(--ease);
}
.pf-dots button {
  display: block; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px;
  background: #17181d33; cursor: pointer;
  transition: height .45s var(--ease), background .3s;
}
.pf-dots button::before { content: ""; position: absolute; inset: -5px -8px; }
.pf-dots li { position: relative; }
.pf-dots button[aria-current="true"] { height: 28px; background: var(--dot, var(--ink)); }

/* ---------- Floating consult card ---------- */
.pf-float {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 45;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 16px; border-radius: 16px;
  background: #fff; box-shadow: 0 12px 32px -14px #1b1d2359, 0 1px 3px #1b1d2312;
  transition: transform .8s var(--ease) 1.2s, opacity .8s var(--ease) 1.2s, box-shadow .2s;
}
.pf-float:hover { box-shadow: 0 16px 40px -14px #1b1d2373, 0 1px 3px #1b1d2312; }
.pf-float strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.pf-float small { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.pf-float small svg { transition: transform .25s var(--ease); }
.pf-float:hover small svg { transform: translateX(3px); }
.pf-float-thumb {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #6b7bff, var(--brand));
}
.pf-float-thumb .brand-mark { background: #fff; width: 26px; height: 26px; }

/* ---------- End ---------- */
.pf-end {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 0 var(--gutter) 40px;
}
.pf-top-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 99px;
  background: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 1px 3px #1b1d2314;
}
.pf-footer {
  width: 100%; max-width: 1080px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.pf-footer nav { display: flex; gap: 18px; }
.pf-footer nav a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pf-item { width: 86%; }
  .pf-card { border-radius: 28px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .pf-nav-link { display: none; }
  .pf-nav-cta { padding: 7px 11px; font-size: 12.5px; }
  .pf-nav { gap: 4px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 20px; height: 20px; }
  html:lang(hy) .pf-h1 { font-size: min(10.2vw, 10vh); }
  .pf-header-title { display: none; }
  .pf-hero { padding-bottom: 36vw; }
  .pf-h1 { font-size: min(15.5vw, 12vh); }
  .pf-fan-item:nth-child(1) { --x: -34vw; --w: 25vw; --y: -3vw; }
  .pf-fan-item:nth-child(2) { --x: -18vw; --w: 28vw; --y: 1.5vw; }
  .pf-fan-item:nth-child(3) { --w: 31vw; --y: 4vw; }
  .pf-fan-item:nth-child(4) { --x: 18vw; --w: 28vw; --y: 1.5vw; }
  .pf-fan-item:nth-child(5) { --x: 34vw; --w: 25vw; --y: -3vw; }
  .pf-item { width: calc(100% - var(--gutter) * 2); }
  .pf-card { grid-template-columns: 1fr; padding: 10px; border-radius: 26px; gap: 6px; }
  .pf-shot { border-radius: 18px; }
  .pf-body { padding: 10px 8px 6px; }
  .pf-sample { top: 18px; left: 18px; }
  .pf-dots { right: 6px; }
  .pf-float { gap: 10px; padding: 6px 6px 6px 14px; border-radius: 14px; }
  .pf-float strong { display: none; }
  .pf-float small { color: var(--ink); font-weight: 600; font-size: 13.5px; }
  .pf-float-thumb { width: 34px; height: 34px; border-radius: 9px; }
  .pf-float-thumb .brand-mark { width: 20px; height: 20px; }
  .pf-footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-h1 .w, .pf-eyebrow-xl, .pf-lede, .pf-hero-cta, .pf-fan-rise, .pf-float, .pf-dots,
  .pf-header-title { transition: none !important; }
}
