/* =============================================
   Portfolio Redesign — editorial dark/cream
   Inspired by grainandmortar.com + forn.dk
   ============================================= */

/* Prevent white flash on load — the preloader itself defaults to background-color:#fff in index.css */
html, body { background: #0d0d0d; }
#preloader { background-color: #0d0d0d !important; }

:root {
  --pf-black: #0d0d0d;
  --pf-white: #f7f5ee;
  --pf-accent: #fe8752;
  --pf-gray: #787878;
  --pf-light: #f0ede4;
  --pf-border: rgba(247,245,238,0.12);
  --pf-sans: 'Poppins', sans-serif;
  --pf-serif: 'Playfair Display', serif;
  --pf-mono: 'Courier New', monospace;
  --pf-section-pad: clamp(4rem, 8vw, 8rem);
}

/* ── Nav ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  mix-blend-mode: normal;
}

.pf-nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
}

.pf-nav__name {
  font-family: var(--pf-serif);
  font-size: 1.05rem;
  color: var(--pf-white);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

.pf-nav__name:hover { opacity: 0.7; }

.pf-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.pf-nav__links a {
  font-family: var(--pf-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(247,245,238,0.7);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.pf-nav__links a:hover { color: var(--pf-white); }

.pf-nav__cta {
  background: var(--pf-accent) !important;
  color: var(--pf-black) !important;
  padding: 0.5rem 1.35rem !important;
  border-radius: 99px;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s !important;
}

.pf-nav__cta:hover {
  background: #e0703a !important;
  transform: scale(1.04);
}

/* index.css's header.scrolled was built for the old light nav — override for dark theme */
header.scrolled {
  background-color: rgba(13,13,13,0.85) !important;
  border-bottom: 1px solid var(--pf-border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  padding: 10px 20px !important;
  height: auto !important;
}

header.scrolled::after { display: none !important; }

/* ── Curtain text ── */
.center-text {
  text-align: center;
}

.center-text h1 {
  font-family: var(--pf-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--pf-white);
  margin: 0;
}

.center-text__sub {
  font-family: 'Pinyon Script', cursive, var(--pf-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--pf-accent);
  display: block;
  line-height: 1.2;
  margin-top: 0.25rem;
}

/* ── Section label (small orange caps above headings) ── */
.pf-label {
  font-family: var(--pf-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pf-accent);
  display: block;
  margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════════
   forn.dk centered-text + pili-circle — Vision section
   padding: 22rem 0 is from their exact CSS
   ══════════════════════════════════════════ */

.fk-vision {
  position: relative;
  background: #f7f5ee;
  padding: 22rem 0;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fk-vision { padding: 8rem 0; }
}

.fk-vision__text-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.fk-vision__label {
  font-family: var(--pf-sans);
  font-size: 13px;
  color: #747474;
  margin: 0;
}

.fk-vision__h2 {
  font-family: var(--pf-serif);
  font-size: clamp(6rem, 20vw, 22rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--pf-black);
  margin: 0;
}

/* bouncing down-arrow — exact forn.dk animation */
.fk-vision__down {
  display: inline-flex;
  color: var(--pf-black);
  text-decoration: none;
  animation: fk-bounce 2s ease infinite;
}

.fk-vision__down svg { width: 24px; height: 24px; }

@keyframes fk-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* Pili orbit ring — exact forn.dk pili-circle layout */
.fk-pili-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  animation: fk-orbit 80s linear infinite;
  pointer-events: none;
}

.fk-pili-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform: rotate(var(--a, 0deg));
}

.fk-pili {
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%);
  animation: fk-counter 80s linear infinite;
  opacity: 0.35;
}

.fk-pili svg {
  width: 56px;
  height: 56px;
}

@keyframes fk-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fk-counter {
  to { transform: translate(-50%) rotate(-360deg); }
}

/* ══════════════════════════════════════════
   forn.dk stories pattern — Work section
   ══════════════════════════════════════════ */

.fk-stories {
  background: #f7f5ee;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

/* Centered text-wrapper — exact forn.dk layout */
.fk-stories__text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  margin-bottom: 3rem;
}

.fk-stories__label {
  font-family: var(--pf-sans);
  font-size: 13px;
  font-weight: 400;
  color: #747474;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

/* Giant heading — chars slide up from behind overflow:hidden line */
.fk-stories__h2 {
  font-family: var(--pf-serif);
  font-size: clamp(6rem, 20vw, 22rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--pf-black);
  margin: 0;
  text-align: center;
}

.fk-line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}

