/* Generated by scripts/build-home-css.mjs. Do not edit directly. */
/* source: styles.css */
:root {
  --pf-bg: #0a0a09;
  --pf-panel: #11110f;
  --pf-text: #f2efe8;
  --pf-muted: #9e998f;
  --pf-line: rgba(242, 239, 232, 0.14);
  --pf-accent: #c7a86b;
  --pf-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--pf-bg); }

.portfolio-site {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% 0%, rgba(199,168,107,.09), transparent 26rem),
    var(--pf-bg);
  color: var(--pf-text);
  font-family: 'Manrope', system-ui, sans-serif;
}

.portfolio-site a { color: inherit; text-decoration: none; }
.portfolio-site section[id], .portfolio-site header[id] { scroll-margin-top: 82px; }
.portfolio-buyer-card, .portfolio-card { scroll-margin-top: 96px; }
.portfolio-shell { width: min(calc(100% - 32px), var(--pf-max)); margin: 0 auto; }

.portfolio-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,9,.84); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--pf-line);
}
.portfolio-nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.portfolio-mark { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.portfolio-nav-links { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--pf-muted); }
.portfolio-nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.portfolio-nav-links a:hover { color: var(--pf-text); }

.portfolio-hero { padding: 78px 0 68px; border-bottom: 1px solid var(--pf-line); }
.portfolio-kicker { margin: 0 0 22px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pf-accent); }
.portfolio-title { margin: 0; max-width: 980px; font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(58px, 12vw, 142px); line-height: .84; letter-spacing: -.045em; }
.portfolio-title em { color: var(--pf-accent); font-weight: 500; }
.portfolio-hero-grid { margin-top: 42px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 48px; align-items: end; }
.portfolio-lead { margin: 0; max-width: 720px; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.4; }
.portfolio-meta { color: var(--pf-muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }

.portfolio-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.portfolio-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--pf-line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.portfolio-btn.primary { color: #111; background: var(--pf-text); border-color: var(--pf-text); }
.portfolio-btn:hover { transform: translateY(-2px); border-color: var(--pf-accent); }
.portfolio-btn:focus-visible, .portfolio-site a:focus-visible { outline: 2px solid var(--pf-accent); outline-offset: 4px; }

.portfolio-section { padding: 76px 0; border-bottom: 1px solid var(--pf-line); }
.portfolio-section-head { display: grid; grid-template-columns: 180px 1fr; gap: 28px; margin-bottom: 34px; }
.portfolio-eyebrow { margin: 4px 0 0; font-family: 'DM Mono', monospace; color: var(--pf-accent); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.portfolio-h2 { margin: 0; max-width: 830px; font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(36px, 5vw, 70px); line-height: 1; }
.portfolio-copy { margin: 0; max-width: 720px; color: var(--pf-muted); font-size: 16px; line-height: 1.75; }

.portfolio-video { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 18px; border: 1px solid var(--pf-line); background: #000; }
.portfolio-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.portfolio-video-fallback { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--pf-muted); font-size: 12px; line-height: 1.5; }
.portfolio-video-fallback .portfolio-btn { flex: 0 0 auto; }

.portfolio-services, .portfolio-work, .portfolio-sectors { display: grid; gap: 1px; background: var(--pf-line); border: 1px solid var(--pf-line); }
.portfolio-services { grid-template-columns: repeat(3,1fr); }
.portfolio-service, .portfolio-card, .portfolio-sector { background: var(--pf-bg); }
.portfolio-service { padding: 28px; min-height: 200px; }
.portfolio-number { color: var(--pf-accent); font-family: 'DM Mono', monospace; font-size: 10px; }
.portfolio-service h3 { margin: 52px 0 10px; font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 500; }
.portfolio-service p { margin: 0; color: var(--pf-muted); font-size: 13px; line-height: 1.6; }

.portfolio-work { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { min-width: 0; display: flex; flex-direction: column; transition: background .2s ease; }
.portfolio-card:hover { background: var(--pf-panel); }
.portfolio-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #050505; border-bottom: 1px solid var(--pf-line); }
.portfolio-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.portfolio-card-media > span { position: absolute; right: 12px; bottom: 12px; padding: 8px 10px; border: 1px solid rgba(242,239,232,.22); border-radius: 999px; background: rgba(10,10,9,.78); backdrop-filter: blur(10px); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-card-media:hover img { transform: scale(1.025); opacity: .88; }
.portfolio-card-media-editorial { display: flex; align-items: end; padding: 18px; background: radial-gradient(circle at 20% 20%, rgba(199,168,107,.18), transparent 42%), linear-gradient(145deg, #151511, #0b0b09); }
.portfolio-card-media-editorial > span { position: static; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; color: var(--pf-accent); }
.portfolio-card-body { min-height: 220px; padding: 22px; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 42px; }
.portfolio-card-top { display: flex; justify-content: space-between; gap: 18px; }
.portfolio-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-accent); }
.portfolio-client { color: var(--pf-muted); font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.portfolio-card h3 { margin: 0 0 12px; font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 500; line-height: 1.1; }
.portfolio-card p { margin: 0; color: var(--pf-muted); font-size: 12px; line-height: 1.6; }

.portfolio-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.portfolio-offer-box { padding: 30px; border: 1px solid var(--pf-line); border-radius: 18px; background: var(--pf-panel); }
.portfolio-offer-box h3 { margin: 0 0 16px; font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 500; }
.portfolio-offer-box ul { margin: 20px 0 0; padding: 0; list-style: none; }
.portfolio-offer-box li { padding: 11px 0; border-top: 1px solid var(--pf-line); color: var(--pf-muted); font-size: 13px; }

.portfolio-sectors { grid-template-columns: repeat(3,1fr); }
.portfolio-sector { padding: 22px; min-height: 90px; display: flex; align-items: end; font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.portfolio-about-grid { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); gap: 42px; align-items: stretch; }
.portfolio-portrait-wrap { min-height: 460px; overflow: hidden; border: 1px solid var(--pf-line); border-radius: 18px; background: var(--pf-panel); }
.portfolio-portrait { display: block; width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: 50% 36%; filter: saturate(.86) contrast(1.02); }
.portfolio-about-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; }
.portfolio-about-big { margin: 0; font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; }
.portfolio-about-side { color: var(--pf-muted); font-size: 14px; line-height: 1.8; }

.portfolio-cta { padding: 88px 0 96px; }
.portfolio-cta h2 { margin: 0; max-width: 900px; font-family: 'Playfair Display', serif; font-size: clamp(48px, 7vw, 92px); font-weight: 500; line-height: .98; }
.portfolio-cta p { color: var(--pf-muted); max-width: 620px; line-height: 1.7; }
.portfolio-contact-details { margin-top: 34px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; border: 1px solid var(--pf-line); background: var(--pf-line); }
.portfolio-contact-details a { min-height: 54px; padding: 16px 18px; display: flex; align-items: center; background: var(--pf-bg); color: var(--pf-muted); font-family: 'DM Mono', monospace; font-size: 11px; overflow-wrap: anywhere; transition: color .2s ease, background .2s ease; }
.portfolio-contact-details a:hover { color: var(--pf-text); background: var(--pf-panel); }
.portfolio-foot { padding: 24px 0 32px; border-top: 1px solid var(--pf-line); color: var(--pf-muted); display: flex; justify-content: space-between; gap: 20px; font-family: 'DM Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portfolio-btn, .portfolio-card-media img { transition: none; }
  .portfolio-btn:hover { transform: none; }
  .portfolio-card-media:hover img { transform: none; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .portfolio-site section[id], .portfolio-site header[id] { scroll-margin-top: 70px; }
  .portfolio-nav-inner { min-height: 64px; }
  .portfolio-nav-links { gap: 14px; font-size: 10px; }
  .portfolio-hero { padding-top: 58px; }
  .portfolio-hero-grid, .portfolio-section-head, .portfolio-offer, .portfolio-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-services, .portfolio-work { grid-template-columns: 1fr 1fr; }
  .portfolio-sectors { grid-template-columns: 1fr 1fr; }
  .portfolio-section { padding: 58px 0; }
  .portfolio-card-body { min-height: 205px; gap: 34px; }
  .portfolio-portrait-wrap, .portfolio-portrait { min-height: 560px; }
  .portfolio-portrait { object-position: 50% 28%; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 62px; }
  .portfolio-site section[id], .portfolio-site header[id] { scroll-margin-top: 62px; }
  .portfolio-shell { width: min(calc(100% - 24px), var(--pf-max)); }
  .portfolio-nav-inner { min-height: 58px; }
  .portfolio-mark { display: none; }
  .portfolio-nav-links { width: 100%; justify-content: space-between; gap: 8px; font-size: 9px; letter-spacing: .02em; }
  .portfolio-nav-links a { min-height: 56px; }
  .portfolio-hero { padding: 42px 0 48px; }
  .portfolio-title { font-size: clamp(54px, 21vw, 94px); }
  .portfolio-lead { font-size: 18px; }
  .portfolio-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .portfolio-btn { width: 100%; min-height: 50px; }
  .portfolio-video { border-radius: 12px; }
  .portfolio-video-fallback { align-items: stretch; flex-direction: column; }
  .portfolio-video-fallback .portfolio-btn { width: 100%; }
  .portfolio-services, .portfolio-work, .portfolio-sectors, .portfolio-contact-details { grid-template-columns: 1fr; }
  .portfolio-card-body { min-height: 190px; padding: 20px; }
  .portfolio-service { min-height: 170px; }
  .portfolio-service h3 { margin-top: 34px; }
  .portfolio-portrait-wrap, .portfolio-portrait { min-height: 430px; }
  .portfolio-foot { flex-direction: column; }
}

@media (max-width: 430px) {
  .portfolio-section { padding: 50px 0; }
  .portfolio-hero { padding-top: 38px; }
  .portfolio-title { font-size: clamp(52px, 20.5vw, 86px); line-height: .88; }
  .portfolio-h2 { font-size: clamp(35px, 11vw, 48px); }
  .portfolio-card-media { aspect-ratio: 16/9; }
  .portfolio-card-body { min-height: 180px; }
  .portfolio-cta { padding: 68px 0 76px; }
  .portfolio-cta h2 { font-size: clamp(46px, 13vw, 62px); }
}

/* source: instagram.css */
.portfolio-instagram-section {
  position: relative;
  overflow: hidden;
}

.portfolio-instagram-section::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -12rem;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 168, 107, 0.08), transparent 68%);
  pointer-events: none;
}

.portfolio-instagram-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(220px, 0.9fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  background: var(--pf-line);
}

.portfolio-instagram-frame {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--pf-panel);
}

.portfolio-instagram-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(.2,.75,.2,1), filter 0.55s ease;
}

.portfolio-instagram-frame:first-child img {
  object-position: 50% 42%;
}

.portfolio-instagram-frame:nth-child(2) img {
  object-position: 50% 38%;
}

.portfolio-instagram-frame figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(242, 239, 232, 0.22);
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.72);
  backdrop-filter: blur(12px);
  color: var(--pf-text);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-instagram-cta {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 90% 10%, rgba(199,168,107,.16), transparent 42%),
    var(--pf-panel);
}

