/* ============================================
   PORTFOLIO REDESIGN 2026 — Light editorial system
   Loaded AFTER oronflix base/browse to override the
   streaming "poster tile" language with a clean,
   product-designer portfolio look. Unifies the home
   page color world with the (already light) case studies.
   ============================================ */

/* ---------- Global light foundation ---------- */
:root {
  --pf-radius: 16px;
  --pf-radius-sm: 10px;
  --pf-maxw: 1200px;
  --pf-ink: #17181c;
  --pf-ink-soft: #55504a;
  --pf-line: rgba(23, 24, 28, 0.10);
  --pf-line-soft: rgba(23, 24, 28, 0.06);
  --pf-surface: #ffffff;
  --pf-surface-2: #f2eee7;
  --pf-accent: #e0567f;
  --pf-accent-soft: rgba(224, 86, 127, 0.10);
}

body {
  background: var(--pf-surface-2);
}

/* Keep anchored sections clear of the fixed nav */
#projects, #about, #contact, #shipped { scroll-margin-top: 88px; }

/* Nav polish — solid, quiet, no streaming feel */
.onf-nav {
  background: rgba(246, 247, 251, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--pf-line-soft);
  height: 64px;
}
.onf-nav__logo { color: var(--pf-ink); font-weight: 800; letter-spacing: -0.02em; }
.onf-nav__link { color: var(--pf-ink-soft); font-weight: 500; }
.onf-nav__link:hover,
.onf-nav__link--active { color: var(--pf-ink); }
.onf-nav__link--active::after { background: var(--pf-accent); }

/* ---------- Section shell ---------- */
.pf-section {
  max-width: var(--pf-maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.pf-section--wide { max-width: 1320px; }

.pf-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pf-accent);
}
.pf-head {
  max-width: var(--pf-maxw);
  margin: 0 auto;
  padding: 0 24px 32px;
}
.pf-head__title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pf-ink);
  margin: 10px 0 10px;
  line-height: 1.05;
}
.pf-head__sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--pf-ink-soft);
  max-width: 620px;
}

/* ---------- Project cards (editorial, light) ---------- */
.pf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--pf-maxw);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.pf-card {
  display: flex;
  flex-direction: column;
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  border-radius: var(--pf-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(23, 24, 28, 0.04);
  transition: transform 0.35s var(--ease-spring, cubic-bezier(.16,1,.3,1)),
              box-shadow 0.35s ease, border-color 0.35s ease;
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(23, 24, 28, 0.16);
  border-color: rgba(224, 86, 127, 0.35);
}

.pf-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pf-surface-2);
}
.pf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-smooth, ease);
}
.pf-card:hover .pf-card__media img { transform: scale(1.06); }

.pf-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pf-ink-soft);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(23, 24, 28, 0.10);
}
.pf-card__badge--live { color: #0a7d3c; }
.pf-card__badge--live::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.pf-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}
.pf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pf-ink-soft);
  background: var(--pf-surface-2);
  border: 1px solid var(--pf-line-soft);
  padding: 3px 9px;
  border-radius: 100px;
}
.pf-card__title {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--pf-ink);
}
.pf-card__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--pf-ink-soft);
}
.pf-card__cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pf-accent);
}
.pf-card__cta svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.pf-card:hover .pf-card__cta svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .pf-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pf-cards { grid-template-columns: 1fr; gap: 20px; padding-bottom: 64px; }
}

/* ---------- About teaser band ---------- */
.pf-about {
  background: var(--pf-surface);
  border-top: 1px solid var(--pf-line-soft);
  border-bottom: 1px solid var(--pf-line-soft);
  padding: 72px 0;
}
.pf-about__inner {
  max-width: var(--pf-maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}
.pf-about__avatar {
  width: 180px; height: 180px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  box-shadow: 0 12px 30px rgba(23, 24, 28, 0.12);
}
.pf-about__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-about__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--pf-ink); margin-bottom: 6px; }
.pf-about__role { font-size: 0.95rem; font-weight: 600; color: var(--pf-accent); margin-bottom: 14px; }
.pf-about__bio { font-size: 1rem; line-height: 1.65; color: var(--pf-ink-soft); max-width: 640px; margin-bottom: 20px; }
.pf-about__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .pf-about__inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .pf-about__avatar { width: 120px; height: 120px; }
}

