/* ============================================================
   Adizen — Individual Portfolio template
   Built on the Adizen Deck Design System tokens
   (colors_and_type.css supplies fonts + brand color vars).

   Surfaces & block patterns are lifted from the real Adizen
   implementation-plan docs: blue/cream split panels, big
   underlined Funnel headlines, circular number badges,
   left-border stat cards, the occasional orange accent.
   ============================================================ */

:root {
  /* Derived surfaces (extend the deck tokens) */
  --cream:        #F2EDE4;   /* warm paper surface used across Adizen docs */
  --cream-2:      #ECE5D8;   /* slightly deeper cream for nested fills */
  --orange:       #E07B2E;   /* secondary highlight accent (doc number badges) */
  --line:         rgba(20,54,180,0.16);  /* hairline rules, blue-tinted */
  --line-soft:    rgba(0,0,0,0.10);

  /* Portfolio-scoped, overridden by Tweaks */
  --pf-accent:    var(--blue);      /* numerals, kickers, buttons, markers */
  --pf-accent-2:  var(--sky);       /* soft companion */
  --pf-display-w: 700;              /* hero / heading weight */

  /* Density scale (overridden by [data-density]) */
  --pf-sec:       104px;   /* section vertical padding */
  --pf-gap:       30px;    /* base content gap */
  --pf-card-pad:  34px;
}

/* ---------- density ---------- */
.pf[data-density="compact"] { --pf-sec: 68px;  --pf-gap: 22px; --pf-card-pad: 26px; }
.pf[data-density="comfy"]   { --pf-sec: 140px; --pf-gap: 40px; --pf-card-pad: 42px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pf { overflow-x: hidden; }

/* shared wrappers */
.pf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.pf-section { padding: var(--pf-sec) 0; }

/* eyebrow / kicker */
.pf-eyebrow {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pf-accent);
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
}
.pf-eyebrow::before {
  content: ""; width: 13px; height: 13px; background: var(--pf-accent); flex: none;
}
.pf-eyebrow.plain::before { display: none; }
.pf-eyebrow.muted { color: var(--gray); }
.pf-eyebrow.muted::before { background: var(--gray); }

/* section heading */
.pf-h {
  font-family: var(--font-display); font-weight: var(--pf-display-w);
  font-size: clamp(38px, 5vw, 66px); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--fg-1); margin: 18px 0 0; text-wrap: balance;
}
.pf-h em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--pf-accent); }
.pf-sub {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--fg-2);
  max-width: 56ch; margin: 22px 0 0; text-wrap: pretty;
}

.pf-square { width: 18px; height: 18px; background: var(--pf-accent); flex: none; }
.pf-square.sky { background: var(--pf-accent-2); }

/* =========================================================
   TOP BAR
   ========================================================= */
.pf-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pf-top .pf-wrap {
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pf-top .brand { display: flex; align-items: center; gap: 14px; }
.pf-top .brand img.mark { height: 26px; display: block; }
.pf-top .brand .wm { height: 18px; display: block; }
.pf-top .brand .wm.white { display: none; }
.pf-top .brand .tag {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
  padding-left: 14px; border-left: 1px solid var(--line); white-space: nowrap;
}
.pf-nav { display: flex; align-items: center; gap: 30px; }
.pf-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: -0.01em; color: var(--fg-1); text-decoration: none; opacity: 0.78;
  transition: opacity .15s;
}
.pf-nav a:hover { opacity: 1; }
.pf-btn {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
  color: #fff; background: var(--pf-accent); border: 0; padding: 11px 20px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer; transition: transform .12s, filter .15s;
}
.pf-btn:hover { filter: brightness(1.08); }
.pf-btn.ghost { background: transparent; color: var(--pf-accent); box-shadow: inset 0 0 0 1.5px var(--pf-accent); }
.pf-btn.on-dark { background: #fff; color: var(--blue); }
.pf-btn.ghost.on-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
.pf-nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.pf-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 116px); }
.pf-hero .grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
/* Hero: the role is the dominant line; the headline phrase is a smaller supporting line. */
.pf-hero .pf-eyebrow {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1.05; letter-spacing: 0;
  text-transform: uppercase; color: var(--fg-1); margin: 0; max-width: 17ch;
}
.pf-hero .pf-eyebrow::before { display: none; }
.pf-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.02em;
  margin: 12px 0 0; color: var(--fg-2); text-wrap: balance; max-width: 34ch;
}
.pf-hero h1 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--fg-1); letter-spacing: -0.02em;
  text-decoration: underline; text-decoration-color: var(--pf-accent);
  text-decoration-thickness: 2px; text-underline-offset: 0.14em;
}
.pf-hero .lede {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5; color: var(--fg-2); max-width: 54ch; margin: 26px 0 0; text-wrap: pretty;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.pf-hero-stack { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.pf-hero-stack:empty { display: none; }
.pf-hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pf-avail {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 34px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--fg-2);
}
.pf-avail .dot { width: 11px; height: 11px; background: var(--pf-accent-2); flex: none; }

/* portrait */
.pf-portrait-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pf-portrait {
  width: min(420px, 100%); aspect-ratio: 1 / 1; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 11px, rgba(0,0,0,0.05) 11px 22px),
    radial-gradient(120% 120% at 30% 22%, #dde6f3, #8aa6cc 68%, #5d77a3);
  border: 1px solid rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;       /* circle (default) */
  box-shadow: none;
}
.pf[data-photo="card"] .pf-portrait { border-radius: 0; box-shadow: var(--shadow-lg); }
.pf-portrait img,
.pf-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.pf-portrait .label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.92); background: rgba(20,54,180,0.4);
  padding: 7px 13px; border: 1px dashed rgba(255,255,255,0.6);
}
.pf-portrait-cap {
  font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray); text-align: center;
}

