/* Tjaša Peterle portfolio. Same content + layout as the WordPress original, refined. */
:root {
  --cream: #fffaf5;
  --blush: #f8ece5;
  --blush-deep: #f1dcd2;
  --ink: #171414;
  --ink-soft: #4d4542;
  --ink-mute: #6e6461;
  --line: rgba(23, 20, 20, 0.12);
  --rose: #a86a5c;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --r-img: 6px;

  /* z-index scale */
  --z-header: 20;
  --z-menu: 40;
  --z-lightbox: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #cdbab1 var(--cream); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #d8c6bd; border-radius: 99px; border: 3px solid var(--cream); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }

/* ---------- notice bar ---------- */
.notice {
  background: var(--blush);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  padding: 9px var(--gut);
  color: var(--ink-soft);
}
.notice a { color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .notice a:hover { background-size: 100% 1px; } }

/* ---------- header ---------- */
.header {
  position: absolute; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.logo { display: block; width: 58px; height: 58px; border-radius: 50%; transition: transform 300ms var(--ease-out); }
.logo img { width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .logo:hover { transform: rotate(-8deg); } }

.burger {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  z-index: calc(var(--z-menu) + 1);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.burger:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .burger:hover { background: rgba(23, 20, 20, 0.06); } }
.burger span { position: absolute; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 380ms var(--ease-out), width 380ms var(--ease-out); }
.burger span:nth-child(1) { width: 34px; transform: translateY(-5px); }
.burger span:nth-child(2) { width: 22px; transform: translateY(5px); }
.menu-open .burger span:nth-child(1) { width: 28px; transform: translate(-3px, 0) rotate(45deg); }
.menu-open .burger span:nth-child(2) { width: 28px; transform: translate(-3px, 0) rotate(-45deg); }
.menu-open .header { position: fixed; top: 0; z-index: calc(var(--z-menu) + 1); }
.burger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 600ms var(--ease-drawer), visibility 0s linear 600ms;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 650ms var(--ease-drawer), visibility 0s; }
.menu-side {
  background: var(--blush);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 0 var(--gut) clamp(32px, 7vh, 72px);
  font-size: 17px; color: var(--ink-soft);
}
.menu-side a { text-decoration: none; width: fit-content; }
.menu-side a:hover { color: var(--ink); text-decoration: underline; }
.menu-nav { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); gap: clamp(4px, 1.5vh, 14px); }
.menu-nav a {
  display: flex; align-items: baseline; gap: 22px;
  text-decoration: none; width: fit-content;
  font-family: var(--serif); font-size: clamp(3rem, 7.5vw, 6rem); line-height: 1.08; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(28px);
  transition: opacity 300ms ease, transform 300ms var(--ease-out), color 200ms ease;
}
.menu-nav a small { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-mute); transform: translateY(-1.6em); }
.menu-nav a span { background: linear-gradient(var(--rose), var(--rose)) 0 92% / 0 2px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .menu-nav a:hover span { background-size: 100% 2px; } }
.menu-nav a[aria-current="page"] span { background-size: 100% 2px; }
.menu-open .menu-nav a { opacity: 1; transform: none; transition: opacity 600ms ease, transform 800ms var(--ease-out); }
.menu-open .menu-nav a:nth-child(1) { transition-delay: 180ms; }
.menu-open .menu-nav a:nth-child(2) { transition-delay: 240ms; }
.menu-open .menu-nav a:nth-child(3) { transition-delay: 300ms; }
.menu-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border: 1.5px solid var(--ink); border-radius: 99px;
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.04em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 300ms var(--ease-out), transform 160ms var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 420ms var(--ease-out);
}
.btn i { font-size: 18px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--cream); }
  .btn:hover::before { clip-path: inset(0 0 0 0); }
  .btn:hover i { transform: translateX(4px); }
}
.btn:active { transform: scale(0.97); }