/* ---------- Buttons (shared) ---------- */
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pf-btn svg { width: 17px; height: 17px; }
.pf-btn--primary { background: var(--pf-ink); color: #fff; }
.pf-btn--primary:hover { transform: translateY(-2px); background: #000; }
.pf-btn--accent { background: var(--pf-accent); color: #fff; }
.pf-btn--accent:hover { transform: translateY(-2px); background: #1d4ed8; }
.pf-btn--ghost { background: var(--pf-surface); color: var(--pf-ink); border-color: var(--pf-line); }
.pf-btn--ghost:hover { border-color: var(--pf-ink); transform: translateY(-2px); }

/* ---------- Simple page hero (Work) ---------- */
.pf-page-hero { padding: 120px 0 36px; }
.pf-page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--pf-ink); margin: 12px 0 16px;
}
.pf-page-hero__sub { font-size: 1.05rem; line-height: 1.65; color: var(--pf-ink-soft); max-width: 640px; }
.pf-cards--page { padding-top: 8px; }

/* ---------- About page hero ---------- */
.pf-abouthero { padding: 120px 0 20px; }
.pf-abouthero__inner {
  display: grid; grid-template-columns: 1fr 230px; gap: 46px; align-items: center;
  max-width: var(--pf-maxw); margin: 0 auto; padding: 0 24px;
}
/* text sits in the first column so it lines up with My Story / What I bring;
   the photo is placed into the second column without reordering the markup */
.pf-abouthero__text { grid-column: 1; grid-row: 1; }
.pf-abouthero__photo { grid-column: 2; grid-row: 1; justify-self: end; }
.pf-abouthero__photo {
  width: 230px; height: 270px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--pf-line); box-shadow: 0 18px 44px rgba(23, 24, 28, 0.14);
}
.pf-abouthero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-abouthero__name { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; color: var(--pf-ink); margin: 8px 0 6px; }
.pf-abouthero__role { font-size: 1.05rem; font-weight: 600; color: var(--pf-accent); margin-bottom: 16px; }
.pf-abouthero__bio { font-size: 1.05rem; line-height: 1.7; color: var(--pf-ink-soft); max-width: 620px; margin-bottom: 22px; }
.pf-abouthero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .pf-abouthero__inner { grid-template-columns: 1fr; gap: 24px; }
  /* single column on mobile: photo first, then the text */
  .pf-abouthero__photo { width: 150px; height: 180px; grid-column: 1; grid-row: 1; justify-self: start; }
  .pf-abouthero__text { grid-column: 1; grid-row: 2; }
}

/* ---------- Story prose ---------- */
.pf-story { padding: 8px 0 20px; }
.pf-story__inner { max-width: var(--pf-maxw); margin: 0 auto; padding: 0 24px; }
.pf-story__lead {
  max-width: 860px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--pf-ink);
  margin: 4px 0 28px;
  padding-left: 20px;
  border-left: 3px solid var(--pf-accent);
}
.pf-story__lead .hl { color: var(--pf-accent); }
.pf-story__body { max-width: 760px; }
.pf-story__body p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--pf-ink-soft);
  margin-bottom: 18px;
}
.pf-story__body p:first-of-type { color: var(--pf-ink); font-size: 1.14rem; }
.pf-story__body strong { color: var(--pf-ink); font-weight: 600; }

/* ---------- Photo hobby cards ---------- */
.pf-hobbies--photo { grid-template-columns: repeat(4, 1fr); }
.pf-hobby--photo {
  padding: 0; overflow: hidden; text-align: left;
  border: 1px solid var(--pf-line); position: relative;
}
.pf-hobby__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pf-surface-2); }
.pf-hobby__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pf-hobby--photo:hover .pf-hobby__media img { transform: scale(1.05); }
.pf-hobby__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px; z-index: 2;
  background: linear-gradient(to top, rgba(10,10,20,0.92) 0%, rgba(10,10,20,0.5) 60%, transparent 100%);
}
.pf-hobby__cap .pf-hobby__label { color: #fff; font-size: 1rem; }
.pf-hobby__cap .pf-hobby__sub { color: rgba(255,255,255,0.75); }
.pf-hobby__media--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #17181c 0%, #2b2723 100%);
}
.pf-hobby__ph-emoji { font-size: 3rem; line-height: 1; }
@media (max-width: 900px) { .pf-hobbies--photo { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Generic content block ---------- */
.pf-block { padding: 60px 0; }
.pf-block__inner { max-width: var(--pf-maxw); margin: 0 auto; padding: 0 24px; }
.pf-block--surface { background: var(--pf-surface); border-top: 1px solid var(--pf-line-soft); border-bottom: 1px solid var(--pf-line-soft); }
.pf-block__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--pf-ink); margin: 8px 0 8px; }
.pf-block__intro { font-size: 1rem; line-height: 1.6; color: var(--pf-ink-soft); max-width: 620px; margin-bottom: 30px; }