/* =========================================================
   STATS
   ========================================================= */
.pf-stats { background: var(--cream); }
.pf-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px);
}
.pf-stat {
  background: var(--white); border-left: 5px solid var(--pf-accent);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.pf-stat .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1; letter-spacing: -0.03em; color: var(--pf-accent);
}
.pf-stat .lbl {
  font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-1); margin-top: 18px;
}
.pf-stat .desc { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--gray-dark); margin-top: 8px; }

/* =========================================================
   JOURNEY (vertical timeline)
   ========================================================= */
.pf-journey-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.pf-timeline { margin-top: clamp(36px, 4vw, 58px); position: relative; }
.pf-tl-item {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px);
  padding: 34px 0; border-top: 1px solid var(--line);
}
.pf-tl-item:last-child { border-bottom: 1px solid var(--line); }
.pf-tl-when {
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 0.02em;
  color: var(--pf-accent); padding-top: 4px;
}
.pf-tl-when .loc { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--gray); letter-spacing: 0; margin-top: 7px; }
.pf-tl-body { display: flex; gap: 22px; }
.pf-tl-marker { width: 18px; height: 18px; background: var(--pf-accent); flex: none; margin-top: 9px; }
.pf-tl-org {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 31px);
  letter-spacing: -0.02em; color: var(--fg-1); margin: 0;
}
.pf-tl-role { font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--pf-accent); margin: 7px 0 0; }
.pf-tl-desc { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.55; color: var(--fg-2); margin: 13px 0 0; max-width: 62ch; text-wrap: pretty; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.pf-tag {
  font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pf-accent); padding: 6px 11px; background: var(--cream);
}

/* =========================================================
   PROJECTS / WHAT I SHIP
   ========================================================= */