/* ---------- hero (home + contact) ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--cream) 0 58.8%, var(--blush) 59% 100%);
  min-height: min(calc(100svh - 36px), 880px);
  display: flex; align-items: stretch;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; column-gap: 32px; position: relative; }
.hero-copy { padding-block: 140px 96px; position: relative; z-index: 2; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.62em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.2rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.015em; }
.roles { margin-top: 18px; font-weight: 600; font-size: clamp(15px, 1.35vw, 18px); letter-spacing: 0.01em; }
.roles span { white-space: nowrap; }
.roles b { color: var(--rose); font-weight: 600; padding-inline: 0.15em; }
.ticks { margin: 34px 0 40px; display: grid; gap: 12px; color: var(--ink-soft); font-size: 15.5px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks i { font-size: 20px; color: var(--ink); }

.hero-figure { position: relative; align-self: end; height: 100%; min-height: 560px; }
.hero-figure .brush {
  position: absolute; width: 92%; left: 1%; bottom: 4%;
  opacity: 0.95; transform: rotate(-12deg);
}
.hero-figure .portrait {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: auto; height: 94%; max-height: 760px; max-width: none;
}

/* hero load choreography: the one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(22px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .hero-figure .portrait { clip-path: inset(100% 0 0 0); animation: unveil 1300ms var(--ease-in-out) 150ms forwards; }
  @keyframes unveil { to { clip-path: inset(0 0 0 0); } }
  .hero-figure .brush { opacity: 0; transform: rotate(-24deg) scale(0.9); animation: brush 1600ms var(--ease-out) 500ms forwards; }
  @keyframes brush { to { opacity: 0.95; transform: rotate(-12deg) scale(1); } }
}

/* ---------- LinkedIn marquee strip ---------- */
.strip { display: block; background: var(--ink); color: var(--cream); text-decoration: none; overflow: hidden; }
.strip-track { display: flex; width: max-content; }
.strip-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 17px 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.32em; white-space: nowrap;
}
.strip-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: marquee 38s linear infinite; }
  @media (hover: hover) and (pointer: fine) { .strip:hover .strip-track { animation-play-state: paused; } }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ---------- portfolio ---------- */
.work { background: var(--blush); padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.work-head { text-align: center; }
.work h2, .press h2 { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -0.01em; }
.filters { position: relative; display: inline-flex; gap: 4px; margin: 30px auto 0; padding: 5px; background: var(--cream); border-radius: 99px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px -14px rgba(110, 70, 55, 0.35); }
.filters button {
  position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 99px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color 250ms ease, transform 160ms var(--ease-out);
}
.filters button:active { transform: scale(0.96); }
.filters button[aria-pressed="true"] { color: var(--cream); }
.filters .pill { position: absolute; z-index: 0; top: 5px; left: 0; height: 40px; border-radius: 99px; background: var(--ink); transition: transform 450ms var(--ease-out), width 450ms var(--ease-out); }

.grid {
  margin: clamp(36px, 5vw, 56px) auto 0;
  width: min(100% - 2 * var(--gut), 1480px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.tile {
  position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-img);
  background: var(--blush-deep);
  transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter 400ms ease; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 20, 20, 0.42), rgba(23, 20, 20, 0) 55%);
  opacity: 0; transition: opacity 300ms ease;
}
.tile .zoom {
  position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); font-size: 18px;
  opacity: 0; transform: translateY(8px) scale(0.92); transition: opacity 250ms ease, transform 350ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover::after, .tile:focus-visible::after { opacity: 1; }
  .tile:hover .zoom, .tile:focus-visible .zoom { opacity: 1; transform: none; }
}
.tile.is-out { opacity: 0; transform: scale(0.97); }
.tile[hidden] { display: none; }

/* ---------- award + press ---------- */
.press { background: var(--blush); padding: 0 0 clamp(64px, 8vw, 100px); text-align: center; }
.award { display: inline-block; margin-top: clamp(24px, 4vw, 48px); transition: transform 300ms var(--ease-out); }
.award img { width: 210px; mix-blend-mode: multiply; }
@media (hover: hover) and (pointer: fine) { .award:hover { transform: translateY(-3px) rotate(-2deg); } }
.press-title { margin-top: 44px; font-size: 13px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; }
.logos { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 36px); }
.logos a {
  display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 10px 30px -18px rgba(110, 70, 55, 0.5);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.logos img { width: 66px; height: 66px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); transition: filter 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .logos a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(110, 70, 55, 0.6); }
  .logos a:hover img { filter: none; }
}

/* ---------- footer ---------- */
.footer { background: var(--cream); text-align: center; padding: 56px var(--gut) 40px; }
.footer .logo { margin: 0 auto; width: 64px; height: 64px; }
.socials { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.socials a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--ink); color: var(--cream); } }
.copy { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox); margin: 0; padding: 0; border: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: rgba(23, 20, 20, 0.9); color: var(--cream);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; grid-template-rows: auto 1fr auto; place-items: center;
  opacity: 0; transition: opacity 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete;
}
.lightbox:not([open]) { display: none; }
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lb-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gut); font-size: 13px; letter-spacing: 0.12em; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 110px); min-height: 0; }
.lb-stage img {
  max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: var(--r-img);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  transition: opacity 220ms ease, transform 320ms var(--ease-out), filter 220ms ease;
}
.lb-stage img.swap { opacity: 0; transform: scale(0.98); filter: blur(4px); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--cream); background: rgba(255, 250, 245, 0.08); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.lb-btn:active { transform: scale(0.93); }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgba(255, 250, 245, 0.2); } }
.lb-nav { display: flex; gap: 10px; padding: 14px 0 22px; }