.portfolio-instagram-cta span {
  color: var(--pf-accent);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-instagram-cta strong {
  display: block;
  max-width: 100%;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 2.45vw, 38px);
  font-weight: 500;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-instagram-grid:hover .portfolio-instagram-frame img {
    filter: saturate(.78) brightness(.82);
  }

  .portfolio-instagram-frame:hover img {
    transform: scale(1.035);
    filter: saturate(1) brightness(1) !important;
  }

  .portfolio-instagram-cta {
    transition: background-color .3s ease, transform .3s ease;
  }

  .portfolio-instagram-grid:hover .portfolio-instagram-cta {
    background-color: #151511;
  }
}

@media (max-width: 860px) {
  .portfolio-instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-instagram-cta {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .portfolio-instagram-cta strong {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .portfolio-instagram-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-instagram-frame {
    aspect-ratio: 4 / 5;
  }

  .portfolio-instagram-cta {
    grid-column: auto;
    min-height: 160px;
    padding: 22px;
  }

  .portfolio-instagram-frame figcaption {
    left: 12px;
    bottom: 12px;
  }

  .portfolio-instagram-cta strong {
    font-size: clamp(28px, 10vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-instagram-frame img,
  .portfolio-instagram-cta {
    transition: none;
  }

  .portfolio-instagram-frame:hover img {
    transform: none;
  }
}

/* source: language.css */
.portfolio-nav-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.portfolio-language {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: rgba(242, 239, 232, 0.035);
}

.portfolio-language button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  background: transparent;
  color: var(--pf-muted);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.portfolio-language button:hover {
  color: var(--pf-text);
}

.portfolio-language button.active {
  background: var(--pf-text);
  color: #111;
}

.portfolio-language button:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .portfolio-nav-tools { gap: 12px; }
  .portfolio-language button { min-width: 31px; padding: 0 6px; }
}

@media (max-width: 560px) {
  .portfolio-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .portfolio-nav-tools {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .portfolio-nav-links {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 12px;
  }

  .portfolio-nav-links a {
    min-height: 50px;
  }

  .portfolio-language {
    position: relative;
    z-index: 70;
    flex: 0 0 auto;
  }

  .portfolio-language button {
    min-width: 29px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .portfolio-nav-links { gap: 9px; font-size: 8px; }
  .portfolio-language button { min-width: 27px; padding: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-language button { transition: none; }
}

/* source: motion.css */
/* Premium interaction layer for the Zermatt portfolio.
   CSS-only by design: no animation library, no extra runtime JS. */

::selection {
  background: rgba(199, 168, 107, .28);
  color: #fff;
}

.portfolio-site {
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.portfolio-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 9%, rgba(199,168,107,.055), transparent 28rem),
    radial-gradient(circle at 92% 34%, rgba(255,255,255,.025), transparent 24rem);
}

.portfolio-site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

/* Navigation */
.portfolio-nav {
  transition: background-color .35s ease, border-color .35s ease;
}

.portfolio-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,168,107,.55), transparent);
  transform: scaleX(.35);
  opacity: .5;
}

.portfolio-mark {
  position: relative;
}

.portfolio-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--pf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.portfolio-mark:hover::after { transform: scaleX(1); }

.portfolio-nav-links a {
  position: relative;
  transition: color .22s ease;
}

.portfolio-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--pf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.portfolio-nav-links a:hover::after { transform: scaleX(1); }

/* Hero */
.portfolio-hero {
  position: relative;
  overflow: clip;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  right: -16vw;
  top: -22vw;
  border: 1px solid rgba(199,168,107,.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(199,168,107,.018),
    0 0 0 16vw rgba(199,168,107,.012);
  pointer-events: none;
  animation: portfolio-orbit 18s ease-in-out infinite alternate;
}

.portfolio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portfolio-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #9ecf9a;
  box-shadow: 0 0 0 0 rgba(158,207,154,.4);
  animation: portfolio-pulse 2.5s ease-out infinite;
}

.portfolio-title {
  perspective: 800px;
}

.portfolio-title-line {
  display: inline-block;
  transform-origin: 0 100%;
  animation: portfolio-title-in .78s cubic-bezier(.22,.8,.22,1) both;
}

.portfolio-title-line:nth-of-type(2) { animation-delay: .09s; }
.portfolio-title-line:nth-of-type(3) { animation-delay: .18s; }

.portfolio-hero-grid {
  animation: portfolio-fade-up .75s .28s cubic-bezier(.22,.8,.22,1) both;
}

.portfolio-meta {
  position: relative;
  padding-left: 18px;
}

.portfolio-meta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(var(--pf-accent), transparent);
}

.portfolio-scroll-cue {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pf-muted);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-scroll-cue::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--pf-line);
}

.portfolio-scroll-cue span {
  display: inline-block;
  animation: portfolio-nudge 1.8s ease-in-out infinite;
}

/* Buttons */
.portfolio-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .24s cubic-bezier(.22,.8,.22,1),
    border-color .24s ease,
    color .24s ease,
    background-color .24s ease,
    box-shadow .24s ease;
}

.portfolio-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.13) 45%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}

.portfolio-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.portfolio-btn:hover::before { transform: translateX(130%); }
.portfolio-btn:active { transform: translateY(-1px) scale(.99); }

/* Sections */
.portfolio-section-head {
  position: relative;
}

.portfolio-eyebrow {
  transition: letter-spacing .3s ease, color .3s ease;
}

.portfolio-section:hover .portfolio-eyebrow { letter-spacing: .24em; }

.portfolio-h2 {
  text-wrap: balance;
}

/* Showreel */
.portfolio-video {
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
  transition: border-color .3s ease, transform .35s cubic-bezier(.22,.8,.22,1), box-shadow .35s ease;
}

.portfolio-video:hover {
  transform: translateY(-3px);
  border-color: rgba(199,168,107,.34);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

/* Services */
.portfolio-service {
  position: relative;
  overflow: hidden;
  transition: background-color .3s ease, transform .3s cubic-bezier(.22,.8,.22,1);
}

.portfolio-service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pf-accent), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.portfolio-service::after {
  content: "↗";
  position: absolute;
  right: 24px;
  top: 22px;
  color: var(--pf-muted);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

.portfolio-service:hover {
  background: var(--pf-panel);
  transform: translateY(-2px);
}

.portfolio-service:hover::before { transform: scaleX(1); }
.portfolio-service:hover::after { opacity: 1; transform: translate(0,0); color: var(--pf-accent); }
.portfolio-service h3 { transition: transform .3s ease; }
.portfolio-service:hover h3 { transform: translateX(5px); }

/* Project cards */
.portfolio-card {
  position: relative;
  overflow: hidden;
  transition:
    background-color .28s ease,
    transform .32s cubic-bezier(.22,.8,.22,1),
    box-shadow .32s ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(0,0,0,.18);
  z-index: 2;
}

.portfolio-card:hover::after { border-color: rgba(199,168,107,.24); }

.portfolio-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 35%, transparent 68%, rgba(199,168,107,.06));
  opacity: 0;
  transition: opacity .35s ease;
}

.portfolio-card:hover .portfolio-card-media::after { opacity: 1; }
.portfolio-card-media img { transition: transform .55s cubic-bezier(.2,.75,.2,1), filter .4s ease, opacity .35s ease; }
.portfolio-card:hover .portfolio-card-media img { transform: scale(1.045); filter: saturate(1.08) contrast(1.02); }

.portfolio-card-media > span {
  transition: transform .28s ease, background-color .28s ease, border-color .28s ease;
}

.portfolio-card-media:hover > span {
  transform: translateY(-2px);
  background: rgba(10,10,9,.92);
  border-color: rgba(199,168,107,.45);
}

.portfolio-card h3 { transition: color .25s ease, transform .25s ease; }
.portfolio-card:hover h3 { color: #fff; transform: translateX(3px); }

/* Offer */
.portfolio-offer-box {
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s cubic-bezier(.22,.8,.22,1), box-shadow .3s ease;
}

.portfolio-offer-box::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,168,107,.16), transparent 68%);
  pointer-events: none;
}

.portfolio-offer-box:hover {
  transform: translateY(-4px);
  border-color: rgba(199,168,107,.34);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.portfolio-offer-box li {
  position: relative;
  padding-left: 0;
  transition: padding-left .25s ease, color .25s ease;
}

.portfolio-offer-box li::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--pf-accent);
  transform: translateX(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

.portfolio-offer-box li:hover { padding-left: 22px; color: var(--pf-text); }
.portfolio-offer-box li:hover::before { opacity: 1; transform: translateX(0); }

.portfolio-sector {
  position: relative;
  overflow: hidden;
  transition: background-color .25s ease, color .25s ease, padding .25s ease;
}

.portfolio-sector::after {
  content: "↗";
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--pf-accent);
  opacity: 0;
  transform: translate(-5px,5px);
  transition: opacity .25s ease, transform .25s ease;
}

.portfolio-sector:hover {
  background: var(--pf-panel);
  color: var(--pf-text);
  padding-left: 28px;
}

.portfolio-sector:hover::after { opacity: 1; transform: translate(0,0); }

/* About */
.portfolio-portrait-wrap {
  position: relative;
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  transition: transform .4s cubic-bezier(.22,.8,.22,1), border-color .3s ease, box-shadow .35s ease;
}

.portfolio-portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,9,.18));
}

.portfolio-portrait {
  transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}

.portfolio-portrait-wrap:hover {
  transform: translateY(-4px) rotate(-.25deg);
  border-color: rgba(199,168,107,.3);
  box-shadow: 0 30px 90px rgba(0,0,0,.26);
}

.portfolio-portrait-wrap:hover .portfolio-portrait {
  transform: scale(1.025);
  filter: saturate(.96) contrast(1.03);
}

/* Contact */
.portfolio-cta {
  position: relative;
  overflow: hidden;
}

.portfolio-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -360px;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(199,168,107,.08);
  box-shadow: 0 0 0 90px rgba(199,168,107,.012), 0 0 0 180px rgba(199,168,107,.008);
  pointer-events: none;
}

.portfolio-contact-details a {
  position: relative;
  transition: color .25s ease, background-color .25s ease, padding-left .25s ease;
}

.portfolio-contact-details a::after {
  content: "↗";
  position: absolute;
  right: 18px;
  opacity: 0;
  color: var(--pf-accent);
  transform: translate(-5px,5px);
  transition: opacity .25s ease, transform .25s ease;
}

.portfolio-contact-details a:hover { padding-left: 22px; }
.portfolio-contact-details a:hover::after { opacity: 1; transform: translate(0,0); }

/* Progressive scroll reveal in browsers that support scroll-driven view timelines. */
@supports (animation-timeline: view()) {
  .portfolio-section-head,
  .portfolio-video,
  .portfolio-services,
  .portfolio-work,
  .portfolio-offer,
  .portfolio-sectors,
  .portfolio-about-grid,
  .portfolio-contact-details {
    animation: portfolio-reveal linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }
}

