/*
Theme Name: Base Child Theme
Description: Blank child theme. Put customisations here so the parent theme stays untouched.
Template: comfysocks-theme
Version: 1.0.0
*/

/* Design reset 2026-07-10: all previous portfolio CSS removed.
   Full v31 backup lives in the session scratchpad + draft post 73.
   New design gets built from scratch below this line. */


/* ============================================================
   MODULE: hero / top banner
   Figma "Forside" 2:120 — exact values, read 2026-07-10.
   bg (Rect 60): x -6..1472, h 1269 of 810 visible = 157%;
   layers: mesh.jpg -> video color-burn -> multiply top -> white fade.
   ============================================================ */
body { background:#ffffff; margin:0; }
.pf-hero { position:relative; min-height:90vh; }
.pf-hero, .pf-hero * { box-sizing:border-box; font-family:'Montserrat',sans-serif; }

.pf-hero__bg {
    position:absolute; top:0; left:-6px; right:-6px; height:157%;
    border-radius:20px; overflow:hidden; z-index:0; isolation:isolate;
    background-color:#0a0a10; background-size:cover; background-position:center;
}
.pf-hero__video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; mix-blend-mode:color-burn; }
.pf-hero__multiply { position:absolute; inset:0; mix-blend-mode:multiply; background:linear-gradient(180deg, rgba(0,0,0,0.27) 25.034%, rgba(0,0,0,0) 53.65%); }
.pf-hero__fade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(255,255,255,0) 72.965%, rgba(255,255,255,0.427) 81.252%, rgba(255,255,255,0.79) 87.615%, #ffffff 96.716%); }