.fk-char {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* Drag indicator */
.fk-drag-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #747474;
  font-family: var(--pf-sans);
  font-size: 13px;
  margin-bottom: 2.5rem;
}

.fk-drag-hint svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Swiper base */
.fk-swiper {
  width: 100%;
  overflow: visible !important;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 2rem !important;
  cursor: grab;
}

.fk-swiper:active { cursor: grabbing; }

.fk-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.fk-swiper .swiper-slide {
  width: 440px !important;
  flex-shrink: 0;
  height: auto;
}

/* Story card — direct copy of forn.dk .story-card rules */
.fk-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  gap: 2rem;
  width: 100%;
  height: 600px;
  background-color: #fff;
  position: relative;
  border: 1px solid #dddddd;
  border-radius: 60px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-sizing: border-box;
}

.fk-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}

/* Ironwork — decorative corner marks (forn.dk style) */
.fk-ironwork {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
}

.fk-ironwork span {
  position: absolute;
  display: block;
  height: 1.5px;
  background: #ccc;
  transform-origin: left center;
  border-radius: 2px;
}

.fk-ironwork span:nth-child(1) {
  width: 26px;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(58deg);
}

.fk-ironwork span:nth-child(2) {
  width: 22px;
  top: 12%;
  left: 55%;
  transform: translate(-50%, -50%) rotate(118deg);
}

.fk-ironwork span:nth-child(3) {
  width: 38px;
  top: 88%;
  left: 85%;
  transform: translate(-50%, -50%) rotate(30deg);
}

/* Card body — excerpt text */
.fk-card__body {
  flex-shrink: 0;
}

.fk-card__body p {
  font-family: var(--pf-sans);
  font-size: 1rem;
  color: #272727;
  line-height: 1.65;
  max-width: 32ch;
  margin: 0;
  font-weight: 300;
}

/* Card signature — large title + tag at bottom */
.fk-card__sig {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: auto;
  flex-grow: 1;
}

.fk-card__title {
  font-family: var(--pf-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.05;
  color: var(--pf-black);
  max-width: 9ch;
  display: block;
}

.fk-card__tag {
  font-family: var(--pf-sans);
  font-size: 0.8rem;
  color: #747474;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

/* Live site link inside card */
.fk-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--pf-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--pf-accent);
  text-decoration: none;
  margin-top: 0.4rem;
  transition: opacity 0.2s;
}

.fk-card__link:hover { opacity: 0.7; }

/* Arrow — bottom-right absolute */
.fk-card__arrow {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  color: var(--pf-black);
  transition: transform 0.25s ease;
}

.fk-card:hover .fk-card__arrow {
  transform: translate(4px, -4px);
}

.fk-card__arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .fk-stories {
    padding: 6rem 0 4rem;
  }
  .fk-swiper .swiper-slide {
    width: 320px !important;
  }
  .fk-card {
    height: 500px;
    padding: 1.75rem;
    border-radius: 40px;
  }
  .fk-card__title {
    font-size: 2rem;
  }
}


/* ── About / bio ── */
.pf-about {
  background: var(--pf-black);
  color: var(--pf-white);
  padding: var(--pf-section-pad) clamp(1.5rem, 6vw, 7rem) 0;
}

.pf-about__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pf-about__text {
  font-family: var(--pf-sans);
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247,245,238,0.75);
  max-width: 62ch;
  margin: 0;
}

/* About flows straight into Experience — avoid doubling the section padding */
.pf-about + .pf-experience {
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

/* ── Experience section ── */
.pf-experience {
  background: var(--pf-black);
  color: var(--pf-white);
  padding: var(--pf-section-pad) clamp(1.5rem, 6vw, 7rem);
}

.pf-experience__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pf-experience__timeline {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.pf-role {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--pf-border);
}

.pf-role:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pf-role__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.pf-role__title {
  font-family: var(--pf-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin: 0 0 0.4rem 0;
  color: var(--pf-white);
  line-height: 1.1;
}

.pf-role__company {
  font-family: var(--pf-sans);
  font-size: 13px;
  color: var(--pf-accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}

.pf-role__company a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(254,135,82,0.4);
  transition: text-decoration-color 0.2s;
}

.pf-role__company a:hover {
  text-decoration-color: var(--pf-accent);
}

.pf-role__period {
  font-family: var(--pf-mono);
  font-size: 12px;
  color: var(--pf-gray);
  white-space: nowrap;
  padding-top: 0.6rem;
}

.pf-role__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pf-role__bullets li {
  font-family: var(--pf-sans);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  color: rgba(247,245,238,0.75);
  line-height: 1.65;
  padding-left: 1.4rem;
  position: relative;
}

.pf-role__bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--pf-accent);
  font-size: 11px;
  top: 0.3em;
}