@keyframes portfolio-title-in {
  from { opacity: 0; transform: translateY(32px) rotateX(-16deg); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}

@keyframes portfolio-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portfolio-reveal {
  from { opacity: .15; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portfolio-pulse {
  0% { box-shadow: 0 0 0 0 rgba(158,207,154,.4); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(158,207,154,0); }
}

@keyframes portfolio-orbit {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(-24px,18px,0) rotate(8deg); }
}

@keyframes portfolio-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 860px) {
  .portfolio-hero::before { right: -38vw; top: -10vw; width: 92vw; }
  .portfolio-card:hover,
  .portfolio-service:hover,
  .portfolio-offer-box:hover,
  .portfolio-portrait-wrap:hover { transform: none; }
  .portfolio-scroll-cue { margin-top: 34px; }
}

@media (max-width: 560px) {
  .portfolio-site::after { opacity: .02; }
  .portfolio-meta { padding-left: 14px; }
  .portfolio-scroll-cue { display: none; }
  .portfolio-service::after,
  .portfolio-sector::after { display: none; }
  .portfolio-sector:hover { padding-left: 22px; }
  .portfolio-card:hover .portfolio-card-media img { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-site *,
  .portfolio-site *::before,
  .portfolio-site *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .portfolio-title-line,
  .portfolio-hero-grid,
  .portfolio-section-head,
  .portfolio-video,
  .portfolio-services,
  .portfolio-work,
  .portfolio-offer,
  .portfolio-sectors,
  .portfolio-about-grid,
  .portfolio-contact-details {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* V13: conversion-first motion polish. Keeps movement subtle and cheap to render. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

.portfolio-nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: linear-gradient(90deg, #8e7447, #e0c78f 58%, #f3ead6);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .9;
}

.portfolio-hero-copyblock,
.portfolio-hero-visual,
.portfolio-hero-meta-row {
  animation: portfolio-v13-enter .82s cubic-bezier(.16,1,.3,1) both;
}

.portfolio-hero-visual { animation-delay: .16s; }
.portfolio-hero-meta-row { animation-delay: .28s; }

.portfolio-hero-portrait-card,
.portfolio-hero-mini-frame {
  transition:
    transform .55s cubic-bezier(.16,1,.3,1),
    box-shadow .45s ease,
    border-color .35s ease;
  will-change: transform;
}

.portfolio-video-poster {
  position: relative;
  overflow: hidden;
}

.portfolio-video-poster::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.12) 49%, transparent 60%);
  transform: translateX(-90%) rotate(7deg);
  transition: transform .85s cubic-bezier(.16,1,.3,1);
}

.portfolio-video-poster:hover::after {
  transform: translateX(90%) rotate(7deg);
}

.portfolio-video-play {
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    background-color .3s ease;
}

.portfolio-video-poster:hover .portfolio-video-play {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(0,0,0,.3);
}

.portfolio-buyer-card,
.portfolio-instagram-frame,
.portfolio-studio-teaser,
.portfolio-contact-details a {
  transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-hero-portrait-card:hover {
    transform: translateY(-7px) rotate(-.4deg);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
  }

  .portfolio-hero-mini-frame:hover {
    transform: translateY(-4px) rotate(1deg);
  }

  .portfolio-buyer-card {
    transition:
      transform .32s cubic-bezier(.16,1,.3,1),
      border-color .3s ease,
      background-color .3s ease,
      box-shadow .32s ease;
  }

  .portfolio-buyer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(199,168,107,.34);
    box-shadow: 0 24px 70px rgba(0,0,0,.2);
  }

  .portfolio-instagram-frame {
    transition: transform .38s cubic-bezier(.16,1,.3,1), filter .35s ease;
  }

  .portfolio-instagram-frame:hover {
    transform: translateY(-4px);
    filter: saturate(1.04) contrast(1.015);
  }
}

@supports (animation-timeline: scroll()) {
  .portfolio-nav::before {
    animation: portfolio-v13-progress linear both;
    animation-timeline: scroll(root);
  }
}

@supports (animation-timeline: view()) {
  .portfolio-buyer-card,
  .portfolio-card,
  .portfolio-service,
  .portfolio-sector,
  .portfolio-instagram-frame,
  .portfolio-studio-teaser {
    animation: portfolio-v13-card-reveal linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 24%;
  }

  .portfolio-buyer-card:nth-child(2),
  .portfolio-card:nth-child(2),
  .portfolio-service:nth-child(2) {
    animation-range: entry 7% cover 27%;
  }

  .portfolio-buyer-card:nth-child(3),
  .portfolio-card:nth-child(3),
  .portfolio-service:nth-child(3) {
    animation-range: entry 10% cover 30%;
  }
}

@keyframes portfolio-v13-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.992);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes portfolio-v13-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes portfolio-v13-card-reveal {
  from {
    opacity: .18;
    transform: translateY(30px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .portfolio-hero-copyblock,
  .portfolio-hero-visual,
  .portfolio-hero-meta-row {
    animation-duration: .62s;
  }

  .portfolio-buyer-card:active,
  .portfolio-card:active,
  .portfolio-btn:active,
  .portfolio-video-poster:active {
    transform: scale(.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .portfolio-nav::before {
    display: none;
  }

  .portfolio-hero-copyblock,
  .portfolio-hero-visual,
  .portfolio-hero-meta-row,
  .portfolio-buyer-card,
  .portfolio-card,
  .portfolio-service,
  .portfolio-sector,
  .portfolio-instagram-frame,
  .portfolio-studio-teaser {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* V14: premium load + scroll micro-motion.
   Native CSS scroll-driven timelines (animation-timeline: view()), the 2026
   replacement for GSAP ScrollTrigger / Lenis on simple reveals. Zero JS,
   compositor-friendly (transform, opacity, clip-path). */
@keyframes portfolio-v14-nav {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portfolio-v14-clip {
  from { clip-path: inset(14% 10% 18% 10%); transform: scale(1.07); }
  to { clip-path: inset(0); transform: scale(1); }
}

@keyframes portfolio-v14-image-reveal {
  from { clip-path: inset(18% 0 0 0); transform: scale(1.05); }
  to { clip-path: inset(0); transform: scale(1); }
}

@keyframes portfolio-v14-section {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-nav {
  animation: portfolio-v14-nav .7s cubic-bezier(.16,1,.3,1) both;
}

@media (min-width: 861px) {
  @media (prefers-reduced-motion: no-preference) {
    .portfolio-hero-portrait {
      animation: portfolio-v14-clip 1.2s cubic-bezier(.16,1,.3,1) both;
    }

    .portfolio-hero-mini-frame img {
      animation: portfolio-v14-clip 1.15s .12s cubic-bezier(.16,1,.3,1) both;
    }
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .portfolio-buyer-head,
    .portfolio-proof-strip,
    .portfolio-hero-local-pill {
      animation: portfolio-v14-section linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }

    .portfolio-card-media img,
    .portfolio-instagram-frame img,
    .portfolio-video-poster img,
    .portfolio-studio-teaser img {
      animation: portfolio-v14-image-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 36%;
    }

    .portfolio-buyer-card:nth-child(4),
    .portfolio-card:nth-child(4),
    .portfolio-service:nth-child(4),
    .portfolio-instagram-frame:nth-child(4) {
      animation-range: entry 13% cover 33%;
    }

    .portfolio-buyer-card:nth-child(5),
    .portfolio-card:nth-child(5),
    .portfolio-instagram-frame:nth-child(5) {
      animation-range: entry 16% cover 36%;
    }

    .portfolio-buyer-card:nth-child(6),
    .portfolio-card:nth-child(6),
    .portfolio-instagram-frame:nth-child(6) {
      animation-range: entry 19% cover 39%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-nav,
  .portfolio-hero-portrait,
  .portfolio-hero-mini-frame img,
  .portfolio-buyer-head,
  .portfolio-proof-strip,
  .portfolio-hero-local-pill,
  .portfolio-card-media img,
  .portfolio-instagram-frame img,
  .portfolio-video-poster img,
  .portfolio-studio-teaser img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
}


/* V14b: reel techniques (magnetic, tilt, split words) via CSS variables. */
.portfolio-btn,
.portfolio-mark {
  --magnet-x: 0px;
  --magnet-y: 0px;
}

.portfolio-hero-portrait-card,
.portfolio-card,
.portfolio-buyer-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
}

.portfolio-title-word {
  display: inline-block;
  animation: portfolio-title-in .72s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(var(--word-i, 0) * 45ms);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-btn:hover {
    transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 3px), 0);
  }

  .portfolio-mark:hover {
    transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  }

  .portfolio-hero-portrait-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-7px);
  }

  .portfolio-card:hover,
  .portfolio-buyer-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-title-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 860px) {
  .portfolio-title-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Custom cursor: Awwwards dot + lagging ring. Desktop only via JS class. */
html.portfolio-has-cursor,
html.portfolio-has-cursor * {
  cursor: none !important;
}

.portfolio-cursor,
.portfolio-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4000;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}

.portfolio-cursor {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #f3ead6;
}

.portfolio-cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(243, 234, 214, 0.72);
  transition:
    width .28s cubic-bezier(.16,1,.3,1),
    height .28s cubic-bezier(.16,1,.3,1),
    margin .28s cubic-bezier(.16,1,.3,1),
    background-color .28s ease;
}

html.portfolio-cursor-hover .portfolio-cursor-ring {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(243, 234, 214, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-cursor,
  .portfolio-cursor-ring {
    display: none !important;
  }
}

/* source: apple-polish.css */
/* Final premium-polish layer, inlined here because this is the stylesheet href
   already used by the public homepage. Avoid an extra render-blocking @import. */

@media (min-width: 861px) {
  .portfolio-nav {
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(10, 10, 9, 0.94) 0%, rgba(10, 10, 9, 0.82) 62%, rgba(10, 10, 9, 0.0) 100%);
    border-bottom: 0;
    backdrop-filter: none;
  }

  .portfolio-nav-inner {
    min-height: 54px;
    padding: 0 16px 0 18px;
    border: 1px solid rgba(242, 239, 232, 0.11);
    border-radius: 999px;
    background: rgba(12, 12, 11, 0.94);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
  }

  .portfolio-nav::after {
    display: none;
  }
}

@supports (animation-timeline: scroll()) {
  .portfolio-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    z-index: 4;
    background: linear-gradient(90deg, var(--pf-accent), #eee4cf 68%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    animation: portfolio-page-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes portfolio-page-progress {
  to { transform: scaleX(1); }
}

.portfolio-language {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.portfolio-language button {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms cubic-bezier(.2,.8,.2,1),
    box-shadow 180ms ease;
}

.portfolio-language button:hover {
  transform: translateY(-1px);
}

.portfolio-language button.active {
  box-shadow:
    0 5px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  width: min(72vw, 980px);
  height: min(48vw, 650px);
  left: 44%;
  top: 2%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(199, 168, 107, 0.09), transparent 58%),
    radial-gradient(ellipse at 68% 45%, rgba(255, 255, 255, 0.035), transparent 52%);
  filter: blur(22px);
  opacity: .82;
  transform: translate3d(-20%, 0, 0);
}

.portfolio-title {
  text-wrap: balance;
  text-shadow: 0 14px 55px rgba(0, 0, 0, 0.15);
}

.portfolio-title em {
  color: transparent;
  background: linear-gradient(110deg, #c7a86b 2%, #eadbbf 46%, #a98b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.portfolio-lead {
  max-width: 760px;
  text-wrap: pretty;
}

.portfolio-services,
.portfolio-work,
.portfolio-sectors {
  gap: 12px;
  background: transparent;
  border: 0;
}

.portfolio-service,
.portfolio-card,
.portfolio-sector {
  border: 1px solid rgba(242, 239, 232, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 34%),
    rgba(12, 12, 11, 0.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.portfolio-service,
.portfolio-sector {
  overflow: hidden;
}

.portfolio-card-media {
  border-bottom-color: rgba(242, 239, 232, 0.09);
}

.portfolio-card-with-media {
  isolation: isolate;
}

.portfolio-card-with-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 82% 18%, rgba(199,168,107,.09), transparent 30%);
  opacity: 0;
  transition: opacity .38s ease;
}

.portfolio-card-with-media:hover::before {
  opacity: 1;
}

.portfolio-card-media > span {
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

.portfolio-card-body {
  background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 40%);
}

.portfolio-video {
  border-radius: 22px;
  border-color: rgba(242, 239, 232, 0.13);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.portfolio-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.portfolio-btn.primary {
  background: linear-gradient(180deg, #f7f4ee, #e8e3da);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 #fff;
}

.portfolio-btn.primary:hover {
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 #fff;
}

.portfolio-btn:not(.primary) {
  background: rgba(255,255,255,.018);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portfolio-offer-box {
  background:
    radial-gradient(circle at 88% 8%, rgba(199,168,107,.11), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.02), transparent 45%),
    rgba(17,17,15,.92);
}

.portfolio-contact-details {
  gap: 8px;
  border: 0;
  background: transparent;
}

.portfolio-contact-details a {
  border: 1px solid rgba(242, 239, 232, 0.11);
  border-radius: 14px;
  background: rgba(255,255,255,.014);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-contact-details a:hover {
  border-color: rgba(199,168,107,.28);
}

.portfolio-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.portfolio-section-head,
.portfolio-about-big,
.portfolio-cta h2 {
  text-wrap: balance;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-card,
  .portfolio-service,
  .portfolio-sector,
  .portfolio-offer-box,
  .portfolio-portrait-wrap,
  .portfolio-video {
    will-change: transform;
  }

  .portfolio-card:hover {
    transform: translateY(-7px) scale(1.006);
  }

  .portfolio-service:hover,
  .portfolio-sector:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 860px) {
  .portfolio-services,
  .portfolio-work,
  .portfolio-sectors {
    gap: 9px;
  }

  .portfolio-service,
  .portfolio-card,
  .portfolio-sector {
    border-radius: 14px;
  }

  .portfolio-video {
    border-radius: 16px;
  }

  /* PageSpeed: the mobile LCP is the hero copy itself. Never hide/blur it. */
  .portfolio-hero-copyblock,
  .portfolio-title-line,
  .portfolio-hero-portrait,
  .portfolio-hero-mini-frame img,
  .portfolio-hero-visual,
  .portfolio-hero-meta-row,
  .portfolio-title-word,
  .portfolio-nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .portfolio-kicker::before,
  .portfolio-hero::before,
  .portfolio-scroll-cue span {
    animation: none !important;
  }

  .portfolio-kicker::before {
    box-shadow: none !important;
  }
}

@media (max-width: 560px) {
  .portfolio-nav {
    background: rgba(10, 10, 9, 0.97) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .portfolio-title {
    letter-spacing: -.05em;
  }

  .portfolio-services,
  .portfolio-work,
  .portfolio-sectors {
    gap: 10px;
  }

  .portfolio-card,
  .portfolio-service,
  .portfolio-sector {
    border-radius: 13px;
  }

  .portfolio-contact-details a {
    border-radius: 12px;
  }

  .portfolio-site::before,
  .portfolio-site::after,
  .portfolio-hero::after {
    display: none !important;
  }

  .portfolio-nav-links,
  .portfolio-btn:not(.primary),
  .portfolio-contact-details a {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .portfolio-nav-links {
    background: rgba(14, 14, 12, 0.96) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-language button,
  .portfolio-card-with-media::before {
    transition: none;
  }

  .portfolio-nav::before {
    animation: none;
    transform: none;
  }

  .portfolio-card:hover,
  .portfolio-service:hover,
  .portfolio-sector:hover {
    transform: none;
  }
}

/* source: buyer.css */
.portfolio-proof-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portfolio-proof-item {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--pf-line);
  border-radius: 16px;
  background: rgba(242, 239, 232, 0.025);
  color: var(--pf-muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.portfolio-proof-item::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--pf-accent);
  box-shadow: 0 0 0 5px rgba(199, 168, 107, 0.08);
}

.portfolio-section#work {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 28%);
}

/* Keep the commercial homepage focused: CUTEMOB is omitted via homeSelectedWork
   in portfolio-data (DOM order is the visual order). */

/* Zermatt offer: intentionally image-free until we have strong real hospitality
   photography. This avoids generic AI imagery and keeps the section premium. */
.portfolio-section#zermatt {
  position: relative;
  background:
    radial-gradient(circle at 86% 12%, rgba(199, 168, 107, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 38%), #0a0a09;
}

.portfolio-section#zermatt .portfolio-offer {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.portfolio-section#zermatt .portfolio-offer > div:first-child {
  padding: 10px 8px 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-section#zermatt .portfolio-copy {
  max-width: 34rem;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.62;
  color: rgba(242, 239, 232, 0.72);
}

.portfolio-section#zermatt .portfolio-offer-box {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(199, 168, 107, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(199, 168, 107, 0.12), transparent 32%),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.008) 45%,
      rgba(199, 168, 107, 0.025)
    ),
    #10100e;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Neutralise decorative pseudo-elements from the motion layer here. */
.portfolio-section#zermatt .portfolio-offer-box::before,
.portfolio-section#zermatt .portfolio-offer-box::after,
.portfolio-section#zermatt .portfolio-sector::before,
.portfolio-section#zermatt .portfolio-sector::after,
.portfolio-section#zermatt .portfolio-offer-box li::before,
.portfolio-section#zermatt .portfolio-offer-box li::after {
  display: none !important;
}

.portfolio-section#zermatt .portfolio-offer-box h3 {
  max-width: 8.5ch;
  margin: 0 0 44px;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--pf-text);
  text-shadow: none;
}

.portfolio-section#zermatt .portfolio-offer-box ul {
  width: 100%;
  margin-top: auto;
}

.portfolio-section#zermatt .portfolio-offer-box li {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 14px 0;
  border-color: rgba(242, 239, 232, 0.12);
  color: rgba(242, 239, 232, 0.78);
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.portfolio-section#zermatt .portfolio-sectors {
  margin-top: 22px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
}

.portfolio-section#zermatt .portfolio-sector {
  min-height: 142px;
  position: relative;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)), #0e0e0c;
  color: rgba(242, 239, 232, 0.86);
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-section#zermatt .portfolio-sector:nth-child(1),
.portfolio-section#zermatt .portfolio-sector:nth-child(2),
.portfolio-section#zermatt .portfolio-sector:nth-child(5) {
  background:
    radial-gradient(circle at 84% 18%, rgba(199, 168, 107, 0.13), transparent 46%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006)), #0f0f0d;
}