.pf-proj-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px);
  margin-top: clamp(40px, 4.5vw, 64px);
  align-items: stretch;
}
.pf-card { display: flex; flex-direction: column; height: 100%; }
.pf-card .shot {
  width: 100%; aspect-ratio: 4 / 3; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.pf-card .shot .badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; background: rgba(20,54,180,0.85); padding: 6px 11px;
}
.pf-card .shot .ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.shot.a { background: radial-gradient(120% 120% at 30% 20%, #dde6f3, #8aa6cc); }
.shot.b { background: radial-gradient(120% 120% at 30% 20%, #f0e6d6, #cdb79a); }
.shot.c { background: radial-gradient(120% 120% at 30% 20%, #cdd9ef, #4a64ad); }
.shot.d { background: radial-gradient(120% 120% at 30% 20%, #d6e4f5, #6f93c4); }
.shot.e { background: radial-gradient(120% 120% at 30% 20%, #e9ddcb, #c0a274); }
.shot.f { background: radial-gradient(120% 120% at 30% 20%, #e8e8e8, #b4b4b4); }
.pf-card .ct { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--fg-1); margin: 22px 0 0; }
.pf-card .ck { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pf-accent); margin-top: 18px; }
.pf-card .cb { font-family: var(--font-body); font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); margin: 10px 0 0; text-wrap: pretty; }
.pf-card-links { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; }
.pf-card-link { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--pf-accent); text-decoration: none; }
.pf-card-link:hover { text-decoration: underline; }
.pf-card-media {
  display: block;
  color: inherit;
  text-decoration: none;
}
.pf-card-media[href] { cursor: pointer; }
.pf-card-media[href]:hover .ct { color: var(--pf-accent); }
.pf-card-media[aria-disabled="true"] { cursor: default; }

/* =========================================================
   TOOLKIT
   ========================================================= */
.pf-kit { margin-top: clamp(40px, 4.5vw, 60px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px); }
.pf-kit-group .gh {
  font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray); margin: 0 0 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.pf-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.pf-chip {
  font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--fg-1);
  background: var(--cream); padding: 10px 15px; display: inline-flex; align-items: center; gap: 9px;
  transition: background 0.15s ease;
}
.pf-chip:hover { background: #ece5d8; }
.pf-chip svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.pf-chip .pf-mono {
  width: 17px; height: 17px; flex: none; border-radius: 4px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; line-height: 1;
}
.pf-chip-label { line-height: 1; }

/* =========================================================
   CONTACT / FOOTER
   ========================================================= */
.pf-contact { background: var(--blue); color: #fff; position: relative; }
.pf-contact .pf-eyebrow { color: rgba(255,255,255,0.7); }
.pf-contact .pf-eyebrow::before { background: var(--sky); }
.pf-contact h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 8vw, 118px);
  line-height: 0.92; letter-spacing: -0.03em; margin: 20px 0 0; color: #fff;
}
.pf-contact h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--sky); }
.pf-contact .links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; }
.pf-contact .link {
  display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: clamp(17px, 1.7vw, 21px);
}
.pf-contact .link img { width: 26px; height: 26px; filter: brightness(0) invert(1); opacity: 0.85; }
.pf-contact .link span { border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 3px; }
.pf-contact .link:hover span { border-color: #fff; }
.pf-footer-meta {
  margin-top: clamp(54px, 7vw, 92px); padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.22); display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pf-footer-meta .wm img { height: 22px; display: block; filter: brightness(0) invert(1); }
.pf-footer-meta .note { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: rgba(255,255,255,0.7); }
.pf-pattern {
  height: 86px; width: 100%;
  background: url(./assets/pattern.svg) left bottom / auto 86px repeat-x;
}

/* =========================================================
   DIRECTION B — "Bold"  (blue/black blocks, underlined heads,
   circular number badges; mirrors the implementation-plan docs)
   ========================================================= */
.pf[data-direction="bold"] .pf-h,
.pf[data-direction="bold"] .pf-hero h1 { font-weight: 800; letter-spacing: -0.035em; }

/* underlined blue section heads */
.pf[data-direction="bold"] .pf-h {
  color: var(--pf-accent);
  display: inline-block; padding-bottom: 12px;
  box-shadow: inset 0 -6px 0 var(--pf-accent);
}
.pf[data-direction="bold"] .pf-contact h2 { box-shadow: none; }

/* heavier top bar */
.pf[data-direction="bold"] .pf-top { background: var(--blue); border-bottom: 0; }
.pf[data-direction="bold"] .pf-top .pf-wrap { height: 76px; }
.pf[data-direction="bold"] .pf-top .brand .wm { display: none; }
.pf[data-direction="bold"] .pf-top .brand .wm.white { display: block; }
.pf[data-direction="bold"] .pf-top .brand .tag { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.pf[data-direction="bold"] .pf-top .brand img.mark { content: url(./assets/logo-white.svg); }
.pf[data-direction="bold"] .pf-nav a { color: #fff; opacity: 0.85; }
.pf[data-direction="bold"] .pf-top .pf-btn { background: #fff; color: var(--blue); }
.pf[data-direction="bold"] .pf-top .pf-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }

/* circular number badges on the timeline */
.pf[data-direction="bold"] .pf-tl-marker {
  width: 42px; height: 42px; border-radius: 999px; background: var(--pf-accent); margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff;
}
.pf[data-direction="bold"] .pf-tl-marker::after { content: attr(data-n); }

/* projects get a blue caption slab */
.pf[data-direction="bold"] .pf-proj-grid { gap: 0; border-left: 1px solid var(--line); }
.pf[data-direction="bold"] .pf-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.pf[data-direction="bold"] .pf-card .shot { box-shadow: none; }
.pf[data-direction="bold"] .pf-card .ct,
.pf[data-direction="bold"] .pf-card .ck,
.pf[data-direction="bold"] .pf-card .cb { padding-inline: 22px; }
.pf[data-direction="bold"] .pf-card .ck { margin-top: 20px; }
.pf[data-direction="bold"] .pf-card .cb { padding-bottom: 26px; }

/* chips become bordered squares */
.pf[data-direction="bold"] .pf-chip { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* stats: blue fill instead of cream cards on cream */
.pf[data-direction="bold"] .pf-stat { background: var(--cream); border-left-width: 6px; box-shadow: none; }

/* =========================================================
   HERO BACKGROUND VARIANTS  (independent of direction)
   ========================================================= */
.pf[data-hero="blue"] .pf-hero { background: var(--blue); color: #fff; }
.pf[data-hero="blue"] .pf-hero h1 { color: #fff; }
.pf[data-hero="blue"] .pf-hero h1 em { color: var(--sky); }
.pf[data-hero="blue"] .pf-hero .lede { color: rgba(255,255,255,0.82); }
.pf[data-hero="blue"] .pf-hero .pf-eyebrow { color: rgba(255,255,255,0.75); }
.pf[data-hero="blue"] .pf-hero .pf-eyebrow::before { background: var(--sky); }
.pf[data-hero="blue"] .pf-hero .pf-avail { color: rgba(255,255,255,0.8); }
.pf[data-hero="blue"] .pf-hero .pf-btn { background: #fff; color: var(--blue); }
.pf[data-hero="blue"] .pf-hero .pf-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
.pf[data-hero="blue"] .pf-portrait { border-color: rgba(255,255,255,0.35); }
.pf[data-hero="blue"] .pf-portrait-cap { color: rgba(255,255,255,0.7); }

.pf[data-hero="black"] .pf-hero { background: var(--black); color: #fff; }
.pf[data-hero="black"] .pf-hero h1 { color: #fff; }
.pf[data-hero="black"] .pf-hero h1 em { color: var(--pf-accent-2); }
.pf[data-hero="black"] .pf-hero .lede { color: rgba(255,255,255,0.72); }
.pf[data-hero="black"] .pf-hero .pf-eyebrow { color: var(--pf-accent-2); }
.pf[data-hero="black"] .pf-hero .pf-eyebrow::before { background: var(--pf-accent-2); }
.pf[data-hero="black"] .pf-hero .pf-avail { color: rgba(255,255,255,0.72); }
.pf[data-hero="black"] .pf-hero .pf-btn { background: #fff; color: var(--black); }
.pf[data-hero="black"] .pf-hero .pf-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.pf[data-hero="black"] .pf-portrait { border-color: rgba(255,255,255,0.3); }
.pf[data-hero="black"] .pf-portrait-cap { color: rgba(255,255,255,0.6); }

/* when hero is dark, a thin brand strip helps the transition */
.pf[data-hero="blue"] .pf-hero::after,
.pf[data-hero="black"] .pf-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: url(./assets/pattern.svg) left bottom / auto 10px repeat-x; opacity: 0.5;
}

/* =========================================================
   SECTION HIDING (Tweaks show/hide)
   ========================================================= */
.pf[data-show-stats="0"]   #stats,
.pf[data-show-journey="0"] #journey,
.pf[data-show-projects="0"] #projects,
.pf[data-show-toolkit="0"] #toolkit { display: none; }

/* entrance reveal */
@media (prefers-reduced-motion: no-preference) {
  .pf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
  .pf-reveal.in { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .pf-proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .pf-wrap { padding: 0 24px; }
  .pf-nav { display: none; }
  .pf-hero .grid { grid-template-columns: 1fr; }
  .pf-portrait-wrap { order: -1; }
  .pf-portrait { width: min(300px, 70%); }
  .pf-kit { grid-template-columns: 1fr; }
  .pf-tl-item { grid-template-columns: 1fr; gap: 14px; }
  .pf-tl-when { padding-top: 0; }
}
@media (max-width: 560px) {
  .pf-proj-grid { grid-template-columns: 1fr; }
  .pf-stats-grid { grid-template-columns: 1fr; }
  .pf-top .brand .tag { display: none; }
}