/* ---------- Capability grid ---------- */
.pf-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pf-cap { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 14px; padding: 24px; }
.pf-block--surface .pf-cap { background: var(--pf-surface-2); }
.pf-cap__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--pf-accent-soft); color: var(--pf-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pf-cap__icon svg { width: 21px; height: 21px; }
.pf-cap__title { font-size: 1.05rem; font-weight: 700; color: var(--pf-ink); margin-bottom: 6px; }
.pf-cap__desc { font-size: 0.9rem; line-height: 1.55; color: var(--pf-ink-soft); }
@media (max-width: 820px) { .pf-caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pf-caps { grid-template-columns: 1fr; } }

/* ---------- Beyond the screen (hobbies) ---------- */
.pf-hobbies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-hobby { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 14px; padding: 24px 18px; text-align: center; }
.pf-block--surface .pf-hobby { background: var(--pf-surface-2); }
.pf-hobby__emoji { font-size: 1.9rem; margin-bottom: 10px; line-height: 1; }
.pf-hobby__label { font-size: 0.92rem; font-weight: 600; color: var(--pf-ink); }
.pf-hobby__sub { font-size: 0.78rem; color: var(--pf-ink-soft); margin-top: 3px; }
@media (max-width: 640px) { .pf-hobbies { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Shipped-product proof band ---------- */
/* ---------- opening statement ---------- */
.pf-statement { padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 6vw, 64px); }
.pf-statement__text {
  max-width: 68ch;
  font-size: clamp(1.12rem, 1.75vw, 1.6rem);
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--pf-ink-soft);
}
.pf-statement__text strong { color: var(--pf-ink); font-weight: 700; }

/* ---------- shipped-product proof ---------- */
.pf-proof { padding: 0 0 64px; }

/* Ticker. Two identical tracks side by side; the pair slides exactly one
   track width, so the loop has no seam. */
.pf-ticker {
  position: relative;
  overflow: hidden;
  background: var(--pf-accent);
  color: #fff5f8;
  padding: 13px 0;
  margin-bottom: clamp(34px, 5vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.pf-ticker__row { display: flex; width: max-content; animation: pfTicker 26s linear infinite; }
.pf-ticker:hover .pf-ticker__row { animation-play-state: paused; }

.pf-ticker__track { display: flex; align-items: center; flex: 0 0 auto; }

.pf-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pf-ticker__item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 245, 248, 0.55);
}

@keyframes pfTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-ticker__row { animation: none; }
}
/* Light now: the black slab fought the stone palette everywhere around it. */
.pf-proof__card {
  max-width: var(--pf-maxw); margin: 0 auto;
  background: var(--pf-surface);
  color: var(--pf-ink);
  border: 1px solid var(--pf-line);
  border-radius: 22px; padding: 44px;
  box-shadow: 0 18px 44px rgba(90, 76, 58, 0.10);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center;
}
.pf-proof__phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.pf-proof__phone {
  width: 158px; border-radius: 22px; overflow: hidden;
  border: 5px solid #14130f; background: #14130f;
  box-shadow: 0 18px 38px rgba(90, 76, 58, 0.32);
}
.pf-proof__phone img { width: 100%; display: block; }
.pf-proof__phone--front { position: relative; z-index: 2; }
.pf-proof__phone--back { transform: translateX(-28px) translateY(-14px) rotate(-6deg) scale(0.9); opacity: 0.92; }
@media (max-width: 860px) {
  .pf-proof__card { grid-template-columns: 1fr; }
  .pf-proof__phones { margin-top: 8px; }
}
@media (max-width: 560px) {
  .pf-proof { padding: 44px 0; }
  .pf-proof .pf-proof__card { padding: 26px 22px; border-radius: 18px; gap: 26px; }
  .pf-proof .pf-proof__badge { margin-bottom: 14px; }
  .pf-proof .pf-proof__title { font-size: 1.42rem; line-height: 1.2; }
  .pf-proof .pf-proof__text { font-size: 0.95rem; line-height: 1.62; margin-bottom: 22px; }
  /* even 3-up stats instead of an orphaned 'Solo' */
  .pf-proof .pf-proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
  .pf-proof .pf-proof__stat-num { font-size: 1.5rem; }
  .pf-proof .pf-proof__stat-label { font-size: 0.7rem; line-height: 1.3; }
  /* full-width tap target */
  .pf-proof .pf-proof__cta { display: flex; width: 100%; justify-content: center; margin-top: 22px; padding: 14px 22px; }
  /* single clean phone instead of a cramped overlap */
  .pf-proof .pf-proof__phones { margin-top: 4px; }
  .pf-proof .pf-proof__phone--back { display: none; }
  .pf-proof .pf-proof__phone--front { width: 200px; }
}
.pf-proof__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0a7d3c; background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.28); border-radius: 100px; padding: 6px 14px; margin-bottom: 18px;
}
.pf-proof__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.pf-proof__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.pf-proof__text { font-size: 1.02rem; line-height: 1.7; color: var(--pf-ink-soft); max-width: 640px; margin-bottom: 26px; }
.pf-proof__text strong { color: var(--pf-ink); font-weight: 700; }
.pf-proof__stats { display: flex; flex-wrap: wrap; gap: 40px; }
.pf-proof__stat-num { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--pf-ink); }
.pf-proof__stat-label { font-size: 0.82rem; color: var(--pf-ink-soft); margin-top: 2px; }
.pf-proof__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 12px 22px; border-radius: 10px;
  background: var(--pf-ink); color: #fff; font-weight: 700; font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.pf-proof__cta svg { width: 17px; height: 17px; }