.portfolio-section#zermatt .portfolio-sector:nth-child(1) {
  border-color: rgba(199, 168, 107, 0.21);
}
.portfolio-section#zermatt .portfolio-sector:nth-child(2) {
  border-color: rgba(199, 168, 107, 0.16);
}
.portfolio-section#zermatt .portfolio-sector:nth-child(5) {
  border-color: rgba(199, 168, 107, 0.14);
}

@media (hover: hover) {
  .portfolio-section#zermatt .portfolio-offer-box,
  .portfolio-section#zermatt .portfolio-sector {
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      background 0.28s ease,
      box-shadow 0.28s ease;
  }

  .portfolio-section#zermatt .portfolio-offer-box:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 168, 107, 0.34);
    box-shadow:
      0 36px 100px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .portfolio-section#zermatt .portfolio-sector:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 168, 107, 0.28);
    background:
      radial-gradient(circle at 84% 18%, rgba(199, 168, 107, 0.12), transparent 48%),
      linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)), #10100e;
  }
}

@media (max-width: 860px) {
  .portfolio-section#zermatt .portfolio-offer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-section#zermatt .portfolio-offer > div:first-child {
    padding-right: 0;
  }

  .portfolio-section#zermatt .portfolio-offer-box {
    min-height: 340px;
  }

  .portfolio-section#zermatt .portfolio-sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portfolio-proof-strip {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 24px;
  }

  .portfolio-proof-item {
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 9px;
  }
}

@media (max-width: 560px) {
  .portfolio-section#zermatt .portfolio-offer-box {
    min-height: 315px;
    padding: 24px;
    border-radius: 18px;
  }

  .portfolio-section#zermatt .portfolio-offer-box h3 {
    margin-bottom: 30px;
    font-size: clamp(39px, 12vw, 54px);
  }

  .portfolio-section#zermatt .portfolio-offer-box li {
    min-height: 46px;
    font-size: 12px;
  }

  .portfolio-section#zermatt .portfolio-sectors {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-section#zermatt .portfolio-sector {
    min-height: 116px;
    padding: 16px;
    border-radius: 15px;
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .portfolio-section#zermatt .portfolio-sectors {
    grid-template-columns: 1fr;
  }

  .portfolio-section#zermatt .portfolio-sector {
    min-height: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-proof-item,
  .portfolio-section#zermatt .portfolio-offer-box,
  .portfolio-section#zermatt .portfolio-sector {
    transition: none;
  }

  .portfolio-section#zermatt .portfolio-offer-box:hover,
  .portfolio-section#zermatt .portfolio-sector:hover {
    transform: none;
  }
}

/* source: hero-v2.css */
.portfolio-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(199, 168, 107, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 45%), #0a0a09;
}

.portfolio-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
}

.portfolio-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.portfolio-hero-copyblock {
  min-width: 0;
  padding: 28px 0 24px;
}

.portfolio-hero-v2 .portfolio-title {
  max-width: 13.4ch;
  font-size: clamp(50px, 6.2vw, 92px);
  line-height: 0.86;
}

.portfolio-hero-lead-v2 {
  max-width: 660px;
  margin-top: 34px;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.45;
  color: rgba(242, 239, 232, 0.88);
}

.portfolio-hero-actions-v2 {
  margin-top: 24px;
}

.portfolio-hero-v2 .portfolio-proof-strip {
  margin-top: 34px;
}

.portfolio-hero-visual {
  position: relative;
  min-height: 690px;
  isolation: isolate;
}

.portfolio-hero-portrait-card {
  position: absolute;
  inset: 20px 0 54px 56px;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.14);
  border-radius: 28px;
  background: #11110f;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.42);
}

.portfolio-hero-portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.42) 100%),
    radial-gradient(circle at 70% 18%, rgba(199, 168, 107, 0.12), transparent 34%);
  pointer-events: none;
}

.portfolio-hero-portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.82) contrast(1.03) brightness(0.92);
  transform: scale(1.01);
}

.portfolio-hero-portrait-caption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.portfolio-hero-portrait-caption span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.portfolio-hero-portrait-caption strong {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 26px;
}

.portfolio-hero-mini-frame {
  position: absolute;
  z-index: 3;
  width: 170px;
  aspect-ratio: 4/5;
  left: 0;
  bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, 0.16);
  border-radius: 18px;
  background: #11110f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(-4deg);
}

