/* E-portfolio page (/e-portfolio/). Owned by the e-portfolio page agent.
 * Round 4: every section is settled ("Who uses it": r3 screens by role); styles keep the section
 * classes (.epf-<section>--<id>). Shared pieces for this page use the .epf- prefix
 * (device mock-ups, abstract screens, sign-in icons, tones). */

body.page-e-portfolio { --footer-under: var(--bg); }
.page-e-portfolio main { overflow-x: clip; }
.page-e-portfolio :is(h1, h2, h3) { text-wrap: balance; }
.page-e-portfolio :is(.lead, p) { text-wrap: pretty; }

.page-e-portfolio .feature { row-gap: 4px; }

.epf-nw { white-space: nowrap; }
.epf-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + var(--header-top) + 8px); }

/* ------------------------------------------------------------------ shared: login button + sign-in icons */
.epf-login .btn__icon { width: 1.15em; height: 1.15em; }
/* ================================================================== DEVICE MOCK-UPS (CSS drawn) */
.epf-dev { position: relative; width: 100%; }
.epf-dev__frame {
  position: relative;
  background: linear-gradient(150deg, #24517A 0%, var(--navy) 38%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-3), inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.epf-dev__cam { position: absolute; z-index: 2; left: 50%; top: 1.5%; width: 1.2%; aspect-ratio: 1; border-radius: 50%; translate: -50% 0; background: rgba(255, 255, 255, 0.22); }
.epf-dev__screen { position: relative; height: 100%; overflow: hidden; background: #fff; container-type: inline-size; }
.epf-dev__screen::after { /* soft glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.0) 55%, rgba(255, 255, 255, 0.22) 56%, rgba(255, 255, 255, 0) 75%);
}
.epf-dev--ipad .epf-dev__frame { aspect-ratio: 4 / 3; padding: 3.4%; border-radius: 7% / 9.3%; }
.epf-dev--ipad .epf-dev__screen { border-radius: 3.6% / 4.8%; }
.epf-dev--phone .epf-dev__frame { aspect-ratio: 9 / 19; padding: 6%; border-radius: 19% / 9%; }
.epf-dev--phone .epf-dev__screen { border-radius: 14% / 6.6%; }
.epf-dev--phone .epf-dev__cam { top: 2.4%; width: 22%; aspect-ratio: 5 / 1; border-radius: 99px; background: var(--navy-deep); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); top: 3.2%; }
.epf-dev--laptop .epf-dev__frame { aspect-ratio: 16 / 10; padding: 2.4% 2.4% 3%; border-radius: 4% 4% 1% 1% / 6.4% 6.4% 1.6% 1.6%; }
.epf-dev--laptop .epf-dev__screen { border-radius: 1.4%; }
.epf-dev--laptop .epf-dev__cam { top: 0.9%; width: 0.8%; }
.epf-dev__base {
  position: relative; height: 0; padding-bottom: 4.4%; margin-inline: -7%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(to bottom, #DCE5EE 0%, #B9C7D4 70%, #93A5B6 100%);
  box-shadow: 0 18px 30px -16px color-mix(in srgb, var(--navy) 45%, transparent);
}
.epf-dev__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; translate: -50% 0; border-radius: 0 0 10px 10px; background: color-mix(in srgb, var(--navy) 16%, transparent); }

@property --fill { syntax: "<number>"; inherits: true; initial-value: 1; }

/* Abstract screen. Sizes use --u (1% of the screen width) so every mock-up scales as one piece. */
.epf-ui {
  --u: 1cqi;
  --ink-line: color-mix(in srgb, var(--navy) 16%, transparent);
  height: 100%;
  display: flex; flex-direction: column; gap: calc(var(--u) * 2.8);
  padding: calc(var(--u) * 3.4);
  background: linear-gradient(170deg, #FFFFFF 0%, var(--blue-mist) 100%);
}
.epf-dev--phone .epf-ui { --u: 2.1cqi; padding-top: calc(var(--u) * 6); gap: calc(var(--u) * 3.4); }
.epf-ui .icon { width: 100%; height: 100%; }
.epf-ui__top { display: flex; align-items: center; gap: calc(var(--u) * 2); flex: none; }
.epf-ui__logo { width: calc(var(--u) * 6); height: calc(var(--u) * 6); flex: none; }
.epf-ui__spacer { flex: 1; }
.epf-ui__chip { display: block; width: calc(var(--u) * 12); height: calc(var(--u) * 4); border-radius: 99px; background: var(--green-soft); }
.epf-ui__avatar { display: block; width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 38%, #F6D2B8 0 26%, transparent 27%), linear-gradient(to bottom, var(--sky-soft) 0 60%, var(--green) 61%); box-shadow: 0 0 0 calc(var(--u) * 0.5) #fff; }
.epf-ui__avatar--b { background: radial-gradient(circle at 50% 38%, #E8C3A6 0 26%, transparent 27%), linear-gradient(to bottom, var(--blue-soft) 0 60%, var(--blue) 61%); }
.epf-ui__line { display: block; height: calc(var(--u) * 1.9); border-radius: 99px; background: var(--ink-line); flex: none; }
.epf-ui__line--w30 { width: 30%; } .epf-ui__line--w40 { width: 40%; } .epf-ui__line--w50 { width: 50%; }
.epf-ui__line--w60 { width: 60%; } .epf-ui__line--w70 { width: 70%; } .epf-ui__line--w80 { width: 80%; }
.epf-ui__line--soft { background: color-mix(in srgb, var(--navy) 9%, transparent); }
.epf-ui__line--strong { background: color-mix(in srgb, var(--navy) 55%, transparent); height: calc(var(--u) * 2.4); }
.epf-ui__line--white { background: rgba(255, 255, 255, 0.85); }
.epf-ui__card { background: #fff; border-radius: calc(var(--u) * 2.6); box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--navy) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--navy) 5%, transparent); }
.epf-ui__meter { display: block; height: calc(var(--u) * 1.5); border-radius: 99px; background: color-mix(in srgb, var(--navy) 8%, transparent); overflow: hidden; }
.epf-ui__meter > i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--green-bright), var(--green)); transition: width 1.2s var(--ease-out); }
.epf-ui__ring { position: relative; display: block; width: calc(var(--u) * 19); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--p, 60) * var(--fill) * 1%), var(--green-soft) 0); transition: --fill 1.6s var(--ease-out); }
.epf-ui__ring::after { content: ""; position: absolute; inset: 17%; border-radius: 50%; background: #fff; }
.epf-ui__ring-core { position: absolute; z-index: 1; inset: 33%; color: var(--navy); }
.epf-ui__ring--big { width: calc(var(--u) * 26); }
.epf-ui__thumb { display: block; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: calc(var(--u) * 1.6); flex: none; }
.epf-ui__thumb--1 { background: linear-gradient(135deg, var(--green-soft), var(--green-bright)); }
.epf-ui__thumb--2 { background: linear-gradient(135deg, var(--sky-soft), var(--sky)); }
.epf-ui__thumb--3 { background: linear-gradient(135deg, var(--sun-soft), var(--sun)); }
.epf-ui__tick { display: grid; place-items: center; width: calc(var(--u) * 4.6); height: calc(var(--u) * 4.6); padding: calc(var(--u) * 1.1); border-radius: 50%; background: var(--green-soft); color: var(--green-deep); flex: none; margin-left: auto; box-sizing: border-box; }
.epf-ui__tick--wait { background: var(--sun-soft); color: #8A6100; }

/* dash */
.epf-ui__dash { flex: 1; min-height: 0; display: grid; grid-template-columns: 0.78fr 1.22fr; grid-template-rows: auto 1fr; gap: calc(var(--u) * 2.6); }
.epf-ui__card--ring { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 2); padding: calc(var(--u) * 3); }
.epf-ui__card--ring .epf-ui__line { margin-inline: auto; }
.epf-ui__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 2.2); }
.epf-ui__tile { display: grid; align-content: start; gap: calc(var(--u) * 1.6); padding: calc(var(--u) * 2.4); background: #fff; border-radius: calc(var(--u) * 2.4); box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--navy) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--navy) 5%, transparent); }
.epf-ui__tile > .icon { width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); padding: calc(var(--u) * 1.2); border-radius: 30%; box-sizing: border-box; }
.epf-ui__tile--g > .icon { background: var(--green-soft); color: var(--green-deep); }
.epf-ui__tile--b > .icon { background: var(--blue-soft); color: var(--blue-deep); }
.epf-ui__tile--c > .icon { background: var(--coral-soft); color: #A6412B; }
.epf-ui__tile--s > .icon { background: var(--sun-soft); color: #8A6100; }
.epf-ui__tile--c .epf-ui__meter > i { background: linear-gradient(90deg, #F0A08C, var(--coral)); }
.epf-ui__tile--b .epf-ui__meter > i { background: linear-gradient(90deg, var(--sky), var(--blue)); }
.epf-ui__tile--s .epf-ui__meter > i { background: linear-gradient(90deg, #F8D88A, var(--sun)); }
.epf-ui__rows { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--u) * 1.4); align-content: start; }
.epf-ui__rows > li { display: flex; align-items: center; gap: calc(var(--u) * 2); padding: calc(var(--u) * 1.2) calc(var(--u) * 1.8); background: #fff; border-radius: calc(var(--u) * 2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 6%, transparent); }
.epf-ui__rows > li .epf-ui__thumb { width: calc(var(--u) * 4.6); height: calc(var(--u) * 4.6); }
.epf-ui__rows > li .epf-ui__tick { width: calc(var(--u) * 4); height: calc(var(--u) * 4); padding: calc(var(--u) * 0.9); }

/* invite and sign-in */
.epf-ui__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 2.2); width: min(100%, calc(var(--u) * 58)); margin-inline: auto; padding: calc(var(--u) * 4); background: #fff; border-radius: calc(var(--u) * 3); box-shadow: 0 4px 22px -10px color-mix(in srgb, var(--navy) 30%, transparent); }
.epf-ui__center .epf-ui__line { margin-inline: auto; }
.epf-ui__envelope { position: relative; display: grid; place-items: center; width: calc(var(--u) * 14); height: calc(var(--u) * 14); padding: calc(var(--u) * 3.2); border-radius: 30%; background: var(--green-soft); color: var(--green-deep); box-sizing: border-box; margin-bottom: calc(var(--u) * 1); }
.epf-ui__badge-dot { position: absolute; top: -6%; right: -6%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 calc(var(--u) * 0.8) #fff; }
.epf-ui__button { display: flex; align-items: center; justify-content: center; width: 70%; height: calc(var(--u) * 6.4); margin-top: calc(var(--u) * 1); border-radius: 99px; background: var(--green-strong); box-shadow: 0 6px 14px -8px var(--primary-glow); }
.epf-ui__button .epf-ui__line { width: 46%; }
.epf-ui__biglogo { width: calc(var(--u) * 12); height: calc(var(--u) * 12); }
.epf-ui__provider { display: flex; align-items: center; gap: calc(var(--u) * 2); width: 100%; height: calc(var(--u) * 6.6); padding-inline: calc(var(--u) * 1.6); border-radius: 99px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 14%, transparent); box-sizing: border-box; }
.epf-ui__provider .epf-ui__line { margin: 0; }
.epf-ui__provider--ghost { box-shadow: none; background: var(--blue-mist); }
.epf-ui__pdot { display: grid; place-items: center; width: calc(var(--u) * 3.8); height: calc(var(--u) * 3.8); border-radius: 50%; flex: none; }
.epf-ui__pdot--a { background: #1d1d1f; }
.epf-ui__pdot--g { background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); }
.epf-ui__pdot--m { border-radius: 2px; background: conic-gradient(#7FBA00 0 25%, #FFB900 0 50%, #00A4EF 0 75%, #F25022 0); }
.epf-ui__pdot--e { color: var(--green-strong); padding: calc(var(--u) * 0.6); box-sizing: border-box; }
.epf-dev--phone .epf-ui__center { width: 100%; padding: calc(var(--u) * 5) calc(var(--u) * 4); }

/* upload */
.epf-ui__upload { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: calc(var(--u) * 2.6); }
.epf-ui__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 2); border-radius: calc(var(--u) * 3); border: calc(var(--u) * 0.45) dashed rgba(61, 132, 32, 0.45); background: rgba(221, 235, 215, 0.45); }
.epf-ui__drop-icon { display: grid; place-items: center; width: calc(var(--u) * 10); height: calc(var(--u) * 10); padding: calc(var(--u) * 2.6); border-radius: 50%; background: var(--green-strong); color: #fff; box-sizing: border-box; box-shadow: 0 6px 16px -8px var(--primary-glow); }
.epf-ui__thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: calc(var(--u) * 2); }
.epf-ui__pic { display: grid; place-items: center; border-radius: calc(var(--u) * 2.4); overflow: hidden; }
.epf-ui__pic svg { width: 56%; height: 56%; --motif-leaf: rgba(255, 255, 255, 0.85); --motif-trunk: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.9); }
.epf-ui__pic--1 { grid-row: span 2; background: linear-gradient(160deg, var(--green-bright), var(--green-deep)); }
.epf-ui__pic--2 { background: linear-gradient(160deg, var(--sky), var(--blue)); }
.epf-ui__pic--3 { background: linear-gradient(160deg, #F8D88A, #E9A23B); }
.epf-ui__file { grid-column: 1 / -1; display: flex; align-items: center; gap: calc(var(--u) * 2.2); padding: calc(var(--u) * 2) calc(var(--u) * 2.4); background: #fff; border-radius: calc(var(--u) * 2.4); box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--navy) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--navy) 5%, transparent); }
.epf-ui__ficon { display: grid; place-items: center; width: calc(var(--u) * 6); height: calc(var(--u) * 6); padding: calc(var(--u) * 1.4); border-radius: 30%; background: var(--coral-soft); color: #A6412B; flex: none; box-sizing: border-box; }
.epf-ui__fbody { flex: 1; display: grid; gap: calc(var(--u) * 1.4); }

/* feedback */
.epf-ui__chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(var(--u) * 2.4); }
.epf-ui__doc { display: flex; align-items: center; gap: calc(var(--u) * 2.2); padding: calc(var(--u) * 2.2); background: #fff; border-radius: calc(var(--u) * 2.4); box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--navy) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--navy) 5%, transparent); }
.epf-ui__doc .epf-ui__thumb { width: calc(var(--u) * 9); height: calc(var(--u) * 9); }
.epf-ui__stars { display: flex; gap: calc(var(--u) * 0.6); color: var(--sun); flex: none; }
.epf-ui__stars .icon { width: calc(var(--u) * 3.4); height: calc(var(--u) * 3.4); }
.epf-ui__bubble { display: flex; align-items: flex-end; gap: calc(var(--u) * 1.6); max-width: 78%; }
.epf-ui__bubble > span:not(.epf-ui__avatar):not(.epf-ui__tick) { flex: 1; display: grid; gap: calc(var(--u) * 1.3); padding: calc(var(--u) * 2.2) calc(var(--u) * 2.6); border-radius: calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 0.8); background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 7%, transparent); min-width: calc(var(--u) * 26); }
.epf-ui__bubble .epf-ui__line { width: 100%; }
.epf-ui__bubble .epf-ui__line--w60, .epf-ui__bubble .epf-ui__line--w50 { width: 66%; }
.epf-ui__bubble--out { align-self: flex-end; }
.epf-ui__bubble--out > span { background: var(--green-strong) !important; box-shadow: none !important; border-radius: calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 0.8) calc(var(--u) * 3) !important; }
.epf-ui__bubble .epf-ui__tick { margin-left: 0; }
.epf-ui__input { margin-top: auto; display: flex; align-items: center; gap: calc(var(--u) * 2); padding: calc(var(--u) * 1.4) calc(var(--u) * 1.4) calc(var(--u) * 1.4) calc(var(--u) * 3); border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 10%, transparent); }
.epf-ui__input .epf-ui__line { flex: none; }
.epf-ui__send { display: grid; place-items: center; margin-left: auto; width: calc(var(--u) * 5.6); height: calc(var(--u) * 5.6); padding: calc(var(--u) * 1.4); border-radius: 50%; background: var(--green-strong); color: #fff; box-sizing: border-box; flex: none; }
.epf-dev--ipad .epf-ui__input { display: none; }
.epf-dev--phone .epf-ui__bubble { max-width: 92%; }
.epf-dev--phone .epf-ui__doc .epf-ui__stars { display: none; }

/* progress */
.epf-ui__progress { flex: 1; min-height: 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: calc(var(--u) * 2.8); align-items: stretch; }
.epf-ui__units { list-style: none; margin: 0; padding: calc(var(--u) * 3); display: grid; gap: calc(var(--u) * 1.6); align-content: center; background: #fff; border-radius: calc(var(--u) * 2.6); box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--navy) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--navy) 5%, transparent); }
.epf-ui__units > li { display: flex; align-items: center; gap: calc(var(--u) * 2); }
.epf-ui__units .epf-ui__meter { flex: 1; height: calc(var(--u) * 1.9); }
.epf-ui__unit-dot { display: grid; place-items: center; width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4); padding: calc(var(--u) * 0.9); border-radius: 50%; flex: none; box-sizing: border-box; box-shadow: inset 0 0 0 calc(var(--u) * 0.45) color-mix(in srgb, var(--navy) 20%, transparent); }
.epf-ui__unit-dot--done { background: var(--green); color: #fff; box-shadow: none; }

/* scroll-in life: meters grow once the device is on screen (JS adds .is-in). Full width without JS. */
html.js .epf-dev:not(.is-in) .epf-ui__meter > i { width: 0; }
html.js .epf-dev:not(.is-in) .epf-ui__ring { --fill: 0; }
@media (prefers-reduced-motion: no-preference) {
  .epf-ui__meter--grow > i { animation: epf-upload 3.6s var(--ease-in-out) 1.2s infinite; }
}
@keyframes epf-upload { 0% { width: 8%; } 60%, 100% { width: 100%; } }

/* ------------------------------------------------------------------ shared: small notes */
.epf-hero__note, .epf-intro__aside {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: var(--s-5); font-size: var(--fs-small); color: var(--muted);
}
.epf-hero__note .icon, .epf-intro__aside .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green-strong); }

/* ================================================================== HERO */
/* h1 · Photo and iPad */
.epf-hero--h1 .page-hero__title { max-width: 10.56em; }
.epf-hero1__media { max-width: 580px; width: 100%; margin-inline: auto; padding-bottom: 7%; }
.epf-hero1__photo { width: 84%; margin-left: auto; }
.epf-hero1__device { position: absolute; z-index: 3; left: -2%; bottom: 0; width: 60%; rotate: -4deg; }
@media (min-width: 1024px) {
  /* round 3: taller still than the shared tall hero, so the photo has real height on a laptop screen */
  .epf-hero--h1 { --hero-photo-h: clamp(480px, 68vh, 820px); }
}
.epf-hero1__chip { position: absolute; z-index: 4; }
.epf-hero1__chip .icon { color: var(--green-strong); }
.epf-hero1__chip--tr { top: 4%; right: -2%; }
.epf-hero1__chip--br { bottom: 22%; right: -4%; }
@media (max-width: 599px) {
  .epf-hero1__media { max-width: 360px; }
  .epf-hero1__chip--tr { right: 0; top: 0; }
  .epf-hero1__chip--br { right: 0; bottom: 30%; }
  .epf-hero__note { justify-content: center; text-align: left; max-width: 21.76em; margin-inline: auto; }
}

/* ================================================================== EVIDENCE (round 3, new) */
/* Photo with glass cards: the real photo fills the left of a navy panel, the four kinds of evidence sit on
   frosted cards that overlap its edge and drift a few pixels with the scroll. Stacked on phones. */
.epf-evi__panel { position: relative; isolation: isolate; overflow: clip; display: grid; gap: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--navy); box-shadow: var(--shadow-3); }
.epf-evi__panel { --evi-ar: 4 / 3; }
.epf-evi__photo { position: relative; z-index: -2; aspect-ratio: var(--evi-ar); overflow: hidden; }
.epf-evi__photo picture, .epf-evi__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.epf-evi__veil { position: absolute; z-index: -1; left: 0; right: 0; top: 0; aspect-ratio: var(--evi-ar); background: linear-gradient(to bottom, transparent 55%, var(--navy) 100%); }
.epf-evi__head { display: grid; gap: var(--s-4); padding-inline: clamp(20px, 4vw, 56px); }
.epf-evi__head > * { margin-block: 0; }
.epf-evi__head h2 { max-width: 10.5em; }
.epf-evi__lead { max-width: 30em; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.epf-evi__cards { list-style: none; margin: 0; padding: 0 clamp(20px, 4vw, 56px) clamp(28px, 4vw, 56px); display: grid; gap: 14px; }
.epf-evi__card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; align-content: start; align-items: center; padding: 20px 20px 22px; }
.epf-evi__card p { grid-column: 1 / -1; }
.epf-evi__num { position: absolute; right: 18px; top: 16px; font: 600 var(--fs-micro)/1 var(--font-body); letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.epf-evi__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--navy); }
.epf-evi__card--2 .epf-evi__icon, .epf-evi__card--3 .epf-evi__icon { background: #fff; color: var(--blue-deep); }
.epf-evi__icon .icon { width: 22px; height: 22px; }
.epf-evi__title { padding-right: 24px; font: var(--display-weight) var(--fs-h4)/1.25 var(--font-display); color: #fff; }
.epf-evi__card p { font-size: var(--fs-small); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
@media (min-width: 600px) {
  .epf-evi__panel { --evi-ar: 16 / 9; }
  .epf-evi__cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .epf-evi__panel { grid-template-columns: 42% minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; min-height: clamp(560px, 72vh, 660px); padding: clamp(40px, 4vw, 56px) clamp(40px, 4.4vw, 64px) clamp(40px, 4vw, 56px) 0; }
  .epf-evi__photo { position: absolute; inset: 0 46% 0 0; aspect-ratio: auto; }
  .epf-evi__veil { inset: 0; aspect-ratio: auto; background: linear-gradient(90deg, transparent 0%, transparent 20%, color-mix(in srgb, var(--navy) 78%, transparent) 40%, var(--navy) 54%); }
  .epf-evi__head { grid-column: 2; padding: 0; }
  .epf-evi__cards { grid-column: 2; padding: 0; gap: 16px; }
}
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  html.js .epf-evi__photo img { scale: 1.06; translate: 0 calc((var(--p, 0.5) - 0.5) * -40px); }
  html.js .epf-evi__card--1, html.js .epf-evi__card--3 { transform: translateY(calc((0.5 - var(--p, 0.5)) * 14px)); }
  html.js .epf-evi__card--2, html.js .epf-evi__card--4 { transform: translateY(calc((var(--p, 0.5) - 0.5) * 14px)); }
}
@media (max-width: 599px) {
  .epf-evi__head { justify-items: center; text-align: center; }
  .epf-evi__card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .epf-evi__title { padding-right: 0; }
}

/* ================================================================== INTRO */
/* i1 · Photo and features */
.epf-intro1__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .epf-intro1__grid { grid-template-columns: 0.8fr 1.2fr; } }
.epf-intro1__media { width: min(100%, 440px); margin-inline: auto; }
.epf-intro1__chip .icon { color: var(--coral); }
.epf-intro1__copy .section-head { margin-bottom: var(--s-7); }
.epf-intro1__features { display: grid; gap: 28px 36px; }
@media (min-width: 600px) { .epf-intro1__features { grid-template-columns: 1fr 1fr; } }
.epf-intro__aside { padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); margin-top: var(--s-7); width: fit-content; }
@media (max-width: 599px) {
  .epf-intro1__media { max-width: 320px; }
  .epf-intro1__features .feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .epf-intro1__features .feature > .icon-tile { grid-row: auto; margin-bottom: 6px; }
  .epf-intro__aside { margin-inline: auto; }
}

/* ================================================================== STEPS */
/* s1 · Step explorer */
.epf-steps1 { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.epf-steps1__list.tabs__list { margin: 0; }
.epf-steps1__tab { gap: 12px; }
.epf-steps1__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); font: 700 0.9rem/1 var(--font-body); flex: none; transition: background-color var(--t-2), color var(--t-2); }
.epf-steps1__tab[aria-selected="true"] .epf-steps1__num { background: var(--lime); color: var(--navy); }
.epf-steps1__long { display: none; }
.epf-steps1__panel { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.epf-steps1__device { position: relative; width: min(100%, 520px); margin-inline: auto; }
.epf-steps1__blob { position: absolute; inset: -8% -6%; z-index: -1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 100%); }
.epf-steps1__meta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-1); font: 700 0.8rem/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-strong); }
.epf-steps1__meta .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); box-sizing: border-box; }
.epf-steps1__title { margin-top: var(--s-4); font-size: var(--fs-h3); }
.epf-steps1__text { margin-top: var(--s-4); font-size: 1.0625rem; max-width: 29.44em; }
.epf-steps1__chips { margin-top: var(--s-5); gap: 8px; }
@media (min-width: 600px) {
  .epf-steps1__panel { grid-template-columns: 1.05fr 0.95fr; }
}
@media (min-width: 1200px) {
  .epf-steps1 { grid-template-columns: 300px 1fr; }
  .epf-steps1__list.tabs__list { flex-direction: column; flex-wrap: nowrap; width: 100%; padding: 10px; border-radius: var(--r-lg); }
  .epf-steps1__tab { justify-content: flex-start; width: 100%; min-height: 60px; padding: 10px 16px 10px 12px; border-radius: var(--r-md); text-align: left; }
  .epf-steps1__short { display: none; }
  .epf-steps1__long { display: inline; }
}
@media (min-width: 600px) and (max-width: 1199px) {
  /* slimmer tabs so all five fit on one row at 768, and a wrapped row stays centred on small tablets */
  .epf-steps1__list.tabs__list { margin-inline: auto; justify-content: center; }
  .epf-steps1__tab { padding-inline: 14px; gap: 10px; }
}
@media (max-width: 599px) {
  .epf-steps1__tab { padding-inline: 10px 14px; flex: 1 1 calc(33% - 8px); }
  .epf-steps1__device { max-width: 340px; }
  .epf-steps1__copy { text-align: center; }
  .epf-steps1__text { margin-inline: auto; }
  .epf-steps1__chips, .epf-steps1__copy .btn-row { justify-content: center; }
}