.pf-proof__cta:hover { transform: translateY(-2px); background: var(--pf-accent); }
@media (max-width: 640px) { .pf-proof__card { padding: 30px; } .pf-proof__stats { gap: 24px; } }

/* ---------- Footer polish ---------- */
.onf-footer {
  background: var(--pf-surface);
  border-top: 1px solid var(--pf-line-soft);
}
.onf-footer__name { color: var(--pf-ink); }
.onf-footer__link { color: var(--pf-ink-soft); }
.onf-footer__link:hover { color: var(--pf-accent); }
.onf-footer__copy { color: var(--pf-ink-soft); }

/* ---------- Featured Work section head ---------- */
.onf-section-title { color: var(--pf-ink) !important; }
.onf-section-sub { color: var(--pf-ink-soft) !important; }

/* ---------- Hero buttons in light ---------- */
.onf-btn--primary { background: var(--pf-ink); color: #fff; }
.onf-btn--primary:hover { background: #000; }
.onf-btn--secondary {
  background: #fff;
  color: var(--pf-ink) !important;
  border: 1px solid var(--pf-line);
}
.onf-btn--secondary:hover { border-color: var(--pf-ink); background: #fff; }

/* ---------- Hero refinements (kept, de-noised) ---------- */
.onf-hero-intro__eyebrow { color: var(--pf-accent) !important; }
.onf-hero-intro__title { color: var(--pf-ink) !important; }
.onf-hero-intro__desc { color: var(--pf-ink-soft) !important; }
.onf-team { background: var(--pf-surface); border: 1px solid var(--pf-line); box-shadow: 0 18px 40px rgba(20,20,43,0.10); }
.onf-team__title { color: var(--pf-ink); }
.onf-team__sub { color: var(--pf-ink-soft); }
.onf-pipe__role { color: var(--pf-ink); }
.onf-pipe__desc { color: var(--pf-ink-soft); }

/* ---------- Mobile menu: dark panel, white text ---------- */
@media (max-width: 810px) {
  .onf-nav .onf-nav__links {
    background: #17181c;
    border-left-color: rgba(255, 255, 255, 0.08);
    box-shadow: -14px 0 44px rgba(0, 0, 0, 0.4);
  }
  .onf-nav .onf-nav__link { color: rgba(255, 255, 255, 0.82); }
  .onf-nav .onf-nav__link:hover,
  .onf-nav .onf-nav__link--active { color: #ffffff; }
  /* When the panel is open, keep the top-right icons visible over the dark panel */
  .onf-nav__links--open ~ .onf-nav__actions .onf-nav__btn { color: #ffffff; }
  .onf-nav__links--open ~ .onf-nav__actions .onf-nav__btn:hover { background: rgba(255, 255, 255, 0.12); }
  .onf-nav__actions .onf-nav__hamburger--open span { background: #ffffff; }
}

/* ---------- Work page: showcase cards (restored featured design) ---------- */
.pf-feats { max-width: var(--pf-maxw); margin: 0 auto; padding: 0 24px 96px; display: flex; flex-direction: column; gap: 30px; }

.pf-feat {
  --feat: #e0567f; --feat-dark: #1d4ed8;
  --feat-tint: rgba(224, 86, 127, 0.10); --feat-line: rgba(224, 86, 127, 0.28);
  --feat-glow: rgba(224, 86, 127, 0.14); --feat-glow-hi: rgba(224, 86, 127, 0.22);
  --feat-bg: #f8faff;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: linear-gradient(180deg, #ffffff, var(--feat-bg));
  border: 2px solid var(--feat); border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px var(--feat-glow); text-decoration: none;
  transition: transform 0.35s var(--ease-spring, ease), box-shadow 0.35s ease;
}
.pf-feat--live {
  --feat: #16a34a; --feat-dark: #0a7d3c;
  --feat-tint: rgba(22, 163, 74, 0.10); --feat-line: rgba(22, 163, 74, 0.28);
  --feat-glow: rgba(22, 163, 74, 0.14); --feat-glow-hi: rgba(22, 163, 74, 0.22);
  --feat-bg: #f6fdf9;
}
.pf-feat:hover { transform: translateY(-4px); box-shadow: 0 28px 62px var(--feat-glow-hi); }

.pf-feat__media { position: relative; overflow: hidden; background: var(--pf-surface-2); min-height: 400px; grid-column: 2; grid-row: 1; }
.pf-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* iPhone mockups as card media */
.pf-feat__phones {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-start; justify-content: center; gap: 16px;
  background: linear-gradient(160deg, #ffffff 0%, var(--feat-bg) 100%);
  padding: 26px 18px 0;
}
/* Phones run taller than the card and clip at the bottom, so the UI reads at a
   legible scale instead of squeezing a whole screen into a thumbnail. */
.pf-feat__phone {
  height: 540px; max-height: none; aspect-ratio: 9 / 19.5;
  border-radius: 24px; border: 5px solid #14130f; background: #14130f;
  overflow: hidden; box-shadow: 0 16px 34px rgba(23, 24, 28, 0.28);
}
.pf-feat__phone img {
  position: static; inset: auto;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.pf-feat__phone--back { transform: translateY(10px) rotate(-4deg) scale(0.92); }
.pf-feat__phone--front { transform: rotate(2.5deg); z-index: 2; }

.pf-feat__ribbon {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--feat); padding: 7px 14px; border-radius: 100px;
  box-shadow: 0 6px 16px var(--feat-glow-hi);
}
.pf-feat__ribbon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
/* the live dot belongs to the shipped product only */
.pf-feat:not(.pf-feat--live) .pf-feat__ribbon::before { display: none; }

.pf-feat__body { padding: 40px; display: flex; flex-direction: column; gap: 14px; grid-column: 1; grid-row: 1; }
.pf-feat__badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--feat-dark); background: var(--feat-tint); border: 1px solid var(--feat-line);
  border-radius: 100px; padding: 6px 13px;
}
.pf-feat__title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--pf-ink); min-height: 2.3em; }
.pf-feat__desc { font-size: 1rem; line-height: 1.6; color: var(--pf-ink-soft); }
.pf-feat__desc strong { color: var(--pf-ink); font-weight: 600; }
.pf-feat__stats { display: flex; gap: 34px; margin-top: 4px; flex-wrap: wrap; }
.pf-feat__stats b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--pf-ink); letter-spacing: -0.02em; }
.pf-feat__stats span { font-size: 0.76rem; color: var(--pf-ink-soft); }
.pf-feat__cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; font-weight: 700; color: var(--feat-dark); }
.pf-feat__cta svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.pf-feat:hover .pf-feat__cta svg { transform: translateX(4px); }