.portfolio-hero-mini-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-hero-mini-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.62));
}

.portfolio-hero-mini-frame span {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #fff;
}

.portfolio-hero-coordinate {
  position: absolute;
  z-index: 3;
  top: 3px;
  right: 10px;
  display: flex;
  gap: 14px;
  color: rgba(242, 239, 232, 0.48);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.portfolio-hero-local-pill {
  position: absolute;
  z-index: 4;
  right: 18px;
  top: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(242, 239, 232, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.66);
  backdrop-filter: blur(14px);
  color: rgba(242, 239, 232, 0.82);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.portfolio-hero-local-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85d389;
  box-shadow: 0 0 0 5px rgba(133, 211, 137, 0.08);
}

.portfolio-hero-meta-row {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding-top: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(242, 239, 232, 0.1);
}

@media (hover: hover) {
  .portfolio-hero-portrait-card,
  .portfolio-hero-mini-frame {
    transition:
      transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .portfolio-hero-visual:hover .portfolio-hero-portrait-card {
    transform: translateY(-5px) rotate(0.35deg);
    border-color: rgba(199, 168, 107, 0.28);
    box-shadow: 0 46px 140px rgba(0, 0, 0, 0.48);
  }

  .portfolio-hero-visual:hover .portfolio-hero-mini-frame {
    transform: translate(-4px, -7px) rotate(-6deg);
    border-color: rgba(199, 168, 107, 0.3);
  }
}

@media (max-width: 980px) {
  .portfolio-hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-hero-v2 .portfolio-title {
    max-width: 13.4ch;
    font-size: clamp(52px, 10vw, 84px);
  }

  .portfolio-hero-visual {
    min-height: 620px;
    margin-top: 8px;
  }

  .portfolio-hero-portrait-card {
    inset: 18px 34px 54px 64px;
  }
}

@media (max-width: 560px) {
  body {
    /* Clear fixed bottom .portfolio-nav-links (~58–68px) + safe-area + breathing room */
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .portfolio-site section[id],
  .portfolio-site header[id] {
    scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  .portfolio-cta#contact,
  .portfolio-section#about,
  .portfolio-section#zermatt,
  .portfolio-section#work,
  #swisspeaks-fieldwork {
    scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .portfolio-cta#contact {
    /* Keep WhatsApp/Email/Instagram/Call clear of the fixed bottom dock */
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .portfolio-cta#contact .portfolio-actions,
  .portfolio-cta#contact .portfolio-contact-details {
    padding-bottom: 8px;
  }

  .portfolio-foot {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .portfolio-site {
    overscroll-behavior-x: none;
  }

  .portfolio-nav {
    padding-top: env(safe-area-inset-top);
    background: linear-gradient(180deg, rgba(10, 10, 9, 0.96), rgba(10, 10, 9, 0.78));
    border-bottom-color: rgba(242, 239, 232, 0.08);
  }

  .portfolio-nav-links {
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto;
    min-height: 58px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(242, 239, 232, 0.14);
    border-radius: 19px;
    background: rgba(14, 14, 12, 0.84);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
  }

  .portfolio-nav-links a {
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 14px;
    color: rgba(242, 239, 232, 0.68);
    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
  }

  .portfolio-nav-links a:last-child {
    color: #0d0d0b;
    background: #f2efe8;
  }

  .portfolio-nav-links a:active,
  .portfolio-btn:active,
  .portfolio-language button:active {
    transform: scale(0.97);
  }

  .portfolio-hero-v2 {
    padding: 24px 0 28px;
  }

  .portfolio-hero-copyblock {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
  }

  .portfolio-hero-v2 .portfolio-kicker {
    order: 1;
    margin-bottom: 16px;
  }

  .portfolio-hero-v2 .portfolio-title {
    order: 2;
    max-width: 13.4ch;
    font-size: clamp(38px, 11.2vw, 54px);
    line-height: 0.9;
  }

  .portfolio-hero-copyblock::after {
    content: "";
    order: 3;
    display: block;
    width: calc(100% + 8px);
    height: 292px;
    margin: 22px -4px 0;
    overflow: hidden;
    border: 1px solid rgba(242, 239, 232, 0.14);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.01) 32%, rgba(0, 0, 0, 0.38) 100%),
      radial-gradient(circle at 72% 14%, rgba(199, 168, 107, 0.1), transparent 32%),
      url("/portfolio/nicolas-portrait.webp") center 23% / cover no-repeat;
    box-shadow:
      0 28px 78px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .portfolio-hero-lead-v2 {
    order: 4;
    margin-top: 22px;
    font-size: 16.5px;
    line-height: 1.52;
  }

  .portfolio-hero-actions-v2 {
    order: 5;
    margin-top: 20px;
  }

  .portfolio-hero-v2 .portfolio-proof-strip {
    order: 6;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow-x: visible;
    max-width: 100%;
    padding-bottom: 0;
  }

  .portfolio-hero-v2 .portfolio-proof-item {
    flex: 1 1 calc(33.333% - 5px);
    min-width: 0;
    min-height: 42px;
    justify-content: flex-start;
    gap: 7px;
    padding: 10px 9px;
    font-size: 8px;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .portfolio-hero-v2 .portfolio-proof-item::before {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
    box-shadow: 0 0 0 4px rgba(199, 168, 107, 0.08);
  }

  .portfolio-hero-visual {
    display: none;
  }

  .portfolio-hero-meta-row {
    margin-top: 16px;
    padding-top: 16px;
    align-items: start;
    flex-direction: column;
  }

  #work .portfolio-shell {
    width: min(calc(100% - 24px), var(--pf-max));
  }

  .portfolio-work {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px 14px;
    border: 0;
    background: transparent;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-work::-webkit-scrollbar {
    display: none;
  }

  .portfolio-work .portfolio-card {
    flex: 0 0 min(86vw, 338px);
    scroll-snap-align: center;
    overflow: hidden;
    border: 1px solid rgba(242, 239, 232, 0.13);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%), var(--pf-bg);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
  }

  .portfolio-work .portfolio-card-media {
    aspect-ratio: 4 / 3;
  }

  .portfolio-work .portfolio-card-body {
    min-height: 205px;
  }

  .portfolio-video {
    width: calc(100% + 8px);
    margin-left: -4px;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }

  .portfolio-section-head {
    margin-bottom: 26px;
  }

  .portfolio-offer-box,
  .portfolio-portrait-wrap,
  .portfolio-instagram-grid {
    border-radius: 18px;
  }

  .portfolio-btn,
  .portfolio-language button,
  .portfolio-card-media,
  .portfolio-instagram-grid {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .portfolio-foot {
    padding-bottom: 22px;
  }
}

@media (max-width: 390px) {
  .portfolio-nav-links {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .portfolio-nav-links a {
    font-size: 7.5px;
  }

  .portfolio-hero-copyblock::after {
    height: 276px;
  }

  .portfolio-work .portfolio-card {
    flex-basis: 84vw;
  }

  .portfolio-hero-v2 .portfolio-proof-strip {
    gap: 5px;
  }

  .portfolio-hero-v2 .portfolio-proof-item {
    flex: 1 1 calc(33.333% - 4px);
    min-height: 40px;
    padding: 9px 7px;
    gap: 6px;
    font-size: 7.5px;
    letter-spacing: 0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-hero-portrait-card,
  .portfolio-hero-mini-frame {
    transition: none;
  }

  .portfolio-hero-visual:hover .portfolio-hero-portrait-card,
  .portfolio-hero-visual:hover .portfolio-hero-mini-frame {
    transform: none;
  }

  .portfolio-nav-links,
  .portfolio-work {
    scroll-behavior: auto;
  }
}

/* source: buyer-persona.css */
.portfolio-buyer-section {
  position: relative;
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--pf-line);
  background:
    radial-gradient(circle at 12% 0%, rgba(199,168,107,.07), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 52%),
    #0a0a09;
}

.portfolio-buyer-head {
  display: grid;
  grid-template-columns: minmax(150px,.36fr) minmax(0,1.64fr);
  gap: clamp(24px,4vw,54px);
  align-items: start;
  margin-bottom: 30px;
}

.portfolio-buyer-heading {
  margin: 0;
  max-width: 20ch;
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px,4.3vw,62px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.portfolio-buyer-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(242,239,232,.67);
  font-size: 15px;
  line-height: 1.72;
}

.portfolio-buyer-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.portfolio-buyer-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(242,239,232,.11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 8%, rgba(199,168,107,.08), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 40%),
    rgba(14,14,12,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.portfolio-buyer-card::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(242,239,232,.3);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.portfolio-buyer-card-top {
  padding-right: 28px;
}

.portfolio-buyer-card h3 {
  margin: 0;
  max-width: 10ch;
  font-family: 'Playfair Display', serif;
  font-size: clamp(27px,2.2vw,36px);
  font-weight: 500;
  line-height: 1.02;
}

.portfolio-buyer-card p {
  margin: 18px 0 0;
  color: rgba(242,239,232,.62);
  font-size: 12px;
  line-height: 1.62;
}

.portfolio-buyer-output {
  padding-top: 18px;
  border-top: 1px solid rgba(242,239,232,.09);
  color: var(--pf-accent);
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .11em;
}

.portfolio-buyer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199,168,107,.3);
  box-shadow: 0 28px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.03);
}

.portfolio-buyer-card:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 4px;
}

.portfolio-buyer-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(242,239,232,.45);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-buyer-foot strong {
  color: rgba(242,239,232,.78);
  font-weight: 400;
}

@media (max-width: 980px) {
  .portfolio-buyer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portfolio-buyer-card { min-height: 230px; }
}

@media (max-width: 760px) {
  .portfolio-buyer-section { padding: 42px 0 52px; }
  .portfolio-buyer-head { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-buyer-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-right: -12px;
    padding: 2px 12px 12px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .portfolio-buyer-grid::-webkit-scrollbar { display: none; }
  .portfolio-buyer-card {
    flex: 0 0 min(82vw,330px);
    min-height: 235px;
    scroll-snap-align: start;
  }
  .portfolio-buyer-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .portfolio-buyer-heading { font-size: clamp(34px,10.5vw,48px); }
  .portfolio-buyer-intro { font-size: 14px; }
  .portfolio-buyer-card { border-radius: 16px; padding: 20px; }
  .portfolio-buyer-card h3 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-buyer-card { transition: none; }
  .portfolio-buyer-card:hover { transform: none; }
}

/* source: visual-first.css */
/* Visual-first conversion pass. Keep factual copy in the DOM for search/accessibility,
   but make the browsing experience image-led and fast for busy Zermatt buyers. */

.portfolio-buyer-section,
.portfolio-section,
.portfolio-studio-teaser,
.portfolio-cta {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.portfolio-buyer-grid { gap: 10px; }
.portfolio-buyer-card {
  min-height: 210px;
  justify-content: space-between;
  background:
    radial-gradient(circle at 85% 12%, rgba(199,168,107,.11), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.024), transparent 46%),
    #0d0d0c;
}
.portfolio-buyer-card h3 {
  max-width: 10ch;
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: .98;
}
.portfolio-buyer-card p {
  max-width: 34ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.portfolio-work {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.portfolio-card { grid-column: span 6; border-radius: 20px; }
.portfolio-card:nth-child(1),
.portfolio-card:nth-child(4) { grid-column: span 7; }
.portfolio-card:nth-child(2),
.portfolio-card:nth-child(5) { grid-column: span 5; }
.portfolio-card-media {
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.portfolio-card:nth-child(1) .portfolio-card-media,
.portfolio-card:nth-child(4) .portfolio-card-media { aspect-ratio: 16 / 9; }
.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  backface-visibility: hidden;
}
.portfolio-card-body { min-height: 0; padding: 22px 22px 24px; }
.portfolio-card-body p {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: rgba(242,239,232,.55);
}
.portfolio-card h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.portfolio-offer { gap: clamp(20px, 4vw, 60px); }
.portfolio-copy { max-width: 48ch; }
.portfolio-offer-box {
  min-height: 320px;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 82% 10%, rgba(199,168,107,.14), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.024), transparent 42%),
    #0e0e0d;
}
.portfolio-offer-box h3 {
  max-width: 10ch;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: .94;
}
.portfolio-offer-box li {
  font-size: 13px;
  color: rgba(242,239,232,.68);
}

.portfolio-services { gap: 10px; }
.portfolio-service {
  min-height: 230px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.02), transparent 42%),
    #0d0d0c;
}
.portfolio-service p {
  max-width: 34ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.portfolio-instagram-section .portfolio-section-head { margin-bottom: 26px; }
.portfolio-instagram-section .portfolio-copy { display: none; }
.portfolio-instagram-grid { gap: 12px; }
.portfolio-instagram-frame {
  min-height: min(70vh, 720px);
  border-radius: 18px;
  overflow: hidden;
}
.portfolio-instagram-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-about-side p { max-width: 38ch; }
.portfolio-about-side p + p { display: none; }

.portfolio-studio-teaser-card { isolation: isolate; }
.portfolio-studio-teaser-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(46%, 520px);
  background:
    linear-gradient(90deg, #10100e 0%, rgba(16,16,14,.55) 38%, rgba(16,16,14,.12) 100%),
    url('/portfolio/instagram-portrait.jpg') center 35% / cover no-repeat;
  opacity: .72;
  pointer-events: none;
}
.portfolio-studio-teaser-card p { max-width: 48ch; }

.portfolio-cta p { max-width: 44ch; }
.portfolio-contact-details { margin-top: 32px; }

/* Real-work cards on the local landing get image-led proof. */
.studio-proof-image {
  width: calc(100% + 52px);
  height: 210px;
  margin: -26px -26px 24px;
  overflow: hidden;
  border-bottom: 1px solid rgba(242,239,232,.09);
}
.studio-proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .portfolio-work {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) { grid-column: auto; }
  .portfolio-card-media,
  .portfolio-card:nth-child(1) .portfolio-card-media,
  .portfolio-card:nth-child(4) .portfolio-card-media { aspect-ratio: 4 / 3; }
  .portfolio-instagram-frame { min-height: 520px; }
}

@media (max-width: 560px) {
  .portfolio-buyer-card { min-height: 190px; }
  .portfolio-buyer-card p { -webkit-line-clamp: 2; font-size: 13px; }
  .portfolio-work { grid-template-columns: 1fr; gap: 12px; }
  .portfolio-card { border-radius: 16px; }
  .portfolio-card-media,
  .portfolio-card:nth-child(1) .portfolio-card-media,
  .portfolio-card:nth-child(4) .portfolio-card-media { aspect-ratio: 16 / 11; }
  .portfolio-card-body { padding: 18px 18px 20px; }
  .portfolio-card-body p { -webkit-line-clamp: 1; font-size: 12px; }
  .portfolio-offer-box { min-height: 280px; }
  .portfolio-instagram-frame { min-height: 440px; }
  .portfolio-studio-teaser-card::before { width: 72%; opacity: .42; }
  .studio-proof-image {
    width: calc(100% + 44px);
    height: 180px;
    margin: -22px -22px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-buyer-section,
  .portfolio-section,
  .portfolio-studio-teaser,
  .portfolio-cta { content-visibility: visible; }
}

/* source: conversion.css */
/* Conversion-focused finishing layer: control the showreel first frame,
   surface the digital-studio offer without diluting the visual portfolio,
   and simplify contact for a local Zermatt buyer. */

.portfolio-video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: #0b0b0a;
  color: #f2efe8;
  text-align: left;
}

.portfolio-video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.78) contrast(1.05) brightness(.62);
  transform: scale(1.02);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