/* ---------- contact page ---------- */
.hero--contact .hero-copy { padding-block: 150px 110px; }
.form { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255, 250, 245, 0.75); border: 1.5px solid rgba(23, 20, 20, 0.28); border-radius: 22px;
  padding: 12px 18px; transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
  caret-color: var(--rose);
}
.field textarea { min-height: 140px; resize: vertical; border-radius: 22px; }
.field input::placeholder, .field textarea::placeholder { color: #8a7f7b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(168, 106, 92, 0.16); }
.field .err { min-height: 0; font-size: 12.5px; color: #9b3b2b; }
.field.bad input, .field.bad textarea { border-color: #9b3b2b; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-mute); min-height: 1.4em; }

/* ---------- CV page ---------- */
.cv-top { padding: 120px 0 0; text-align: center; }
.namebox { display: inline-block; border: 2px solid var(--ink); padding: 22px clamp(22px, 4vw, 54px) 20px; outline: 1px solid var(--ink); outline-offset: 5px; }
.namebox h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.namebox p { margin-top: 8px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; }
.polaroid { width: min(560px, 92%); margin: 34px auto 0; }
.cv { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vw, 72px); position: relative; }
.cv::before { content: ""; position: absolute; top: 8px; bottom: 0; left: 50%; width: 1.5px; background: var(--ink); transform-origin: top; }
.cv-col { padding-bottom: 24px; }
.cv-col--l { padding-right: clamp(24px, 5vw, 64px); text-align: right; }
.cv-col--r { padding-left: clamp(24px, 5vw, 64px); }
.cv h2 { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.1; margin-bottom: 26px; }
.cv-block + .cv-block { margin-top: clamp(48px, 6vw, 72px); }
.entry { position: relative; }
.entry + .entry { margin-top: 30px; }
.when { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; color: var(--rose); }
.entry h3 { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; margin-top: 3px; }
.entry p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.cv-col--l .entry p { margin-left: auto; max-width: 46ch; }
.cv-col--l .entry::after, .cv-col--r .entry::after {
  content: ""; position: absolute; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--ink);
}
.cv-col--l .entry::after { right: calc(-1 * clamp(24px, 5vw, 64px) - 4.5px); }
.cv-col--r .entry::after { left: calc(-1 * clamp(24px, 5vw, 64px) - 5.25px); }
.story p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; max-width: 52ch; margin-left: auto; }
.story p + p { margin-top: 14px; }
.story .quote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.edu .entry h3 { font-size: 1.15rem; }
.list li { position: relative; padding-left: 18px; }
.list li + li { margin-top: 16px; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.list strong { display: block; font-size: 14.5px; }
.list span { font-size: 14px; color: var(--ink-soft); }
.skills-intro { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); margin-bottom: 22px; }
.skill + .skill { margin-top: 14px; }
.skill-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.skill-row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-mute); }
.bar { height: 3px; margin-top: 6px; background: rgba(23, 20, 20, 0.1); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); background: var(--ink); border-radius: 3px; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .js .skills:not(.in) .bar i { transform: scaleX(0); }
  .js .skills .bar i { transition: transform 1200ms var(--ease-out); }
  .js .skills .skill:nth-child(n) .bar i { transition-delay: calc(var(--n) * 50ms); }
}
.contacts li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.contacts li + li { margin-top: 10px; }
.contacts li.gap { margin-top: 22px; }
.contacts i { font-size: 18px; }
.contacts a { text-decoration: none; }
.contacts a:hover { text-decoration: underline; }
.about { text-align: center; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.about .namebox { padding: 14px 30px 12px; }
.about .namebox h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); text-transform: uppercase; }
.about-text { max-width: 60ch; margin: 36px auto 0; display: grid; gap: 14px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.about-text strong { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { background: linear-gradient(160deg, var(--cream) 0 62%, var(--blush) 62.2% 100%); min-height: 0; }
  .hero-copy, .hero--contact .hero-copy { padding-block: 116px 8px; }
  .hero-figure { min-height: 0; height: clamp(420px, 105vw, 640px); }
  .hero-figure .portrait { height: 100%; }
  .hero-figure .brush { width: min(520px, 96%); left: 50%; margin-left: max(-260px, -48%); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .menu { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .menu-side { order: 2; padding-top: 22px; padding-bottom: 28px; }
  .menu-nav { padding-top: 100px; }
  .cv { grid-template-columns: 1fr; }
  .cv::before { left: 4px; }
  .cv-col--l, .cv-col--r { padding: 0 0 0 30px; text-align: left; }
  .cv-col--l .entry p, .story p { margin-left: 0; }
  .cv-col--r { margin-top: 56px; }
  .cv-col--l .entry::after, .cv-col--r .entry::after { right: auto; left: -30px; }
}
@media (max-width: 560px) {
  .logo { width: 48px; height: 48px; }
  .header { padding-top: 16px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.4rem); }
  .eyebrow { letter-spacing: 0.5em; font-size: 12px; }
  .roles { font-size: 14px; }
  .roles b { padding-inline: 0.05em; }
  .grid { grid-template-columns: 1fr; }
  .filters button { padding: 0 13px; font-size: 13.5px; }
  .form { grid-template-columns: 1fr; }
  .logos a { width: 88px; height: 88px; }
  .logos img { width: 54px; height: 54px; }
  .strip-track span { font-size: 12px; }
  .notice { font-size: 12px; }
}


/* =====================================================================
   HOME HERO: "the cover shot" (light)
   Giant Bodoni name, a 3D satin ribbon (three.js, ribbon.js) wrapping
   around her (back half behind the photo, front half over it), portrait
   stands between the solid name and a hairline ghost copy.
   ===================================================================== */
.stage {
  --edge: max(var(--gut), calc((100% - var(--wrap)) / 2));
  --glow: 226, 176, 154;
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(640px, calc(100svh - 37px), 1040px);
  color: var(--ink);
  background:
    url("/assets/img/paper.webp?v=4"),
    linear-gradient(150deg, rgba(255, 250, 245, 0) 0 58.8%, rgba(243, 224, 214, 0.55) 59% 100%),
    radial-gradient(120% 90% at 50% 34%, #fffaf6 0%, #fbf1ea 52%, #f4e3d9 100%);
  background-blend-mode: multiply, normal, normal;
  background-size: 640px, auto, auto;
}

.stage-glow {
  position: absolute; z-index: 0; left: 50%; top: 34%;
  width: min(1100px, 120vw); aspect-ratio: 1; margin: calc(min(1100px, 120vw) / -2) 0 0 calc(min(1100px, 120vw) / -2);
  background: radial-gradient(closest-side, rgba(var(--glow), 0.42), rgba(var(--glow), 0.14) 48%, rgba(var(--glow), 0) 100%);
  pointer-events: none;
}

/* ---- the figure: 3D gyroscope, solid name, portrait, ghost name ---- */
.stage-figure { position: absolute; inset: 0; z-index: 1; }
.layer { position: absolute; }
.layer--ribbon { --rw: min(118svh, 1080px); left: 50%; top: calc(37% - var(--rw) * 0.4); width: var(--rw); height: calc(var(--rw) * 0.8); margin-left: calc(var(--rw) / -2); pointer-events: none; }
.layer--ribbon-back { z-index: 1; }
.layer--ribbon-front { z-index: 5; }
.layer--ribbon canvas { display: block; width: 100% !important; height: 100% !important; }
.layer--portrait { z-index: 4; left: 50%; bottom: 0; height: 95%; aspect-ratio: 1000 / 1470; transform: translateX(-50%); }
.layer--portrait img { width: 100%; height: 100%; filter: drop-shadow(0 0 0 transparent); }

.stage-name {
  position: absolute; z-index: 2; left: calc(var(--edge) - 0.04em); right: var(--edge); bottom: 2.5%;
  margin: 0; font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(4.6rem, min(15.2vw, 27svh), 16rem); line-height: 0.84; letter-spacing: -0.035em;
  color: var(--ink); pointer-events: none; user-select: none;
}
.stage-name .l1, .stage-name .l2 { display: block; white-space: nowrap; }
/* both lines are anchored to the centre, where she stands, so they always pass behind her */
.stage-name .l1 { text-align: right; padding-right: calc(50% + 0.5em); }
.stage-name .l2 { padding-left: calc(50% + 0.08em); font-style: italic; font-weight: 400; letter-spacing: -0.045em; }
.stage-name span span { display: inline-block; }
/* the outline copy only shows where she covers the name: masked to her silhouette (aligned by site.js) */
.stage-name--ghost {
  z-index: 6; color: transparent; -webkit-text-stroke: 1px rgba(255, 250, 245, 0.9);
  -webkit-mask: url("/assets/img/hero.webp") no-repeat 0 0 / 0 0; mask: url("/assets/img/hero.webp") no-repeat 0 0 / 0 0;
}

/* ---- small type: intro (top left) + side (top right) ---- */
.stage-intro, .stage-side { position: absolute; z-index: 8; top: clamp(118px, 17svh, 168px); }
.stage-intro { left: var(--edge); max-width: 330px; }
.stage-side { right: var(--edge); width: 290px; }
.stage-label { font-size: 12px; font-weight: 500; letter-spacing: 0.62em; text-transform: uppercase; color: var(--ink-soft); }
.stage-roles { margin-top: 18px; font-family: var(--serif); font-size: 21px; line-height: 1.38; letter-spacing: -0.005em; }
.stage-roles span { white-space: nowrap; }
.stage-roles b { font-family: var(--sans); font-weight: 400; font-size: 0.7em; color: var(--rose); padding-inline: 0.2em; vertical-align: 0.1em; }
.stage-ticks { display: grid; }
.stage-ticks li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.stage-ticks li:last-child { border-bottom: 1px solid var(--line); }
.stage-ticks i { font-size: 13px; color: var(--rose); transform: translateY(1px); }
.stage-side .btn { margin-top: 22px; background: rgba(255, 250, 245, 0.5); }

/* ---- load choreography: light comes up, name sharpens letter by letter, she steps in, the ribbon unfurls (ribbon.js) ---- */
@media (prefers-reduced-motion: no-preference) {
  .stage-glow { opacity: 0; animation: lightup 2200ms var(--ease-out) 80ms forwards; }
  @keyframes lightup { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: none; } }

  .stage-name span span { opacity: 0; transform: translateY(0.32em); filter: blur(12px); animation: letter 1300ms var(--ease-out) forwards; animation-delay: calc(260ms + var(--c) * 55ms); }
  @keyframes letter { to { opacity: 1; transform: none; filter: blur(0); } }

  .layer--portrait img { opacity: 0; transform: translateY(5%) scale(1.04); transform-origin: 50% 100%; animation: step-in 1600ms var(--ease-out) 420ms forwards; }
  @keyframes step-in { to { opacity: 1; transform: none; } }
  .stage .rise { animation-delay: calc(500ms + var(--i, 0) * 60ms); }

}

/* ---- tablet / phone: intro, masthead name with her head in front of it, side ---- */
@media (max-width: 900px) {
  .stage { --ph: min(122vw, 600px); height: auto; display: flex; flex-direction: column; padding-top: 104px; }
  .stage-intro, .stage-side { position: relative; top: auto; left: auto; right: auto; width: auto; max-width: none; padding-inline: var(--gut); }
  .stage-figure { position: relative; inset: auto; margin-top: 22px; padding-bottom: calc(var(--ph) - 15vw); overflow: clip; }
  .stage-name { position: relative; left: auto; right: auto; bottom: auto; padding-inline: calc(var(--gut) - 0.04em) var(--gut); font-size: clamp(3.6rem, 24.5vw, 10rem); }
  .stage-name--ghost { position: absolute; top: 0; left: 0; right: 0; }
  .stage-name .l1 { text-align: left; padding-right: 0; }
  .stage-name .l2 { text-align: right; padding-left: 0; padding-right: 0.04em; }
  .layer--portrait { height: var(--ph); -webkit-mask: linear-gradient(to bottom, #000 74%, transparent 99%); mask: linear-gradient(to bottom, #000 74%, transparent 99%); }
  .layer--ribbon { --rw: min(150vw, 720px); top: auto; bottom: calc(var(--ph) * 0.68 - var(--rw) * 0.4); }
  .stage-glow { top: 52%; }
  .stage-name { animation: none !important; }
  .stage-side { padding-top: 26px; padding-bottom: 56px; z-index: 8; }
  .stage-roles { font-size: 19px; }
}


/* =====================================================================
   PAPER + GRAIN: textured paper under every section, fine film grain over
   the whole site, a stronger print grain on her photo.
   ===================================================================== */
body, .notice, .work, .press, .footer, .menu, .menu-side, .about {
  background-image: url("/assets/img/paper.webp?v=4");
  background-size: 640px;
  background-blend-mode: multiply;
}
/* film grain over everything (static tile, gently jittered on the compositor) */
body::after {
  content: ""; position: fixed; inset: -60px; z-index: 80; pointer-events: none;
  background: url("/assets/img/grain.png?v=4") 0 0 / 256px repeat;
  opacity: 0.32;
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 900ms steps(1) infinite; }
  @keyframes grain {
    0% { transform: translate(0, 0); } 16% { transform: translate(-23px, 14px); } 33% { transform: translate(17px, -31px); }
    50% { transform: translate(-41px, -9px); } 66% { transform: translate(29px, 37px); } 83% { transform: translate(-7px, 44px); }
  }
}
/* print grain + a touch of warmth on her photo, masked to her silhouette */
.layer--portrait img { filter: contrast(1.04) saturate(0.92) sepia(0.08); }
.layer--portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/img/grain-strong.png?v=4") 0 0 / 200px repeat;
  -webkit-mask: url("/assets/img/hero.webp") 0 0 / 100% 100% no-repeat; mask: url("/assets/img/hero.webp") 0 0 / 100% 100% no-repeat;
  opacity: 0.22;
}
@media (prefers-reduced-motion: no-preference) {
  .layer--portrait::after { opacity: 0; animation: grain-in 900ms ease 1700ms forwards; }
  @keyframes grain-in { to { opacity: 0.22; } }
}
.tile img, .polaroid { filter: contrast(1.02) saturate(0.95); }

/* =====================================================================
   ZINE / PHOTOCOPY STYLE (v4): black toner on grainy paper. Bodoni + a
   swash script + wide Archivo caps, sparkles, square boxes, xerox photos.
   ===================================================================== */
:root {
  --cream: #f2efe9;
  --blush: #ebe7df;
  --blush-deep: #dcd8cf;
  --ink: #111010;
  --ink-soft: #34322f;
  --ink-mute: #5f5b55;
  --line: rgba(17, 16, 16, 0.2);
  --rose: #111010;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Monsieur La Doulaise", "Snell Roundhand", cursive;
  --r-img: 0px;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C53 36 64 47 100 50C64 53 53 64 50 100C47 64 36 53 0 50C36 47 47 36 50 0Z'/%3E%3C/svg%3E");
}
body::after { opacity: 0.55; }
html { scrollbar-color: #9d978d var(--cream); }
::-webkit-scrollbar-thumb { background: #b9b3a8; border-color: var(--cream); }

/* wide caps voice for small labels (like "LEAVE ROOM FOR CONVERSATION") */
.notice, .btn, .filters button, .press-title, .stage-label, .stage-roles, .stage-ticks li, .barcode span, .eyebrow, .when, .skill-row, .lb-bar {
  font-family: var(--sans); font-stretch: 125%;
}
.notice { background-color: var(--cream); border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: 0.02em; }

/* square, ink-bordered controls */
.btn { border-radius: 0; height: 50px; padding: 0 24px; border-width: 1.5px; text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.12em; font-weight: 600; }
.filters { border-radius: 0; background: transparent; box-shadow: none; border: 1.5px solid var(--ink); padding: 0; gap: 0; }
.filters button { border-radius: 0; height: 42px; padding: 0 20px; text-transform: uppercase; font-size: 12px; letter-spacing: 0.12em; color: var(--ink); }
.filters button + button { border-left: 1.5px solid var(--ink); }
.filters .pill { top: 0; height: 42px; border-radius: 0; }
.filters button[aria-pressed="true"] { color: var(--cream); }

/* script accent words: Bodoni line + a swash word, like the reference posters */
.work h2 em, .hero h1 em, .about .namebox h2 em {
  font-family: var(--script); font-style: normal; font-weight: 400;
  font-size: 1.45em; line-height: 0.6; letter-spacing: 0; margin-left: -0.08em; vertical-align: -0.04em;
}
.work h2 { font-weight: 500; }

/* portfolio: photocopied thumbnails, colour comes back on hover */
.tile { border-radius: 0; outline: 1px solid var(--line); outline-offset: -1px; }
.tile .zoom { border-radius: 0; background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .tile img { filter: grayscale(1) contrast(1.28) brightness(1.04); transition: transform 900ms var(--ease-out), filter 500ms ease; }
  .tile:hover img { filter: none; }
}

/* the black strip: sparkles between the repeats */
.strip-track span::after { width: 11px; height: 11px; border-radius: 0; background: var(--cream); -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat; }

/* press + footer: squares */
.logos a { border-radius: 0; box-shadow: none; border: 1.5px solid var(--ink); background: var(--cream); }
@media (hover: hover) and (pointer: fine) { .logos a:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -3px); } }
.socials a { border-radius: 0; }

/* ---------- home hero, zine edition ---------- */
.stage {
  background: url("/assets/img/paper.webp?v=4") 0 0 / 640px, var(--cream);
  background-blend-mode: multiply;
}
.stage-dirt { position: absolute; inset: 0; z-index: 9; pointer-events: none; background: url("/assets/img/toner-dirt.webp?v=4") center / cover no-repeat; opacity: 0.85; }
.layer--portrait { aspect-ratio: 1396 / 1824; height: 93%; transform: translateX(-57%); }
.layer--portrait img { filter: none; }
.layer--portrait::after { display: none; }
.stage-name { font-weight: 500; letter-spacing: -0.03em; }
.stage-name .l2 {
  font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0;
  font-size: 1.42em; line-height: 0.62; margin-top: -0.12em; padding-left: calc(50% - 0.3em);
}
.stage-name--ghost { -webkit-text-stroke: 1.2px var(--ink); -webkit-mask-image: url("/assets/img/hero-mask.webp?v=4"); mask-image: url("/assets/img/hero-mask.webp?v=4"); }
.stage-label { font-size: 11px; letter-spacing: 0.55em; color: var(--ink); }
.stage-roles { font-size: 15px; font-weight: 300; line-height: 1.32; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 20px; }
.stage-roles b { font-family: var(--sans); color: var(--ink); font-weight: 600; font-size: 0.9em; }
.stage-ticks li { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); align-items: center; border-color: var(--line); }
.stage-ticks .tick { display: inline-grid; width: 11px; height: 11px; flex: none; }
.stage-ticks .tick svg, .spark svg { width: 100%; height: 100%; fill: currentColor; }
.stage-side .btn { background: transparent; }
.barcode { margin-top: 26px; display: grid; gap: 6px; width: 170px; }
.barcode svg { width: 100%; height: 34px; fill: var(--ink); }
.barcode span { font-size: 9.5px; letter-spacing: 0.38em; }

.spark { position: absolute; z-index: 7; color: var(--ink); pointer-events: none; }
.spark--1 { width: 34px; left: calc(50% - 31vw); top: 47%; }
.spark--2 { width: 52px; right: calc(var(--edge) - 10px); bottom: 31%; }
.spark--3 { width: 18px; left: 44%; top: 15%; }
.spark--4 { width: 22px; right: 27%; top: 54%; }
@media (prefers-reduced-motion: no-preference) {
  .spark svg { animation: twinkle 3.6s var(--ease-in-out) infinite; transform-origin: center; }
  .spark--2 svg { animation-delay: -1.2s; animation-duration: 4.4s; }
  .spark--3 svg { animation-delay: -2.1s; }
  .spark--4 svg { animation-delay: -0.6s; animation-duration: 5s; }
  @keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 45% { transform: scale(0.55) rotate(45deg); } 55% { transform: scale(0.6) rotate(50deg); } }
  .spark { opacity: 0; animation: spark-in 700ms var(--ease-out) forwards; animation-delay: 1500ms; }
  .spark--2 { animation-delay: 1700ms; } .spark--3 { animation-delay: 1850ms; } .spark--4 { animation-delay: 2000ms; }
  @keyframes spark-in { from { opacity: 0; transform: scale(0.6) rotate(-30deg); } to { opacity: 1; transform: none; } }
}

