/* ============================================================
   Julianna Bódog — Graphic portfolio
   Light mode, after the MiniMax DESIGN.md language: white canvas,
   electric brand blue, pill buttons, large soft-rounded cards,
   generous whitespace. Motion after the Dribbble reference.
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eceef2;
  --ink: #181e25;
  --ink-2: #45515e;
  --ink-3: #8e8e93;
  --line: #e5e7eb;
  --brand: #1456f0;
  --brand-deep: #0f43bd;
  --brand-tint: #eaf0ff;

  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 12px;
  --shadow: 0 1px 2px rgba(24, 30, 37, .04), 0 12px 32px -12px rgba(24, 30, 37, .14);
  --shadow-lg: 0 2px 4px rgba(24, 30, 37, .05), 0 32px 64px -20px rgba(20, 86, 240, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid var(--bg-btn);
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand); transform: translateY(101%); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  transition: transform .45s var(--ease), border-radius .45s var(--ease);
}
.btn:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.btn--brand { --bg-btn: var(--brand); border-color: var(--brand); }
.btn--brand::before { background: var(--ink); }
.btn--brand:hover { border-color: var(--ink); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, transform .4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.wordmark { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.wordmark .mono {
  width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: .9rem; letter-spacing: 0;
  transition: transform .5s var(--ease);
}
.wordmark:hover .mono { transform: rotate(-12deg) scale(1.06); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  padding: .5rem .9rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.nav a:not(.btn):hover, .nav a.is-active { background: var(--surface); color: var(--ink); }
.nav .btn { margin-left: .6rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem)) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -14vw;
  background: radial-gradient(circle, rgba(20, 86, 240, .13), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem .45rem .7rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink-2); background: #fff;
}
.badge i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); margin: 1.4rem 0 1.5rem; font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 em { font-style: normal; color: var(--brand); }
@keyframes rise { to { transform: none; } }
.hero-intro { max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-meta b { display: block; font-family: var(--display); font-size: 1.9rem; letter-spacing: -.03em; line-height: 1; }
.hero-meta span { font-size: .85rem; color: var(--ink-3); }

.collage { position: relative; aspect-ratio: 1 / 1.12; width: min(100%, 520px); justify-self: end; }
.collage .tile {
  position: absolute; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  background: var(--surface); transition: transform .6s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.collage .tile:nth-child(1) { width: 56%; aspect-ratio: 3/4; left: 0; top: 4%; --rot: -4deg; transform: rotate(-4deg); }
.collage .tile:nth-child(2) { width: 46%; aspect-ratio: 1; right: 0; top: 0; --rot: 5deg; transform: rotate(5deg); animation-delay: -2s; }
.collage .tile:nth-child(3) { width: 50%; aspect-ratio: 4/5; right: 4%; bottom: 0; --rot: -3deg; transform: rotate(-3deg); animation-delay: -4s; z-index: 2; }
.collage .tile:nth-child(4) { width: 34%; aspect-ratio: 1; left: 8%; bottom: 4%; --rot: 6deg; transform: rotate(6deg); animation-delay: -1s; z-index: 3; }
.collage .tile:hover { transform: rotate(0) scale(1.05); z-index: 5; }
@keyframes float { 50% { translate: 0 -12px; } }

/* ---------- Media (image + graceful placeholder) ---------- */
.media { display: block; position: relative; overflow: hidden; background: var(--surface); }
.media .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--accent, var(--brand)) 40%, #fff), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent, var(--brand)) 16%, #fff), color-mix(in srgb, var(--accent, var(--brand)) 36%, #fff));
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  color: color-mix(in srgb, var(--accent, var(--brand)) 70%, #000);
}
.media .ph::before {
  content: ""; position: absolute; inset: 14%; border: 1.5px dashed currentColor; opacity: .25; border-radius: 14px;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.3rem 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.8rem); letter-spacing: -.03em; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--brand); font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Work ---------- */