.portfolio-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,6,.82) 0%, rgba(7,7,6,.35) 52%, rgba(7,7,6,.55) 100%),
    linear-gradient(180deg, transparent 42%, rgba(7,7,6,.74) 100%);
}

.portfolio-video-poster-copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 62px);
  bottom: clamp(24px, 5vw, 58px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-video-play {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2efe8;
  color: #11110f;
  font-size: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.portfolio-video-poster-copy strong {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-video-poster-copy span:last-child {
  display: block;
  margin-top: 5px;
  color: rgba(242,239,232,.62);
  font-size: 12px;
}

@media (hover:hover) and (pointer:fine) {
  .portfolio-video-poster:hover img {
    transform: scale(1.045);
    filter: saturate(.85) contrast(1.06) brightness(.69);
  }
}

.portfolio-studio-teaser {
  padding: clamp(70px, 8vw, 118px) 0;
  border-top: 1px solid rgba(242,239,232,.08);
  border-bottom: 1px solid rgba(242,239,232,.08);
  background:
    radial-gradient(circle at 84% 18%, rgba(199,168,107,.10), transparent 30rem),
    #0a0a09;
}

.portfolio-studio-teaser-grid {
  display: grid;
  grid-template-columns: minmax(150px,.55fr) minmax(0,1.45fr);
  gap: 30px;
}

.portfolio-studio-teaser-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(28px, 4.6vw, 56px);
  border: 1px solid rgba(199,168,107,.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 46%),
    #10100e;
}

.portfolio-studio-teaser-card::after {
  content: "WEB / DIGITAL / AI";
  position: absolute;
  right: -15px;
  top: 34px;
  color: rgba(242,239,232,.055);
  font-family: 'DM Mono', monospace;
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: .08em;
  white-space: nowrap;
  transform: rotate(8deg);
  pointer-events: none;
}

.portfolio-studio-teaser-card h2 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin: 0 0 20px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -.035em;
  font-weight: 400;
}

.portfolio-studio-teaser-card p {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0;
  color: rgba(242,239,232,.65);
  font-size: 16px;
  line-height: 1.65;
}

.portfolio-studio-teaser-note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: rgba(242,239,232,.42);
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portfolio-studio-teaser .portfolio-btn {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.portfolio-instagram-section {
  padding-top: clamp(64px, 7vw, 96px) !important;
  padding-bottom: clamp(64px, 7vw, 96px) !important;
}

.portfolio-contact-details {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

@media (max-width: 860px) {
  .portfolio-studio-teaser-grid { grid-template-columns: 1fr; }
  .portfolio-studio-teaser-card { min-height: 300px; }
}

@media (max-width: 560px) {
  .portfolio-video-poster-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .portfolio-video-play {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .portfolio-studio-teaser { padding: 64px 0; }
  .portfolio-studio-teaser-card {
    min-height: 310px;
    padding: 24px;
    border-radius: 18px;
  }
  .portfolio-studio-teaser-card h2 { font-size: clamp(44px, 14vw, 60px); }
  .portfolio-studio-teaser-card p { font-size: 14px; }
  .portfolio-studio-teaser .portfolio-btn { width: 100%; }
  .portfolio-contact-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-video-poster img { transition: none; }
  .portfolio-video-poster:hover img { transform: scale(1.02); }
}

/* source: journey.css */
/* Customer-journey micro-motion. CSS-first, no Lenis, no GSAP.
   Complements motion.css: where you are, what to tap next, press feedback. */

.portfolio-nav-links a.is-current {
  color: var(--pf-text);
}

.portfolio-nav-links a.is-current::after {
  transform: scaleX(1);
}

.portfolio-btn.primary {
  animation: portfolio-cta-breathe 4.8s ease-in-out 1.2s 2;
}

@keyframes portfolio-cta-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 168, 107, 0); }
  45% { box-shadow: 0 0 0 8px rgba(199, 168, 107, 0.12); }
}

.portfolio-video-poster {
  transition: transform .35s cubic-bezier(.22,.8,.22,1), filter .35s ease;
}

.portfolio-video-play {
  animation: portfolio-play-pulse 2.6s ease-in-out 1.4s 3;
}

@keyframes portfolio-play-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.portfolio-contact-details a,
.portfolio-service,
.portfolio-sector {
  transition: transform .28s cubic-bezier(.22,.8,.22,1), border-color .28s ease, background-color .28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-contact-details a:hover,
  .portfolio-service:hover,
  .portfolio-sector:hover {
    transform: translateY(-3px);
  }

  .portfolio-instagram-frame img {
    transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .4s ease;
  }

  .portfolio-instagram-frame:hover img {
    transform: scale(1.04);
    filter: saturate(1.06);
  }
}

.portfolio-btn:focus-visible,
.portfolio-nav-links a:focus-visible,
.portfolio-language button:focus-visible,
.portfolio-video-poster:focus-visible,
.portfolio-buyer-card:focus-visible {
  outline: 2px solid rgba(199, 168, 107, .85);
  outline-offset: 3px;
}

.portfolio-scroll-cue {
  transition: color .22s ease, transform .22s ease;
}

.portfolio-scroll-cue:hover {
  color: var(--pf-text);
  transform: translateY(2px);
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-btn.primary,
  .portfolio-video-play,
  .portfolio-scroll-cue span {
    animation: none !important;
  }

  .portfolio-contact-details a,
  .portfolio-service,
  .portfolio-sector,
  .portfolio-instagram-frame img,
  .portfolio-video-poster,
  .portfolio-scroll-cue {
    transition: none !important;
    transform: none !important;
  }
}

/* source: pro-polish.css */
/* Subtle professional polish. CSS-only, no redesign, no decorative motion systems.
   Loads last in home-bundle so it can refine earlier layers with restraint. */

:root {
  --pf-focus-ring: rgba(199, 168, 107, 0.88);
  --pf-focus-offset: 3px;
  --pf-ease-out: cubic-bezier(0.22, 0.8, 0.22, 1);
  --pf-ease-press: cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* --- 1. Buttons / links: timing + press --- */
.portfolio-btn {
  transition:
    transform 220ms var(--pf-ease-out),
    border-color 200ms ease,
    color 200ms ease,
    background-color 200ms ease,
    box-shadow 220ms ease;
}

.portfolio-btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.portfolio-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 90ms;
  transition-timing-function: var(--pf-ease-press);
}

.portfolio-nav-links a,
.portfolio-mark,
.portfolio-contact-details a {
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms var(--pf-ease-out);
}

.portfolio-contact-details a:active {
  transform: scale(0.99);
}

/* --- 2. Focus-visible: consistent champagne/gold --- */
.portfolio-btn:focus-visible,
.portfolio-nav-links a:focus-visible,
.portfolio-language button:focus-visible,
.portfolio-video-poster:focus-visible,
.portfolio-buyer-card:focus-visible,
.portfolio-scroll-cue:focus-visible,
.portfolio-mark:focus-visible,
.portfolio-contact-details a:focus-visible,
.portfolio-site a:focus-visible {
  outline: 2px solid var(--pf-focus-ring);
  outline-offset: var(--pf-focus-offset);
}

.portfolio-language button:focus-visible {
  outline-offset: 2px;
}

/* --- 3. Work image cards: brightness lift (not darken) --- */
@media (hover: hover) and (pointer: fine) {
  .portfolio-card-media img {
    transition:
      transform 420ms var(--pf-ease-out),
      opacity 320ms ease,
      filter 320ms ease;
  }

  .portfolio-card-media:hover img,
  .portfolio-card:hover .portfolio-card-media img {
    transform: scale(1.02);
    opacity: 1;
    filter: brightness(1.04) saturate(1.03);
  }

  .portfolio-card:hover {
    transform: translateY(-4px) scale(1.004);
  }
}

/* --- 4. Eyebrows / meta: letter-spacing + hairline --- */
.portfolio-eyebrow,
.portfolio-kicker,
.portfolio-number,
.portfolio-tag {
  letter-spacing: 0.2em;
}

.portfolio-section-head {
  position: relative;
}

.portfolio-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(199, 168, 107, 0.35),
    rgba(242, 239, 232, 0.08) 42%,
    transparent 88%
  );
  opacity: 0.7;
}