.pf-role__bullets li a {
  color: var(--pf-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--pf-accent);
  transition: color 0.2s;
}

.pf-role__bullets li a:hover {
  color: var(--pf-accent);
}

.pf-role--secondary .pf-role__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(247,245,238,0.65);
}

/* ══════════════════════════════════════════
   osmo.supply scroll-shot — sequential sweep reveal
   recorded timeline dimmed each item to opacity 0.2 then back to 1
   in a staggered sweep; recreated here as a chip-tag stack section
   ══════════════════════════════════════════ */
.pf-stack {
  background: var(--pf-black);
  padding: 0 clamp(1.5rem, 6vw, 7rem) var(--pf-section-pad);
}

.pf-stack__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pf-stack__group .pf-label { margin-bottom: 1rem; }

.pf-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--pf-mono);
  font-size: 13px;
  color: rgba(247,245,238,0.85);
  border: 1px solid var(--pf-border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  opacity: 0.25;
  transition: border-color 0.25s, background 0.25s;
}

.pf-chip:hover {
  border-color: rgba(254,135,82,0.55);
  background: rgba(254,135,82,0.06);
}

/* Stats section is removed from flow — hide it defensively */
.stats-display-x8f2 { display: none !important; }

/* our-products-section inside curtain = Abreez product categories, irrelevant */
.our-products-section { display: none !important; }

/* ── Education section ── */
.pf-education {
  background: #f7f5ee;
  color: var(--pf-black);
  padding: var(--pf-section-pad) clamp(1.5rem, 6vw, 7rem);
}

.pf-education__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pf-edu-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid rgba(13,13,13,0.12);
  margin-bottom: 3rem;
}

.pf-edu-main__degree {
  font-family: var(--pf-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--pf-black);
  margin: 0 0 0.75rem 0;
}

.pf-edu-main__school {
  font-family: var(--pf-sans);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  color: var(--pf-accent);
  letter-spacing: 0.04em;
  margin: 0 0 0.9rem 0;
}

.pf-edu-main__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pf-edu-main__meta span {
  font-family: var(--pf-mono);
  font-size: 12px;
  color: var(--pf-gray);
}

.pf-edu-sep {
  color: rgba(0,0,0,0.2) !important;
}

.pf-edu-main__thesis {
  font-family: var(--pf-sans);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  color: rgba(13,13,13,0.6);
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}

.pf-edu-main__logo {
  width: 100px;
  flex-shrink: 0;
}

.pf-edu-main__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Cert cards row */
.pf-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pf-cert {
  background: #fff;
  border: 1px solid rgba(13,13,13,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s, background 0.2s;
}

.pf-cert:hover {
  border-color: rgba(254,135,82,0.45);
  background: #faf9f5;
}

.pf-cert__logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
}

.pf-cert__logo-wrap img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.pf-cert__body {
  flex: 1;
}

.pf-cert__name {
  font-family: var(--pf-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--pf-black);
  line-height: 1.4;
  margin: 0 0 0.4rem 0;
}

.pf-cert__issuer {
  font-family: var(--pf-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--pf-gray);
  margin: 0;
  letter-spacing: 0.03em;
}

/* Hide old carousel — kept so JS doesn't throw */
.wooden-board[style*="display:none"] { display: none !important; }