/* contact hero */
.hero { background: url("/assets/img/paper.webp?v=4") 0 0 / 640px, var(--cream); background-blend-mode: multiply; }
.hero-figure .portrait { height: 90%; }
.hero-figure .spark--a { width: 44px; right: 6%; top: 18%; }
.hero-figure .spark--b { width: 22px; left: 10%; top: 40%; }
.field input, .field textarea { border-radius: 0; background: rgba(255, 255, 255, 0.45); border-color: var(--ink); }
.field input:focus, .field textarea:focus { box-shadow: 4px 4px 0 var(--ink); }

/* CV: photocopied polaroid, ink accents */
.polaroid { filter: grayscale(1) contrast(1.18) brightness(1.03); }
.when { color: var(--ink-mute); font-size: 10.5px; }
.entry h3 { font-weight: 500; }

@media (max-width: 900px) {
  .layer--portrait { transform: translateX(-56%); }
  .spark--1 { left: 6%; top: auto; bottom: 30%; width: 26px; }
  .spark--2 { right: 4%; bottom: 46%; width: 36px; }
  .spark--3 { left: 70%; top: 2%; }
  .spark--4 { display: none; }
  .stage-name .l2 { padding-left: 0; margin-top: -0.06em; }
  .stage-roles { font-size: 13.5px; }
}