.portfolio-section:hover .portfolio-eyebrow {
  letter-spacing: 0.22em;
}

/* --- 5. Sticky nav: current link + restrained chrome --- */
.portfolio-nav {
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    backdrop-filter 280ms ease;
}

.portfolio-nav-inner {
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease;
}

.portfolio-nav-links a.is-current {
  color: var(--pf-text);
}

.portfolio-nav-links a.is-current::after {
  transform: scaleX(1);
  opacity: 1;
}

/* --- 6. Primary / WhatsApp CTA micro polish --- */
.portfolio-btn.primary {
  border-color: rgba(199, 168, 107, 0.28);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(199, 168, 107, 0.12),
    inset 0 1px 0 #fff;
}

.portfolio-btn.primary:hover {
  border-color: rgba(199, 168, 107, 0.42);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(199, 168, 107, 0.2),
    inset 0 1px 0 #fff;
}

.portfolio-btn.primary:active {
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(199, 168, 107, 0.16),
    inset 0 1px 0 #fff;
}

/* --- 7. Selection (reinforce brand tint if cascade drifts) --- */
.portfolio-site ::selection,
.portfolio-site::selection {
  background: rgba(199, 168, 107, 0.3);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-btn,
  .portfolio-nav,
  .portfolio-nav-inner,
  .portfolio-nav-links a,
  .portfolio-mark,
  .portfolio-contact-details a,
  .portfolio-card-media img,
  .portfolio-eyebrow {
    transition: none !important;
  }

  .portfolio-btn:hover,
  .portfolio-btn:active,
  .portfolio-card:hover,
  .portfolio-contact-details a:active,
  .portfolio-card-media:hover img,
  .portfolio-card:hover .portfolio-card-media img {
    transform: none !important;
    filter: none !important;
  }

  .portfolio-section:hover .portfolio-eyebrow {
    letter-spacing: 0.2em;
  }
}

@media (max-width: 560px) {
  .portfolio-section-head::after {
    bottom: -10px;
    opacity: 0.55;
  }

  .portfolio-btn:hover {
    transform: none;
  }
}

/* source: ux-cleanup.css */
/* UX cleanup from real external feedback. Keep the existing visual system; remove friction. */

/* The delayed custom cursor was distracting in user testing. Restore the native cursor. */
.portfolio-cursor,
.portfolio-cursor-ring {
  display: none !important;
}

html.portfolio-has-cursor,
html.portfolio-has-cursor body,
html.portfolio-has-cursor .portfolio-site,
html.portfolio-has-cursor .portfolio-site * {
  cursor: auto !important;
}

html.portfolio-has-cursor .portfolio-site a,
html.portfolio-has-cursor .portfolio-site button,
html.portfolio-has-cursor .portfolio-site [role="button"] {
  cursor: pointer !important;
}

/* Make the location explicit instead of asking visitors to decode coordinates. */
.portfolio-hero-coordinate {
  align-items: center;
  gap: 10px;
}

.portfolio-hero-coordinate::before {
  content: "ZERMATT / CH";
  color: rgba(242, 239, 232, 0.78);
  letter-spacing: 0.14em;
}

.portfolio-hero-coordinate span {
  color: rgba(242, 239, 232, 0.4);
}

/* Avoid enlarging the 450x614 portrait beyond its intended display size on desktop. */
.portfolio-hero-portrait-card {
  left: auto;
  right: 0;
  width: min(450px, calc(100% - 56px));
}

.portfolio-hero-portrait {
  transform: none;
}

/* Keep the first screen lighter after shortening the copy. */
.portfolio-hero-lead-v2 {
  max-width: 590px;
}

.portfolio-buyer-intro {
  max-width: 760px;
}

@media (max-width: 980px) and (min-width: 561px) {
  .portfolio-hero-portrait-card {
    left: auto;
    right: 34px;
    width: min(450px, calc(100% - 98px));
  }
}

@media (max-width: 560px) {
  /* The desktop coordinate/portrait composition is hidden here; keep native touch behaviour. */
  html.portfolio-has-cursor,
  html.portfolio-has-cursor body,
  html.portfolio-has-cursor .portfolio-site,
  html.portfolio-has-cursor .portfolio-site * {
    cursor: auto !important;
  }
}

/* Portrait source is 450×614 — never display the hero photo larger than native pixels. */
.portfolio-hero-portrait {
  max-width: 450px;
}

/* Final visual polish — spacing / composition only (Motion Polish V2 untouched). */

/* Desktop: calmer section rhythm + Selected Work hierarchy breathing room */
@media (min-width: 861px) {
  .portfolio-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .portfolio-section-head {
    margin-bottom: 40px;
  }

  .portfolio-work {
    gap: 14px;
  }

  .portfolio-card-body {
    padding: 24px 24px 26px;
    gap: 36px;
  }

  .portfolio-card h3 {
    margin-bottom: 14px;
  }

  .portfolio-fieldwork {
    padding-top: clamp(92px, 11vw, 156px);
    padding-bottom: clamp(92px, 11vw, 156px);
  }

  .portfolio-fieldwork-grid {
    gap: clamp(44px, 7.2vw, 104px);
  }
}

/* Tablet: slightly more air between section heads and carousels */
@media (max-width: 860px) and (min-width: 561px) {
  .portfolio-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .portfolio-section-head {
    margin-bottom: 30px;
  }

  .portfolio-work {
    gap: 12px;
  }

  .portfolio-fieldwork {
    padding: 82px 0 88px;
  }

  .portfolio-fieldwork-grid {
    gap: 46px;
  }

  .portfolio-hero-lead-v2 {
    line-height: 1.55;
  }
}

/* Mobile: editorial rhythm + deck/work hierarchy + dock clearance already in hero-v2 */
@media (max-width: 560px) {
  .portfolio-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .portfolio-section-head {
    margin-bottom: 28px;
  }

  .portfolio-h2 {
    line-height: 1.04;
  }

  .portfolio-hero-v2 {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .portfolio-hero-lead-v2 {
    margin-top: 24px;
    line-height: 1.56;
  }

  .portfolio-hero-actions-v2 {
    margin-top: 22px;
    gap: 10px;
  }

  .portfolio-work {
    gap: 14px;
    padding-bottom: 18px;
  }

  /* Lead card slightly wider to reinforce the new visual order */
  .portfolio-work .portfolio-card:first-child {
    flex-basis: min(90vw, 352px);
  }

  .portfolio-work .portfolio-card-body {
    min-height: 212px;
    padding: 22px 20px 24px;
    gap: 28px;
  }

  .portfolio-work .portfolio-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .portfolio-fieldwork {
    padding: 72px 0 88px;
  }

  .portfolio-fieldwork-topline {
    margin-bottom: 30px;
  }

  .portfolio-fieldwork-description {
    margin-top: 16px;
    line-height: 1.68;
  }

  .portfolio-fieldwork-stack {
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .portfolio-cta#contact h2 {
    margin-bottom: 18px;
  }

  .portfolio-cta#contact > .portfolio-shell > p,
  .portfolio-cta#contact .portfolio-copy {
    margin-bottom: 8px;
    line-height: 1.65;
  }

  .portfolio-cta#contact .portfolio-actions {
    gap: 10px;
    margin-top: 26px;
  }
}

@media (max-width: 390px) {
  .portfolio-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .portfolio-work .portfolio-card:first-child {
    flex-basis: 88vw;
  }

  .portfolio-fieldwork-stack {
    gap: 12px;
  }
}

/* source: motion-polish-v2.css */
/* Motion polish V2 — cinematic restraint.
   Tokens + overrides only. Last in home-bundle after ux-cleanup.
   Directed, premium motion — not more animations. */

:root {
  --motion-fast: 180ms;
  --motion-base: 280ms;
  --motion-slow: 520ms;
  --motion-reveal: 680ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------- */
/* Kill noisy infinite / oversized motion from earlier layers                 */
/* -------------------------------------------------------------------------- */

.portfolio-kicker::before {
  animation: none !important;
  box-shadow: none;
}

.portfolio-btn.primary {
  animation: none !important;
}

.portfolio-video-play {
  animation: none !important;
}

.portfolio-scroll-cue span {
  animation: none !important;
}

.portfolio-hero::before {
  animation: none !important;
}

/* Cap image/card hover scales (tone down 1.045+ from motion.css / journey) */
.portfolio-card:hover .portfolio-card-media img,
.portfolio-card-media img {
  transition:
    transform 480ms var(--motion-ease),
    filter var(--motion-base) ease,
    opacity var(--motion-base) ease;
}

.portfolio-card:hover .portfolio-card-media img {
  transform: scale(1.03) !important;
  filter: saturate(1.04) contrast(1.01);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-instagram-frame:hover img {
    transform: scale(1.03) !important;
  }
}

.portfolio-portrait-wrap:hover .portfolio-portrait {
  transform: scale(1.02) !important;
}

.portfolio-video-poster:hover .portfolio-video-play {
  transform: scale(1.04) !important;
}

/* Soften oversized translates on hover */
.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-btn:hover {
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-hero-portrait-card:hover {
    transform: translateY(-4px) !important;
  }

  .portfolio-buyer-card:hover {
    transform: translateY(-3px);
  }

  .portfolio-btn:hover {
    transform: translate3d(var(--magnet-x, 0px), calc(var(--magnet-y, 0px) - 2px), 0);
  }

  .portfolio-card:hover,
  .portfolio-buyer-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
      translateY(-3px);
  }
}

/* Tone down sector / chip fidget */
.portfolio-sector:hover {
  padding-left: 22px;
}

.portfolio-section:hover .portfolio-eyebrow {
  letter-spacing: inherit;
}

.portfolio-proof-item {
  transition:
    border-color var(--motion-base) ease,
    color var(--motion-base) ease;
}

.portfolio-proof-item:hover {
  transform: none !important;
}

/* -------------------------------------------------------------------------- */
/* 1. Hero load once — kicker → title → intro → CTAs → portrait               */
/* -------------------------------------------------------------------------- */