/* ================================================================== ROLES */
/* r3 · Screens by role: a bento of three mixed surfaces (white, blue wash, navy). Each card shows the part of
   the folio that role sees: a CSS-drawn screen that runs off the edge of its inset panel. */
.epf-bento { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.epf-bento__card { position: relative; display: grid; gap: clamp(20px, 2.4vw, 32px); padding: clamp(14px, 1.4vw, 18px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-1); overflow: clip; }
.epf-bento__card--blue { background: linear-gradient(160deg, var(--blue-soft), var(--band-blue)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 16%, transparent); }
.epf-bento__card--navy { background: radial-gradient(110% 90% at 100% 0%, var(--navy-soft) 0%, transparent 60%), var(--navy); box-shadow: var(--shadow-2); color: rgba(255, 255, 255, 0.9); }
.epf-bento__screen { position: relative; overflow: hidden; display: grid; align-content: start; gap: 18px; padding: 20px clamp(20px, 3vw, 44px) 0; border-radius: calc(var(--r-xl) - 10px); background: linear-gradient(170deg, var(--green-soft), var(--band-green)); min-height: 220px; }
.epf-bento__card--blue .epf-bento__screen { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 12%, transparent); }
.epf-bento__card--navy .epf-bento__screen { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.epf-bento__screen .epf-dev { margin-bottom: -16%; }
.epf-bento__tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: #fff; color: var(--green-deep); font: 700 var(--fs-micro)/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow-1); }
.epf-bento__tag .icon { width: 16px; height: 16px; }
.epf-bento__card--blue .epf-bento__tag { background: var(--blue); color: #fff; box-shadow: none; }
.epf-bento__card--navy .epf-bento__tag { background: var(--lime); color: var(--navy); box-shadow: none; }
.epf-bento__copy { display: grid; gap: 12px; align-content: center; padding: 0 clamp(10px, 1.4vw, 20px) clamp(12px, 1.4vw, 18px); }
.epf-bento__kicker { font: 700 var(--fs-micro)/1.3 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-strong); }
.epf-bento__card--blue .epf-bento__kicker { color: var(--blue-deep); }
.epf-bento__card--navy .epf-bento__kicker { color: var(--lime); }
.epf-bento__title { font: var(--display-weight) var(--fs-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); color: var(--heading); }
.epf-bento__card--1 .epf-bento__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.epf-bento__card--navy .epf-bento__title { color: #fff; }
.epf-bento__lead { max-width: 34em; }
.epf-bento__points { display: grid; gap: 9px; margin-top: 4px; font-size: var(--fs-small); line-height: 1.5; }
.epf-bento__foot { margin-top: 6px; }
@media (min-width: 700px) {
  .epf-bento__card { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: stretch; }
  .epf-bento__screen { padding: 20px 20px 24px; align-content: center; }
  .epf-bento__screen .epf-dev { margin-bottom: 0; }
  .epf-bento__copy { padding-block: clamp(12px, 1.6vw, 22px); }
}
@media (min-width: 1200px) {
  .epf-bento { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-rows: 1fr 1fr; }
  .epf-bento__card--1 { grid-row: 1 / span 2; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .epf-bento__card--1 .epf-bento__screen { padding: 24px clamp(28px, 4vw, 56px) 32px; }
  .epf-bento__card--1 .epf-bento__copy { padding-bottom: clamp(18px, 2vw, 28px); }
  .epf-bento__card--2 .epf-bento__screen, .epf-bento__card--3 .epf-bento__screen { align-content: start; padding-bottom: 0; }
  .epf-bento__card--2 .epf-bento__screen .epf-dev, .epf-bento__card--3 .epf-bento__screen .epf-dev { width: 215%; margin-bottom: -60%; }
}
@media (max-width: 699px) {
  .epf-bento__copy { justify-items: center; text-align: center; padding-bottom: 18px; }
  .epf-bento__points { text-align: left; }
  .epf-bento__tag { justify-self: center; }
}

/* ================================================================== DEVICES */
/* d1 · Device trio */
.epf-dev1__grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 1024px) { .epf-dev1__grid { grid-template-columns: 0.95fr 1.05fr; } }
.epf-dev1__copy .section-head { margin-bottom: var(--s-6); }
.epf-dev1__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.epf-dev1__stage { position: relative; aspect-ratio: 6 / 5; width: min(100%, 620px); margin-inline: auto; }
.epf-dev1__glow { position: absolute; inset: 0 -8%; background: var(--glow-blue); z-index: -1; }
.epf-dev1__motif { position: absolute; z-index: -1; width: 30%; right: -4%; top: -6%; }
.epf-dev1__laptop { position: absolute; left: 0; top: 4%; width: 80%; }
.epf-dev1__ipad { position: absolute; right: 0; bottom: 6%; width: 50%; rotate: 3deg; }
.epf-dev1__phone { position: absolute; left: 6%; bottom: 0; width: 16%; rotate: -4deg; }
.epf-dev1__chip { position: absolute; z-index: 3; right: 4%; top: 0; box-shadow: var(--shadow-2); }
.epf-dev1__chip .icon { color: var(--green-strong); }
@media (max-width: 599px) {
  .epf-dev1__list .feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .epf-dev1__list .feature > .icon-tile { grid-row: auto; margin-bottom: 6px; }
  .epf-dev1__chip { right: 50%; translate: 50% 0; top: -10%; white-space: nowrap; }
  .epf-dev1__stage { margin-top: 24px; }
}

/* ================================================================== VOICES */
/* v1 · Card slider (shared slider) */
.epf-voices--v1 .slider { --slide-w: clamp(280px, 34vw, 420px); }

/* ================================================================== PRIVACY */
/* p1 · Navy panel (the client's choice; round 3: nicer, with a green line accent). A green edge runs along the
   top of the panel, and a green line draws down through the four facts as you scroll, lighting each one. */
.epf-priv { position: relative; display: grid; gap: clamp(36px, 5vw, 80px); padding: clamp(40px, 5.4vw, 84px); border-radius: var(--r-xl); background: radial-gradient(80% 90% at 0% 100%, var(--navy-soft) 0%, transparent 60%), radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--green) 16%, transparent) 0%, transparent 70%), var(--navy); overflow: clip; isolation: isolate; box-shadow: var(--shadow-3); }
.epf-priv__edge { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--green) 0%, var(--lime) 55%, transparent 100%); }
.epf-priv__copy { display: grid; gap: var(--s-5); align-content: center; justify-items: start; }
.epf-priv__copy > * { margin-block: 0; }
.epf-priv__copy h2 { max-width: 11em; }
.epf-priv__copy .lead { max-width: 30em; color: var(--text); }
.epf-priv__ids { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3vw, 44px); margin: var(--s-2) 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lime); }
.epf-priv__ids dt { font: 700 var(--fs-micro)/1.3 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.epf-priv__ids dd { margin: 4px 0 0; font: var(--display-weight) clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--font-display); letter-spacing: var(--display-tracking); color: #fff; font-variant-numeric: tabular-nums; }
.epf-priv__btns { margin-top: var(--s-3); }
.epf-priv__facts { --q: 1; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; }
.epf-priv__facts::before, .epf-priv__facts::after { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.epf-priv__facts::after { background: linear-gradient(to bottom, var(--green-bright), var(--lime)); transform-origin: 50% 0; scale: 1 var(--q); }
.epf-priv__fact { position: relative; z-index: 1; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: clamp(14px, 1.6vw, 20px); align-items: center; }
.epf-priv__icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2); color: var(--lime); }
.epf-priv__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--lime), 0 0 0 6px color-mix(in srgb, var(--lime) 18%, transparent); opacity: clamp(0, calc((var(--q) - var(--i, 0) * 0.33) * 9 + 0.2), 1); }
.epf-priv__icon .icon { width: 22px; height: 22px; }
.epf-priv__body { padding: clamp(16px, 1.7vw, 22px) clamp(18px, 2vw, 26px); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.epf-priv__title { font: var(--display-weight) var(--fs-h4)/1.3 var(--font-display); color: #fff; }
.epf-priv__body p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.6; color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  html.js .epf-priv__facts { --q: clamp(0, calc(var(--p, 1) * 1.7 - 0.25), 1); }
}
@media (min-width: 900px) {
  .epf-priv { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
}
@media (max-width: 599px) {
  .epf-priv { padding: 44px 20px 28px; border-radius: var(--r-lg); }
  .epf-priv__copy { justify-items: center; text-align: center; }
  .epf-priv__ids { justify-content: center; padding: 14px 0 0; border-left: 0; border-top: 3px solid var(--lime); width: 100%; }
  .epf-priv__btns { flex-direction: column; align-items: stretch; width: 100%; }
  .epf-priv__btns .btn { justify-content: center; }
  .epf-priv__facts::before, .epf-priv__facts::after { display: none; }
  .epf-priv__fact { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
  .epf-priv__icon { margin-bottom: -26px; z-index: 1; }
  .epf-priv__body { padding: 40px 18px 20px; width: 100%; }
}

/* ================================================================== HELP */
/* f1 · Questions and help card */
.epf-help1__grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1024px) {
  .epf-help1__grid { grid-template-columns: 0.85fr 1.15fr; }
  .epf-help1__side { position: sticky; top: calc(var(--header-clear) + 8px); }
}
.epf-help1__side .section-head { margin-bottom: var(--s-6); }
.epf-help1__card { position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: start; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-xl); background: var(--band-green); }
.epf-help1__card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: var(--glow-green); }
.epf-help1__title { font: 700 1.3rem/1.25 var(--font-body); color: var(--heading); margin-top: 6px; }
.epf-help1__card .btn-row { margin-top: 6px; }
@media (max-width: 599px) {
  .epf-help1__card { justify-items: center; text-align: center; }
  .epf-help1__card .btn-row { justify-content: center; }
}