@media (max-width: 820px) {
  .pf-feats { gap: 24px; padding-bottom: 64px; }
  .pf-feat { grid-template-columns: 1fr; }
  .pf-feat__media { min-height: 0; aspect-ratio: 16 / 10; grid-column: 1; grid-row: 1; }
  .pf-feat__body { grid-column: 1; grid-row: 2; }
  .pf-feat__media { aspect-ratio: 16 / 11; }
  .pf-feat__phones { padding: 18px 14px 0; gap: 12px; }
  .pf-feat__phone { height: 360px; max-height: none; }
  .pf-feat__media img { position: static; inset: auto; }
  .pf-feat__body { padding: 26px 22px; }
  .pf-feat__title { font-size: 1.45rem; min-height: 0; }
  .pf-feat__stats { gap: 20px; }
  .pf-feat__stats b { font-size: 1.25rem; }
}


/* High-contrast ticker: explicit colors remain readable in every theme. */
.pf-proof .pf-ticker {
  background: #d83f70;
  color: #ffffff;
}

.pf-proof .pf-ticker__item {
  color: #ffffff;
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-shadow: 0 1px 1px rgba(67, 12, 31, 0.2);
}

.pf-proof .pf-ticker__item::after {
  background: #ffffff;
  opacity: 0.78;
}