.work { padding: clamp(4rem, 9vw, 8rem) 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); margin-top: .9rem; max-width: 14ch; }
.sec-head p { max-width: 26rem; color: var(--ink-2); }

.cat { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cat-info { position: sticky; top: calc(var(--nav-h) + 24px); }
.cat-num {
  display: inline-grid; place-items: center; min-width: 52px; height: 32px; padding: 0 .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.cat-info h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin: 1.1rem 0 .9rem; }
.cat-info .short { font-weight: 500; color: var(--ink); margin-bottom: .7rem; }
.cat-info .desc { color: var(--ink-2); font-size: .98rem; max-width: 26rem; }
.cat-count { margin-top: 1.4rem; font-size: .85rem; color: var(--ink-3); }

.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.works.is-single { grid-template-columns: minmax(0, 1fr); }
.card { display: block; position: relative; }
.card .media {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.works.is-single .card .media { aspect-ratio: 16 / 11; }
.card .media img { transition: transform .9s var(--ease); }
.card:hover .media { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.card:hover .media img { transform: scale(1.06); }
.card .chip {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .3s;
}
.card:hover .chip, .card:focus-visible .chip { transform: none; opacity: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1rem .3rem 0; }
.card-meta h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card-meta span { font-size: .85rem; color: var(--ink-3); white-space: nowrap; }
.card-sub { padding: .2rem .3rem 0; font-size: .9rem; color: var(--ink-2); }
.works .card:nth-child(even):not(:last-child) { margin-top: clamp(0rem, 3vw, 2.5rem); }

/* ---------- About ---------- */
.about { padding: clamp(4rem, 9vw, 8rem) 0; }
.about-box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 4.5rem);
}
.about-box h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-top: .9rem; }
.about-box p { color: var(--ink-2); font-size: 1.05rem; }
.services { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; }
.services li { list-style: none; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }

.cta3d {
  margin-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg);
  background: var(--brand); color: #fff; position: relative; overflow: hidden;
}
.cta3d::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -90px; top: -190px; background: rgba(255, 255, 255, .1); }
.cta3d h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); position: relative; z-index: 1; }
.cta3d p { opacity: .85; position: relative; z-index: 1; margin-top: .4rem; }
.cta3d .btn { --bg-btn: #fff; --fg-btn: var(--brand); border-color: #fff; position: relative; z-index: 1; }
.cta3d .btn::before { background: var(--ink); }
.cta3d .btn:hover { color: #fff; border-color: var(--ink); }

/* ---------- Contact / footer ---------- */
.contact { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.contact h2 { font-size: clamp(2.6rem, 8vw, 7rem); max-width: 12ch; margin: 1.2rem auto 2.2rem; }
.contact h2 em { font-style: normal; color: var(--brand); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(3rem, 7vw, 6rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.foot a:hover { color: var(--brand); }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), background .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--brand); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Project page ---------- */
.proj-head { padding: calc(var(--nav-h) + clamp(1rem, 3vw, 2rem)) 0 clamp(1.25rem, 3vw, 2rem); }
.back { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--ink-2); padding: .5rem 1rem .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; transition: .3s var(--ease); }
.back:hover { color: var(--brand); border-color: var(--brand); transform: translateX(-3px); }
.proj-head h1 { font-size: clamp(2.4rem, 6vw, 5rem); margin: 1.2rem 0 1rem; max-width: 16ch; }
.proj-cols { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.proj-cols p { max-width: 46rem; font-size: clamp(.98rem, 1.3vw, 1.08rem); color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem clamp(1.5rem, 4vw, 3.5rem); font-size: .92rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: .8rem; }
.facts dd { font-weight: 500; }
.facts > div:last-child { text-align: right; }
.tag { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.gallery .g { border: 0; padding: 0; cursor: zoom-in; border-radius: var(--r-lg); aspect-ratio: 4 / 3; display: block; width: 100%; }
.gallery .g:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery .g:nth-child(4n) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery .g { position: relative; overflow: hidden; background: var(--surface); }
.gallery .g .media { position: absolute; inset: 0; }
.gallery .g img { transition: transform .9s var(--ease); }
.gallery .g:hover img { transform: scale(1.04); }
.gallery.one .g, .gallery.one .g:first-child { grid-column: 1 / -1; }

.next { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.next a, .next3d a {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--surface); transition: background .4s, color .4s;
}
.next a:hover, .next3d a:hover { background: var(--brand); color: #fff; }
.next small, .next3d small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: .4rem; }
.next h3, .next3d h3 { font-size: clamp(1.6rem, 4vw, 3rem); }
.next .go, .next3d .go { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.next a:hover .go, .next3d a:hover .go { transform: rotate(-45deg); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 4rem 1rem 1rem; }
.lightbox.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox .frame { position: relative; width: min(1200px, 100%); height: 100%; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lightbox .ph-big { width: 100%; height: 100%; border-radius: var(--r); }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; transition: .25s; }
.lb-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.lb-close { top: -50px; right: 0; }
.lb-prev { left: 8px; top: 50%; } .lb-next { right: 8px; top: 50%; }
.lb-cap { position: absolute; left: 0; top: -44px; font-size: .9rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { justify-self: center; width: min(100%, 440px); }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-info { position: static; }
  .about-box, .proj-cols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--pad) 1.5rem; background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .site-header { background: #fff; }
  .nav a:not(.btn) { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .6rem 0 0; justify-content: center; }
}
@media (max-width: 560px) {
  .works { grid-template-columns: 1fr; }
  .works .card:nth-child(even) { margin-top: 0 !important; }
  .card .media { aspect-ratio: 4 / 4.4; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g, .gallery .g:nth-child(4n) { aspect-ratio: 4 / 3; }
  .hero-meta { gap: 1.6rem; }
  .lb-prev { left: 0; } .lb-next { right: 0; }
  .next .go, .next3d .go { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .hero h1 .line > span { opacity: 1; transform: none; }
}

.next3d { margin-top: 1.25rem; }
.next3d p { margin-top: .6rem; opacity: .7; }
.about-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero h1 { margin: 1.1rem 0 1.4rem; font-size: clamp(3.4rem, 9vw, 8rem); }

.tile-label {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px);
  padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .01em; line-height: 1.3;
  box-shadow: 0 2px 8px rgba(24, 30, 37, .15); backdrop-filter: blur(6px);
}
.collage .tile:nth-child(1) .tile-label { bottom: auto; top: 10px; }

/* cards that show the whole artwork */
.media.contain { background: var(--surface); }
.media.contain img { object-fit: contain; padding: 5%; }
.media.contain .ph { display: none; }

/* natural layout: justified rows, every image keeps its own ratio (no cropping) */
.gallery.natural { display: flex; flex-wrap: wrap; --rh: var(--rh-d); }
.gallery.natural .g, .gallery.natural .g:first-child, .gallery.natural .g:nth-child(4n) {
  flex: calc(var(--r, 1) * 100) 1 calc(var(--rh) * var(--r, 1)); aspect-ratio: var(--r, 1);
  width: auto; min-width: 0; grid-column: auto;
}
.gallery.natural::after { content: ""; flex-grow: 1000000; flex-basis: 0; }
.gallery.natural .g img { object-fit: contain; }
@media (max-width: 560px) { .gallery.natural { --rh: calc(var(--rh-d) * .55); } }


/* ============================================================
   THEME: Swiss / editorial (matched to the reference design)
   Helvetica, hard 1px black rules, square corners, one red accent,
   tiny tracked labels, quiet motion. Layout and behaviour unchanged.
   ============================================================ */
:root {
  --bg: #fff; --ink: #111; --ink-2: #3d3d3d; --ink-3: #6b6b6b;
  --line: #111; --surface: #f2f2f0; --surface-2: #e7e7e4;
  --brand: #e63312; --brand-deep: #c22a0d; --brand-tint: #fdeeea;
  --display: "Helvetica Neue", Helvetica, Arial, "Inter", system-ui, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, "Inter", system-ui, sans-serif;
  --r-sm: 0; --r: 0; --r-lg: 0;
  --shadow: none; --shadow-lg: none;
  --wrap: 1360px; --pad: clamp(20px, 4vw, 56px);
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; }

/* labels */
.eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { display: none; }

/* header: hairline bar, plain text nav */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: none; }
.wordmark { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.wordmark .mono { display: none; }
.wordmark::after { content: "."; color: var(--brand); }
.nav { gap: clamp(16px, 3vw, 36px); }
.nav a:not(.btn) { position: relative; padding: .25rem 0; border-radius: 0; background: none !important; font-size: 14px; font-weight: 400; color: var(--ink); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--ink); transition: right .25s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { right: 0; }
.nav .btn { margin-left: 0; }
.nav-toggle { border-radius: 0; border: 1px solid var(--line); }
.nav-toggle span { border-radius: 0; }

/* buttons: square, black rule, fill on hover */
.btn { border-radius: 0; font-size: 14px; font-weight: 500; padding: .8rem 1.3rem; background: var(--ink); border-color: var(--ink); }
.btn::before { border-radius: 0 !important; background: var(--brand); transform: translateY(101%); }
.btn:hover { transform: none; border-color: var(--brand); }
.btn--sm { padding: .5rem 1rem; font-size: 13px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero::before { display: none; }
.hero h1 { font-size: clamp(3.2rem, 8.6vw, 8.5rem); line-height: .92; letter-spacing: -.045em; margin: 1.1rem 0 1.4rem; }
.hero h1 .line:nth-child(2) > span { color: var(--brand); }
.hero-intro { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.4; color: var(--ink); }

/* collage: straight, flat, ruled */
.collage .tile { border-radius: 0; box-shadow: none; border: 1px solid var(--line); animation: none; transform: none !important; background: var(--surface); }
.collage .tile:hover { transform: none !important; }
.collage .tile img { transition: transform .6s var(--ease); }
.collage .tile:hover img { transform: scale(1.03); }
.tile-label { left: 0; bottom: 0; max-width: 100%; border-radius: 0; padding: .35rem .7rem; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  box-shadow: none; backdrop-filter: none; font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.collage .tile:nth-child(1) .tile-label { top: 0; bottom: auto; border-top: 0; border-bottom: 1px solid var(--line); }

/* placeholders: flat grey with a ruled label */
.media { background: var(--surface); }
.media .ph { background: var(--surface); color: var(--ink-3); font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.media .ph::before { border-radius: 0; border: 1px dashed #b9b9b5; opacity: 1; }
.media.contain { background: var(--surface); }

/* category rows */
.cat { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 88px) 0; }
.cat-info h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .9rem; }
.cat-info .short { font-weight: 500; color: var(--ink); font-size: 15px; }
.cat-info .desc { color: var(--ink-3); font-size: 15px; }

/* cards: flat, image zoom only */
.card .media { border-radius: 0; transition: none; }
.card:hover .media { transform: none; box-shadow: none; }
.card:hover .media img { transform: scale(1.03); }
.card .media img { transition: transform .6s var(--ease); }
.card .chip { border-radius: 0; background: var(--brand); color: #fff; box-shadow: none; width: 40px; height: 40px; right: 0; top: 0; transform: none; opacity: 0; transition: opacity .25s; }
.card:hover .chip, .card:focus-visible .chip { opacity: 1; transform: none; }
.card-meta { padding: .8rem 0 0; }
.card-meta h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; }
.card-meta span { font-size: 13px; }
.card-sub { padding: .1rem 0 0; font-size: 13px; color: var(--ink-3); }

/* about + 3D link: ruled, square */
.about { padding: clamp(40px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.about-box { background: none; padding: 0; border-radius: 0; }
.about-box h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.025em; margin-top: .6rem; }
.about-box p { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.next a, .next3d a { background: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem) 0; transition: color .25s; }
.next3d { margin-top: clamp(2rem, 4vw, 3rem); }
.next a:hover, .next3d a:hover { background: none; color: var(--brand); }
.next small, .next3d small { font-size: 12px; letter-spacing: .12em; opacity: 1; color: var(--ink-3); }
.next h3, .next3d h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.next3d p { opacity: 1; color: var(--ink-3); }
.next .go, .next3d .go { border-radius: 0; background: none; border: 1px solid var(--line); width: 48px; height: 48px; transition: background .25s, color .25s, border-color .25s; }
.next a:hover .go, .next3d a:hover .go { transform: none; background: var(--brand); border-color: var(--brand); color: #fff; }

/* project page */
.back { border-radius: 0; border: 1px solid var(--line); font-size: 13px; padding: .45rem .9rem .45rem .7rem; }
.back:hover { color: var(--brand); border-color: var(--brand); transform: none; }
.proj-head h1 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.045em; line-height: .95; }
.proj-cols p { color: var(--ink-3); }
.facts { border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.gallery .g { border-radius: 0; background: var(--surface); }
.gallery .g:hover img { transform: scale(1.03); }

/* lightbox */
.lightbox { background: rgba(255, 255, 255, .97); backdrop-filter: none; }
.lb-btn { border: 1px solid var(--line); box-shadow: none; }
.lb-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.lb-cap { font-size: 13px; color: var(--ink-3); }

/* footer + to-top */
.foot { border-top: 1px solid var(--line); padding-top: 22px; margin-top: clamp(24px, 4vw, 48px); font-size: 13px; color: var(--ink-3); }
.foot a:hover { color: var(--brand); }
.to-top { border-radius: 0; box-shadow: none; background: var(--ink); }
.to-top:hover { background: var(--brand); }

/* quieter reveal */
.rv { transform: translateY(14px); transition-duration: .6s; }

@media (max-width: 820px) {
  .nav { gap: .2rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { padding: .9rem 0; font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
}
.wordmark { gap: 0; }


/* ============================================================
   REFERENCE SECTIONS (work rows, drawings strip, contact, drawings
   page, lightbox) - copied from the reference design.
   ============================================================ */
.label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* work rows */
#work { padding-top: 0; }
.work-item { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 20px; padding: clamp(40px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.work-info { grid-column: 1 / 4; position: sticky; top: 84px; align-self: start; }
.work-info h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 14px; }
.work-info p { color: var(--ink-3); font-size: 15px; max-width: 26em; }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.work-media { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stack { display: grid; gap: 16px; align-content: start; }

.wtile { position: relative; overflow: hidden; background: var(--surface); border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; }
.wtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.wtile:hover img { transform: scale(1.03); }
.wtile:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wtile.contain img { object-fit: contain; padding: 14px; }
.s6 { grid-column: span 6; } .s4 { grid-column: span 4; } .s3 { grid-column: span 3; } .s2 { grid-column: span 2; }

/* drawings strip on the home page */
.teaser { padding: clamp(48px, 7vw, 104px) 0; border-bottom: 1px solid var(--line); }
.teaser-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.teaser h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.05; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teaser-grid a { aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; display: block; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.teaser-grid a:hover img { transform: scale(1.04); }
.link { display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-weight: 500; }
.link:hover { color: var(--brand); border-color: var(--brand); }

/* contact */
.contact { padding: clamp(64px, 10vw, 152px) var(--pad); }
.contact h2 { font-size: clamp(40px, 9vw, 136px); line-height: .95; letter-spacing: -.04em; }
.contact a.mail { display: inline-block; margin-top: 32px; font-size: clamp(20px, 3vw, 36px); color: var(--brand); border-bottom: 2px solid currentColor; }
#contact { max-width: var(--wrap); margin-inline: auto; }

/* drawings page */
.sub-hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 112px)) 0 clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.sub-hero h1 { font-size: clamp(44px, 10vw, 148px); line-height: .92; letter-spacing: -.045em; }
.sub-hero h1 em { font-style: normal; color: var(--brand); }
.sub-hero p { margin-top: 24px; max-width: 34em; color: var(--ink-3); font-size: clamp(16px, 1.6vw, 20px); }
.group { padding: clamp(36px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 12px; }
.group-head h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; }
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry .wtile { margin-bottom: 16px; break-inside: avoid; height: auto; }
.masonry .wtile img { height: auto; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(255, 255, 255, .97); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lb.open { display: flex; }
.lb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb button { position: absolute; background: #fff; border: 1px solid var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.lb button:hover { background: var(--ink); color: #fff; }
.lb .x { top: 12px; right: 12px; } .lb .p { left: 12px; top: 50%; } .lb .n { right: 12px; top: 50%; }
.lb .c { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--ink-3); font-size: 13px; }

@media (max-width: 900px) {
  .work-info { grid-column: 1 / 13; position: static; }
  .work-media { grid-column: 1 / 13; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .masonry { columns: 1; }
  /* phones keep the same pattern: one big image, then pairs side by side */
  .work-media, .stack { gap: 10px; }
}

/* ============================================================
   HERO TILES: no outlines, text laid over the image
   ============================================================ */
.collage .tile { border: 0; }
.collage .tile::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.collage .tile:nth-child(1)::after { inset: 0 0 auto 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.tile-label {
  left: 14px; right: 14px; bottom: 12px; top: auto; max-width: none; z-index: 2; padding: 0; border: 0 !important; background: none;
  color: #fff; font-size: 12px; letter-spacing: .12em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.collage .tile:nth-child(1) .tile-label { top: 12px; bottom: auto; }

/* contact: left-aligned like the reference */
.contact { text-align: left; }
.contact h2 { max-width: none; margin: 0; }

/* ============================================================
   HEADER: plain text links, no menu button, black name
   ============================================================ */
.wordmark::after { content: none; }
.wordmark { color: var(--ink); }
.nav { gap: clamp(16px, 3vw, 36px); }
@media (max-width: 820px) {
  .nav { position: static; flex-direction: row; align-items: center; padding: 0; background: none; border: 0;
    transform: none; opacity: 1; pointer-events: auto; gap: 16px; }
  .nav a:not(.btn) { padding: .25rem 0; font-size: 14px; }
  .nav a:not(.btn)::after { display: block; }
}
@media (max-width: 380px) { .nav { gap: 12px; } .nav a:not(.btn) { font-size: 13px; } }

/* hero "Get in touch", About email */
.hero-link { margin-top: 28px; }
.about-mail { margin-top: 24px; color: var(--brand); border-color: currentColor; font-size: clamp(17px, 1.8vw, 22px); }
.about-mail:hover { color: var(--ink); border-color: var(--ink); }

/* 3D portfolio block: accent by default, motion on hover */
.next3d h3 { color: var(--brand); transition: transform .35s var(--ease); }
.next3d a:hover { color: inherit; }
.next3d a:hover h3 { transform: translateX(10px); }
.next3d .go { border-color: var(--brand); color: var(--brand); }
.next3d a:hover .go { background: var(--brand); color: #fff; }

/* tighter rhythm: About -> (space) -> 3D -> Drawings */
.about { padding-bottom: 0; }
.next3d { margin-top: clamp(3rem, 6vw, 5rem); }
.teaser { padding-top: clamp(28px, 3.5vw, 44px); }

/* See all + hidden extras */
button.link { background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; font: inherit; font-weight: 500; color: inherit; }
button.link:hover { color: var(--brand); border-color: var(--brand); }
.see-all { margin-top: 22px; }
.wtile.is-hidden { display: none; }

/* hero name: all black */
.hero h1 .line:nth-child(2) > span { color: inherit; }

/* Get in touch: right-aligned, quiet tracked label */
.hero-link { display: none; }
.touch {
  grid-column: 1 / -1; justify-self: end; margin-top: clamp(8px, 2vw, 24px);
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .25s, background-size .35s var(--ease);
}
.touch:hover { color: var(--brand); background-size: 0 1px; background-position: 100% 100%; }
.see-all { display: inline-flex; }
.work-hero h1 { font-size: clamp(40px, 7.5vw, 112px); }
.work-hero .tags { margin-top: 24px; }

/* "See all related work": beside the title on desktop, under the tiles on mobile */
.see-all--end { display: none; }
@media (max-width: 900px) {
  .work-info .see-all { display: none; }
  .see-all--end { display: inline-flex; grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}

/* keep descenders (g, y) from being clipped by the headline reveal mask */
.hero h1 .line { padding-bottom: .2em; margin-bottom: -.2em; }

/* smaller display type on desktop */
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 6rem); }
.contact h2 { font-size: clamp(2.2rem, 6.4vw, 6rem); }

/* type sizes: hero name slightly bigger, closing line smaller */
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 7rem); }
.contact h2 { font-size: clamp(2rem, 4.4vw, 4.25rem); }
/* hero clears the fixed header at every width */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 80px)); }

/* closing line: 48px on phones, easing up to 68px on desktop */
.contact h2 { font-size: clamp(3rem, 2.535rem + 1.905vw, 4.25rem); }
/* email: smaller on desktop, unchanged (20px) on phones */
.contact a.mail { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }

/* category info: title / description / tags / link, scaled up evenly (~15%) */
.work-info h2 { font-size: clamp(30px, 3.45vw, 46px); }
.work-info p { font-size: 17px; }
.tags span { font-size: 14px; padding: 3px 12px; }
.see-all { font-size: 17px; }

/* Get in touch: under the intro. Left on desktop, right-aligned once the hero stacks */
.touch { display: table; margin: 28px 0 0; grid-column: auto; justify-self: auto; }
@media (max-width: 1000px) { .touch { margin-left: auto; } }

/* hero tiles: larger and a little higher. Transform only, so the hero keeps its height. */
.collage { transform-origin: 50% 0; transform: translateY(-9%) scale(1.14); }
@media (max-width: 1000px) { .collage { transform: translateY(-3%) scale(1.06); } }

/* hero tiles on desktop: a touch smaller, scaled from the centre of the group */
@media (min-width: 1001px) { .collage { transform-origin: 50% 50%; transform: translateY(-2%) scale(1.06); } }

/* hero tiles 2 and 4: landscape (4:3) instead of square, same height as before */
.collage .tile:nth-child(2) { width: 61.33%; aspect-ratio: 4 / 3; }
.collage .tile:nth-child(4) { width: 45.33%; aspect-ratio: 4 / 3; left: 3%; }

/* fix: each tile keeps its own gradient/label layers (they were leaking above neighbouring tiles = the dark band) */
.collage .tile { isolation: isolate; }
/* landscape tiles scaled down ~12% */
.collage .tile:nth-child(2) { width: 54%; }
.collage .tile:nth-child(4) { width: 40%; left: 5%; }

/* equal-column galleries (roll-ups): N across on desktop, stepping down on smaller screens */
.work-media.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-media.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-media.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-media.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.work-media.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.work-media.cols .wtile { grid-column: auto; }
@media (max-width: 1000px) {
  .work-media.cols-4, .work-media.cols-5, .work-media.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .work-media.cols, .work-media.cols-3, .work-media.cols-4, .work-media.cols-5, .work-media.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* hover caption: alt text bottom-left over a soft gradient */
.wtile::before, .teaser-grid a::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .3s;
}
.wtile::after, .teaser-grid a::after {
  content: attr(data-alt); position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; pointer-events: none;
  color: #fff; font-size: 13px; line-height: 1.35; text-align: left; text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease);
}
.wtile:hover::before, .wtile:focus-visible::before, .teaser-grid a:hover::before, .teaser-grid a:focus-visible::before { opacity: 1; }
.wtile:hover::after, .wtile:focus-visible::after, .teaser-grid a:hover::after, .teaser-grid a:focus-visible::after { opacity: 1; transform: none; }
.teaser-grid a { position: relative; }