@media (max-width: 900px) {
  .pf-certs {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-edu-main {
    grid-template-columns: 1fr;
  }
  .pf-edu-main__logo {
    display: none;
  }
}

@media (max-width: 540px) {
  .pf-certs {
    grid-template-columns: 1fr;
  }
}


/* ── Right-menu (header CTA) ── */
.right-menu {
  background-color: var(--pf-accent) !important;
}

.right-menu:hover {
  background-color: #e07040 !important;
  box-shadow: 0 4px 14px rgba(254,135,82,0.35) !important;
}

/* ── Scrollbar themed ── */
::-webkit-scrollbar-track { background: var(--pf-black) !important; }
::-webkit-scrollbar-thumb { background: #3a3a3a !important; }
::-webkit-scrollbar-thumb:hover { background: var(--pf-accent) !important; }

/* ── Section gap between curtain and experience ── */
.pf-gap { height: 0; }

/* ── Contact section — forn.dk icon-rows ── */
.pf-contact {
  background: var(--pf-black);
  color: var(--pf-white);
  padding: var(--pf-section-pad) clamp(1.5rem, 6vw, 7rem);
  border-top: 1px solid var(--pf-border);
}

.pf-contact__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pf-contact__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.pf-contact__heading h2 {
  font-family: var(--pf-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--pf-white);
  margin: 0;
  max-width: 14ch;
}

.pf-contact__arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 0.5rem;
  color: var(--pf-accent);
}

.pf-contact__rows {
  display: flex;
  flex-direction: column;
}

.pf-contact__row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--pf-border);
  text-decoration: none;
  color: var(--pf-white);
  transition: color 0.2s;
  position: relative;
}

.pf-contact__row:last-child {
  border-bottom: 1px solid var(--pf-border);
}

.pf-contact__row:hover {
  color: var(--pf-accent);
}

.pf-contact__row--static {
  cursor: default;
}

.pf-contact__row--static:hover {
  color: var(--pf-white);
}

.pf-contact__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.pf-contact__row:hover .pf-contact__icon {
  opacity: 1;
}

.pf-contact__icon svg {
  width: 100%;
  height: 100%;
}

.pf-contact__text {
  font-family: var(--pf-sans);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: 0.01em;
  flex: 1;
}

.pf-contact__arrow-sm {
  font-size: 18px;
  color: var(--pf-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.pf-contact__row:hover .pf-contact__arrow-sm {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════
   osmo.supply load-entrance — giant bleeding logotype
   footer-bottom__logo was 122vw, centered via left:50%/translate(-50%);
   each letter-path carried its own settle transform on entrance
   ══════════════════════════════════════════ */
.fk-logotype {
  background: var(--pf-black);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0;
  display: flex;
  justify-content: center;
}

.fk-logotype__word {
  position: relative;
  width: 122vw;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-family: var(--pf-sans);
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 11rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--pf-white);
}

.fk-logochar {
  display: inline-block;
  opacity: 0;
  transform: translateY(70px) rotate(var(--r, 10deg));
  will-change: transform, opacity;
}

.fk-logochar--space {
  width: 0.35em;
}

@media (max-width: 768px) {
  .fk-logotype__word { font-size: clamp(2.4rem, 16vw, 5rem); }
}

/* ── Footer ── */
.pf-footer {
  background: var(--pf-black);
  border-top: 1px solid var(--pf-border);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 7rem) 2.5rem;
}

.pf-footer__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--pf-border);
}

.pf-footer__tagline {
  font-family: var(--pf-sans);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 300;
  color: rgba(247,245,238,0.6);
  letter-spacing: 0.01em;
}

.pf-footer__status {
  font-family: var(--pf-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-accent);
  background: rgba(254,135,82,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
}

.pf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pf-footer__copy {
  font-family: var(--pf-mono);
  font-size: 12px;
  color: rgba(247,245,238,0.35);
}

.pf-footer__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.pf-footer__links a {
  font-family: var(--pf-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--pf-gray);
  text-decoration: none;
  transition: color 0.18s;
}

.pf-footer__links a:hover {
  color: var(--pf-white);
}

.pf-footer__loc {
  font-family: var(--pf-mono);
  font-size: 12px;
  color: rgba(247,245,238,0.35);
}

/* ── forn.dk char-split heading animation ── */
.pf-word {
  display: inline-block;
  white-space: nowrap;
}

.pf-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.42s cubic-bezier(0.4,0,0.2,1),
              transform 0.42s cubic-bezier(0.4,0,0.2,1);
  transition-delay: calc(var(--ci) * 28ms);
}

.pf-split--in .pf-char {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .pf-role__header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .pf-role__period {
    padding-top: 0;
  }
  .pf-experience {
    padding: 3rem 1.5rem;
  }
  .pf-experience__timeline {
    gap: 3rem;
  }
  .pf-role {
    padding-bottom: 3rem;
  }
  .pf-contact__heading {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .pf-contact__arrow {
    display: none;
  }
  .pf-footer__inner {
    gap: 0.6rem;
  }
}