/* nav: dark pill (Figma rgba(20,20,20,.76) + blur 26) + separate dark Contact pill */
.pf-nav { position:absolute; top:42px; left:50%; transform:translateX(-50%); z-index:5; display:flex; gap:4px; height:47px; }
.pf-nav__pill {
    display:flex; align-items:center; height:47px;
    padding:0 32px 0 24px; border-radius:100px;
    background:rgba(20,20,20,0.76);
    -webkit-backdrop-filter:blur(26px); backdrop-filter:blur(26px);
}
.pf-nav__logo { display:inline-flex; align-items:center; margin-right:73px; color:#ffffff; font-size:16px; font-weight:500; text-decoration:none; }
.pf-nav__logo img { height:17px; width:auto; display:block; }
.pf-nav__link { color:rgba(255,255,255,0.85); font-size:15px; line-height:1.221; font-weight:400; text-decoration:none; transition:color .2s ease; }
.pf-nav__link + .pf-nav__link { margin-left:37px; }
.pf-nav__link:hover { color:#ffffff; }
.pf-nav__cta {
    width:119px; display:flex; align-items:center; justify-content:center;
    border-radius:100px; background:rgba(20,20,20,0.76);
    -webkit-backdrop-filter:blur(26px); backdrop-filter:blur(26px);
    color:#ffffff; font-size:15px; font-weight:500; text-decoration:none;
}

/* centre text block: Figma block centre = 67% of banner height */
.pf-hero__center {
    position:relative; z-index:2; min-height:90vh;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:clamp(120px, 30vh, 300px) 20px 0; text-align:center;
}
.pf-hero__eyebrow { margin:0 0 15px; color:#ffffff; font-size:18px; font-weight:300; line-height:1.221; }
.pf-hero__eyebrow strong { font-weight:500; }
.pf-hero__heading { margin:0; color:#ffffff; font-size:clamp(40px, 5vw, 72px); font-weight:300; line-height:1.14; letter-spacing:-0.48px; }
.pf-hero__heading span { font-weight:400; }
.pf-hero__scroll { position:absolute; bottom:49px; left:50%; transform:translateX(-50%); z-index:2; margin:0; color:#ffffff; font-size:11px; font-weight:500; line-height:22px; }

@media (max-width:760px) {
    .pf-nav__logo { margin-right:28px; }
    .pf-nav__link + .pf-nav__link { margin-left:20px; }
    .pf-nav__pill { padding:0 20px 0 18px; }
    .pf-nav__cta { width:96px; }
}


/* neutralise parent theme chrome (Comfysocks header/footer) */
#cs-nav, .cs-nav, footer.cs-footer { display:none !important; }


/* ============================================================
   hero motion: entrance bloom + scroll drift + contact hover
   ============================================================ */
/* background loads brighter and more vibrant, settles over 5s */
@keyframes pf-bg-bloom {
    0%   { filter: brightness(1.16) saturate(1.22); }
    55%  { filter: brightness(1.09) saturate(1.12); }
    100% { filter: brightness(1) saturate(1); }
}
.pf-hero__bg { animation: pf-bg-bloom 5s cubic-bezier(.3,.1,.3,1) both; }

/* scroll indicator: slow drift down, fade, re-enter from above */
@keyframes pf-scroll-drift {
    0%, 18%   { transform: translateX(-50%) translateY(0); opacity: .9; }
    55%       { transform: translateX(-50%) translateY(9px); opacity: 0; }
    56%       { transform: translateX(-50%) translateY(-7px); opacity: 0; }
    78%, 100% { transform: translateX(-50%) translateY(0); opacity: .9; }
}
.pf-hero__scroll { animation: pf-scroll-drift 3.4s cubic-bezier(.45,0,.25,1) infinite; }

/* contact button: soft white inversion + gentle lift on hover */
.pf-nav__cta {
    transition: background-color .35s cubic-bezier(.33,0,.2,1),
                color .35s cubic-bezier(.33,0,.2,1),
                transform .35s cubic-bezier(.33,0,.2,1);
}
.pf-nav__cta:hover { background: rgba(255,255,255,.94); color: #141414; transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
    .pf-hero__bg, .pf-hero__scroll { animation: none; }
    .pf-nav__cta { transition: none; }
}


/* scroll flanking lines (adapted from dev.maigatter.dk .scroll-line pulse):
   faint 1px tracks each side of "Scroll", bright pulse sweeps outward */
.pf-hero__scroll {
    animation: none;
    display: flex; align-items: center; gap: 14px;
    opacity: .9; white-space: nowrap;
}
.pf-hero__scroll::before, .pf-hero__scroll::after {
    content: ""; width: 56px; height: 1px; flex: none;
    background-color: rgba(255,255,255,.22);
    background-image: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
    background-size: 45% 100%; background-repeat: no-repeat;
    background-position: -60% 0;
}
.pf-hero__scroll::before { animation: pf-line-sweep-l 2.2s cubic-bezier(.45,0,.25,1) infinite; }
.pf-hero__scroll::after  { animation: pf-line-sweep-r 2.2s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes pf-line-sweep-l { 0% { background-position: 170% 0; } 100% { background-position: -60% 0; } }
@keyframes pf-line-sweep-r { 0% { background-position: -60% 0; } 100% { background-position: 170% 0; } }

@media (prefers-reduced-motion: reduce) {
    .pf-hero__scroll::before, .pf-hero__scroll::after { animation: none; }
}


/* multiply overlay eases in over 3s (was flattening the colours at load) */
@keyframes pf-multiply-in { from { opacity: .35; } to { opacity: 1; } }
.pf-hero__multiply { animation: pf-multiply-in 3s ease-out both; }

/* ============================================================
   sticky nav + hamburger collapse
   - nav is fixed; past 60px scroll it folds to logo + burger
   - clicking the burger unfolds the links again (burger -> X)
   ============================================================ */
.pf-nav { position: fixed; top: 42px; }
body.admin-bar .pf-nav { top: 74px; }

.pf-nav__pill { transition: padding .45s cubic-bezier(.4,0,.2,1); }
.pf-nav__logo { transition: margin .45s cubic-bezier(.4,0,.2,1); }
.pf-nav__link, .pf-nav__cta { max-width: 130px; }
.pf-nav__link {
    transition: max-width .45s cubic-bezier(.4,0,.2,1), margin .45s cubic-bezier(.4,0,.2,1), opacity .3s ease .12s, color .2s ease;
    overflow: hidden;
}
.pf-nav__cta {
    transition: max-width .45s cubic-bezier(.4,0,.2,1), margin .45s cubic-bezier(.4,0,.2,1), opacity .3s ease .12s,
                background-color .35s cubic-bezier(.33,0,.2,1), color .35s cubic-bezier(.33,0,.2,1), transform .35s cubic-bezier(.33,0,.2,1);
    overflow: hidden; white-space: nowrap;
}

/* burger: hidden in the full nav, appears when compact */
.pf-nav__burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 0; opacity: 0; overflow: hidden;
    padding: 0; border: 0; background: transparent; cursor: pointer;
    transition: width .45s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.pf-nav__burger span { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 2px; flex: none; transition: transform .35s ease; }
.pf-nav--compact .pf-nav__burger { width: 18px; opacity: 1; }
.pf-nav--open .pf-nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.pf-nav--open .pf-nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* compact (and not opened): fold links + Contact away, hug logo + burger */
.pf-nav--compact:not(.pf-nav--open) .pf-nav__link { max-width: 0; opacity: 0; margin-left: 0; }
.pf-nav--compact:not(.pf-nav--open) .pf-nav__cta { max-width: 0; opacity: 0; margin-left: -4px; padding: 0; }
.pf-nav--compact:not(.pf-nav--open) .pf-nav__logo { margin-right: 22px; }

@media (prefers-reduced-motion: reduce) {
    .pf-hero__multiply { animation: none; }
}


/* elastic nav fold: springy ease + no close button when unfolded */
.pf-nav__pill { transition: padding .55s cubic-bezier(.34,1.56,.64,1); }
.pf-nav__logo { transition: margin .55s cubic-bezier(.34,1.56,.64,1); }
.pf-nav__link {
    transition: max-width .55s cubic-bezier(.34,1.56,.64,1), margin .55s cubic-bezier(.34,1.56,.64,1),
                opacity .3s ease .14s, color .2s ease;
}
.pf-nav__cta {
    transition: max-width .55s cubic-bezier(.34,1.56,.64,1), margin .55s cubic-bezier(.34,1.56,.64,1),
                opacity .3s ease .14s,
                background-color .35s cubic-bezier(.33,0,.2,1), color .35s cubic-bezier(.33,0,.2,1), transform .35s cubic-bezier(.33,0,.2,1);
}
.pf-nav__burger { transition: width .55s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }

/* unfolded (open): the burger disappears entirely — scrolling refolds the menu */
.pf-nav--open .pf-nav__burger { width: 0; opacity: 0; }


/* cta pop on unfold: Contact arrives ~180ms after the links, with a springy pop.
   Only on expand — collapsing keeps everything together. */
.pf-nav--open .pf-nav__cta {
    transition-delay: .18s, .18s, .22s, 0s, 0s, 0s; /* max-width, margin, opacity, bg, color, transform */
    animation: pf-cta-pop .45s cubic-bezier(.34,1.56,.64,1) .18s backwards;
}
@keyframes pf-cta-pop {
    0%   { transform: scale(.55); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-nav--open .pf-nav__cta { animation: none; transition-delay: 0s; }
}


/* ============================================================
   MODULE: projects / glass section
   Figma 21:44: white 10% + backdrop blur 26, radius 20, inset 16.
   Panel 1882 of 810 banner-viewport = ~209vh. Cards per Figma slots.
   ============================================================ */
.pf-projects {
    position: relative; margin: 0 16px 18px; border-radius: 20px;
    background: rgba(255,255,255,0.10);
    -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
    min-height: 209vh;
    font-family: 'Montserrat', sans-serif;
}
.pf-projects__sticky {
    position: sticky; top: 0; min-height: 100vh;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 120px; pointer-events: none;
}
.pf-projects__intro {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    max-width: 697px; padding: 0 20px; pointer-events: auto;
}
.pf-projects__heading { margin: 0; color: #fff; font-size: clamp(32px, 3.5vw, 50px); font-weight: 300; line-height: 1.221; letter-spacing: -3.5px; }
.pf-projects__button {
    margin-top: 12px; display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px 11px; border-radius: 100px;
    background: rgba(255,255,255,0.06);
    -webkit-backdrop-filter: blur(71.75px); backdrop-filter: blur(71.75px);
    color: #fff; font-size: 15px; font-weight: 500; line-height: 23px; text-decoration: none;
    transition: background-color .35s cubic-bezier(.33,0,.2,1), color .35s cubic-bezier(.33,0,.2,1), transform .35s cubic-bezier(.33,0,.2,1);
}
.pf-projects__button:hover { background: rgba(255,255,255,.94); color: #141414; transform: scale(1.04); }
.pf-projects__text { margin: 46px 0 0; max-width: 518px; color: #c7c7c7; font-size: 16px; font-weight: 400; line-height: 22px; }
.pf-projects__scrollhint { display: flex; align-items: center; gap: 14px; margin: 120px 0 0; color: #fff; font-size: 11px; font-weight: 500; line-height: 22px; opacity: .9; white-space: nowrap; }
.pf-projects__scrollhint::before, .pf-projects__scrollhint::after {
    content: ""; width: 56px; height: 1px; flex: none;
    background-color: rgba(255,255,255,.22);
    background-image: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
    background-size: 45% 100%; background-repeat: no-repeat; background-position: -60% 0;
}
.pf-projects__scrollhint::before { animation: pf-line-sweep-l 2.2s cubic-bezier(.45,0,.25,1) infinite; }
.pf-projects__scrollhint::after  { animation: pf-line-sweep-r 2.2s cubic-bezier(.45,0,.25,1) infinite; }

/* cards (Figma Technical slider): radius 15, drop-shadow, multiply gradient */
.pf-projects__cards { position: absolute; inset: 0; }
.pf-card {
    position: absolute; display: block; border-radius: 15px; overflow: hidden;
    box-shadow: 0 4px 7.5px rgba(0,0,0,0.25); text-decoration: none;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.pf-card--s { width: 151px; height: 163px; }
.pf-card--m { width: 233px; height: 252px; }
.pf-card--l { width: 281px; height: 304px; }
.pf-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-card__shade { position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(72.1509deg, rgba(0,0,0,0.3) 22.112%, rgba(102,102,102,0) 78.967%); }
.pf-card__body { position: absolute; left: 7.83%; right: 10.68%; bottom: 22px; display: flex; flex-direction: column; }
.pf-card__title { color: #fff; font-size: 15px; font-weight: 500; line-height: 23px; }
.pf-card__excerpt { color: #fff; font-size: 14px; font-weight: 400; line-height: 17px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.33,0,.2,1), opacity .3s ease, margin .45s cubic-bezier(.33,0,.2,1); }
.pf-card__more { color: #fff; font-size: 14px; font-weight: 400; line-height: 22px; text-decoration: underline; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.33,0,.2,1), opacity .3s ease .08s, margin .45s cubic-bezier(.33,0,.2,1); }
.pf-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.pf-card:hover .pf-card__excerpt { max-height: 90px; opacity: 1; margin-top: 6px; }
.pf-card:hover .pf-card__more { max-height: 24px; opacity: 1; margin-top: 8px; }
.pf-card--s .pf-card__excerpt { display: none; }

@media (max-width: 900px) {
    .pf-projects { min-height: 240vh; }
    .pf-card--l { width: 200px; height: 217px; }
    .pf-card--m { width: 170px; height: 184px; }
    .pf-card--s { width: 120px; height: 130px; }
    .pf-projects__heading { letter-spacing: -1.5px; }
}


/* h1 blob in/out: springy entrance at load, blobs away on scroll toward
   the next section (same elastic motif as the Contact pop) */
@keyframes pf-h1-in {
    0%   { opacity: 0; transform: scale(.92) translateY(14px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.pf-hero__heading {
    animation: pf-h1-in .8s cubic-bezier(.34,1.56,.64,1) .25s backwards;
    transition: opacity .45s cubic-bezier(.33,0,.2,1), transform .55s cubic-bezier(.34,1.56,.64,1);
}
.pf-hero--away .pf-hero__heading { opacity: 0; transform: scale(.9) translateY(-18px); }

@media (prefers-reduced-motion: reduce) {
    .pf-hero__heading { animation: none; transition: none; }
    .pf-hero--away .pf-hero__heading { opacity: 1; transform: none; }
}


/* ============================================================
   card entrance + dark text over white zone
   ============================================================ */
/* cards: springy entrance when they come into view */
.pf-card {
    opacity: 0; transform: translateY(26px) scale(.94);
    transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .5s ease, box-shadow .35s ease;
}
.pf-card.is-in { opacity: 1; transform: none; }
.pf-card.is-in:hover { transform: translateY(-6px) scale(1.02); }

/* sticky text turns dark once it sits over the white zone */
.pf-projects__heading, .pf-projects__text, .pf-projects__scrollhint, .pf-projects__button { transition-property: color, background-color, opacity, transform; transition-duration: .6s; transition-timing-function: ease; }
.pf-projects__button { transition: color .6s ease, background-color .6s ease, transform .35s cubic-bezier(.33,0,.2,1); }
.pf-projects--dark .pf-projects__heading { color: #141414; }
.pf-projects--dark .pf-projects__text { color: #5b5b5e; }
.pf-projects--dark .pf-projects__scrollhint { color: #3a3a40; }
.pf-projects--dark .pf-projects__scrollhint::before,
.pf-projects--dark .pf-projects__scrollhint::after {
    background-color: rgba(0,0,0,.18);
    background-image: linear-gradient(90deg, transparent, #141414 50%, transparent);
}
.pf-projects--dark .pf-projects__button { background: rgba(20,20,20,.08); color: #141414; }
.pf-projects--dark .pf-projects__button:hover { background: #141414; color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
    .pf-card { opacity: 1; transform: none; transition: box-shadow .35s ease; }
}


/* entrance polish: eyebrow joins the blob sequence; longer delays so the
   video settles before the text arrives (no stutter) */
@keyframes pf-eyebrow-in {
    0%   { opacity: 0; transform: scale(.95) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.pf-hero__eyebrow {
    animation: pf-eyebrow-in .7s cubic-bezier(.34,1.56,.64,1) 1s backwards;
    transition: opacity .45s cubic-bezier(.33,0,.2,1), transform .55s cubic-bezier(.34,1.56,.64,1);
}
.pf-hero__heading { animation-delay: 1.3s; animation-duration: .9s; }
.pf-hero--away .pf-hero__eyebrow { opacity: 0; transform: scale(.9) translateY(-14px); }

@media (prefers-reduced-motion: reduce) {
    .pf-hero__eyebrow { animation: none; transition: none; }
    .pf-hero--away .pf-hero__eyebrow { opacity: 1; transform: none; }
}


/* sticky intro: more vertically centred (slight optical bias upward) */
.pf-projects__sticky { align-items: center; padding-top: 0; padding-bottom: 8vh; }


/* ============================================================
   module restructure: shorter glass + video band at the bottom
   (Figma update 10/7: Group 13 h=1192, Rect 63 = video band
   1799-2758 with white overlay; band overlaps glass by 203px)
   Section: 810-2758 = 1948 -> ~216vh.
   ============================================================ */
.pf-projects {
    background: transparent !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    min-height: 216vh;
}
.pf-projects__band {
    position: absolute; left: 0; right: 0; top: 50.8%; bottom: 0;
    border-radius: 20px; overflow: hidden; background: #ffffff;
}
.pf-projects__band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pf-projects__band-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(25.67deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.9) 30%, #ffffff 66%, rgba(255,255,255,.97) 100%);
}
.pf-projects__glass {
    position: absolute; left: 0; right: 0; top: 0; height: 61.2%;
    border-radius: 20px;
    background: rgba(255,255,255,0.10);
    -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
}

/* sticky v2: text starts at the Figma top position, travels up with the
   scroll (parallax feel) and pins near the vertical centre */
.pf-projects__sticky { display: contents; }
.pf-projects__intro {
    position: sticky; top: calc(50vh - 240px);
    margin: 120px auto 0; z-index: 3;
}
.pf-projects__cards { z-index: 2; }

@media (max-width: 900px) {
    .pf-projects { min-height: 240vh; }
}


/* card outro at top: same blob, opposite direction */
.pf-card.is-out { opacity: 0; transform: translateY(-26px) scale(.94); }


/* fix margin-collapse: the intro's top margin collapsed through the section
   and pushed glass+band 120px down. Padding on the section instead. */
.pf-projects { padding-top: 120px; box-sizing: border-box; }
.pf-projects__intro { margin: 0 auto; }


/* cards fade under the sticky text (hover wakes them) */
.pf-card.is-under { opacity: .28; }
.pf-card.is-under:hover { opacity: 1; }


/* sticky bounded to the glass zone: the text releases when the glass ends,
   so the last cards rest clear of it and stay clickable */
.pf-projects__sticky {
    display: block; position: absolute; top: 0; left: 0; right: 0;
    height: 61.2%; pointer-events: none; z-index: 3;
}
.pf-projects__intro { margin: 120px auto 0; pointer-events: auto; }


/* shorter tail only: section 216vh -> 195vh; every layer scaled by
   216/195 so glass, band and cards keep their absolute positions --
   only the empty space before the next module shrinks */
.pf-projects { min-height: 195vh; }
.pf-projects__glass { height: 67.8%; }
.pf-projects__sticky { height: 67.8%; }
.pf-projects__band { top: 56.3%; }


/* ============================================================
   MODULE: statement / dark text section
   Figma Rect 49: #161616, radius 20, h 598. Statement 37px Regular
   ls -0.74 white top-left (max 888); body 16/22 white right (max 510).
   ============================================================ */
.pf-statement {
    position: relative; margin: 0 16px 18px;
    border-radius: 20px; background: #161616;
    padding: 77px 5.7% 79px 5.3%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.pf-statement__lead {
    margin: 0; max-width: 888px;
    color: #ffffff; font-size: clamp(24px, 2.57vw, 37px);
    font-weight: 400; letter-spacing: -0.74px; line-height: 1.25;
}
.pf-statement__body {
    max-width: 510px; margin: 87px 0 0 auto;
    color: #ffffff; font-size: 16px; font-weight: 400; line-height: 22px;
}

@media (max-width: 900px) {
    .pf-statement { padding: 56px 24px 60px; }
    .pf-statement__body { margin: 48px 0 0 0; }
}


/* ============================================================
   DEDICATED MOBILE VERSION (<= 760px) — all modules
   ============================================================ */
@media (max-width: 760px) {

    /* ---- nav: logo + burger; opening unfolds VERTICALLY ---- */
    .pf-nav { top: 16px; max-width: calc(100% - 32px); }
    body.admin-bar .pf-nav { top: 62px; }
    .pf-nav__burger { width: 18px; opacity: 1; }
    .pf-nav:not(.pf-nav--open) .pf-nav__link,
    .pf-nav:not(.pf-nav--open) .pf-nav__cta { max-width: 0; opacity: 0; margin: 0; padding: 0; }
    .pf-nav:not(.pf-nav--open) .pf-nav__logo { margin-right: 22px; }
    .pf-nav--open { flex-direction: column; align-items: stretch; height: auto; gap: 8px; }
    .pf-nav--open .pf-nav__pill {
        flex-direction: column; align-items: flex-start;
        height: auto; padding: 16px 22px 18px; border-radius: 22px; position: relative;
    }
    .pf-nav--open .pf-nav__logo { margin: 2px 0 12px; }
    .pf-nav--open .pf-nav__link { max-width: none; margin: 8px 0 0; font-size: 16px; }
    .pf-nav--open .pf-nav__link + .pf-nav__link { margin-left: 0; }
    .pf-nav--open .pf-nav__burger { position: absolute; top: 20px; right: 20px; }
    .pf-nav--open .pf-nav__cta { max-width: none; width: 100%; margin: 0; height: 44px; }

    /* ---- hero / top banner ---- */
    .pf-hero__center { padding: 26vh 24px 0; }
    .pf-hero__eyebrow { font-size: 15px; margin-bottom: 12px; }
    .pf-hero__heading { font-size: 34px; letter-spacing: -0.5px; }
    .pf-hero__scroll { bottom: 34px; }
    .pf-hero__scroll::before, .pf-hero__scroll::after { width: 40px; }

    /* ---- glass section ---- */
    .pf-projects { padding-top: 90px; }
    .pf-projects__intro { margin-top: 90px; padding: 0 24px; }
    .pf-projects__heading { font-size: 30px; letter-spacing: -1.2px; }
    .pf-projects__text { margin-top: 30px; font-size: 15px; line-height: 21px; }
    .pf-projects__scrollhint { margin-top: 64px; }
    .pf-projects__scrollhint::before, .pf-projects__scrollhint::after { width: 40px; }
    .pf-projects__intro { position: sticky; top: calc(50vh - 200px); }

    /* card sizes on mobile */
    .pf-card--l { width: 200px; height: 217px; }
    .pf-card--m { width: 168px; height: 182px; }
    .pf-card--s { width: 122px; height: 132px; }
    /* mobile spread: keep every card inside the viewport */
    .pf-projects__cards .pf-card:nth-of-type(1) { left: 60% !important; }
    .pf-projects__cards .pf-card:nth-of-type(2) { left: 47% !important; }
    .pf-projects__cards .pf-card:nth-of-type(3) { left: 6% !important; }
    .pf-projects__cards .pf-card:nth-of-type(4) { left: 50% !important; }
    .pf-projects__cards .pf-card:nth-of-type(5) { left: 10% !important; }
    .pf-projects__cards .pf-card:nth-of-type(6) { left: 38% !important; }
    /* hover-reveal is touch-hostile: keep title only */
    .pf-card__excerpt, .pf-card__more { display: none; }

    /* ---- statement ---- */
    .pf-statement { padding: 48px 24px 52px; }
    .pf-statement__lead { font-size: 23px; letter-spacing: -0.4px; line-height: 1.3; }
    .pf-statement__body { max-width: none; margin: 36px 0 0; font-size: 15px; line-height: 21px; }
}


/* mobile spread + overflow clip */
html, body { overflow-x: clip; }
@media (max-width: 760px) {
    .pf-projects { min-height: 300vh; }
    .pf-projects__cards .pf-card:nth-of-type(1) { top: 8% !important; }
    .pf-projects__cards .pf-card:nth-of-type(2) { top: 22% !important; }
    .pf-projects__cards .pf-card:nth-of-type(3) { top: 38% !important; }
    .pf-projects__cards .pf-card:nth-of-type(4) { top: 54% !important; }
    .pf-projects__cards .pf-card:nth-of-type(5) { top: 68% !important; }
    .pf-projects__cards .pf-card:nth-of-type(6) { top: 80% !important; }
}


/* video-in-text statement (Figma bg-clip-text): white letters on the dark
   panel + video with darken blend on top = the video lives INSIDE the text */
.pf-statement__lead-wrap { position: relative; overflow: hidden; isolation: isolate; max-width: 888px; }
.pf-statement__lead-wrap .pf-statement__lead { max-width: none; position: relative; }
.pf-statement__leadvideo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; mix-blend-mode: darken; pointer-events: none;
}


/* video-in-text v2: blend on the TEXT layer (multiply) — Chrome is
   unreliable with blend modes directly on <video> */
.pf-statement__leadvideo { mix-blend-mode: normal; z-index: 0; }
.pf-statement__lead-wrap .pf-statement__lead {
    z-index: 1; background: #161616; color: #ffffff;
    mix-blend-mode: multiply;
}


/* video-in-text v3: multiply is only artefact-free on true black.
   Panel darkened imperceptibly #161616 -> #000 so the box vanishes. */
.pf-statement { background: #000000; }
.pf-statement__lead-wrap .pf-statement__lead { background: #000000; }


/* leadvideo bottom-aligned: show the video's lower part inside the letters
   so the tones continue from the section above */
.pf-statement__leadvideo { object-position: center bottom; }


/* banner composite in the letters: mesh + video color-burn (same stack as
   the top banner), knocked out by the text layer */
.pf-statement__lead-wrap {
    background: url(/wp-content/uploads/2026/07/mesh.jpg) center bottom / cover no-repeat #0a0a10;
}
.pf-statement__leadvideo { mix-blend-mode: color-burn; }


/* letters brightness lift: the bottom slice of the composite has dark zones
   that swallow parts of the text — lift it (black stays black) */
.pf-statement__lead-wrap { filter: brightness(1.35) saturate(1.2); }


/* letters vivid zone: sample mesh+video at the banner's colourful heart
   (colour-burn true blacks can't be lifted by filters) */
.pf-statement__lead-wrap {
    background-position: center 40%;
    filter: brightness(1.15) saturate(1.1);
}
.pf-statement__leadvideo { object-position: center 40%; }


/* letters band-recipe (Figma render 1:1): white letters with soft pastel
   motion — white base + video + white softening overlay, text knockout */
.pf-statement__lead-wrap { background: #ffffff; filter: none; position: relative; }
.pf-statement__lead-wrap::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(25.67deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.68) 45%, rgba(255,255,255,.8) 100%);
}
.pf-statement__leadvideo { mix-blend-mode: normal; opacity: 1; object-position: center; z-index: 0; }


/* knockout seam cover: the black text-layer spills 3px past its box so no
   hairline of the composite peeks at the edges */
.pf-statement__lead-wrap .pf-statement__lead { box-shadow: 0 0 0 3px #000000; }


/* leadvideo band-scale: same size as the band video above (full section
   width) and centred, so the two hang together */
.pf-statement__leadvideo {
    inset: auto;
    width: calc(100vw - 32px); height: auto;
    left: -5.3vw; top: 50%;
    transform: translateY(-50%);
    object-fit: initial; object-position: initial;
}


/* statement skip link: left-aligned with the lead, bottom aligned with the
   body's end; same pulse-line animation as the scroll indicators */
html { scroll-behavior: smooth; }
.pf-statement__skip {
    position: absolute; left: 5.3%; bottom: 79px;
    display: flex; align-items: center; gap: 14px;
    color: #ffffff; font-size: 11px; font-weight: 500; line-height: 22px;
    letter-spacing: .02em; text-decoration: none; opacity: .9; white-space: nowrap;
    transition: opacity .3s ease;
}
.pf-statement__skip:hover { opacity: 1; }
.pf-statement__skip::before, .pf-statement__skip::after {
    content: ""; width: 56px; height: 1px; flex: none;
    background-color: rgba(255,255,255,.22);
    background-image: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
    background-size: 45% 100%; background-repeat: no-repeat; background-position: -60% 0;
}
.pf-statement__skip::before { animation: pf-line-sweep-l 2.2s cubic-bezier(.45,0,.25,1) infinite; }
.pf-statement__skip::after  { animation: pf-line-sweep-r 2.2s cubic-bezier(.45,0,.25,1) infinite; }

@media (max-width: 760px) {
    .pf-statement { padding-bottom: 88px; }
    .pf-statement__skip { left: 24px; bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pf-statement__skip::before, .pf-statement__skip::after { animation: none; }
}


/* ============================================================
   MODULE: skills / row list  (Figma Rect 62 + Frame 11 + Component 7)
   Light panel #f1f1f1 r20; rows 42px Regular black with hairline +
   chevron; card 457x495 overhangs the panel bottom by ~91px.
   ============================================================ */
.pf-skills {
    position: relative; margin: 0 16px 109px;
    border-radius: 20px; background: #f1f1f1;
    min-height: 670px; padding: 251px 0 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.pf-skills__rows { border-top: 1px solid rgba(0,0,0,.18); margin: 0 1px; }
.pf-skills__row {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    height: 105px; padding: 0 52px 0 26px;
    border-bottom: 1px solid rgba(0,0,0,.18);
    text-decoration: none; color: #000;
}
.pf-skills__label { font-size: clamp(26px, 2.9vw, 42px); font-weight: 400; line-height: 1; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.pf-skills__row:hover .pf-skills__label { transform: translateX(14px); }
.pf-skills__arrow { width: 16px; height: 32px; flex: none; position: relative; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.pf-skills__arrow::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 12px; height: 12px; border-top: 2px solid #000; border-right: 2px solid #000;
    transform: translate(-75%, -50%) rotate(45deg);
}
.pf-skills__row:hover .pf-skills__arrow { transform: translateX(8px); }

/* card: 457x495, left 816/1406 = 58%, top 266px, overhangs bottom */
.pf-skills__card {
    position: absolute; left: 58%; top: 266px;
    width: 457px; height: 495px;
    border-radius: 15px; overflow: hidden;
    box-shadow: 0 4px 7.5px rgba(0,0,0,.25);
    z-index: 2;
}
.pf-skills__card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-skills__card-shade { position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(72.17deg, rgba(0,0,0,.3) 22.112%, rgba(102,102,102,0) 78.967%); }
.pf-skills__card-body { position: absolute; left: 35px; right: 35px; top: 32px; color: #fff; }
.pf-skills__card-title { margin: 0; font-size: 21px; font-weight: 500; line-height: 23px; max-width: 282px; }
.pf-skills__card-text { margin: 15px 0 0; font-size: 14px; font-weight: 400; line-height: 17px; max-width: 334px; }
.pf-skills__chipswrap { position: absolute; left: 35px; right: 27px; bottom: 29px; }
.pf-skills__chips-label { margin: 0 0 9px; color: #fff; font-size: 14px; font-weight: 400; line-height: 17px; }
.pf-skills__chips {
    display: flex; flex-wrap: wrap; gap: 9px;
    padding: 14px; border-radius: 9px;
    background: rgba(217,217,217,.68);
}
.pf-skills__chip {
    display: inline-flex; align-items: center; height: 29px; padding: 0 18px;
    border-radius: 100px; background: #ffffff; color: #1c1b1a;
    font-size: 12.5px; font-weight: 500; white-space: nowrap;
}

@media (max-width: 1180px) {
    .pf-skills__card { left: auto; right: 24px; width: 400px; height: 434px; }
}
@media (max-width: 760px) {
    .pf-skills { margin: 0 16px 18px; min-height: 0; padding: 56px 0 32px; }
    .pf-skills__row { height: 76px; padding: 0 24px; }
    .pf-skills__label { font-size: 24px; }
    .pf-skills__arrow::before { width: 9px; height: 9px; }
    .pf-skills__card {
        position: relative; left: auto; right: auto; top: auto;
        width: calc(100% - 48px); height: auto; min-height: 420px;
        margin: 32px auto 0;
    }
    .pf-skills__card-img { position: absolute; }
    .pf-skills__chipswrap { left: 20px; right: 20px; bottom: 20px; }
    .pf-skills__card-body { left: 20px; right: 20px; top: 22px; }
}


/* ---- skills: tighter top + active row marker + rotating card panes ---- */
.pf-skills { padding-top: 72px; min-height: 492px; }
.pf-skills__card { top: 87px; }
.pf-skills__row { justify-content: flex-start; color: #a9a9a9; }
.pf-skills__row::before {
    content: "";
    flex: none;
    width: 0;
    height: 2px;
    background: #000;
    transition: width .5s cubic-bezier(.34,1.56,.64,1), margin-right .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-skills__row.is-active { color: #000; }
.pf-skills__row.is-active::before { width: 34px; margin-right: 18px; }
.pf-skills__label { color: inherit; }
.pf-skills__arrow { margin-left: auto; border-color: currentColor; }
.pf-skills__cardpane {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
    pointer-events: none;
}
.pf-skills__cardpane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pf-skills__chipswrap { z-index: 2; }
@media (max-width: 760px) {
    .pf-skills { padding-top: 48px; min-height: 0; }
    .pf-skills__card { height: 460px; }
}


/* ---- skills: gentler card transition (no elastic overshoot) ---- */
.pf-skills__cardpane {
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease;
}
.pf-skills__cardpane.is-active {
    transform: none;
    transition: opacity .55s cubic-bezier(.22,.61,.36,1) .12s, transform .55s cubic-bezier(.22,.61,.36,1) .12s;
}


/* ---- hero: load-bloom disabled per user (blended oddly after banner adjustments) ---- */
.pf-hero__bg { animation: none; }


/* ---- skills card: pure fade, no motion ---- */
.pf-skills__cardpane {
    transform: none;
    transition: opacity .5s ease;
}
.pf-skills__cardpane.is-active {
    transform: none;
    transition: opacity .5s ease;
}


/* ---- hero: white left gradient over video (smooths blend unevenness) ---- */
.pf-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 42%);
}


/* ---- project cards: autoplay video fills like the image ---- */
video.pf-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Chrome: composited video escapes overflow clipping - radius on the video itself */
    border-radius: 15px;
}


/* ---- skills: mesh glow that follows the cursor (watery reveal) ---- */
.pf-skills__glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(340px 340px at var(--gx, 50%) var(--gy, 50%), rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 48%, transparent 74%);
    mask-image: radial-gradient(340px 340px at var(--gx, 50%) var(--gy, 50%), rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 48%, transparent 74%);
    filter: blur(2px) saturate(1.15);
    transition: opacity .6s ease;
}
.pf-skills:hover .pf-skills__glow { opacity: 1; }
.pf-skills__rows { position: relative; z-index: 1; }
@media (hover: none) {
    .pf-skills__glow { display: none; }
}


/* ---- skills glow v2: liquid trail (finger-in-water) ---- */
.pf-skills__glow {
    -webkit-mask-image:
        radial-gradient(calc(210px * var(--st, 1)) calc(210px * var(--st, 1)) at var(--gx1, 50%) var(--gy1, 50%), rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 52%, transparent 76%),
        radial-gradient(calc(290px * var(--st, 1)) calc(290px * var(--st, 1)) at var(--gx2, 50%) var(--gy2, 50%), rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 50%, transparent 74%),
        radial-gradient(calc(370px * var(--st, 1)) calc(370px * var(--st, 1)) at var(--gx3, 50%) var(--gy3, 50%), rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 48%, transparent 72%);
    mask-image:
        radial-gradient(calc(210px * var(--st, 1)) calc(210px * var(--st, 1)) at var(--gx1, 50%) var(--gy1, 50%), rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 52%, transparent 76%),
        radial-gradient(calc(290px * var(--st, 1)) calc(290px * var(--st, 1)) at var(--gx2, 50%) var(--gy2, 50%), rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 50%, transparent 74%),
        radial-gradient(calc(370px * var(--st, 1)) calc(370px * var(--st, 1)) at var(--gx3, 50%) var(--gy3, 50%), rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 48%, transparent 72%);
    filter: blur(2px) saturate(1.18) url(#pfwater);
}


/* ---- skills glow v3: WebGL liquid ripple reveal (canvas), CSS mask as fallback ---- */
.pf-skills__glow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
    display: block;
}
.pf-skills.has-liquid .pf-skills__glow { display: none; }
@media (hover: none) {
    .pf-skills__glow-canvas { display: none; }
}


/* ---- card video: clip-path (compositor honours this, unlike border-radius during transforms) ---- */
video.pf-card__img {
    clip-path: inset(0 round 15px);
    -webkit-clip-path: inset(0 round 15px);
}


/* ---- card video: clipping wrapper (compositor drops video clip when the faded card is under the sticky overlay) ---- */
.pf-card__vidwrap {
    position: absolute;
    inset: 0;
    border-radius: 15px;
    overflow: hidden;
    transform: translateZ(0);
}
.pf-card__vidwrap video.pf-card__img {
    clip-path: none;
    -webkit-clip-path: none;
}


/* ---- skills glow: CSS fallback killed (its JS driver was replaced by the WebGL canvas; orphaned it froze as a big centered blob) ---- */
.pf-skills__glow { display: none !important; }


/* ---- mobile: sticky project carousel (Figma "iPhone 16 - 1", node 106:1826) ---- */
@media (max-width: 760px) {
    .pf-projects__sticky { height: 100%; }
    .pf-projects__intro {
        position: sticky;
        top: 0 !important;
        height: 100vh;
        margin: 0;
        padding: 96px 3.3% 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        z-index: 20;
        pointer-events: none;
    }
    .pf-projects__intro a { pointer-events: auto; }
    .pf-projects__heading,
    .pf-projects--dark .pf-projects__heading { color: #000; font-size: 28px; line-height: 34px; }
    .pf-projects__button,
    .pf-projects--dark .pf-projects__button {
        margin-top: 11px;
        height: 31px;
        padding: 0 20px;
        display: inline-flex;
        align-items: center;
        border-radius: 100px;
        background: rgba(0,0,0,.06);
        -webkit-backdrop-filter: blur(72px);
        backdrop-filter: blur(72px);
        font-size: 15px;
        font-weight: 500;
        color: #000;
    }
    .pf-projects__text,
    .pf-projects--dark .pf-projects__text { margin-top: 37px; font-size: 12px; line-height: 14.8px; color: #111; max-width: none; }
    .pf-projects__cards {
        position: sticky;
        top: 0;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 100vh;
        z-index: 10;
    }
    .pf-projects .pf-card,
    .pf-projects .pf-card:nth-of-type(1),
    .pf-projects .pf-card:nth-of-type(2),
    .pf-projects .pf-card:nth-of-type(3),
    .pf-projects .pf-card:nth-of-type(4),
    .pf-projects .pf-card:nth-of-type(5),
    .pf-projects .pf-card:nth-of-type(6) {
        width: 220px !important;
        height: 239px !important;
        left: 50% !important;
        top: 58% !important;
        right: auto !important;
        bottom: auto !important;
        margin: -119.5px 0 0 -110px;
        transition: none !important;
        transform-origin: center;
        will-change: transform;
        touch-action: pan-y;
        -webkit-tap-highlight-color: transparent;
    }
}


/* ---- mobile carousel: scroll indicator under the cards ---- */
.pf-projects__mscroll { display: none; }
@media (max-width: 760px) {
    .pf-projects__mscroll {
        display: flex;
        align-items: center;
        gap: 14px;
        position: absolute;
        left: 50%;
        top: 90%;
        transform: translateX(-50%);
        font-size: 13px;
        letter-spacing: .02em;
        color: #111;
    }
    .pf-projects__mscroll::before,
    .pf-projects__mscroll::after {
        content: "";
        width: 40px;
        height: 1px;
        background: linear-gradient(90deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.7) 50%, rgba(17,17,17,0) 100%) no-repeat;
        background-size: 200% 100%;
    }
    .pf-projects__mscroll::before { animation: pf-line-sweep-l 2.6s ease-in-out infinite; }
    .pf-projects__mscroll::after { animation: pf-line-sweep-r 2.6s ease-in-out infinite; }
}


/* ---- mobile: band video starts earlier on scroll ---- */
@media (max-width: 760px) {
    .pf-projects__band { top: 46%; }
}


/* ---- project popup (Figma "pop-up", node 71:454) ---- */
.pf-popup { position: fixed; inset: 0; z-index: 900; }
.pf-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(230,230,230,.1);
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
    opacity: 0;
    transition: opacity .4s ease;
}
.pf-popup.is-open .pf-popup__backdrop { opacity: 1; }
.pf-popup__panel {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 17px;
    bottom: 17px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 7.5px rgba(0,0,0,.25);
    overflow: hidden;
    opacity: 0;
    transform: translateY(26px) scale(.97);
    transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
}
.pf-popup.is-open .pf-popup__panel { opacity: 1; transform: none; }
.pf-popup__left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 33.7%;
    min-width: 300px;
    max-width: 480px;
    padding: 141px 52px 31px;
    display: flex;
    flex-direction: column;
}
.pf-popup__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.14;
    letter-spacing: -1.2px;
    color: #000;
}
.pf-popup__desc { margin: 34px 0 0 3px; font-size: 14px; line-height: 22px; color: #c7c7c7; max-width: 358px; }
.pf-popup__skills { margin-top: auto; }
.pf-popup__skills-label { margin: 0 0 15px 24px; font-size: 14px; line-height: 17px; color: #000; }
.pf-popup__chips {
    background: rgba(217,217,217,.68);
    border-radius: 9px;
    padding: 19px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.pf-popup__chip {
    height: 29px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 43px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #2b2b2b;
}
.pf-popup__scroll {
    position: absolute;
    left: 33.7%;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 31px 16px 31px 0;
}
.pf-popup__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.pf-popup__item {
    margin: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 462 / 599;
    opacity: 0;
    transform: translateY(28px) scale(.94);
}
.pf-popup__item--full { grid-column: 1 / -1; aspect-ratio: 929 / 599; }
.pf-popup__item.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.pf-popup__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-popup__item::after {
    content: "";
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background: linear-gradient(61.62deg, rgba(0,0,0,.3) 22%, rgba(102,102,102,0) 79%);
}
.pf-popup__fade { position: absolute; left: 33.7%; right: 0; pointer-events: none; z-index: 3; }
.pf-popup__fade--top { top: 0; height: 70px; background: linear-gradient(180deg, #fff 8%, rgba(255,255,255,0) 100%); }
.pf-popup__fade--bottom { bottom: 0; height: 136px; background: linear-gradient(0deg, #fff 21%, rgba(255,255,255,0) 98.5%); }
.pf-popup__close {
    position: absolute;
    left: 27px;
    top: 30px;
    width: 49px;
    height: 47px;
    border: 0;
    border-radius: 100px;
    background: rgba(20,20,20,.76);
    -webkit-backdrop-filter: blur(28.65px);
    backdrop-filter: blur(28.65px);
    box-shadow: 0 4px 21.2px rgba(0,0,0,.09);
    cursor: pointer;
    z-index: 5;
    transform: scale(0);
    transition: transform .5s cubic-bezier(.34,1.56,.64,1) .14s;
}
.pf-popup.is-open .pf-popup__close { transform: scale(1); }
.pf-popup__close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: #fff; }
.pf-popup__close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.pf-popup__close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
html.pf-popup-open body { overflow: hidden; }
html.pf-popup-open .pf-nav,
html.pf-popup-open .pf-nav__cta {
    transform: scale(.55);
    opacity: 0;
    pointer-events: none;
}
.pf-nav, .pf-nav__cta { transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
@media (max-width: 760px) {
    .pf-popup__panel { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .pf-popup__left { position: static; width: auto; min-width: 0; max-width: none; padding: 96px 20px 16px; display: block; }
    .pf-popup__skills { margin-top: 28px; }
    .pf-popup__scroll { position: static; overflow: visible; padding: 12px 12px 24px; }
    .pf-popup__gallery { grid-template-columns: 1fr; }
    .pf-popup__item { aspect-ratio: 929 / 599; }
    .pf-popup__fade { display: none; }
}


/* ---- mobile: desktop scrollhint hidden on mobile (mscroll replaces it) ---- */
@media (max-width: 760px) {
    .pf-projects__scrollhint { display: none; }
}


/* ---- popup: top fade only after scroll ---- */
.pf-popup__fade--top { opacity: 0; transition: opacity .35s ease; }
.pf-popup.is-scrolled .pf-popup__fade--top { opacity: 1; }


/* ---- popup tweaks: darker text, no fades, skills next to desc, video items ---- */
.pf-popup__desc { color: #6f6f6f; }
.pf-popup__fade { display: none; }
.pf-popup__skills { margin-top: 56px; }
.pf-popup__item video { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ---- popup gallery: three-across layout ---- */
.pf-popup__gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
    .pf-popup__gallery--3 { grid-template-columns: 1fr; }
}


/* ---- popup: 16px padding to all edges ---- */
.pf-popup__scroll { padding: 16px; }
.pf-popup__left { padding: 141px 52px 16px; }
@media (max-width: 760px) {
    .pf-popup__scroll { padding: 16px; }
}


/* ---- popup gallery v2: row modules (1 wide / 2 across / 3 across) ---- */
.pf-popup__gallery--rows { display: block; }
.pf-popup__row { display: grid; gap: 11px; margin: 0 0 11px; grid-template-columns: 1fr; }
.pf-popup__row--2 { grid-template-columns: 1fr 1fr; }
.pf-popup__row--3 { grid-template-columns: repeat(3, 1fr); }
.pf-popup__row .pf-popup__item { aspect-ratio: 929 / 599; }
.pf-popup__row--2 .pf-popup__item { aspect-ratio: 462 / 599; }
.pf-popup__row--3 .pf-popup__item { aspect-ratio: 302 / 399; }
@media (max-width: 760px) {
    .pf-popup__row--2,
    .pf-popup__row--3 { grid-template-columns: 1fr; }
    .pf-popup__row .pf-popup__item { aspect-ratio: 929 / 599; }
}


/* ---- popup rows: shorter cards ---- */
.pf-popup__row .pf-popup__item { aspect-ratio: 929 / 545; }
.pf-popup__row--2 .pf-popup__item { aspect-ratio: 462 / 545; }
.pf-popup__row--3 .pf-popup__item { aspect-ratio: 302 / 362; }
@media (max-width: 760px) {
    .pf-popup__row .pf-popup__item,
    .pf-popup__row--2 .pf-popup__item,
    .pf-popup__row--3 .pf-popup__item { aspect-ratio: 929 / 545; }
}


/* ---- popup: 16px gap between skills box and cards; skills back at bottom ---- */
.pf-popup__skills { margin-top: auto; }
.pf-popup__left { padding: 141px 16px 16px 52px; }
.pf-popup__scroll { padding: 16px 16px 16px 0; }
@media (max-width: 760px) {
    .pf-popup__left { padding: 96px 20px 16px; }
    .pf-popup__scroll { padding: 16px; }
    .pf-popup__skills { margin-top: 28px; }
}


/* ---- popup rows: adjustable card heights (per-project settings, defaults 545/545/362) ---- */
.pf-popup__row .pf-popup__item { aspect-ratio: 929 / var(--ph1, 545); }
.pf-popup__row--2 .pf-popup__item { aspect-ratio: 462 / var(--ph2, 545); }
.pf-popup__row--3 .pf-popup__item { aspect-ratio: 302 / var(--ph3, 362); }
@media (max-width: 760px) {
    .pf-popup__row .pf-popup__item,
    .pf-popup__row--2 .pf-popup__item,
    .pf-popup__row--3 .pf-popup__item { aspect-ratio: 929 / var(--ph1, 545); }
}


/* ---- popup: no overlay on popup cards ---- */
.pf-popup__item::after { content: none; }


/* ---- popup: round liquid scroll button ---- */
.pf-popup__scrollbtn {
    margin: 44px 0 0 3px;
    align-self: flex-start;
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    filter: url(#pfwater) saturate(1.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
    animation: pf-scrollbtn-bob 3.2s ease-in-out infinite;
}
.pf-popup__scrollbtn span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .03em;
    color: #111;
}
.pf-popup__scrollbtn:hover { transform: scale(1.08); }
.pf-popup.is-scrolled .pf-popup__scrollbtn { opacity: 0; pointer-events: none; }
@keyframes pf-scrollbtn-bob {
    0%, 100% { margin-top: 44px; }
    50% { margin-top: 50px; }
}
@media (max-width: 760px) {
    .pf-popup__scrollbtn { display: none; }
}


/* ---- popup: optional elegant dropshadow per card ---- */
.pf-popup__item--shadow {
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .25);
}


/* ---- popup: scroll area aligned to capped column (left col maxes at 480px) ---- */
.pf-popup__scroll { left: calc(min(33.7%, 480px) - 11px); }


/* ---- popup: scroll label like the front page (no blob) + room for card shadows ---- */
.pf-popup__scrollbtn {
    margin: 44px 0 0 3px;
    align-self: flex-start;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    filter: none;
    animation: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
}
.pf-popup__scrollbtn:hover { transform: none; }
.pf-popup__scrollbtn span { font-size: 13px; font-weight: 400; letter-spacing: .02em; color: #111; }
.pf-popup__scrollbtn::before,
.pf-popup__scrollbtn::after {
    content: "";
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.7) 50%, rgba(17,17,17,0) 100%) no-repeat;
    background-size: 200% 100%;
}
.pf-popup__scrollbtn::before { animation: pf-line-sweep-l 2.6s ease-in-out infinite; }
.pf-popup__scrollbtn::after { animation: pf-line-sweep-r 2.6s ease-in-out infinite; }
.pf-popup__scroll { left: calc(min(33.7%, 480px) - 43px); padding-left: 32px; }


/* ---- popup items: symmetric pop out when leaving view ---- */
.pf-popup__item { transition: opacity .3s ease, transform .35s ease; }


/* ---- popup: no grey box, tags directly under the text ---- */
.pf-popup__scrollbtn { display: none; }
.pf-popup__skills { margin-top: 34px; }
.pf-popup__skills-label { margin: 0 0 12px 3px; }
.pf-popup__chips { background: none; border-radius: 0; padding: 0; }
.pf-popup__chip { background: #f1f1f1; }
@media (max-width: 760px) {
    .pf-popup__skills { margin-top: 28px; }
}


/* ---- skills glow v4: clean pastel reveal (fresh start - no WebGL, no turbulence) ---- */
.pf-skills__glow-canvas { display: none; }
.pf-skills__glow2 {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity .5s ease;
    background:
        radial-gradient(60% 80% at 22% 30%, rgba(244, 186, 224, .85), transparent 70%),
        radial-gradient(50% 70% at 76% 24%, rgba(186, 168, 244, .8), transparent 70%),
        radial-gradient(55% 75% at 62% 76%, rgba(250, 222, 176, .8), transparent 70%),
        radial-gradient(45% 65% at 28% 80%, rgba(174, 216, 244, .75), transparent 70%);
    filter: blur(6px) saturate(1.05);
    -webkit-mask-image: radial-gradient(300px 300px at var(--gx, 50%) var(--gy, 50%), rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 55%, transparent 78%);
    mask-image: radial-gradient(300px 300px at var(--gx, 50%) var(--gy, 50%), rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 55%, transparent 78%);
}
.pf-skills:hover .pf-skills__glow2 { opacity: .9; }
@media (hover: none) {
    .pf-skills__glow2 { display: none; }
}

/* ---- popup: info groups (label + tags and/or text) ---- */
.pf-popup__info { margin-top: 34px; }
.pf-popup__info-group { margin-top: 20px; }
.pf-popup__info-group:first-child { margin-top: 0; }
.pf-popup__info-text {
    margin: 6px 0 0 3px;
    font-size: 13px;
    line-height: 19px;
    color: #6f6f6f;
    max-width: 358px;
}
@media (max-width: 760px) {
    .pf-popup__info { margin-top: 28px; }
}


/* ---- popup: scroll label at column bottom ---- */
.pf-popup__scrollbtn { display: flex; margin: 34px 0 0 3px; margin-top: auto; }
@media (max-width: 760px) {
    .pf-popup__scrollbtn { display: none; }
}


/* ---- skills: no line above first skills row ---- */
.pf-skills__rows { border-top: none; }


/* ---- skills glow v5: line glow along the hairlines (round glow off) ---- */
.pf-skills__glow2 { display: none; }
.pf-skills__row { position: relative; }
.pf-skills__row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 5px;
    pointer-events: none;
    background: linear-gradient(90deg, #f2b3dc 0%, #b6a3f2 30%, #f7d9a8 62%, #a9d4f2 100%);
    filter: blur(2.5px) saturate(1.2);
    -webkit-mask-image: radial-gradient(150px 6px at var(--lx, 50%) 50%, #000 25%, transparent 100%);
    mask-image: radial-gradient(150px 6px at var(--lx, 50%) 50%, #000 25%, transparent 100%);
    opacity: var(--lo, 0);
    transition: opacity .22s ease;
}
@media (hover: none) {
    .pf-skills__row::after { display: none; }
}


/* ---- popup: ipad mockup row (screen field measured: 25.94/20.9 48.2x58.4, r~0.8%) ---- */
.pf-popup__row .pf-popup__item--ipad { aspect-ratio: 2560 / 1584; }
.pf-popup__ipad-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pf-popup__ipad-screen {
    position: absolute;
    left: 25.94%;
    top: 20.9%;
    width: 48.2%;
    height: 58.4%;
    border-radius: 0.85% / 1.4%;
    overflow: hidden;
    transform: translateZ(0);
}
.pf-popup__ipad-screen img,
.pf-popup__ipad-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ---- popup: scrollbtn centered, longer lines; natural-height media option ---- */
.pf-popup__scrollbtn { align-self: center; margin-left: 0; }
.pf-popup__scrollbtn::before,
.pf-popup__scrollbtn::after { width: 76px; }
.pf-popup__row { align-items: start; }
.pf-popup__row .pf-popup__item--natural { aspect-ratio: auto; }
.pf-popup__item--natural img,
.pf-popup__item--natural video { height: auto; object-fit: contain; }


/* ---- popup: consistent 16px everywhere (edges + between media) ---- */
.pf-popup__row { gap: 16px; margin: 0 0 16px; }
.pf-popup__row:last-child { margin-bottom: 0; }
.pf-popup__scroll { padding: 16px 16px 16px 32px; }
@media (max-width: 760px) {
    .pf-popup__scroll { padding: 16px; }
}


/* ---- popup: ipad v2 coordinates (media id 96: 21.64/20.83 56.72x58.33, r~0.7%) ---- */
.pf-popup__ipad-screen {
    left: 21.64%;
    top: 20.83%;
    width: 56.72%;
    height: 58.33%;
    border-radius: 0.75% / 1.2%;
}


/* ---- project overview page (pf-ov) ---- */
.pf-ov {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 158px 5.3% 140px;
}
.pf-ov__home {
    position: fixed;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    height: 47px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    background: rgba(20,20,20,.76);
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
    color: #fff;
    font-size: 17px;
    letter-spacing: .01em;
    text-decoration: none;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ov__home:hover { transform: translateX(-50%) scale(1.05); }
.pf-ov__eyebrow {
    margin: 0 0 16px 5px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9a9a9a;
}
.pf-ov__heading {
    margin: 0;
    font-weight: 300;
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: #000;
}
.pf-ov__intro {
    margin: 24px 0 0 5px;
    max-width: 430px;
    font-size: 14px;
    line-height: 22px;
    color: #6f6f6f;
}
.pf-ov__filterwrap { margin: 56px 0 26px; }
.pf-ov__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-ov__filter {
    height: 36px;
    padding: 0 20px;
    border: 0;
    border-radius: 100px;
    background: #f1f1f1;
    color: #111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ov__filter:hover { transform: translateY(-2px); }
.pf-ov__filter.is-active { background: #141414; color: #fff; }
.pf-ov__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}
.pf-ov__card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    transform: translateY(26px) scale(.96);
    transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.pf-ov__card.is-in { opacity: 1; transform: none; }
.pf-ov__card.is-out {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .24s ease, transform .24s ease;
}
.pf-ov__media {
    position: absolute;
    inset: 0;
    border-radius: 15px;
    overflow: hidden;
    transform: translateZ(0);
}
.pf-ov__media img,
.pf-ov__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.001);
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.pf-ov__card:hover .pf-ov__media img,
.pf-ov__card:hover .pf-ov__media video { transform: scale(1.045); }
.pf-ov__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.46) 100%);
    transition: opacity .4s ease;
}
.pf-ov__body {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pf-ov__title { color: #fff; font-size: 21px; font-weight: 500; line-height: 1.15; }
.pf-ov__cardtags { color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .02em; }
@media (max-width: 1100px) {
    .pf-ov__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .pf-ov { padding: 104px 16px 90px; }
    .pf-ov__home { top: 14px; height: 42px; padding: 0 22px; font-size: 15px; }
    .pf-ov__eyebrow { margin: 0 0 12px 2px; font-size: 11px; }
    .pf-ov__heading { font-size: clamp(42px, 13vw, 58px); letter-spacing: -1.4px; }
    .pf-ov__intro { margin: 14px 0 0 2px; font-size: 13px; line-height: 19px; }
    .pf-ov__filterwrap {
        position: sticky;
        top: 0;
        z-index: 30;
        margin: 32px -16px 16px;
        padding: 12px 16px;
        background: rgba(255,255,255,.8);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
    .pf-ov__filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-right: 24px;
    }
    .pf-ov__filters::-webkit-scrollbar { display: none; }
    .pf-ov__filter { flex: none; height: 34px; padding: 0 18px; font-size: 13px; }
    .pf-ov__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pf-ov__card { aspect-ratio: 3 / 4; border-radius: 12px; }
    .pf-ov__card--push { margin-top: 28px; }
    .pf-ov__media { border-radius: 12px; }
    .pf-ov__body { left: 13px; right: 13px; bottom: 12px; gap: 2px; }
    .pf-ov__title { font-size: 15px; }
    .pf-ov__cardtags { font-size: 10.5px; }
}


/* ---- overview: taller overview cards on mobile; popup scroll label gone ---- */
.pf-popup__scrollbtn { display: none !important; }
@media (max-width: 760px) {
    .pf-ov__card { aspect-ratio: 2 / 3; }
}


/* ---- popup mobile: format follows row type (1 = wide, 2/3 = portrait) ---- */
@media (max-width: 760px) {
    .pf-popup__row .pf-popup__item { aspect-ratio: 929 / var(--ph1, 545); }
    .pf-popup__row--2 .pf-popup__item { aspect-ratio: 462 / var(--ph2, 545); }
    .pf-popup__row--3 .pf-popup__item { aspect-ratio: 302 / var(--ph3, 362); }
    .pf-popup__row .pf-popup__item--natural { aspect-ratio: auto; }
    .pf-popup__row .pf-popup__item--ipad { aspect-ratio: 2560 / 1584; }
}


/* ---- overview redesign v2: mesh glow, centered header, hairline filters, glass labels, feature card ---- */
.pf-ov { overflow: visible; }
.pf-ov::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 120vw);
    height: 660px;
    z-index: -1;
    pointer-events: none;
    filter: blur(64px) saturate(1.05);
    opacity: .52;
    background:
        radial-gradient(40% 55% at 30% 35%, rgba(244,186,224,.8), transparent 70%),
        radial-gradient(35% 50% at 70% 30%, rgba(186,168,244,.7), transparent 70%),
        radial-gradient(45% 55% at 55% 70%, rgba(250,222,176,.65), transparent 72%),
        radial-gradient(35% 45% at 40% 75%, rgba(174,216,244,.6), transparent 70%);
}
.pf-ov__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.pf-ov__eyebrow { margin: 0 0 16px; }
.pf-ov__intro { margin: 22px auto 0; }
.pf-ov__filterwrap { margin: 58px 0 30px; }
.pf-ov__filters { justify-content: center; }
.pf-ov__filter {
    background: transparent;
    border: 1px solid rgba(0,0,0,.18);
    height: 34px;
    padding: 0 18px;
    font-weight: 400;
    color: #333;
}
.pf-ov__filter:hover { border-color: #000; color: #000; transform: translateY(-2px); }
.pf-ov__filter.is-active { background: #141414; border-color: #141414; color: #fff; font-weight: 500; }
.pf-ov__shade { background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.26) 100%); }
.pf-ov__body {
    left: 12px;
    right: auto;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 17px 11px;
    border-radius: 12px;
    background: rgba(20,20,20,.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    gap: 2px;
}
.pf-ov__title { font-size: 16px; line-height: 1.2; }
.pf-ov__cardtags { font-size: 11px; color: rgba(255,255,255,.72); }
.pf-ov__card.is-in { transition: opacity .5s ease, transform .55s cubic-bezier(.34,1.56,.64,1), box-shadow .45s ease; }
.pf-ov__card.is-in:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px -20px rgba(0,0,0,.30);
}
.pf-ov__card--feature { grid-column: span 2; aspect-ratio: 1.68; }
@media (max-width: 1100px) {
    .pf-ov__card--feature { aspect-ratio: 1.55; }
}
@media (max-width: 760px) {
    .pf-ov::before { top: -80px; height: 480px; filter: blur(48px) saturate(1.05); opacity: .55; }
    .pf-ov__filters { justify-content: flex-start; }
    .pf-ov__filterwrap { background: rgba(255,255,255,.72); margin-top: 34px; }
    .pf-ov__card--feature { grid-column: span 2; aspect-ratio: 4 / 3; }
    .pf-ov__body { left: 10px; bottom: 10px; padding: 8px 13px 9px; border-radius: 10px; max-width: calc(100% - 20px); }
    .pf-ov__title { font-size: 14px; }
    .pf-ov__cardtags { font-size: 10px; }
}


/* ---- overview cards: edge ring for pale assets ---- */
.pf-ov__card { background: #f4f4f4; }
.pf-ov__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
    pointer-events: none;
}


/* ---- mobile polish pass: menu panel, carousel spacing, statement seam+whitespace, skills accordion ---- */
@media (max-width: 760px) {

    /* menu: full-width frosted panel */
    .pf-nav.pf-nav--open {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        transform: none !important;
    }
    .pf-nav--open .pf-nav__pill {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 22px 24px 20px;
        border-radius: 24px;
    }
    .pf-nav--open .pf-nav__logo {
        margin: 0 0 14px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }
    .pf-nav--open .pf-nav__link {
        display: block;
        padding: 13px 2px;
        font-size: 17px;
        line-height: 1;
        color: #fff;
    }
    .pf-nav--open .pf-nav__link + .pf-nav__link {
        border-top: 1px solid rgba(255,255,255,.09);
    }
    .pf-nav--open .pf-nav__burger {
        position: absolute;
        top: 22px;
        right: 20px;
    }
    .pf-nav--open .pf-nav__cta {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 14px;
        height: 46px;
        border-radius: 100px;
        background: #fff;
        color: #141414;
        font-weight: 500;
    }

    /* carousel: closer to the text */
    .pf-projects .pf-card,
    .pf-projects .pf-card:nth-of-type(1),
    .pf-projects .pf-card:nth-of-type(2),
    .pf-projects .pf-card:nth-of-type(3),
    .pf-projects .pf-card:nth-of-type(4),
    .pf-projects .pf-card:nth-of-type(5),
    .pf-projects .pf-card:nth-of-type(6) {
        top: 50% !important;
    }

    /* statement: cover the composite seam + breathing room */
    .pf-statement__lead { box-shadow: 0 0 0 14px #000; }
    .pf-statement { padding-top: 72px; padding-bottom: 76px; }

    /* skills: card follows the active row (accordion) */
    .pf-skills__rows .pf-skills__card {
        position: static;
        width: 100%;
        margin: 14px 0 22px;
    }
}


/* ---- nav above sticky stages; carousel stage click-transparent ---- */
.pf-nav, .pf-nav__cta { z-index: 300; }
@media (max-width: 760px) {
    .pf-projects__cards { pointer-events: none; }
    .pf-projects__cards .pf-card { pointer-events: auto; }
}


/* ---- popup: glass row: media on blurred backdrop, full media height ---- */
.pf-popup__row .pf-popup__item--glass {
    aspect-ratio: auto;
    padding: 3.2%;
    overflow: hidden;
}
.pf-popup__glass-bg {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
    filter: blur(26px) saturate(1.05);
    z-index: 0;
}
.pf-popup__glass-media {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 14px 34px -16px rgba(0,0,0,.3);
}
.pf-popup__glass-media img,
.pf-popup__glass-media video {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 760px) {
    .pf-popup__row .pf-popup__item--glass { aspect-ratio: auto; padding: 4%; }
    .pf-popup__glass-media { border-radius: 9px; }
}


/* ---- popup: glass item corner clip (blurred layer escapes border-radius) ---- */
.pf-popup__row .pf-popup__item--glass {
    clip-path: inset(0 round 15px);
    -webkit-clip-path: inset(0 round 15px);
}
@media (max-width: 760px) {
    .pf-popup__row .pf-popup__item--glass {
        clip-path: inset(0 round 12px);
        -webkit-clip-path: inset(0 round 12px);
    }
}


/* ---- popup: rich desc + read more clamp ---- */
.pf-popup__desc { position: relative; }
.pf-popup__desc p { margin: 0 0 10px; }
.pf-popup__desc p:last-child { margin-bottom: 0; }
.pf-popup__desc a { color: #111; text-decoration: underline; }
.pf-popup__desc strong { color: #3a3a3a; }
.pf-popup__desc ul,
.pf-popup__desc ol { margin: 0 0 10px 18px; padding: 0; }
.pf-popup__desc.is-clamped { max-height: 132px; overflow: hidden; }
.pf-popup__desc.is-clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}
.pf-popup__readmore {
    display: none;
    margin: 12px 0 0 3px;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.pf-popup__readmore.is-visible { display: inline-block; align-self: flex-start; }


/* ---- popup: smaller project tags ---- */
.pf-popup__chip {
    height: 24px;
    padding: 0 13px;
    font-size: 12.5px;
    font-weight: 500;
}
.pf-popup__chips { gap: 7px; }


/* ---- popup: info groups as spec list (hairlines), read more removed ---- */
.pf-popup__readmore { display: none !important; }
.pf-popup__desc.is-clamped { max-height: none; overflow: visible; }
.pf-popup__desc.is-clamped::after { content: none; }
.pf-popup__info { margin-top: 38px; }
.pf-popup__info-group {
    margin-top: 0;
    padding: 15px 0 17px;
    border-top: 1px solid rgba(0,0,0,.12);
}
.pf-popup__info-group:last-child { padding-bottom: 0; }
.pf-popup__skills-label {
    margin: 0 0 10px 1px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #9a9a9a;
}
.pf-popup__info-text {
    margin: 0 0 0 1px;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    max-width: none;
}


/* ---- skills: 16px gap around skills card (hairlines stop short of the card) ---- */
.pf-skills__card::before,
.pf-skills__card::after {
    content: "";
    position: absolute;
    top: 0;
    width: 16px;
    height: 320px;
    background: #f1f1f1;
}
.pf-skills__card::before { left: -16px; }
.pf-skills__card::after { right: -16px; }
@media (max-width: 760px) {
    .pf-skills__card::before,
    .pf-skills__card::after { content: none; }
}


/* ---- popup: bigtwo row (1 large left + 2 small right, 16px gaps) ---- */
.pf-popup__row--bigtwo { grid-template-columns: 1.72fr 1fr; }
.pf-popup__row--bigtwo .pf-popup__item:nth-child(2),
.pf-popup__row--bigtwo .pf-popup__item:nth-child(3) { aspect-ratio: 4 / 3; }
.pf-popup__row--bigtwo .pf-popup__item:first-child {
    grid-row: 1 / 3;
    aspect-ratio: auto;
    height: 100%;
}
@media (max-width: 760px) {
    .pf-popup__row--bigtwo { grid-template-columns: 1fr; }
    .pf-popup__row--bigtwo .pf-popup__item:first-child { grid-row: auto; height: auto; aspect-ratio: 929 / 545; }
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(2),
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(3) { aspect-ratio: 4 / 3; }
}


/* ---- popup: title as label + styled h3 headline ---- */
.pf-popup__title {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
}
.pf-popup__headline {
    margin: 14px 0 0;
    font-weight: 300;
    font-size: 33px;
    line-height: 1.18;
    letter-spacing: -1px;
    color: #000;
}
.pf-popup__desc { margin-top: 24px; }
@media (max-width: 760px) {
    .pf-popup__headline { font-size: 26px; line-height: 1.2; letter-spacing: -.6px; }
}


/* ---- popup: ipad seam cover + natural row fill ---- */
/* mediet dækker det hvide felt helt (0.25% oversize, umærkeligt på bezelen) */
.pf-popup__ipad-screen {
    left: 21.4%;
    top: 20.55%;
    width: 57.2%;
    height: 58.9%;
}
/* i rækker med et naturligt kort strækker de faste kort sig til fuld højde */
.pf-popup__row--2:has(.pf-popup__item--natural),
.pf-popup__row--3:has(.pf-popup__item--natural) { align-items: stretch; }
.pf-popup__row--2:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural),
.pf-popup__row--3:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) {
    aspect-ratio: auto;
    height: 100%;
}


/* ---- popup: natural media rounded (image ends mid-figure, needs own radius) ---- */
.pf-popup__item--natural img,
.pf-popup__item--natural video {
    border-radius: 15px;
}
@media (max-width: 760px) {
    .pf-popup__item--natural img,
    .pf-popup__item--natural video { border-radius: 12px; }
}


/* ---- popup: natural defines row height; filler fills without contributing ---- */
.pf-popup__row--2:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural),
.pf-popup__row--3:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) {
    aspect-ratio: auto;
    height: auto;
    align-self: stretch;
    min-height: 0;
}
.pf-popup__row--2:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) img,
.pf-popup__row--2:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) video,
.pf-popup__row--3:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) img,
.pf-popup__row--3:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---- popup: smaller h3, content higher ---- */
.pf-popup__left { padding-top: 100px; }
.pf-popup__headline { font-size: 21px; line-height: 1.3; letter-spacing: -.3px; font-weight: 400; }
@media (max-width: 760px) {
    .pf-popup__left { padding-top: 84px; }
    .pf-popup__headline { font-size: 18px; }
}


/* ---- popup: bigtwo v2 - big card natural + rounded, last small fills to its bottom ---- */
.pf-popup__row--bigtwo { grid-template-rows: auto 1fr; }
.pf-popup__row--bigtwo .pf-popup__item:first-child {
    grid-row: 1 / 3;
    aspect-ratio: auto;
    height: auto;
}
.pf-popup__row--bigtwo .pf-popup__item:first-child img,
.pf-popup__row--bigtwo .pf-popup__item:first-child video {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: contain;
}
.pf-popup__row--bigtwo .pf-popup__item:nth-child(3) {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    align-self: stretch;
}
.pf-popup__row--bigtwo .pf-popup__item:nth-child(3) img,
.pf-popup__row--bigtwo .pf-popup__item:nth-child(3) video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 760px) {
    .pf-popup__row--bigtwo { grid-template-rows: none; }
    .pf-popup__row--bigtwo .pf-popup__item:first-child img,
    .pf-popup__row--bigtwo .pf-popup__item:first-child video { border-radius: 12px; }
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(3) { aspect-ratio: 4 / 3; }
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(3) img,
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(3) video { position: static; height: 100%; }
}


/* ---- popup: bigtwo v3 - big governs; both smalls split its height edge-to-edge ---- */
.pf-popup__row--bigtwo { grid-template-rows: 1fr 1fr; }
.pf-popup__row--bigtwo .pf-popup__item:nth-child(2) {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    align-self: stretch;
}
.pf-popup__row--bigtwo .pf-popup__item:nth-child(2) img,
.pf-popup__row--bigtwo .pf-popup__item:nth-child(2) video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 760px) {
    .pf-popup__row--bigtwo { grid-template-rows: none; }
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(2) { aspect-ratio: 4 / 3; align-self: auto; }
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(2) img,
    .pf-popup__row--bigtwo .pf-popup__item:nth-child(2) video { position: static; height: 100%; }
}


/* ---- floating cards edge-free: media fills the whole face ---- */
.pf-ov__card { background: transparent; }
.pf-ov__media::after { content: none; }
.pf-card { background: transparent; }
.pf-card__img,
.pf-card__vidwrap { position: absolute; inset: 0; width: 100%; height: 100%; }
img.pf-card__img { object-fit: cover; }


/* ---- overview v3: hero slider + row list ---- */
.pf-ov--v3 .pf-ov__head { align-items: flex-start; text-align: left; }
.pf-ov--v3 .pf-ov__heading { font-size: clamp(40px, 4.6vw, 64px); }
.pf-ov--v3 .pf-ov__intro { margin-left: 3px; }
.pf-ovs {
    position: relative;
    margin-top: 44px;
    height: min(66vh, 620px);
    border-radius: 20px;
    overflow: hidden;
    clip-path: inset(0 round 20px);
    -webkit-clip-path: inset(0 round 20px);
}
.pf-ovs__track {
    display: flex;
    height: 100%;
    transition: transform .75s cubic-bezier(.3,.1,.25,1);
}
.pf-ovs__slide {
    position: relative;
    flex: 0 0 100%;
    display: block;
    text-decoration: none;
}
.pf-ovs__slide img,
.pf-ovs__slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-ovs__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.34) 100%);
}
.pf-ovs__label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 19px 14px;
    border-radius: 12px;
    background: rgba(20,20,20,.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    max-width: min(70%, 520px);
}
.pf-ovs__name { color: #fff; font-size: 22px; font-weight: 500; line-height: 1.2; }
.pf-ovs__meta { color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .02em; }
.pf-ovs__year {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(20,20,20,.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    color: #fff;
    font-size: 12px;
}
.pf-ovs__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}
.pf-ovs__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width .45s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.pf-ovs__dot.is-active { width: 22px; background: #fff; }
.pf-ovs__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 100px;
    background: rgba(20,20,20,.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    cursor: pointer;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovs__arrow:hover { transform: scale(1.08); }
.pf-ovs__arrow--prev { right: 70px; }
.pf-ovs__arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(-60%, -50%) rotate(45deg);
}
.pf-ovs__arrow--prev::before { transform: translate(-40%, -50%) rotate(-135deg); }
.pf-ov--v3 .pf-ov__filterwrap { margin: 34px 0 6px; }
.pf-ov--v3 .pf-ov__filters { justify-content: flex-start; gap: 7px; }
.pf-ov--v3 .pf-ov__filter { height: 28px; padding: 0 13px; font-size: 12px; }
.pf-ov__list { border-top: 1px solid rgba(0,0,0,.12); margin-top: 12px; }
.pf-ov__rowitem {
    display: grid;
    grid-template-columns: 64px 1fr auto 22px;
    align-items: center;
    gap: 20px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
}
.pf-ov__rowitem.is-in { opacity: 1; transform: none; }
.pf-ov__thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    transform: translateZ(0);
    background: #f1f1f1;
}
.pf-ov__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.pf-ov__rowname {
    font-size: clamp(20px, 2vw, 28px);
    color: #000;
    line-height: 1.2;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-ov__rowyear { font-size: 13px; color: #9a9a9a; }
.pf-ov__rowarrow {
    width: 10px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    color: #000;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
    justify-self: end;
}
.pf-ov__rowitem:hover .pf-ov__rowname { transform: translateX(10px); }
.pf-ov__rowitem:hover .pf-ov__thumb img { transform: scale(1.07); }
.pf-ov__rowitem:hover .pf-ov__rowarrow { transform: rotate(45deg) translate(3px, -3px); }
@media (max-width: 760px) {
    .pf-ovs { margin-top: 30px; height: min(52vh, 420px); border-radius: 14px; clip-path: inset(0 round 14px); -webkit-clip-path: inset(0 round 14px); }
    .pf-ovs__label { left: 12px; bottom: 12px; padding: 10px 14px 11px; border-radius: 10px; max-width: calc(100% - 24px); }
    .pf-ovs__name { font-size: 16px; }
    .pf-ovs__meta { font-size: 10.5px; }
    .pf-ovs__year { top: 12px; right: 12px; font-size: 11px; padding: 6px 11px; }
    .pf-ovs__arrow { display: none; }
    .pf-ov--v3 .pf-ov__filterwrap { margin: 26px -16px 4px; }
    .pf-ov__rowitem { grid-template-columns: 48px 1fr auto 18px; gap: 13px; padding: 13px 2px; }
    .pf-ov__thumb { width: 48px; height: 48px; border-radius: 8px; }
    .pf-ov__rowname { font-size: 17px; }
    .pf-ov__rowyear { font-size: 11px; }
}


/* ---- overview v3.1: front-card text treatment + 16px system ---- */
.pf-ovs { margin-top: 32px; }
.pf-ovs__label {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    max-width: min(78%, 560px);
    gap: 4px;
}
.pf-ovs__name { font-size: 21px; }
.pf-ovs__shade { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.46) 100%); }
.pf-ovs__year {
    top: 16px;
    right: 16px;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
    font-size: 12px;
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.pf-ovs__dots { bottom: 16px; }
.pf-ovs__arrow { right: 16px; bottom: 16px; }
.pf-ovs__arrow--prev { right: 68px; }
.pf-ov__rowitem { padding: 16px 0; }
@media (max-width: 760px) {
    .pf-ovs__label { left: 12px; right: 12px; bottom: 10px; }
    .pf-ovs__year { top: 12px; right: 12px; }
    .pf-ovs__dots { bottom: 12px; }
}


/* ---- popup: ipadtwo row (iPad + medie, iPad governs height) ---- */
.pf-popup__row--ipadtwo { grid-template-columns: 1fr 1fr; }
.pf-popup__row--ipadtwo .pf-popup__item--ipad { aspect-ratio: 2560 / 1584; }
.pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    align-self: stretch;
}
.pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) img,
.pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-popup__row--ipadtwo.is-flip .pf-popup__item--ipad { order: 2; }
@media (max-width: 760px) {
    .pf-popup__row--ipadtwo { grid-template-columns: 1fr; }
    .pf-popup__row--ipadtwo.is-flip .pf-popup__item--ipad { order: 0; }
    .pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) { aspect-ratio: 4 / 3; align-self: auto; }
    .pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) img,
    .pf-popup__row--ipadtwo .pf-popup__item:not(.pf-popup__item--ipad) video { position: static; height: 100%; }
}


/* ---- overview v4: Figma Projects (hero-slider m. raekker, dropdown, liste+kort, om-mig) ---- */
.pf-ov--v4 { padding: 16px 16px 90px; max-width: none; }
.pf-ov--v4 .pf-ov__home { display: none; }
.pf-ovh {
    position: relative;
    height: min(92vh, 958px);
    border-radius: 15px;
    overflow: hidden;
    clip-path: inset(0 round 15px);
    -webkit-clip-path: inset(0 round 15px);
    box-shadow: 0 4px 7.5px rgba(0,0,0,.25);
}
.pf-ovh__track { display: flex; height: 100%; transition: transform .75s cubic-bezier(.3,.1,.25,1); }
.pf-ovh__slide { position: relative; flex: 0 0 100%; }
.pf-ovh__slide img,
.pf-ovh__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-ovh__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    background: linear-gradient(72.15deg, rgba(0,0,0,.3) 22%, rgba(102,102,102,0) 79%);
}
.pf-ovh__title {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translateX(-50%);
    margin: 0;
    font-weight: 300;
    font-size: clamp(44px, 5vw, 72px);
    letter-spacing: -2.16px;
    line-height: 1.14;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
}
.pf-ovh__nav { position: absolute; left: 34px; bottom: 300px; display: flex; gap: 9px; z-index: 3; }
.pf-ovh__arrow {
    width: 36px;
    height: 35px;
    border: 0;
    border-radius: 100px;
    background: rgba(20,20,20,.76);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    box-shadow: 0 4px 21.2px rgba(0,0,0,.09);
    cursor: pointer;
    position: relative;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovh__arrow:hover { transform: scale(1.1); }
.pf-ovh__arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(-40%, -50%) rotate(-135deg);
}
.pf-ovh__arrow--next::before { transform: translate(-60%, -50%) rotate(45deg); }
.pf-ovh__rows {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.pf-ovh__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 36px 22px 28px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.35);
    background: none;
    font-family: inherit;
    font-size: 20px;
    color: #fff;
    opacity: .45;
    cursor: pointer;
    text-align: left;
    transition: opacity .35s ease, padding-left .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovh__row:hover { padding-left: 38px; }
.pf-ovh__row.is-active { opacity: 1; }
.pf-ov__chev {
    width: 11px;
    height: 11px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    flex: none;
}
.pf-ov__chev--dark { border-color: #000; }
.pf-ovf {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 16px;
    padding: 0 46px;
    height: 139px;
    border-radius: 20px;
    background: #f1f1f1;
}
.pf-ovf__label { font-size: 17px; font-weight: 500; color: #111; }
.pf-ovf__dd { position: relative; }
.pf-ovf__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 261px;
    height: 49px;
    padding: 0 20px;
    border: 0;
    border-radius: 39px;
    background: rgba(131,131,131,.19);
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    justify-content: space-between;
}
.pf-ovf__car {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #111;
    border-bottom: 1.5px solid #111;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .3s ease;
}
.pf-ovf__dd.is-open .pf-ovf__car { transform: rotate(225deg); }
.pf-ovf__list {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 40;
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 44px -18px rgba(0,0,0,.28);
    opacity: 0;
    transform: translateY(-6px) scale(.98);
    pointer-events: none;
    transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovf__dd.is-open .pf-ovf__list { opacity: 1; transform: none; pointer-events: auto; }
.pf-ovf__list li {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #111;
    cursor: pointer;
}
.pf-ovf__list li:hover { background: #f1f1f1; }
.pf-ovf__list li.is-active { background: #141414; color: #fff; }
.pf-ovl { position: relative; margin-top: 16px; padding: 24px 30px 40px; }
.pf-ovl__rows { display: flex; flex-direction: column; }
.pf-ovl__row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 6px;
    border-bottom: 1px solid rgba(0,0,0,.16);
    text-decoration: none;
    opacity: .45;
    transition: opacity .3s ease, padding-left .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovl__row.is-active { opacity: 1; }
.pf-ovl__row:hover { padding-left: 16px; }
.pf-ovl__name { flex: 1; font-size: 20px; color: #000; }
.pf-ovl__yr { font-size: 13px; color: #9a9a9a; margin-right: 46%; }
.pf-ovl__card {
    position: absolute;
    right: 30px;
    top: 40px;
    width: min(396px, 34vw);
    aspect-ratio: 396 / 429;
    border-radius: 15px;
    overflow: hidden;
    transform: translateZ(0);
    display: block;
    box-shadow: 0 4px 7.5px rgba(0,0,0,.25);
    z-index: 2;
}
.pf-ovl__cardimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-ovl__cardshade {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background: linear-gradient(72.17deg, rgba(0,0,0,.3) 22%, rgba(102,102,102,0) 79%);
    pointer-events: none;
}
.pf-ovl__cardtitle { position: absolute; left: 20px; right: 20px; top: 18px; font-size: 21px; font-weight: 500; line-height: 23px; color: #fff; }
.pf-ovl__chipswrap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 9px; background: rgba(217,217,217,.68); }
.pf-ovl__chipslabel { display: block; margin-bottom: 8px; font-size: 12px; color: #fff; }
.pf-ovl__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pf-ovl__chips span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    border-radius: 43px;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    color: #2b2b2b;
}
.pf-ova {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-top: 16px;
    padding: 62px 60px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 49.4px rgba(0,0,0,.11);
}
.pf-ova__img { width: 320px; height: 347px; object-fit: cover; border-radius: 15px; flex: none; }
.pf-ova__heading { margin: 0; font-weight: 300; font-size: clamp(30px, 3vw, 42px); letter-spacing: -1.26px; line-height: 1.14; color: #000; max-width: 486px; }
.pf-ova__btns { display: flex; gap: 19px; margin-top: 34px; }
.pf-ova__btn {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 100px;
    background: rgba(0,0,0,.06);
    -webkit-backdrop-filter: blur(72px);
    backdrop-filter: blur(72px);
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ova__btn:hover { transform: translateY(-2px); }
@media (max-width: 1100px) {
    .pf-ovl__yr { margin-right: 38%; }
    .pf-ovl__card { width: 40vw; }
}
@media (max-width: 760px) {
    .pf-ov--v4 { padding: 16px 16px 64px; }
    .pf-ovh { height: min(78vh, 640px); }
    .pf-ovh__title { top: 22%; font-size: clamp(34px, 10vw, 44px); letter-spacing: -1.2px; }
    .pf-ovh__nav { left: 16px; bottom: auto; top: 16px; }
    .pf-ovh__row { padding: 15px 8px 15px 2px; font-size: 15px; }
    .pf-ovh__row:hover { padding-left: 8px; }
    .pf-ovh__rows { left: 12px; right: 12px; bottom: 10px; }
    .pf-ovf { flex-direction: column; align-items: flex-start; gap: 12px; height: auto; padding: 20px; border-radius: 14px; }
    .pf-ovf__btn { width: 100%; }
    .pf-ovl { padding: 8px 2px 24px; }
    .pf-ovl__card { display: none; }
    .pf-ovl__row { opacity: 1; padding: 15px 2px; }
    .pf-ovl__name { font-size: 16px; }
    .pf-ovl__yr { margin-right: 0; font-size: 11px; }
    .pf-ova { flex-direction: column; align-items: flex-start; gap: 26px; padding: 24px 20px 30px; }
    .pf-ova__img { width: 100%; height: auto; aspect-ratio: 320 / 300; }
    .pf-ova__btns { margin-top: 22px; flex-wrap: wrap; gap: 10px; }
}


/* ---- overview v4.1 tweaks: overlay, tuck-under, slide-markoer, raekke-metadata ---- */
.pf-ovh { z-index: 2; }
.pf-ovh::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 32%, rgba(0,0,0,.6) 100%);
}
.pf-ovh__title { z-index: 2; }
.pf-ovh__nav { z-index: 3; }
.pf-ovh__rows { z-index: 2; }
.pf-ovf {
    position: relative;
    z-index: 1;
    margin-top: -62px;
    height: 187px;
    padding: 62px 46px 0;
    box-sizing: border-box;
}
.pf-ovh__row { position: relative; }
.pf-ovh__row.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    height: 1.5px;
    width: 0;
    background: #fff;
    animation: pf-slideprog 6s linear forwards;
}
@keyframes pf-slideprog {
    from { width: 0; }
    to { width: 100%; }
}
.pf-ovh__rowname { flex: none; }
.pf-ovh__rowtags {
    flex: 1;
    margin-left: 28px;
    font-size: 12px;
    letter-spacing: .02em;
    color: rgba(255,255,255,.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pf-ovh__rowyr { margin-right: 20px; font-size: 12px; color: rgba(255,255,255,.6); flex: none; }
@media (max-width: 760px) {
    .pf-ovf { margin-top: -46px; height: auto; min-height: 0; padding: 62px 20px 20px; }
    .pf-ovh__rowtags { display: none; }
    .pf-ovh__rowyr { margin-right: 10px; font-size: 10.5px; }
}


/* ---- overview v4.2 polish: skinnende markoer, moerkere overlay, pastel-gloed ---- */
.pf-ovh__row.is-active::before {
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.9) 70%, #fff 100%);
    box-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 26px rgba(255,255,255,.5);
    border-radius: 2px;
}
.pf-ovh::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 26%, rgba(0,0,0,.74) 100%);
}
.pf-ov--v4 { position: relative; }
.pf-ov--v4::before,
.pf-ov--v4::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    filter: blur(72px) saturate(1.05);
}
.pf-ov--v4::before {
    right: -160px;
    top: 44%;
    width: 860px;
    height: 860px;
    opacity: .5;
    background:
        radial-gradient(42% 55% at 32% 34%, rgba(244,186,224,.85), transparent 70%),
        radial-gradient(38% 50% at 70% 30%, rgba(186,168,244,.75), transparent 70%),
        radial-gradient(45% 55% at 55% 72%, rgba(250,222,176,.7), transparent 72%);
}
.pf-ov--v4::after {
    left: -180px;
    bottom: -80px;
    width: 740px;
    height: 740px;
    opacity: .45;
    background:
        radial-gradient(45% 60% at 40% 40%, rgba(174,216,244,.8), transparent 70%),
        radial-gradient(40% 55% at 65% 65%, rgba(244,186,224,.7), transparent 70%);
}
.pf-ovl { position: relative; z-index: 1; }
.pf-ova { position: relative; z-index: 1; }
@media (max-width: 760px) {
    .pf-ov--v4::before { right: -220px; width: 620px; height: 620px; }
    .pf-ov--v4::after { left: -240px; width: 560px; height: 560px; }
}


/* ---- overview: bottom band like front sticky section; no filter bar ---- */
.pf-ovf { display: none !important; }
.pf-ovl { margin-top: 16px; }
.pf-ov__band {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: min(52%, 860px);
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;
    clip-path: inset(0 round 20px);
    -webkit-clip-path: inset(0 round 20px);
    background: #fff;
}
.pf-ov__band video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}
.pf-ov__bandoverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(25.67deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.68) 45%, rgba(255,255,255,.8) 100%);
}
.pf-ov--v4::after { content: none; }
@media (max-width: 760px) {
    .pf-ov__band { height: min(46%, 620px); border-radius: 14px; clip-path: inset(0 round 14px); -webkit-clip-path: inset(0 round 14px); }
}


/* ---- overview band: colorburn recipe (pastel base + colorburn video + hard white overlay) ---- */
.pf-ov__band {
    background:
        radial-gradient(60% 90% at 18% 82%, rgba(244,186,224,.95), transparent 70%),
        radial-gradient(55% 85% at 78% 30%, rgba(186,168,244,.9), transparent 72%),
        radial-gradient(50% 80% at 55% 75%, rgba(250,222,176,.9), transparent 70%),
        radial-gradient(45% 70% at 35% 25%, rgba(174,216,244,.85), transparent 70%),
        #fff;
}
.pf-ov__band video {
    mix-blend-mode: color-burn;
    opacity: .9;
}
.pf-ov__bandoverlay {
    background: linear-gradient(25.67deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.9) 30%, #ffffff 66%, rgba(255,255,255,.97) 100%);
}


/* ---- overview: sticky list card + headline preview ---- */
.pf-ovl {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 396px);
    gap: 48px;
    align-items: start;
    padding: 24px 30px 60px;
}
.pf-ovl__rows { min-width: 0; }
.pf-ovl__card {
    position: sticky;
    top: 96px;
    right: auto;
    width: 100%;
}
.pf-ovl__yr { margin-right: 22px; }
.pf-ovl__cardhead {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 52px;
    font-size: 14px;
    line-height: 17px;
    color: rgba(255,255,255,.92);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 1100px) {
    .pf-ovl { grid-template-columns: 1fr minmax(280px, 340px); gap: 28px; }
}
@media (max-width: 760px) {
    .pf-ovl { display: block; padding: 8px 2px 24px; }
    .pf-ovl__card { display: none; }
}


/* ---- overview: card starts in the banner ---- */
.pf-ovl__card { margin-top: -150px; z-index: 5; }
.pf-ovl { overflow: visible; }
@media (max-width: 760px) {
    .pf-ovl__card { margin-top: 0; }
}


/* ---- overview: card follows active row ---- */
.pf-ovl {
    display: block;
    position: relative;
    padding: 24px calc(min(396px, 34vw) + 78px) 60px 30px;
    overflow: visible;
}
.pf-ovl__card {
    position: absolute;
    right: 30px;
    top: -150px;
    margin-top: 0;
    width: min(396px, 34vw);
    transition: top .7s cubic-bezier(.22,.61,.36,1);
}
@media (max-width: 1100px) {
    .pf-ovl { padding-right: calc(40vw + 48px); }
    .pf-ovl__card { width: 40vw; }
}
@media (max-width: 760px) {
    .pf-ovl { display: block; padding: 8px 2px 24px; }
    .pf-ovl__card { display: none; }
}


/* ---- overview v5: sticky project backdrop + glass list panel ---- */
.pf-ov--v5 { position: relative; padding: 16px 16px 90px; max-width: none; }
.pf-ov--v5 .pf-ov__home { display: none; }
.pf-ov--v5::before, .pf-ov--v5::after { content: none; }
.pf-ovh {
    position: sticky;
    top: 16px;
    height: min(72vh, 760px);
    z-index: 0;
    border-radius: 15px;
    overflow: hidden;
    clip-path: inset(0 round 15px);
    -webkit-clip-path: inset(0 round 15px);
    box-shadow: none;
}
.pf-ovh__bgs { position: absolute; inset: 0; }
.pf-ovh__bg { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .8s ease; }
.pf-ovh__bg.is-active { opacity: 1; }
.pf-ovh__bg img,
.pf-ovh__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-ovh__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.42) 100%);
}
.pf-ovh::after { content: none; }
.pf-ovl {
    display: block;
    position: relative;
    z-index: 1;
    margin: -34vh 0 0;
    padding: 46px calc(min(396px, 34vw) + 78px) 56px 46px;
    border-radius: 20px;
    background: rgba(255,255,255,.62);
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
    overflow: visible;
}
.pf-ovl__heading {
    margin: 0 0 26px;
    font-weight: 300;
    font-size: clamp(38px, 4vw, 56px);
    letter-spacing: -1.6px;
    line-height: 1.1;
    color: #000;
}
.pf-ovl__row {
    opacity: .45;
    border-bottom: 1px solid rgba(0,0,0,.18);
    padding: 20px 6px;
}
.pf-ovl__row.is-active { opacity: 1; }
.pf-ovl__card {
    position: absolute;
    right: 40px;
    top: 10px;
    margin-top: 0;
    width: min(396px, 34vw);
    transition: top .7s cubic-bezier(.22,.61,.36,1);
}
@media (max-width: 1100px) {
    .pf-ovl { padding-right: calc(40vw + 56px); }
    .pf-ovl__card { width: 40vw; }
}
@media (max-width: 760px) {
    .pf-ovh { top: 12px; height: 58vh; border-radius: 14px; clip-path: inset(0 round 14px); -webkit-clip-path: inset(0 round 14px); }
    .pf-ovl { margin-top: -30vh; padding: 24px 18px 30px; border-radius: 14px; }
    .pf-ovl__heading { font-size: clamp(32px, 9vw, 40px); }
    .pf-ovl__row { opacity: 1; padding: 14px 2px; }
    .pf-ovl__card { display: none; }
}


/* ---- overview v5.1 proportions (Figma Projects 2: hero 96vh, glas ved 76%, titel paa billedet) ---- */
.pf-ovh { height: min(calc(100vh - 48px), 976px); }
.pf-ovl { margin-top: calc(-0.243 * min(calc(100vh - 48px), 976px)); }
.pf-ovh__head {
    position: absolute;
    left: 37px;
    bottom: 30%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
}
.pf-ovh__title2 {
    margin: 0;
    font-weight: 300;
    font-size: clamp(42px, 5vw, 72px);
    letter-spacing: -2.16px;
    line-height: 1.14;
    color: #fff;
}
.pf-ovh__step {
    width: 36px;
    height: 35px;
    border: 0;
    border-radius: 100px;
    background: rgba(20,20,20,.76);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    box-shadow: 0 4px 21.2px rgba(0,0,0,.09);
    cursor: pointer;
    position: relative;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
    margin-top: 14px;
}
.pf-ovh__step:hover { transform: scale(1.1); }
.pf-ovh__step::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(-40%, -50%) rotate(-135deg);
}
.pf-ovh__step--next::before { transform: translate(-60%, -50%) rotate(45deg); }
.pf-ovl__heading { display: none; }
.pf-ovl__card { top: -110px; }
@media (max-width: 760px) {
    .pf-ovh { height: min(calc(100vh - 40px), 720px); }
    .pf-ovl { margin-top: calc(-0.22 * min(calc(100vh - 40px), 720px)); }
    .pf-ovh__head { left: 18px; bottom: 26%; gap: 10px; }
    .pf-ovh__title2 { font-size: clamp(34px, 10vw, 44px); letter-spacing: -1.2px; }
    .pf-ovh__step { width: 32px; height: 31px; }
}


/* ---- overview v5.2: fuldbredde-banner m. hvid fade, kort venstre for pilen, kort-video ---- */
.pf-ov--v5 { padding-top: 0; }
.pf-ovh {
    top: 0;
    margin: 0 -16px;
    height: min(96vh, 976px);
    border-radius: 0;
    clip-path: none;
    -webkit-clip-path: none;
}
.pf-ovh::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 32%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.52) 52%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}
.pf-ovl { margin-top: calc(-0.243 * min(96vh, 976px)); padding-right: 46px; }
.pf-ovl__card { right: clamp(56px, 10.35vw, 149px); }
video.pf-ovl__cardimg { background: #000; }
@media (max-width: 1100px) {
    .pf-ovl { padding-right: 46px; }
}
@media (max-width: 760px) {
    .pf-ovh { top: 0; margin: 0 -16px; height: min(92vh, 760px); border-radius: 0; clip-path: none; -webkit-clip-path: none; }
    .pf-ovl { margin-top: calc(-0.22 * min(92vh, 760px)); }
}


/* ---- overview v5.2b: 1:1-finjustering fra Figma Projects 2 (raekker 26px/71-pitch, glas-padding 12/32/26) ---- */
@media (min-width: 761px) {
    .pf-ovl { padding: 12px 32px 56px 26px; }
    .pf-ovl__row { padding: 21px 6px; }
    .pf-ovl__name { font-size: 26px; }
}


/* ---- overview v5.3: visuel 1:1 med Projects 2-prototypen ---- */
.pf-ovl__yr { display: none; }
.pf-ovl__row .pf-ov__chev {
    width: 13px;
    height: 13px;
    border-top: 2px solid #8f8f8f;
    border-right: 2px solid #8f8f8f;
}
.pf-ovl {
    background: linear-gradient(180deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,.72) 30%, rgba(255,255,255,.96) 55%, #fff 70%);
    border-radius: 14px;
}
.pf-ovl__row { opacity: 1; border-bottom-color: rgba(0,0,0,.10); }
.pf-ovl__row .pf-ovl__name { color: #a4a4a8; transition: color .35s ease; }
.pf-ovl__row.is-active .pf-ovl__name { color: #141414; }
.pf-ovh::after { height: 22%; }
.pf-ovh__step { width: 33px; height: 33px; background: rgba(40,40,40,.55); }
.pf-ovl__cardtitle { position: relative; left: auto; right: auto; top: auto; display: block; padding: 20px 20px 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.pf-ovl__cardhead { position: relative; left: auto; right: auto; top: auto; padding: 10px 20px 0; font-size: 13px; line-height: 1.4; }
.pf-ovl__chipswrap { background: rgba(28,28,28,.38); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.pf-ovl__chips span { background: #ececec; }
.pf-ov--v5 .pf-ov__band { display: none; }


/* ---- overview v5.3b: fade-boksen laa i TOPPEN (gammel inset:0-regel gav top:0) — forankres i bunden ---- */
.pf-ovh::after { top: auto; bottom: -1px; height: 26%; }


/* ---- overview v5.4: overskrift + pile flyttet UD af sticky-heroen, foelger med glasset op ---- */
.pf-ovh__head {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    z-index: 2;
    margin: calc(-0.243 * min(96vh, 976px) - 121px) 16px 38px 37px;
}
.pf-ovl { margin-top: 0; }
@media (max-width: 760px) {
    .pf-ovh__head { margin: calc(-0.22 * min(92vh, 760px) - 82px) 16px 30px 18px; }
    .pf-ovl { margin-top: 0; }
}


/* ---- statement flugter med skills-kortets venstre kant (desktop: kort ved 58% af sektionen) ---- */
.pf-statement__body { margin: 87px 0 0 59.2%; max-width: min(510px, 42%); }
@media (max-width: 1180px) {
    .pf-statement__body { margin-left: calc(106.4% - 424px); max-width: 400px; }
}
@media (max-width: 760px) {
    .pf-statement__body { margin: 36px 0 0; max-width: none; }
}


/* ---- popup venstrekolonne: mere luft til hoejre mod kortene ---- */
@media (min-width: 761px) {
    .pf-popup__left { padding-right: 36px; }
}


/* ---- overview v5.5: banner 100vh, overskrift/kort hoejere, fast kort + glidende titel-liste ---- */
.pf-ovh { height: 100vh; }
.pf-ovh__head { margin: calc(-24.3vh - 157px) 16px 74px 37px; }
.pf-ovl { margin-top: 0; }
.pf-ovl__card { top: -146px; }
.pf-ovl__rows { overflow: hidden; }
.pf-ovl__row { transition: transform .6s cubic-bezier(.22,.61,.36,1); will-change: transform; }
@media (max-width: 760px) {
    .pf-ovh { height: 100vh; }
    .pf-ovh__head { margin: calc(-22vh - 112px) 16px 56px 18px; }
    .pf-ovl { margin-top: 0; }
}


/* ---- overview v5.6: kort 16px fra bund, pile taettere, auto-skift-ring ---- */
@property --pfring { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.pf-ovl__card { top: calc(24.3vh - 16px - (min(396px, 34vw) * 1.0834)); }
@media (max-width: 1100px) {
    .pf-ovl__card { top: calc(24.3vh - 16px - 43.34vw); }
}
.pf-ovh__step + .pf-ovh__step { margin-left: -10px; }
.pf-ovh__step--next.is-anim::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(rgba(255,255,255,.95) var(--pfring), rgba(255,255,255,.15) 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: pfAutoRing 5s linear infinite;
    pointer-events: none;
}
@keyframes pfAutoRing { from { --pfring: 0%; } to { --pfring: 100%; } }


/* ---- overview v5.7: alle raekker synlige, wrap hopper usynligt, linjer stopper foer kortet ---- */
.pf-ovl__row { position: relative; border-bottom: 0; }
.pf-ovl__row::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    background: rgba(0,0,0,.10);
    right: calc(clamp(56px, 10.35vw, 149px) + min(396px, 34vw) - 32px);
}
@media (max-width: 1100px) {
    .pf-ovl__row::after { right: calc(clamp(56px, 10.35vw, 149px) + 40vw - 32px); }
}
@media (max-width: 760px) {
    .pf-ovl__row::after { right: 0; }
}


/* ---- overview v5.8: video-hjoerner klippes (compositor-fix) + moerkere tekst-overlay paa kortet ---- */
.pf-ovl__card {
    clip-path: inset(0 round 15px);
    -webkit-clip-path: inset(0 round 15px);
}
.pf-ovl__cardshade {
    mix-blend-mode: normal;
    background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,0) 62%);
}


/* ---- popup ipad: medie vises HELT (contain paa hvid skaerm) — ipad-medie uden crop ---- */
.pf-popup__ipad-screen img,
.pf-popup__ipad-screen video {
    object-fit: contain;
    background: #fff;
}


/* ---- popup: ipad foelger mediet — skaerm-mediet fylder igen helt (cover) ---- */
.pf-popup__ipad-screen img,
.pf-popup__ipad-screen video {
    object-fit: cover;
}


/* ---- overview v5.9b: glas slutter ved sidste raekke, naeste modul 16px efter ---- */
.pf-ovl { padding-bottom: 12px; }
.pf-ov--v5 .pf-ova { margin-top: 16px; }
.pf-ov--v5 { padding-bottom: 16px; }


/* ---- v6: popup-pile, view-knap paa overblikskort, mobil-kort over H1, mobil-karrusel ned ---- */
.pf-popup__pnav {
    position: absolute;
    top: 30px;
    width: 49px;
    height: 47px;
    border: 0;
    border-radius: 100px;
    background: rgba(20,20,20,.76);
    -webkit-backdrop-filter: blur(28.65px);
    backdrop-filter: blur(28.65px);
    box-shadow: 0 4px 21.2px rgba(0,0,0,.09);
    cursor: pointer;
    z-index: 5;
    transform: scale(0);
    transition: transform .5s cubic-bezier(.34,1.56,.64,1) .2s;
}
.pf-popup.is-open .pf-popup__pnav { transform: scale(1); }
.pf-popup__pnav--prev { left: 86px; }
.pf-popup__pnav--next { left: 145px; }
.pf-popup__pnav::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-40%, -50%) rotate(-135deg);
}
.pf-popup__pnav--next::before { transform: translate(-60%, -50%) rotate(45deg); }
.pf-ovl__cardbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    margin: 14px 0 0 20px;
    border-radius: 100px;
    background: #fff;
    color: #141414;
    font-size: 12.5px;
    font-weight: 600;
    z-index: 2;
}
@media (max-width: 760px) {
    .pf-ovl__card {
        display: block;
        position: absolute;
        left: auto;
        right: 16px;
        top: -274px;
        width: 148px;
        z-index: 3;
    }
    .pf-ovl__cardhead,
    .pf-ovl__chipswrap,
    .pf-ovl__cardbtn { display: none; }
    .pf-ovl__cardtitle { font-size: 13px; padding: 10px 12px 0; }
    .pf-projects .pf-card,
    .pf-projects .pf-card:nth-of-type(1),
    .pf-projects .pf-card:nth-of-type(2),
    .pf-projects .pf-card:nth-of-type(3),
    .pf-projects .pf-card:nth-of-type(4),
    .pf-projects .pf-card:nth-of-type(5),
    .pf-projects .pf-card:nth-of-type(6),
    .pf-projects .pf-card:nth-of-type(7) {
        top: 62% !important;
    }
}


/* ---- rowbtn: View project ved aktivt navn (hover), kort-knap droppet ---- */
.pf-ovl__cardbtn { display: none; }
.pf-ovl__rowbtn {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 28px;
    padding: 0 14px;
    margin-left: 18px;
    border-radius: 100px;
    background: #141414;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.pf-ovl__row.is-active:hover .pf-ovl__rowbtn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
@media (max-width: 760px) {
    .pf-ovl__rowbtn { display: none; }
}


/* ---- v6.1: pile-restyle (adskilt fra luk), View project auto ved aktiv raekke + kort-hover ---- */
.pf-popup__pnav {
    width: 36px;
    height: 35px;
    top: 36px;
    background: rgba(20,20,20,.30);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: none;
}
.pf-popup__pnav--prev { left: 88px; }
.pf-popup__pnav--next { left: 132px; }
.pf-popup__pnav::before { width: 8px; height: 8px; border-width: 1.5px; }
.pf-popup__pnav:hover { background: rgba(20,20,20,.55); }
.pf-ovl__row .pf-ovl__rowbtn { transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.pf-ovl__row.is-active .pf-ovl__rowbtn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.pf-ovl__cardbtn {
    display: inline-flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    height: 32px;
    padding: 0 18px;
    border-radius: 100px;
    background: #fff;
    color: #141414;
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    pointer-events: none;
    transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
    z-index: 3;
    white-space: nowrap;
}
.pf-ovl__card:hover .pf-ovl__cardbtn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 760px) {
    .pf-ovl__cardbtn { display: none; }
}


/* ---- rowbtn lige efter navnet (navn ikke flex:1; chevron holder hoejre via auto-margin) ---- */
.pf-ovl__name { flex: none; }
.pf-ovl__row .pf-ov__chev { margin-left: auto; }


/* ---- skillset-link luft paa mobil: mere afstand til broedteksten ---- */
@media (max-width: 760px) {
    .pf-statement { padding-bottom: 124px; }
    .pf-statement__skip { bottom: 44px; }
}


/* ---- skills mobil-accordion-kort: relative saa panerne forankres i KORTET, ikke raekkelisten ---- */
@media (max-width: 760px) {
    .pf-skills__rows .pf-skills__card { position: relative; }
}


/* ---- hero-bg: kun aktivt lag klikbart (usynlige lag aad alle klik -> altid samme projekt) ---- */
.pf-ovh__bg { pointer-events: none; }
.pf-ovh__bg.is-active { pointer-events: auto; }


/* ---- skills mobil-alternativ: flow-stak (billede -> moerk tekst -> chips), ingen lag/faste hoejder ---- */
@media (max-width: 760px) {
    .pf-skills__rows .pf-skills__card,
    .pf-skills__card {
        position: relative;
        height: auto;
        min-height: 0;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        background: transparent;
    }
    .pf-skills__cardpane {
        display: none;
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }
    .pf-skills__cardpane.is-active { display: block; }
    .pf-skills__card-img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }
    .pf-skills__card-shade { display: none; }
    .pf-skills__card-body {
        position: relative;
        inset: auto;
        left: 0;
        right: 0;
        top: 0;
        padding: 14px 2px 0;
        color: #141414;
    }
    .pf-skills__card-title { color: #141414; font-size: 17px; line-height: 1.3; max-width: none; }
    .pf-skills__card-text { color: #5c5c5c; font-size: 13px; line-height: 1.5; max-width: none; margin-top: 8px; }
    .pf-skills__chipswrap {
        position: relative;
        inset: auto;
        left: 0;
        right: 0;
        bottom: auto;
        margin-top: 14px;
        padding: 0 2px;
    }
    .pf-skills__chips-label { color: #8a8a8a; font-size: 12px; margin: 0 0 8px; }
    .pf-skills__chips {
        background: transparent;
        padding: 0;
        gap: 8px;
        border-radius: 0;
    }
    .pf-skills__chip { background: #fff; }
}


/* ---- skills mobil: top-nulstilling (gammel desktop-regel top:87px skubbede kortet ned i raekken) ---- */
@media (max-width: 760px) {
    .pf-skills__card { top: 0; left: auto; right: auto; }
}


/* ---- popup: mobil-udfylder-kort + pile hoejre ---- */
/* 1-kolonne paa mobil: udfylder-kort ved siden af naturligt kort maa ikke kollapse til 0 */
@media (max-width: 760px) {
    .pf-popup__row--2:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural),
    .pf-popup__row--3:has(.pf-popup__item--natural) .pf-popup__item:not(.pf-popup__item--natural) {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
/* projekt-pile hoejrestillet i popuppen */
.pf-popup__pnav--prev { left: auto; right: 76px; }
.pf-popup__pnav--next { left: auto; right: 27px; }


/* ---- skills mobil: titel i billedboksen (overlay m. 16px padding), tekst under m. justeret padding ---- */
@media (max-width: 760px) {
    .pf-skills__cardpane.is-active { position: relative; }
    .pf-skills__card-title {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 16px;
        color: #fff;
        z-index: 2;
        text-shadow: 0 1px 14px rgba(0,0,0,.5);
    }
    .pf-skills__card-body { position: static; padding: 12px 2px 0; }
    .pf-skills__card-text { margin-top: 0; }
}


/* ---- mobil View project-knap under raekkerne i projektoverblikket ---- */
.pf-ovl__mobilebtn { display: none; }
@media (max-width: 760px) {
    .pf-ovl__mobilebtn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        margin: 6px 2px 4px;
        border-radius: 100px;
        background: #141414;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }
}


/* ---- skills mobil: billedet snupper den aktive overskrift (ingen dublet), diskret streg ---- */
@media (max-width: 760px) {
    .pf-skills__card-title { display: none; }
    .pf-skills__rows .pf-skills__card { margin-top: -76px; }
    .pf-skills__row.is-active {
        border-bottom: 0;
        z-index: 3;
    }
    .pf-skills__row.is-active .pf-skills__label {
        color: #fff;
        text-shadow: 0 1px 12px rgba(0,0,0,.5);
    }
    .pf-skills__row.is-active .pf-skills__arrow::before {
        border-color: #fff;
    }
    .pf-skills__row.is-active::before {
        width: 18px;
        height: 1px;
        background: #fff;
    }
    .pf-skills__row.is-active::before { margin-right: 12px; }
}


/* ---- mobil: intro stickyer tidligere og sidder lavere (Senior Brand Designer -> Scroll) ---- */
@media (max-width: 760px) {
    .pf-projects__intro { top: 48px !important; }
}


/* ---- popup: pop-ind slaaet fra paa mobil — moduler ALTID synlige (IO fyrer ikke paalideligt) ---- */
@media (max-width: 760px) {
    #pf-popup .pf-popup__item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ---- mobil: statement-bund som top + skills-indryk fra kanten ---- */
@media (max-width: 760px) {
    .pf-statement { padding-bottom: 152px; }
    .pf-statement__skip { bottom: 72px; }
    .pf-statement__body { margin-top: 20px; }
    .pf-skills__rows .pf-skills__card { width: auto; margin-left: 24px; margin-right: 24px; }
    .pf-skills__row.is-active { padding-left: 40px; }
}


/* ---- iOS-scroll-sikringer paa popup-panelet (mobil): dyn. viewport-hoejde + touch-scroll ---- */
@media (max-width: 760px) {
    #pf-popup .pf-popup__panel {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        max-height: calc(100dvh - 16px);
        overscroll-behavior: contain;
    }
}


/* ---- skills-overskrifter mindre paa mobil ---- */
@media (max-width: 760px) {
    .pf-skills__label { font-size: 19px; }
    .pf-skills__row { height: 64px; }
    .pf-skills__rows .pf-skills__card { margin-top: -64px; }
}


/* ---- mobil: streger omkring aktivt skills-kort (ingen ved billedtop, ny under tags) ---- */
@media (max-width: 760px) {
    .pf-skills__row:has(+ .pf-skills__row.is-active) { border-bottom: 0; }
    .pf-skills__rows .pf-skills__card {
        border-bottom: 1px solid rgba(0,0,0,.18);
        padding-bottom: 18px;
    }
}


/* ---- mobil: skills-billede mere aflangt (16:10 -> 16:9) ---- */
@media (max-width: 760px) {
    .pf-skills__card-img { aspect-ratio: 16 / 9; }
}


/* ---- mobil: kort-streg matcher raekkelinjerne (fuld bredde + samme afstand som under overskrifterne) ---- */
@media (max-width: 760px) {
    .pf-skills__rows .pf-skills__card {
        border-bottom: 0;
        padding-bottom: 22px;
    }
    .pf-skills__rows .pf-skills__card::after {
        content: "";
        position: absolute;
        left: -24px;
        right: -24px;
        bottom: 0;
        height: 1px;
        background: rgba(0,0,0,.18);
    }
}


/* ---- popup-galleri deterministisk paa mobil: 1 kolonne, naturlig billedhoejde, ingen 0-hoejde muligt ---- */
@media (max-width: 760px) {
    #pf-popup .pf-popup__row { grid-template-columns: 1fr !important; }
    #pf-popup .pf-popup__item:not(.pf-popup__item--ipad):not(.pf-popup__item--glass) {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 40px !important;
    }
    #pf-popup .pf-popup__item:not(.pf-popup__item--ipad):not(.pf-popup__item--glass) img,
    #pf-popup .pf-popup__item:not(.pf-popup__item--ipad):not(.pf-popup__item--glass) video {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
}


/* ---- mobil v2: linjer over inaktive, tags i billedet, rowbtn i raekken ---- */
@media (max-width: 760px) {
    /* streger: kun OVER inaktive overskrifter — aldrig ved billedets kant */
    .pf-skills__row { border-bottom: 0 !important; border-top: 1px solid rgba(0,0,0,.18); }
    .pf-skills__row:first-child { border-top: 0; }
    .pf-skills__row.is-active { border-top: 0; }
    .pf-skills__rows .pf-skills__card { margin-bottom: 0; padding-bottom: 22px; }
    .pf-skills__rows .pf-skills__card::after { content: none; }
    /* billedet hoejere, tags inde i billedet */
    .pf-skills__card-img { aspect-ratio: 1 / 1; }
    .pf-skills__chipswrap {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100vw - 94px);
        transform: translateY(-100%);
        margin: 0;
        padding: 0;
        z-index: 2;
    }
    .pf-skills__chips { background: rgba(217,217,217,.68); padding: 12px; border-radius: 9px; gap: 8px; }
    .pf-skills__chips-label { color: #fff; margin: 0 0 6px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
    /* /projects/: View project i raekken lige foer pilen — bundknap vaek */
    .pf-ovl__mobilebtn { display: none !important; }
    .pf-ovl__rowbtn {
        display: inline-flex;
        margin-left: auto;
        height: 24px;
        padding: 0 10px;
        font-size: 11px;
    }
    .pf-ovl__row .pf-ov__chev { margin-left: 10px; }
}


/* ---- kontakt-footer: pastel-aura, portraet, elastiske piller ---- */
.pf-contact {
    position: relative;
    margin: 0 16px 16px;
    border-radius: 20px;
    background: #f6f6f8;
    overflow: hidden;
    text-align: center;
    padding: 108px 24px 40px;
    font-family: 'Montserrat', sans-serif;
    isolation: isolate;
}
.pf-contact::before,
.pf-contact::after {
    content: "";
    position: absolute;
    inset: -30%;
    z-index: -1;
    background:
        radial-gradient(40% 34% at 24% 30%, rgba(255,196,217,.55), transparent 70%),
        radial-gradient(36% 30% at 76% 24%, rgba(186,205,255,.5), transparent 70%),
        radial-gradient(44% 38% at 62% 78%, rgba(255,229,180,.45), transparent 70%);
    filter: blur(40px);
    animation: pfContactAura 22s ease-in-out infinite alternate;
}
.pf-contact::after {
    background:
        radial-gradient(34% 30% at 70% 60%, rgba(216,186,255,.4), transparent 70%),
        radial-gradient(30% 26% at 30% 70%, rgba(186,240,228,.38), transparent 70%);
    animation-duration: 28s;
    animation-direction: alternate-reverse;
}
@keyframes pfContactAura {
    from { transform: translate3d(-4%, -3%, 0) scale(1); }
    to { transform: translate3d(4%, 5%, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
    .pf-contact::before, .pf-contact::after { animation: none; }
}
.pf-contact__photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 5px rgba(255,255,255,.85), 0 10px 30px rgba(0,0,0,.14);
    margin-bottom: 26px;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-contact__photo:hover { transform: scale(1.07) rotate(-3deg); }
.pf-contact__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #8a8a8f;
}
.pf-contact__heading {
    margin: 0 auto;
    max-width: 720px;
    font-weight: 300;
    font-size: clamp(32px, 4.6vw, 62px);
    letter-spacing: -1.8px;
    line-height: 1.12;
    color: #101010;
}
.pf-contact__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}
.pf-contact__btn {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 26px;
    border-radius: 100px;
    background: rgba(255,255,255,.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #141414;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.pf-contact__btn--dark {
    background: rgba(20,20,20,.88);
    color: #fff;
    box-shadow: 0 4px 21px rgba(0,0,0,.14);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.pf-contact__btn:hover { transform: translateY(-3px); }
.pf-contact__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 96px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: 12px;
    color: #8a8a8f;
}
@media (max-width: 760px) {
    .pf-contact { padding: 72px 20px 24px; }
    .pf-contact__photo { width: 76px; height: 76px; }
    .pf-contact__meta { margin-top: 64px; }
}


/* ---- kontakt-footer v2: moerk finale, kaempe gradient-typografi, foto i saetningen ---- */
.pf-contact--v2 {
    background: #131313;
    text-align: left;
    padding: 92px 5.3% 26px;
}
.pf-contact--v2::before {
    opacity: .34;
    mix-blend-mode: screen;
}
.pf-contact--v2::after { content: none; }
.pf-contact--v2 .pf-contact__eyebrow { color: rgba(255,255,255,.45); margin-bottom: 36px; }
.pf-contact__mega {
    display: block;
    text-decoration: none;
    font-weight: 300;
    font-size: clamp(54px, 10.5vw, 164px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #fff;
}
.pf-contact__megaline { display: block; }
@supports (-webkit-background-clip: text) {
    .pf-contact__mega {
        background: linear-gradient(100deg, #ffffff 20%, #ffd3e3 38%, #cdd9ff 50%, #ffe9c9 62%, #ffffff 80%);
        background-size: 260% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: pfMegaSheen 9s linear infinite;
    }
}
@keyframes pfMegaSheen {
    from { background-position: 130% 0; }
    to { background-position: -130% 0; }
}
.pf-contact--v2 .pf-contact__photo {
    display: inline-block;
    width: clamp(52px, 7.4vw, 112px);
    height: clamp(52px, 7.4vw, 112px);
    border-radius: 50%;
    object-fit: cover;
    vertical-align: baseline;
    margin: 0 0.05em -0.14em 0.16em;
    box-shadow: 0 0 0 4px rgba(255,255,255,.16), 0 12px 34px rgba(0,0,0,.5);
    transform: rotate(-6deg);
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
    animation: pfPhotoBob 6s ease-in-out infinite;
}
@keyframes pfPhotoBob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}
.pf-contact__mega:hover .pf-contact__photo { transform: rotate(4deg) scale(1.08); }
.pf-contact__arrow {
    display: inline-flex;
    width: clamp(44px, 6vw, 92px);
    height: clamp(44px, 6vw, 92px);
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.35);
    vertical-align: baseline;
    margin-left: 0.18em;
    margin-bottom: -0.1em;
    position: relative;
    transition: background .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.pf-contact__arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26%;
    height: 26%;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-65%, -40%) rotate(45deg);
    transition: border-color .35s ease;
}
.pf-contact__mega:hover .pf-contact__arrow { background: #fff; transform: translateX(12px); }
.pf-contact__mega:hover .pf-contact__arrow::before { border-color: #131313; }
.pf-contact--v2 .pf-contact__meta {
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.45);
    margin-top: 96px;
    padding-top: 16px;
}
.pf-contact__links { display: inline-flex; gap: 22px; }
.pf-contact__links a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .3s ease; }
.pf-contact__links a:hover { color: #fff; }
@media (max-width: 760px) {
    .pf-contact--v2 { padding: 64px 20px 18px; }
    .pf-contact__mega { font-size: 15vw; }
    .pf-contact--v2 .pf-contact__meta { flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-contact__mega, .pf-contact--v2 .pf-contact__photo { animation: none; }
}