/* name in front of her, inverting like a photocopy: ink on paper, paper on the laptop/ribbon */
.stage-figure { z-index: auto; }
.stage-name { z-index: 6; color: #fff; mix-blend-mode: difference; }
.stage-name--ghost { display: none; }
.stage-dirt { opacity: 0.7; }
body::after { opacity: 0.45; }
@media (max-width: 900px) { .stage-name { text-shadow: none; } }

/* phones: the name gets its own band above her head (no swash over her face) */
@media (max-width: 900px) {
  .stage-figure { padding-bottom: calc(var(--ph) + 6vw); }
  .layer--portrait { height: var(--ph); }
}
@media (max-width: 560px) {
  .filters { max-width: calc(100vw - 2 * var(--gut)); }
  .filters button { padding: 0 10px; font-stretch: 100%; letter-spacing: 0.06em; font-size: 11.5px; }
}

/* v5 name: "Tjaša" in Mea Culpa script over "PETERLE" in Bodoni caps (like HYSTERIC / Angel) */
:root { --script-name: "Mea Culpa", "Snell Roundhand", cursive; }
.stage-name .l1 {
  font-family: var(--script-name); font-weight: 400; letter-spacing: 0;
  font-size: 1.12em; line-height: 0.82; margin-bottom: -0.16em;
  position: relative; z-index: 1; padding-right: calc(50% + 0.42em);
}
.stage-name .l2 {
  font-family: var(--serif); font-style: normal; text-transform: uppercase; font-weight: 500;
  font-size: 0.66em; line-height: 0.9; letter-spacing: 0.005em; margin-top: 0;
  padding-left: calc(50% - 0.45em);
}
@media (max-width: 900px) {
  .stage-name .l1 { padding-right: 0; margin-bottom: -0.16em; }
  .stage-name .l2 { padding-left: 0; text-align: right; }
}

/* Y2K photocopied butterflies: wrapper drifts, image flaps (scaleX toward the body) */
.bf { position: absolute; z-index: 7; pointer-events: none; width: var(--w, 70px); rotate: var(--r, 0deg); }
.bf img { display: block; width: 100%; height: auto; transform-origin: 50% 50%; }
.bf--1 { --w: 74px; --r: -16deg; left: 39%; top: 13%; }
.bf--2 { --w: 104px; --r: 14deg; right: calc(var(--edge) + 150px); top: 66%; }
.bf--3 { --w: 66px; --r: 7deg; right: calc(var(--edge) + 4%); bottom: 22%; }
.bf--4 { --w: 84px; --r: -9deg; left: calc(var(--edge) + 1%); top: 50%; }
.bf--5 { --w: 54px; --r: 18deg; left: 62%; top: 9%; }
.bf--6 { --w: 62px; --r: -22deg; left: 27%; top: 8%; }
.work-head { position: relative; }
.bf--section { --w: 78px; --r: -14deg; left: calc(50% - 470px); top: -10px; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bf { animation: bf-drift var(--dur, 11s) var(--ease-in-out) infinite alternate; animation-delay: var(--delay, 0s); }
  .bf img { animation: bf-flap var(--flap, 2.6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
  .bf--2 { --dur: 13s; --flap: 3.1s; --delay: -2s; }
  .bf--3 { --dur: 9s; --flap: 5.2s; --delay: -1s; }
  .bf--4 { --dur: 12s; --flap: 2.9s; --delay: -4s; }
  .bf--5 { --dur: 10s; --flap: 2.2s; --delay: -3s; }
  .bf--6 { --dur: 8s; --flap: 2s; --delay: -5s; }
  .bf--section { --dur: 12s; --flap: 3.4s; }
  @keyframes bf-drift {
    0% { translate: 0 0; } 33% { translate: 14px -18px; } 66% { translate: -10px -6px; } 100% { translate: 8px 12px; }
  }
  /* two quick beats, then a glide */
  @keyframes bf-flap {
    0%, 36%, 100% { transform: scaleX(1); } 8% { transform: scaleX(0.28) scaleY(0.96); } 16% { transform: scaleX(1); }
    24% { transform: scaleX(0.34) scaleY(0.97); } 32% { transform: scaleX(1); }
  }
  /* they flutter in after the name settles */
  .stage .bf { opacity: 0; animation-name: bf-drift, bf-in; animation-duration: var(--dur, 11s), 900ms; animation-delay: var(--delay, 0s), calc(1600ms + var(--n, 0) * 140ms); animation-fill-mode: none, forwards; animation-iteration-count: infinite, 1; animation-direction: alternate, normal; animation-timing-function: var(--ease-in-out), var(--ease-out); }
  .bf--1 { --n: 0; } .bf--2 { --n: 1; } .bf--3 { --n: 2; } .bf--4 { --n: 3; } .bf--5 { --n: 4; } .bf--6 { --n: 5; }
  @keyframes bf-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
}
@media (max-width: 900px) {
  .bf--1 { --w: 54px; left: 5%; top: 38%; }
  .bf--2 { --w: 64px; right: 3%; top: auto; bottom: 34%; }
  .bf--3 { display: none; }
  .bf--4 { --w: 56px; left: 3%; top: auto; bottom: 26%; }
  .bf--5 { --w: 44px; left: 82%; top: 33%; }
  .bf--6 { --w: 44px; left: 70%; top: 2%; }
  .bf--section { --w: 54px; left: 6%; top: -30px; }
}
.work-head h2 { width: fit-content; margin-inline: auto; }