@keyframes motion-v2-hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Replace prior hero blur / large-translate entrances */
.portfolio-title-line,
.portfolio-title-word,
.portfolio-hero-grid,
.portfolio-hero-copyblock,
.portfolio-hero-visual,
.portfolio-hero-meta-row,
.portfolio-hero-portrait,
.portfolio-hero-mini-frame img {
  animation: none !important;
  filter: none !important;
  clip-path: none !important;
}

html.motion-hero-pending .portfolio-kicker,
html.motion-hero-pending .portfolio-title,
html.motion-hero-pending .portfolio-hero-lead-v2,
html.motion-hero-pending .portfolio-hero-actions-v2,
html.motion-hero-pending .portfolio-hero-portrait-card {
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}

html.motion-hero-play .portfolio-kicker {
  animation: motion-v2-hero-in 600ms var(--motion-ease) both;
}

html.motion-hero-play .portfolio-title {
  animation: motion-v2-hero-in 680ms var(--motion-ease) 65ms both;
}

html.motion-hero-play .portfolio-hero-lead-v2 {
  animation: motion-v2-hero-in 640ms var(--motion-ease) 130ms both;
}

html.motion-hero-play .portfolio-hero-actions-v2 {
  animation: motion-v2-hero-in 620ms var(--motion-ease) 200ms both;
}

html.motion-hero-play .portfolio-hero-portrait-card {
  animation: motion-v2-hero-in 720ms var(--motion-ease) 270ms both;
}

html.motion-hero-done .portfolio-kicker,
html.motion-hero-done .portfolio-title,
html.motion-hero-done .portfolio-hero-lead-v2,
html.motion-hero-done .portfolio-hero-actions-v2,
html.motion-hero-done .portfolio-hero-portrait-card {
  opacity: 1;
  transform: none;
  animation: none !important;
}

/* -------------------------------------------------------------------------- */
/* 2. Section reveals — heading first, content second; IO once via JS         */
/* -------------------------------------------------------------------------- */

@keyframes motion-v2-reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable re-firing scroll-driven view timelines for homepage compositions */
@supports (animation-timeline: view()) {
  .portfolio-section-head,
  .portfolio-video,
  .portfolio-services,
  .portfolio-work,
  .portfolio-offer,
  .portfolio-sectors,
  .portfolio-about-grid,
  .portfolio-contact-details,
  .portfolio-buyer-card,
  .portfolio-card,
  .portfolio-service,
  .portfolio-sector,
  .portfolio-instagram-frame,
  .portfolio-studio-teaser,
  .portfolio-buyer-head,
  .portfolio-proof-strip,
  .portfolio-hero-local-pill,
  .portfolio-card-media img,
  .portfolio-instagram-frame img,
  .portfolio-video-poster img,
  .portfolio-studio-teaser img {
    animation: none !important;
  }
}

.motion-reveal .portfolio-section-head,
.motion-reveal > .portfolio-shell > .portfolio-section-head,
.portfolio-section.motion-reveal .portfolio-section-head,
.portfolio-cta.motion-reveal > .portfolio-shell > .portfolio-kicker,
.portfolio-cta.motion-reveal > .portfolio-shell > h2 {
  opacity: 0;
  transform: translateY(12px);
}

.motion-reveal .portfolio-video,
.motion-reveal .portfolio-work,
.motion-reveal .portfolio-services,
.motion-reveal .portfolio-offer,
.motion-reveal .portfolio-sectors,
.motion-reveal .portfolio-about-grid,
.motion-reveal .portfolio-buyer-grid,
.motion-reveal .portfolio-instagram-grid,
.motion-reveal .portfolio-actions,
.motion-reveal .portfolio-contact-details,
.portfolio-cta.motion-reveal > .portfolio-shell > p,
.portfolio-fieldwork.motion-reveal .portfolio-fieldwork-grid {
  opacity: 0;
  transform: translateY(14px);
}

.motion-reveal .portfolio-card {
  opacity: 0;
  transform: translateY(12px);
}

.motion-reveal.is-revealed .portfolio-section-head,
.portfolio-cta.motion-reveal.is-revealed > .portfolio-shell > .portfolio-kicker,
.portfolio-cta.motion-reveal.is-revealed > .portfolio-shell > h2 {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) both;
}

.motion-reveal.is-revealed .portfolio-video,
.motion-reveal.is-revealed .portfolio-work,
.motion-reveal.is-revealed .portfolio-services,
.motion-reveal.is-revealed .portfolio-offer,
.motion-reveal.is-revealed .portfolio-sectors,
.motion-reveal.is-revealed .portfolio-about-grid,
.motion-reveal.is-revealed .portfolio-buyer-grid,
.motion-reveal.is-revealed .portfolio-instagram-grid,
.motion-reveal.is-revealed .portfolio-actions,
.motion-reveal.is-revealed .portfolio-contact-details,
.portfolio-cta.motion-reveal.is-revealed > .portfolio-shell > p,
.portfolio-fieldwork.motion-reveal.is-revealed .portfolio-fieldwork-grid {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 70ms both;
}

.motion-reveal.is-revealed .portfolio-card:nth-child(1) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 70ms both;
}
.motion-reveal.is-revealed .portfolio-card:nth-child(2) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 130ms both;
}
.motion-reveal.is-revealed .portfolio-card:nth-child(3) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 190ms both;
}
.motion-reveal.is-revealed .portfolio-card:nth-child(4) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 250ms both;
}
.motion-reveal.is-revealed .portfolio-card:nth-child(5) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 310ms both;
}
.motion-reveal.is-revealed .portfolio-card:nth-child(6) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 370ms both;
}

/* -------------------------------------------------------------------------- */
/* 3. Images — scale(.985)→1, no blur; hover ≤1.035                           */
/* -------------------------------------------------------------------------- */

@keyframes motion-v2-image-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.motion-reveal.is-revealed .portfolio-card-media img,
.motion-reveal.is-revealed .portfolio-instagram-frame img,
.motion-reveal.is-revealed .portfolio-video-poster img,
.motion-reveal.is-revealed .portfolio-studio-teaser img,
.motion-reveal.is-revealed .portfolio-portrait {
  animation: motion-v2-image-in var(--motion-reveal) var(--motion-ease) 90ms both;
  filter: none;
}

/* Buyer section composition */
.portfolio-buyer-section.motion-reveal .portfolio-buyer-head {
  opacity: 0;
  transform: translateY(12px);
}

.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-head {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) both;
}

.portfolio-buyer-section.motion-reveal .portfolio-buyer-card {
  opacity: 0;
  transform: translateY(12px);
}

.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(1) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 70ms both;
}
.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(2) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 130ms both;
}
.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(3) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 190ms both;
}
.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(4) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 250ms both;
}
.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(5) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 310ms both;
}
.portfolio-buyer-section.motion-reveal.is-revealed .portfolio-buyer-card:nth-child(6) {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) 370ms both;
}

/* -------------------------------------------------------------------------- */
/* 5. Showreel — hover lift -2px, img ≤1.015; poster→iframe crossfade         */
/* -------------------------------------------------------------------------- */

.portfolio-video {
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) ease,
    box-shadow var(--motion-slow) ease;
}

.portfolio-video:hover {
  transform: translateY(-2px) !important;
}

.portfolio-video-poster img {
  transition:
    transform 480ms var(--motion-ease),
    opacity 250ms ease;
}

.portfolio-video:hover .portfolio-video-poster img {
  transform: scale(1.015);
}

.portfolio-video {
  position: relative;
}

.portfolio-video iframe {
  opacity: 0;
  animation: motion-v2-showreel-in 250ms var(--motion-ease) both;
}

@keyframes motion-v2-showreel-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.portfolio-video.is-playing .portfolio-video-poster {
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

/* -------------------------------------------------------------------------- */
/* 6. Nav — keep scroll spy; smooth underline between active states           */
/* -------------------------------------------------------------------------- */

.portfolio-nav-links a::after {
  transition:
    transform var(--motion-base) var(--motion-ease),
    opacity var(--motion-fast) ease;
  transform-origin: left center;
}

.portfolio-nav-links a.is-current::after {
  transform: scaleX(1);
  opacity: 1;
}

.portfolio-nav-links a:not(.is-current)::after {
  transform-origin: right center;
}

.portfolio-nav {
  animation: none !important;
}

/* -------------------------------------------------------------------------- */
/* 7. Contact CTA — one reveal when #contact enters; no permanent pulse       */
/* -------------------------------------------------------------------------- */

.portfolio-cta.motion-reveal:not(.is-revealed) {
  opacity: 0.001;
}

.portfolio-cta.motion-reveal.is-revealed {
  opacity: 1;
}

.portfolio-cta.motion-reveal.is-revealed > .portfolio-shell {
  animation: motion-v2-reveal-up var(--motion-reveal) var(--motion-ease) both;
}

.portfolio-cta .portfolio-btn.primary {
  animation: none !important;
}

/* -------------------------------------------------------------------------- */
/* Magnetic / tilt: only apply when fine pointer (JS also gates)              */
/* -------------------------------------------------------------------------- */

@media (hover: none), (pointer: coarse) {
  .portfolio-btn,
  .portfolio-mark,
  .portfolio-hero-portrait-card,
  .portfolio-card,
  .portfolio-buyer-card,
  .portfolio-fieldwork-card {
    --magnet-x: 0px !important;
    --magnet-y: 0px !important;
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
  }

  .portfolio-btn:hover,
  .portfolio-mark:hover,
  .portfolio-hero-portrait-card:hover,
  .portfolio-card:hover,
  .portfolio-buyer-card:hover {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Prefers-reduced-motion                                                     */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .portfolio-kicker,
  .portfolio-title,
  .portfolio-hero-lead-v2,
  .portfolio-hero-actions-v2,
  .portfolio-hero-portrait-card,
  .motion-reveal .portfolio-section-head,
  .motion-reveal .portfolio-video,
  .motion-reveal .portfolio-work,
  .motion-reveal .portfolio-services,
  .motion-reveal .portfolio-offer,
  .motion-reveal .portfolio-sectors,
  .motion-reveal .portfolio-about-grid,
  .motion-reveal .portfolio-buyer-grid,
  .motion-reveal .portfolio-instagram-grid,
  .motion-reveal .portfolio-actions,
  .motion-reveal .portfolio-contact-details,
  .motion-reveal .portfolio-card,
  .motion-reveal .portfolio-buyer-card,
  .portfolio-buyer-section.motion-reveal .portfolio-buyer-head,
  .motion-reveal .portfolio-card-media img,
  .motion-reveal .portfolio-instagram-frame img,
  .motion-reveal .portfolio-video-poster img,
  .motion-reveal .portfolio-studio-teaser img,
  .motion-reveal .portfolio-portrait,
  .portfolio-cta,
  .portfolio-cta > .portfolio-shell,
  .portfolio-fieldwork .portfolio-fieldwork-grid,
  .portfolio-video iframe {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  html.motion-hero-pending .portfolio-kicker,
  html.motion-hero-pending .portfolio-title,
  html.motion-hero-pending .portfolio-hero-lead-v2,
  html.motion-hero-pending .portfolio-hero-actions-v2,
  html.motion-hero-pending .portfolio-hero-portrait-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
