@font-face {
  font-family: "Unhinged Pixels";
  src: url("assets/Unhinged_Pixels.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #16121f;
  --text: #f4f1fa;
  --soft: #ddd6ea;
  --muted: #b3aac4;
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .06);
  --accent: #3ee6c1;
  --frame: 4px solid rgba(255, 255, 255, .28);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --pixel: "Unhinged Pixels", "Tomorrow", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
/* nothing may ever make the page scroll sideways (clip keeps the sticky header working) */
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; color: var(--text); background-color: var(--bg);
  font: 400 17px/1.6 "Tomorrow", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 40% at 0% 10%, rgba(150, 60, 170, .35), transparent 70%),
    radial-gradient(50% 40% at 100% 95%, rgba(20, 150, 150, .28), transparent 70%),
    linear-gradient(rgba(14, 10, 22, .45), rgba(14, 10, 22, .62)),
    url("assets/bg.jpg") center / cover;
}
/* Film grain like the WordPress site: SVG noise over the background, behind the content */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.pixel { font-family: var(--pixel); font-weight: 400; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font-family: var(--pixel); color: var(--accent); font-size: 14px; letter-spacing: .12em; margin: 0 0 10px; text-transform: uppercase; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 99px; background: var(--accent); color: #111; font-weight: 600; text-decoration: none; }
.btn.ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.1); }
.btn.ghost:hover { border-color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--line);
  background: rgba(22, 18, 31, .75); backdrop-filter: blur(14px);
}
.logo img { width: 96px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); font-weight: 500; font-size: 16px; }
.site-nav > a { text-decoration: none; padding: 4px 0; }
.site-nav > a:hover, .site-nav > a.current { box-shadow: 0 2px 0 var(--accent); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang button { font: 500 13px "Tomorrow", sans-serif; color: var(--text); background: none; border: 0; padding: 6px 11px; cursor: pointer; }
.lang button.on { background: var(--text); color: var(--bg); }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2;
    width: 32px; height: 22px; padding: 0; background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { height: 3px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  /* No blur on phones: it traps and see-through-renders the dropdown in Chrome */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(22, 18, 31); }

  /* Dropdown panel under the header */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 22px;
    background: rgb(22, 18, 31); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7);
    max-height: calc(100vh - 70px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a { font-family: var(--pixel); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:hover, .site-nav > a.current { box-shadow: none; color: var(--accent); }
  .lang { margin-top: 18px; align-self: flex-start; }
  .lang button { font-size: 16px; padding: 10px 18px; }
}

/* ---------- UNHINGED banner (like the WordPress homepage) ---------- */
.banner { text-align: center; padding-top: clamp(24px, 4vw, 48px); padding-bottom: 0; }
.banner-word {
  font-family: var(--pixel); font-size: clamp(56px, 13vw, 160px); line-height: .9; margin: 0; letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(255, 255, 255, .45), 0 0 50px color-mix(in srgb, var(--accent) 45%, transparent);
}
.banner-slogan { font-size: clamp(20px, 3vw, 32px); font-weight: 600; margin: 10px 0 4px; }
.banner-studio { font-size: clamp(15px, 1.8vw, 20px); color: var(--muted); margin: 0; letter-spacing: .04em; }
.banner + .who { padding-top: clamp(20px, 3vw, 36px); }

/* ---------- Who am I ---------- */
.who { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(40px, 7vw, 70px); }
.photo {
  aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: var(--frame);
  background: linear-gradient(135deg, #6b2f86, #1e6f73); display: grid; place-items: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .initials { font-family: var(--pixel); font-size: 72px; opacity: .85; }
.who h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 0; }
.who .kicker { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 14px; }
.who .role { font-size: clamp(18px, 2vw, 22px); font-weight: 500; margin: 8px 0 18px; }
.who .intro { color: var(--soft); max-width: 760px; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 700px) {
  .who { grid-template-columns: 1fr; }
  .photo { width: 160px; }
}

/* ---------- Tabs ---------- */
.tabs-heading { font-family: var(--pixel); font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tab {
  position: relative; display: grid; gap: 4px; text-align: left; cursor: pointer;
  padding: 20px 24px; padding-right: 64px;
  font: inherit; color: var(--muted); background: none;
  border: 1px solid var(--line); border-radius: 18px;
  transition: color .2s, border-color .2s, background .2s;
}
.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.tab-title { font-family: var(--pixel); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; }
.tab-desc { font-size: 14px; opacity: .8; }
.tab-count { position: absolute; top: 22px; right: 24px; font-size: 14px; opacity: .7; }
.tab.on {
  color: var(--text); border: var(--frame);
  /* Same purple→teal gradient as behind the photo, visible only through the border */
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, #6b2f86, #1e6f73) border-box; padding: 17px 21px; padding-right: 61px; box-shadow: 0 0 28px -4px color-mix(in srgb, var(--accent) 35%, transparent); }
.tab.on .tab-count { top: 19px; right: 21px; }
.tab.on .tab-title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }

@media (max-width: 640px) {
  .tabs { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Timeline ---------- */
.timeline { padding-top: 10px; padding-bottom: clamp(60px, 10vw, 100px); }
.year { display: flex; align-items: center; gap: 20px; margin: 46px 0 26px; }
.year b { font-family: var(--pixel); font-weight: 400; font-size: clamp(34px, 4vw, 44px); }
.year i { flex: 1; height: 1px; background: var(--line); }

.entry {
  display: grid; grid-template-columns: 70px minmax(0, 560px) 1fr; gap: clamp(18px, 3vw, 32px); align-items: center;
  margin-bottom: 34px; text-decoration: none; color: inherit;
}
.month { font-family: var(--pixel); color: var(--muted); font-size: 16px; align-self: start; padding-top: 10px; text-transform: uppercase; }
.thumb { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; border: var(--frame); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.entry:hover .thumb { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.entry h3 { font-family: var(--pixel); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.05; margin: 0; }
.entry .sub { color: var(--muted); margin: 4px 0 12px; }
.entry p { margin: 0 0 16px; color: var(--soft); max-width: 640px; }
.more { font-weight: 600; color: var(--accent); }
.entry:hover .thumb, .entry:focus-visible .thumb { transform: translateY(-4px); box-shadow: 0 0 30px 0 color-mix(in srgb, var(--accent) 40%, transparent); }
.entry:hover .thumb img { transform: scale(1.04); }
.entry:hover .more { text-decoration: underline; text-underline-offset: 4px; }
.empty { color: var(--muted); padding: 60px 0; }
.year-spacer { height: 40px; }
.entry .label { display: block; font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.entry.no-date { grid-template-columns: minmax(0, 560px) 1fr; }
@media (max-width: 700px) {
  .entry.no-date { grid-template-columns: 1fr; }
}
.age {
  display: inline-block; margin: 0 0 12px; padding: 4px 11px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid currentColor;
}

@media (max-width: 700px) {
  .entry { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
  .month { padding: 0; order: -1; }
}

/* ---------- Detail page ---------- */
.detail-top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 18px; font-size: 15px; color: var(--muted); }
.back { text-decoration: none; font-weight: 500; }
.back:hover { color: var(--text); }

.hero { position: relative; height: clamp(320px, 46vw, 620px); border-radius: 28px; overflow: hidden; border: var(--frame); box-shadow: 0 0 40px 0 color-mix(in srgb, var(--accent) 30%, transparent); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(16, 12, 24, .88)); }
.hero-text { position: absolute; left: clamp(20px, 4vw, 44px); right: clamp(20px, 4vw, 44px); bottom: clamp(20px, 4vw, 38px); z-index: 1; }
.hero-text .kicker { margin-bottom: 8px; }
.hero h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(36px, 7vw, 76px); line-height: .98; margin: 0; overflow-wrap: anywhere; }
.hero-sub { font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; margin: 10px 0 0; }

.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(36px, 6vw, 56px); padding-bottom: clamp(50px, 8vw, 80px); }
.detail-main { min-width: 0; }
.lead { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; color: var(--text); margin: 0 0 40px; padding-left: 18px; border-left: 3px solid var(--accent); }
.block { margin-bottom: 48px; }
.block:last-child { margin-bottom: 0; }
.block h2 { font-family: var(--pixel); font-weight: 400; font-size: clamp(28px, 3.4vw, 36px); margin: 0 0 16px; }
.block h3 { font-size: 18px; font-weight: 700; color: var(--accent); margin: 28px 0 8px; }
.block p { color: var(--soft); margin: 0 0 14px; max-width: 70ch; }
.block strong { color: var(--text); }
.block ul { color: var(--soft); padding-left: 20px; margin: 0 0 14px; }
.block a { color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.gallery.n1 { grid-template-columns: 1fr; }
.zoom { padding: 0; border: var(--frame); border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--glass); aspect-ratio: 4 / 3; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.gallery.n1 .zoom { aspect-ratio: auto; max-height: 640px; }
.zoom img { width: 100%; height: 100%; object-fit: cover; }
.zoom:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 0 40px 0 color-mix(in srgb, var(--accent) 60%, transparent); }

.video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 18px; overflow: hidden; background: #000; border: var(--frame); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video.portrait { max-width: 400px; margin-left: auto; margin-right: auto; }
.block:first-child .video:first-child { margin-top: 0; }

.info { position: sticky; top: 96px; align-self: start; padding: 26px; border-radius: 22px; border: var(--frame); background: var(--glass); }
.fact { margin-bottom: 20px; }
.fact h4 { font-family: var(--pixel); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.fact p { margin: 0; font-weight: 500; }
.fact .chips { margin: 0; }
.fact .chip { color: var(--text); }
.logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.logo-tile { display: grid; place-items: center; height: 58px; padding: 10px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.logo-tile img { width: 100px; height: 38px; object-fit: contain; }
.info .btn { display: block; text-align: center; margin-top: 6px; }
.info-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(50px, 8vw, 80px); }
.pn-card { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.pn-card.next { flex-direction: row-reverse; text-align: right; }
.pn-card img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.pn-card small { display: block; color: var(--muted); font-size: 13px; }
.pn-card b { font-family: var(--pixel); font-weight: 400; font-size: clamp(18px, 2vw, 24px); line-height: 1.1; }
.pn-card:hover { border-color: var(--accent); box-shadow: 0 0 30px 0 color-mix(in srgb, var(--accent) 35%, transparent); }

#lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 60px clamp(12px, 6vw, 80px); background: rgba(10, 7, 16, .94); }
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 14px; }
#lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; font-size: 30px; line-height: 1; color: var(--text); background: var(--glass); }
#lightbox button:hover { background: rgba(255, 255, 255, .16); }
#lightbox button[hidden] { display: none; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .detail-body { grid-template-columns: 1fr; }
  .info { position: static; order: -1; }
}
@media (max-width: 600px) {
  .pn { grid-template-columns: 1fr; }
  .pn-card.next { flex-direction: row; text-align: left; }
  .detail-top .count { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: clamp(50px, 8vw, 70px) var(--gutter) 40px; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer .big { display: inline-block; font-family: var(--pixel); font-size: clamp(44px, 8vw, 64px); text-decoration: none; margin: 4px 0 10px; }
.site-footer .big:hover { color: var(--accent); }

/* ---------- Text pages (About, About Me) and Contact ---------- */
.text-page { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(60px, 9vw, 100px); }
.page-head { max-width: 900px; margin-bottom: clamp(28px, 5vw, 48px); }
.page-head h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1; margin: 0; }
.page-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--soft); margin: 14px 0 0; max-width: 720px; }
.page-body { max-width: 820px; }
.page-body .block p { max-width: none; }
.page-body a { color: var(--accent); }

/* About Me: dialogue style */
.page-about-me .gallery.n1 { max-width: 460px; }
.page-about-me .gallery.n1 .zoom { aspect-ratio: 1; }
.page-about-me .block p { margin-bottom: 18px; }
.page-about-me .block p strong { display: block; font-family: var(--pixel); font-weight: 400; font-size: 14px; letter-spacing: .08em; color: var(--accent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 300px minmax(0, 640px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { position: static; }
.contact-info a { color: var(--text); text-decoration: none; }
.contact-info a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; color: var(--text); background: rgba(14, 10, 22, .55);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form select option { background: #1f1a2b; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--accent); }
.form-status.error { color: #ff7a8a; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Text pages and contact: centred column (text inside stays left-aligned for readability) */
.page-head { margin-left: auto; margin-right: auto; text-align: center; }
.page-sub { margin-left: auto; margin-right: auto; }
.page-body { margin-left: auto; margin-right: auto; }
.page-about-me .gallery.n1 { margin-left: auto; margin-right: auto; }
.contact-grid { justify-content: center; }
.text-page .page-head, .text-page .page-body { max-width: 900px; }

/* About: full UNHINGED wordmark above the title */
.page-head .page-logo { margin: 0 0 18px; font-size: clamp(40px, 9vw, 116px) !important; white-space: nowrap; }
.page-about .page-head h1 { font-size: clamp(24px, 3vw, 34px); color: var(--soft); }

/* Social links (footer on every page + contact page): big and easy to spot */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 22px 0 26px; }
.social {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px;
  border: 2px solid var(--accent); border-radius: 99px; color: var(--text); text-decoration: none;
  font-size: clamp(17px, 2vw, 20px); font-weight: 600; background: rgba(14, 10, 22, .45);
  transition: background .2s, color .2s, transform .2s;
}
.social svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.social:hover { background: var(--accent); color: #111; transform: translateY(-2px); }
.social:hover svg { color: #111; }
.contact-info .socials { flex-direction: column; align-items: stretch; margin: 6px 0 0; gap: 10px; }
.contact-info .social { padding: 10px 16px; font-size: 16px; }
.contact-info .social svg { width: 24px; height: 24px; }

.who-socials { justify-content: flex-start; margin: 16px 0 0; gap: 10px; }
.who-socials .social { padding: 10px 18px; font-size: 16px; }
.who-socials .social svg { width: 24px; height: 24px; }
@media (max-width: 700px) { .who-socials .social { flex: 1 1 auto; justify-content: center; } }
.contact-form [aria-invalid] { border-color: #ff7a8a !important; box-shadow: 0 0 0 3px rgba(255, 122, 138, .25); }

/* About Me: chat bubbles like text messages (visitor left, Joan right) */
.page-about-me .block { display: flex; flex-direction: column; gap: 14px; }
.chat { max-width: min(78%, 560px); padding: 12px 18px 14px; border-radius: 22px; position: relative; }
.chat p { margin: 0 !important; color: var(--text); }
.chat-name { display: block; font-family: var(--pixel); font-size: 12px; letter-spacing: .08em; margin-bottom: 4px; opacity: .8; }
.chat.them { align-self: flex-start; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-bottom-left-radius: 6px; }
.chat.them .chat-name { color: var(--muted); }
.chat.me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, rgba(14, 10, 22, .7)); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-bottom-right-radius: 6px; }
.chat.me .chat-name { color: var(--accent); text-align: right; }
.chat a { color: var(--accent); }
.page-about-me .gallery { align-self: center; width: 100%; }
@media (max-width: 600px) { .chat { max-width: 90%; } }

/* Overview cards: client / partner logos in a small box (monochrome, real colours on hover) */
.client-box {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 10px 16px; width: fit-content; max-width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 10, 22, .45);
}
.client-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.client-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.client-logos img { height: 48px; width: auto; max-width: 190px; object-fit: contain; }
.client-name { font-size: 16px; font-weight: 600; color: var(--soft); }
.entry:hover .client-box { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