/* ================================================================== CTA */
/* c1 · Navy card with an iPad */
.epf-cta1 { grid-template-columns: 1fr; }
.epf-cta1__device { position: relative; z-index: 2; width: min(100%, 300px); margin: var(--s-6) auto 0; rotate: -4deg; }
@media (min-width: 900px) {
  .epf-cta1 { grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; }
  .epf-cta1 .cta-band__copy { max-width: 620px; }
  .epf-cta1__device { width: min(100%, 420px); margin: 0; justify-self: end; margin-right: 6%; }
}
@media (max-width: 599px) { .epf-cta1 { padding-bottom: 120px; } .epf-cta1__device { width: 240px; } }

/* QA workarounds (qa-part-port-faq, see docs/requests/qa-part-port-faq.md): 44px targets for the breadcrumb link,
   small buttons and slider dots at every width (the shared rules only enlarge them on phones). On phones long
   button labels may wrap, so a nowrap button can never widen its grid column past the container and push the
   copy off centre; the closing ctaBand gets slimmer side padding on small phones. */

.page-e-portfolio .btn--sm { min-height: 44px; }
.page-e-portfolio .slider__dot { width: 44px; height: 44px; }
.page-e-portfolio .slider__dots { gap: 0; }
@media (max-width: 599px) {
  .page-e-portfolio main .btn { white-space: normal; max-width: 100%; text-wrap: balance; }
  .page-e-portfolio .cta-band__copy { min-width: 0; }
}
@media (max-width: 399px) { .page-e-portfolio .cta-band { padding-inline: 22px; } }
