/* Mid-century design: flat geometric shapes (a wine sun, a powder-pink half-moon, an aubergine triangle and quarter)
   on cream; Source Serif 4 for headings, Inter for text; square corners, no shadows. Home, projects, about
   and 404 load only this file; the project pages load it last, over the older case-study styles. */
:root {
  /* the earlier site's wine and cream, with aubergine and powder pink */
  --bg: #fcf9f5; --bg2: #f4ede5; --ink: #2b1d1f; --mute: #6f5f5f; --line: rgba(43,29,31,.16);
  --b: #7b2234; --m: #e3b8b3; --teal: #3c1f2c; --o: #e3b8b3; --k: #2b1d1f; --blk: #2b1d1f; --on: #f7f1ea;
  /* block fills and the text that reads on each (powder pink takes dark text) */
  --fb: #7b2234; --ft: #3c1f2c; --fo: #e3b8b3; --on-o: #2b1d1f; --cta: #2b1d1f;
  --bar: #fcf9f5; --bar-ink: #2b1d1f; --bar-cur: #7b2234; --bar-line: rgba(43,29,31,.1);
  --serif: "Source Serif 4", Georgia, serif; --sans: Inter, system-ui, sans-serif;
  --g: max(24px, calc((100% - 1120px) / 2));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1b1416; --bg2: #261c1f; --ink: #f1e8e2; --mute: #ad9c9c; --line: rgba(241,232,226,.16);
  --b: #e08a9b; --m: #d9a8a4; --teal: #d4a7b4; --o: #d9a8a4; --k: #100b0c; --blk: #3a2a2e; --on: #f7f1ea;
  --fb: #9c3348; --ft: #4a2838; --fo: #d9a8a4; --on-o: #1b1416; --cta: #2a1f22;
  --bar: #1b1416; --bar-ink: #f1e8e2; --bar-cur: #e08a9b; --bar-line: rgba(241,232,226,.1);
  color-scheme: dark;
}
:root:not([data-lang]) .el, :root[data-lang="en"] .el, :root[data-lang="el"] .en { display: none !important; }

/* ---------- base (only on the pages that load this file alone) ---------- */
.mc *, .mc *::before, .mc *::after { box-sizing: border-box; }
html.mc-html { scroll-behavior: smooth; }
body.mc { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.mc img { display: block; max-width: 100%; height: auto; }
.mc a { color: inherit; text-decoration: none; }
.mc ul { list-style: none; margin: 0; padding: 0; }
.mc p, .mc h1, .mc h2, .mc h3, .mc figure, .mc blockquote, .mc dl, .mc dd { margin: 0; }
.mc h1, .mc h2, .mc h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
.mc h1 em, .mc h2 em { font-style: italic; color: var(--b); }
.mc :focus-visible { outline: 2.5px solid var(--b); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sh { position: absolute; display: block; pointer-events: none; }
.sh.sun { border-radius: 50%; background: var(--fb); }
.sh.half { background: var(--m); }
.sh.tri { width: 0; height: 0; border-style: solid; border-color: transparent transparent var(--teal) transparent; }
.sh.bar { background: var(--ink); }
.sh.qc { background: var(--teal); }
.sh.dots { display: grid; grid-auto-flow: column; gap: 12px; }
.sh.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.sh.ring { border-radius: 50%; background: var(--bg); border: 3px solid var(--ink); }

/* ---------- top bar ---------- */
.mc-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; padding: 0 var(--g); background: var(--bar); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bar-ink); }
.mc-bar, .mc-bar.stuck { border-bottom-color: var(--bar-line); }
.mc-bar a { color: inherit; text-decoration: none; }
.mc-bar .brand { display: flex; align-items: center; gap: 10px; }
.mc-bar .brand .lg { width: 24px; height: 24px; flex: none; }
.mc-bar .lg .lk { fill: var(--bar-ink); } .mc-bar .lg .la { fill: var(--b); }
.mc-bar .menu { display: flex; gap: 30px; }
.mc-bar .menu a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.mc-bar .menu a:hover { color: var(--bar-cur); }
.mc-bar .menu a[aria-current="page"] { color: var(--bar-cur); border-bottom-color: var(--bar-cur); }
.mc-bar .ctrls { display: flex; gap: 8px; align-items: center; }
.mc-bar .tb { font: 600 12px/1 var(--sans); letter-spacing: .08em; color: var(--bar-ink); background: transparent; border: 1.5px solid color-mix(in srgb, var(--bar-ink) 55%, transparent); height: 34px; min-width: 40px; padding: 0 10px; display: grid; place-items: center; cursor: pointer; border-radius: 0; transition: background .2s, color .2s; }
.mc-bar .tb:hover { background: var(--bar-ink); color: var(--bar); border-color: var(--bar-ink); }
.mc-bar .tb svg { width: 16px; height: 16px; }
.mc-bar .menu-btn { display: none; gap: 4px; }
.mc-bar .menu-btn i { display: block; width: 16px; height: 2px; background: currentColor; }
@media (max-width: 820px) {
  .mc-bar { height: 60px; }
  .mc-bar .brand span { font-size: 12px; }
  .mc-bar .menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; background: var(--bar); padding: 6px var(--g) 14px; }
  .mc-bar.open .menu { display: flex; }
  .mc-bar .menu a { padding: 14px 0; border-bottom: 1px solid var(--bar-line); font-size: 15px; }
  .mc-bar .menu a[aria-current="page"] { border-bottom-color: var(--bar-line); }
  .mc-bar .menu-btn { display: grid; align-content: center; justify-items: center; }
  .mc-bar .tb { height: 44px; min-width: 44px; }
  .mc-bar.open .menu { box-shadow: 0 100vmax 0 100vmax rgba(15,12,11,.35); }
}
@media (max-width: 400px) { .mc-bar .brand span { font-size: 11px; letter-spacing: .04em; } }

/* ---------- shared blocks ---------- */
.mc-hd { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.mc-hd h2 { font: 700 clamp(26px, 2.2vw, 34px)/1 var(--serif); letter-spacing: -.02em; }
.mc-hd > b { font: 700 clamp(26px, 2.2vw, 34px)/1 var(--serif); color: var(--b); }
.mc-hd > span { flex: 1; height: 3px; background: var(--ink); }
.mc-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.mc-strip > * { padding: 16px 24px; color: var(--on); display: flex; gap: 14px; align-items: center; }
.mc-strip > *:first-child { padding-left: var(--g); }
.mc-strip > *:last-child { padding-right: var(--g); }
.mc-strip { list-style: none; margin: 0; padding: 0; }
.mc-strip > :nth-child(4n+1) { background: var(--fb); } .mc-strip > :nth-child(4n+2) { background: var(--ft); }
.mc-strip > :nth-child(4n+3) { background: var(--fo); color: var(--on-o); } .mc-strip > :nth-child(4n+4) { background: var(--blk); }
.mc-strip b { font: 700 26px/1 var(--serif); }
.mc-strip span { font: 600 14px/1.3 var(--sans); }
.mc-strip.mc-facts { margin: 0; }
.mc-strip.mc-facts > * { display: block; }
.mc-strip.mc-facts dt { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .78; margin-bottom: 8px; }
.mc-strip.mc-facts dd { margin: 0; font: 600 16px/1.35 var(--serif); }
@media (max-width: 820px) {
  .mc-strip { grid-template-columns: 1fr 1fr; }
  .mc-strip > * { padding: 18px 20px !important; }
  .mc-strip b { font-size: 26px; }
  .mc-strip span { font-size: 13px; }
}

/* project cards */
.mc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; }
.mc-card { display: block; color: inherit; text-decoration: none; }
.mc-card .im { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg2); }
.mc-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mc-card:hover .im img { transform: scale(1.04); }
.mc-card .n { position: absolute; z-index: 1; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--serif); color: var(--on); }
.mc-card:nth-child(3n+1) .n { background: var(--fb); } .mc-card:nth-child(3n+2) .n { background: var(--ft); } .mc-card:nth-child(3n+3) .n { background: var(--m); color: var(--on-o); }
.mc-card h3 { font: 700 18px/1.2 var(--serif); margin-top: 12px; }
.mc-card h3 i { font-style: normal; display: inline-block; transition: transform .3s; }
.mc-card:hover h3 i { transform: translateX(5px); }
.mc-card p { margin-top: 4px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mc-soon { position: relative; aspect-ratio: 1 / 1; background: var(--blk); color: var(--on); overflow: hidden; display: flex; align-items: flex-end; padding: 26px; }
.mc-soon h3 { position: relative; z-index: 2; font: 700 30px/1.05 var(--serif); }
@media (max-width: 820px) {
  .mc-cards { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .mc-card h3 { font-size: 18px; }
  .mc-card p { font-size: 11px; }
  .mc-card .n { width: 36px; height: 36px; font-size: 14px; left: 10px; top: 10px; }
  .mc-soon { padding: 16px; } .mc-soon h3 { font-size: 20px; }
  .mc-soon .sh { transform: scale(.5); transform-origin: top right; }
}

/* buttons */
.mc-btn { display: inline-flex; align-items: center; gap: 10px; border: 2px solid currentColor; padding: 15px 24px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: inherit; text-decoration: none; background: transparent; transition: background .2s, color .2s; }
.mc-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- contact + footer ---------- */
.mc-cta { margin-top: clamp(56px, 6vw, 80px); background: var(--cta); border-top: 3px solid var(--cta); color: #f6efe2; padding: clamp(36px, 4vw, 48px) var(--g); display: grid; grid-template-columns: auto 1fr; gap: 26px 44px; align-items: center; }
.mc-cta .o { width: 84px; height: 84px; border-radius: 50%; background: var(--m); position: relative; grid-row: span 2; }
.mc-cta .o::after { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%; background: var(--fb); right: -14px; bottom: -14px; }
.mc-cta h2 { font: 700 clamp(28px, 3vw, 42px)/1.05 var(--serif); letter-spacing: -.02em; }
.mc-cta .links { display: flex; flex-wrap: wrap; gap: 10px; }
.mc-cta .links a { display: inline-flex; align-items: center; gap: 10px; border: 2px solid rgba(246,239,226,.85); padding: 13px 20px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #f6efe2; text-decoration: none; transition: background .2s, color .2s; }
.mc-cta .links a:hover { background: #f6efe2; color: #1d1918; }
.mc-cta .links a.mail { background: var(--m); border-color: var(--m); color: #1d1918; text-transform: none; letter-spacing: 0; font: 600 15px/1 var(--sans); }
.mc-cta .links a.mail:hover { background: #f6efe2; border-color: #f6efe2; }
.mc-cta .links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mc-foot { background: var(--bg); display: flex; justify-content: space-between; gap: 20px; padding: 24px var(--g); font: 500 13px/1.4 var(--sans); color: var(--mute); }
.mc-foot a { color: inherit; text-decoration: none; padding: 12px 0; margin: -12px 0; }
.mc-foot a:hover { color: var(--b); }
@media (max-width: 820px) {
  .mc-cta { grid-template-columns: 1fr; padding: 44px 24px; }
  .mc-cta .o { width: 56px; height: 56px; grid-row: auto; }
  .mc-cta h2 { font-size: 28px; }
  .mc-cta .o::after { width: 28px; height: 28px; right: -8px; bottom: -8px; }
}

/* ---------- home ---------- */
.mc-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(20px, 3vw, 40px) var(--g) clamp(40px, 5vw, 64px); min-height: min(560px, calc(100svh - 180px)); }
.mc-hero h1 { font: 700 clamp(46px, 5.8vw, 90px)/.98 var(--serif); letter-spacing: -.03em; }
.mc-hero h1 .l { display: block; }
.mc-hero p { margin-top: 24px; color: var(--mute); font-size: 18px; max-width: 40ch; }
.mc-work { padding: clamp(56px, 6vw, 72px) var(--g) 0; }
.mc-work .mc-all { margin-top: 32px; }
@media (max-width: 820px) {
  .mc-hero { grid-template-columns: minmax(0, 1fr); overflow: hidden; gap: 10px; padding: 26px 20px 30px; min-height: 0; }
  .mc-hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .mc-hero p { font-size: 16px; margin-top: 16px; }
  .mc-work { padding: 48px 20px 0; }
}

/* ---------- projects page ---------- */
.mc-top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding: clamp(30px, 4vw, 50px) var(--g) clamp(36px, 4vw, 50px); }
.mc-top h1 { font: 700 clamp(38px, 4vw, 58px)/1 var(--serif); letter-spacing: -.03em; }
.mc-top p { color: var(--mute); font-size: 16.5px; margin-top: 18px; max-width: 46ch; }
.mc-mini { position: relative; height: 200px; }
.mc-mini .sun { width: 170px; height: 170px; right: 60px; top: 10px; }
.mc-mini .half { width: 150px; height: 75px; border-radius: 150px 150px 0 0; right: 170px; bottom: 0; }
.mc-mini .tri { border-width: 0 56px 96px 56px; right: 0; bottom: 0; }
.mc-mini .bar { width: 10px; height: 190px; right: 140px; top: 0; }
.mc-pj { padding: 0 var(--g); }
@media (max-width: 820px) {
  .mc-top { grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 26px 20px 40px; gap: 20px; }
  .mc-top h1 { font-size: 38px; } .mc-top p { font-size: 16px; }
  .mc-mini { height: 200px; width: 400px; transform: scale(.7); transform-origin: left top; margin-bottom: -60px; }
  .mc-pj { padding: 0 20px; }
}

/* ---------- about ---------- */
.mc-ab { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding: clamp(24px, 3vw, 40px) var(--g) clamp(40px, 5vw, 70px); }
.mc-ab h1 { font: 700 clamp(38px, 4vw, 60px)/1 var(--serif); letter-spacing: -.03em; }
.mc-ab p { color: var(--mute); font-size: 16.5px; margin-top: 22px; max-width: 48ch; }
.mc-ph { position: relative; height: 400px; }
.mc-ph img { position: absolute; z-index: 2; width: 62%; height: 88%; object-fit: cover; left: 16%; top: 6%; }
.mc-ph .sun { width: 300px; height: 300px; right: 0; top: 0; }
.mc-ph .half { width: 200px; height: 100px; border-radius: 200px 200px 0 0; left: 0; bottom: 0; z-index: 3; }
.mc-ph .tri { border-width: 0 60px 104px 60px; right: 10px; bottom: 0; z-index: 3; }
.mc-sec { padding: clamp(56px, 6vw, 80px) var(--g) 0; }
.mc-int { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.mc-int:nth-of-type(even) .ip { order: 2; }
.mc-int .ip { position: relative; }
.mc-int .ip img { position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mc-int .ip .sun { width: 140px; height: 140px; top: -30px; left: -30px; }
.mc-int:nth-of-type(even) .ip .sun { left: auto; right: -30px; }
.mc-int:nth-of-type(3n+2) .ip .sun, .mc-int:nth-of-type(3n+2) .num { background: var(--teal); }
.mc-int:nth-of-type(3n+3) .ip .sun, .mc-int:nth-of-type(3n+3) .num { background: var(--m); }
.mc-int .num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--b); color: var(--on); font: 700 20px/1 var(--serif); margin-bottom: 14px; }
.mc-int h3 { font: 700 30px/1.1 var(--serif); margin-bottom: 12px; }
.mc-int p { color: var(--mute); }
.mc-cv { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.mc-cv h3 { font: 700 24px/1.1 var(--serif); margin-bottom: 4px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
.mc-cv h3 + h3, .mc-cv ul + h3 { margin-top: 34px; }
.mc-cv li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-cv li > span { font: 600 13px/1.5 var(--sans); color: var(--b); }
.mc-cv li b { display: block; font: 600 17px/1.3 var(--serif); }
.mc-cv li i { display: block; font-style: normal; color: var(--mute); font-size: 14px; margin-top: 2px; }
.mc-cv .courses { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.mc-cv .courses li { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); font-size: 12px; color: var(--mute); }
/* skills and tools: four plain columns on the cream, a coloured dot per group, the tools in two short columns */
.mc-tools { display: grid; grid-template-columns: 1.25fr 1fr .8fr 1fr; gap: 40px; padding: 0 var(--g); }
.mc-tools > div { padding-top: 4px; }
.mc-tools h3 { display: flex; align-items: center; gap: 10px; font: 700 20px/1.2 var(--serif); margin-bottom: 10px; }
.mc-tools h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--fb); flex: none; }
.mc-tools > :nth-child(2) h3::before { background: var(--ft); } .mc-tools > :nth-child(3) h3::before { background: var(--m); } .mc-tools > :nth-child(4) h3::before { background: var(--ink); }
.mc-tools li { color: var(--mute); font-size: 14.5px; line-height: 1.5; padding: 5px 0; }
.mc-tools > :nth-child(4) ul { columns: 2; column-gap: 24px; }
.mc-tools > :nth-child(4) li { break-inside: avoid; }
@media (max-width: 820px) {
  .mc-ab { grid-template-columns: 1fr; padding: 24px 20px 30px; gap: 20px; }
  .mc-ab h1 { font-size: 38px; } .mc-ab p { font-size: 16px; }
  .mc-ph { height: 340px; }
  .mc-ph .sun { width: 220px; height: 220px; }
  .mc-ph .half { width: 150px; height: 75px; }
  .mc-sec { padding: 56px 20px 0; }
  .mc-int { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .mc-int:nth-of-type(even) .ip { order: 0; }
  .mc-int .ip .sun { width: 100px; height: 100px; top: -20px; left: -16px; }
  .mc-int:nth-of-type(even) .ip .sun { right: -16px; }
  .mc-int h3 { font-size: 26px; }
  .mc-cv { grid-template-columns: 1fr; gap: 40px; }
  .mc-cv li { grid-template-columns: 1fr; gap: 4px; }
  .mc-tools { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
}

/* ---------- 404 ---------- */
.mc-nf { position: relative; min-height: 60vh; display: grid; align-content: center; padding: 60px var(--g); overflow: hidden; }
.mc-nf b { font: 700 clamp(90px, 14vw, 200px)/.9 var(--serif); color: var(--b); }
.mc-nf h1 { font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--serif); margin: 10px 0 12px; max-width: 18ch; }
.mc-nf p { color: var(--mute); margin-bottom: 28px; }
.mc-nf .sun { width: 300px; height: 300px; right: 8%; top: 12%; opacity: .9; }
.mc-nf .tri { border-width: 0 80px 140px 80px; right: 4%; bottom: 8%; }
@media (max-width: 820px) { .mc-nf .sh { transform: scale(.5); transform-origin: right top; } }

/* =================================================================== project pages
   They keep their older body styles (galleries, accordions, panels); these rules come last and bring them into
   the mid-century look: the same palette and type, flat cream bands, square corners, no glass or shadows. */
body.mc-case {
  --c1: var(--b); --c2: var(--teal); --c3: var(--ink); --c4: var(--m); --c: var(--b);
  --on1: #f6efe2; --on2: #f6efe2; --on3: var(--bg); --on4: #1d1918; --on-c: #f6efe2;
  --muted: var(--mute); --glass: transparent; --glass-border: var(--line); --surface-2: var(--bg2);
  --t1: var(--bg); --t2: var(--bg); --t3: var(--bg); --t4: var(--bg); --t5: var(--bg);
  --display: var(--serif); --body: var(--sans); --r: 0px; --noise: none; --soft: transparent;
  background: var(--bg); color: var(--ink); font-family: var(--sans);
}
body.mc-case .case .sec { background: var(--bg) !important; border-top: 0 !important; }
body.mc-case .case h1, body.mc-case .case h2, body.mc-case .case h3 { font-family: var(--serif) !important; letter-spacing: -.02em; }
body.mc-case .case em { color: var(--b); }
body.mc-case .case .squig { display: none !important; }
body.mc-case .case .panel, body.mc-case .case .glass { background: var(--bg2) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.mc-case .case .panel::before, body.mc-case .case .panel::after, body.mc-case .case .glass::before, body.mc-case .case .glass::after { display: none !important; }
body.mc-case .case .shot, body.mc-case .case .gallery img, body.mc-case .case .gallery video, body.mc-case .case .th-imgs img { border-radius: 0 !important; }
body.mc-case .case .shot { box-shadow: none !important; }
body.mc-case .case .sub > h2, body.mc-case .case .next-h { display: flex !important; align-items: center !important; gap: 22px; font: 700 clamp(24px, 2.2vw, 32px)/1.1 var(--serif) !important; }
body.mc-case .case .sub > h2::after, body.mc-case .case .next-h::after { content: ""; flex: 1; height: 3px; background: var(--ink); align-self: center; position: static; margin-left: 4px; }
body.mc-case .case .th-row { border-radius: 0 !important; border: 0 !important; border-top: 3px solid var(--ink) !important; background: transparent !important; box-shadow: none !important; }
body.mc-case .case .theme:last-child .th-row { border-bottom: 3px solid var(--ink) !important; }
body.mc-case .case .th-n { font-family: var(--serif) !important; color: var(--b) !important; }
body.mc-case .case .th-go { border-radius: 0 !important; }
body.mc-case .case .cq { border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.mc-case .case .cq blockquote { font: 500 italic clamp(20px, 1.9vw, 27px)/1.35 var(--serif) !important; }
body.mc-case .case .brief li, body.mc-case .case .did-card, body.mc-case .case .stats > div { border-radius: 0 !important; box-shadow: none !important; }
body.mc-case .case .pbtn, body.mc-case .case .ctabs, body.mc-case .case .ctabs label, body.mc-case .case .ct-ind { border-radius: 0 !important; }
body.mc-case .lb { border-radius: 0; }

/* the project page's own top: title, roles and summary beside the cover with shapes, then the facts strip */
.mc-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: clamp(24px, 3vw, 40px) var(--g) clamp(44px, 5vw, 64px); }
.mc-ch .mc-k { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.mc-ch h1 { font: 700 clamp(32px, 3.4vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; margin: 16px 0 18px; }
.mc-ch h1 em { font-style: italic; color: var(--b); }
.mc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mc-roles span { border: 2px solid var(--ink); padding: 5px 12px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.mc-ch .mc-sum { text-align: left;  color: var(--mute); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.mc-fr { position: relative; padding: 30px 30px 0 0; }
.mc-fr img { position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mc-fr.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mc-fr.duo img { aspect-ratio: 3 / 4; }
.mc-fr .sun { width: 200px; height: 200px; right: 0; top: 0; }
.mc-fr .half { width: 160px; height: 80px; border-radius: 0 0 160px 160px; left: -30px; bottom: -40px; z-index: 3; }
.mc-fr .bar { width: 10px; height: 240px; left: -20px; top: -10px; }
.mc-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 30px var(--g) 0; padding: 26px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); color: var(--ink); text-decoration: none; }
.mc-next small { display: block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.mc-next b { font: 700 clamp(24px, 3vw, 38px)/1.1 var(--serif); }
.mc-next .im { width: 120px; aspect-ratio: 1; flex: none; overflow: hidden; }
.mc-next .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mc-next:hover .im img { transform: scale(1.06); }
.mc-next:hover b { color: var(--b); }
@media (max-width: 820px) {
  .mc-ch { grid-template-columns: 1fr; padding: 24px 20px 40px; gap: 34px; }
  .mc-ch h1 { font-size: 30px; }
  .mc-fr .sun { width: 140px; height: 140px; }
  .mc-fr .half { width: 110px; height: 55px; border-radius: 0 0 110px 110px; left: -10px; }
  .mc-fr .bar { left: -8px; height: 180px; }
  .mc-next { margin: 20px 20px 0; }
  .mc-next .im { width: 80px; }
}
body.mc-case .mc-strip.mc-facts dd, body.mc-case .mc-strip.mc-facts dd * { font: 600 16px/1.35 var(--serif) !important; color: inherit !important; }
body.mc-case .mc-strip.mc-facts dt, body.mc-case .mc-strip.mc-facts dt * { font: 600 12px/1.3 var(--sans) !important; letter-spacing: .14em !important; color: inherit !important; }

/* ---------- usability additions ---------- */
.mc-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); font: 600 14px/1 var(--sans); text-decoration: none; transition: top .2s; }
.mc-skip:focus { top: 12px; }
.mc-eye { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.mc-hero .mc-go, .mc-nf .mc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.mc-link { font: 600 14px/1.2 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--b); padding: 6px 0 4px; }
.mc-link:hover { color: var(--b); }
/* the numbers on a project page, right under the facts */
.mc-nums { padding: clamp(40px, 5vw, 64px) var(--g) 0; }
.mc-nums h2 { font: 700 clamp(24px, 2.2vw, 32px)/1 var(--serif) !important; letter-spacing: -.02em; margin-bottom: 22px; }
.mc-nums .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.mc-nums .row > div { padding: 20px 20px 18px 0; border-bottom: 1px solid var(--line); }
.mc-nums .row b { display: block; font: 700 clamp(32px, 3vw, 44px)/1 var(--serif) !important; color: var(--b); letter-spacing: -.02em; }
.mc-nums .row span { display: block; margin-top: 8px; font: 600 12px/1.4 var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mc-nums .note { margin-top: 14px; font-size: 14px; color: var(--mute); max-width: 70ch; }
/* about: the interests as a compact row of three after the CV */
.mc-ints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.mc-ints .mc-int { display: block; margin: 0; }
.mc-ints .mc-int .ip { order: 0 !important; margin-bottom: 18px; }
.mc-ints .mc-int .ip img { aspect-ratio: 4 / 3; }
.mc-ints .mc-int .ip .sun { width: 90px; height: 90px; top: -18px; left: -18px; right: auto; }
.mc-ints .mc-int:nth-of-type(even) .ip .sun { left: auto; right: -18px; top: auto; bottom: -18px; }
.mc-ints .mc-int h3 { font-size: 23px; margin-bottom: 8px; }
.mc-ints .mc-int .num { width: 40px; height: 40px; font-size: 16px; margin-bottom: 10px; }
.mc-ints .mc-int p { font-size: 15px; line-height: 1.65; }
@media (max-width: 1000px) { .mc-ints { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mc-ints { grid-template-columns: 1fr; } }
/* project pages: the same bold headings and the same left edge as the rest of the site (type.css sets 400) */
html body.mc-case:not(#_):not(#__) :is(.mc-ch h1, .case .sub > h2, .case .panel > h2, .case .next-h, .mc-cta h2, .mc-next b, .mc-nums h2) { font-weight: 700 !important; letter-spacing: -.02em !important; }
html body.mc-case:not(#_):not(#__) .mc-bar, html body.mc-case:not(#_):not(#__) .mc-bar :is(a, .tb) { font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: .08em !important; }
html body.mc-case:not(#_):not(#__):not(#___) .case .wrap { width: auto !important; max-width: none !important; margin-inline: 0 !important; padding-inline: var(--g) !important; }
.mc-int .num { background: var(--fb); } .mc-int:nth-of-type(3n+2) .num { background: var(--ft); } .mc-int:nth-of-type(3n+3) .num { background: var(--m); color: var(--on-o); }

/* home: three smaller project cards */
.mc-feat { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 821px) {
  .mc-feat { gap: 26px 22px; }
  .mc-feat .im { aspect-ratio: 4 / 5; }
  .mc-work .mc-all { text-align: center; }
}
}
/* about: the CV in a compact card with tabs */
.mc-cvt { display: flex; flex-wrap: wrap; background: var(--bg2); padding: 8px 30px 14px; }
.mc-cvt input { position: absolute; opacity: 0; pointer-events: none; }
.mc-cvt label { order: 0; cursor: pointer; padding: 16px 2px 12px; margin-right: 28px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.mc-cvt label:hover { color: var(--ink); }
.mc-cvt input:checked + label { color: var(--b); border-bottom-color: var(--b); }
.mc-cvt input:focus-visible + label { outline: 2.5px solid var(--b); outline-offset: 3px; }
.mc-cvp { order: 1; flex-basis: 100%; display: none; list-style: none; margin: 0; padding: 4px 0 0; border-top: 1px solid var(--line); }
#cv-work:checked ~ .cv-p-work, #cv-study:checked ~ .cv-p-study, #cv-erasmus:checked ~ .cv-p-erasmus { display: block; }
.mc-cvp > li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 14px 0; }
.mc-cvp > li + li { border-top: 1px solid var(--line); }
.mc-cvp > li > span { font: 600 13px/1.5 var(--sans); color: var(--b); }
.mc-cvp b { display: block; font: 600 17px/1.3 var(--serif); }
.mc-cvp i { display: block; font-style: normal; color: var(--mute); font-size: 14px; margin-top: 2px; }
.mc-cvp .courses { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.mc-cvp .courses li { padding: 3px 8px; border: 1px solid var(--line); font-size: 12px; color: var(--mute); }
@media (min-width: 821px) { .mc-cvt { max-width: 900px; } }
@media (max-width: 820px) {
  .mc-cvt { padding: 4px 18px 10px; }
  .mc-cvt label { margin-right: 18px; font-size: 12px; }
  .mc-cvp > li { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 821px) and (max-width: 1100px) { .mc-cards:not(.mc-feat) { grid-template-columns: repeat(3, 1fr); } }

/* top bar: the page colour, the links in a soft capsule (the current page dark), round buttons */
.mc-bar, .mc-bar.stuck { background: var(--bg); border-bottom-color: transparent; }
@media (min-width: 821px) {
  .mc-bar .menu { background: var(--bg2); padding: 6px 8px; border-radius: 999px; gap: 4px; }
  .mc-bar .menu a { padding: 8px 16px; border-radius: 999px; border-bottom: 0; transition: background .2s, color .2s; }
  .mc-bar .menu a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
  .mc-bar .menu a[aria-current="page"], .mc-bar .menu a[aria-current="page"]:hover { background: var(--ink); color: var(--bg); }
}
.mc-bar .tb { border: 0; border-radius: 999px; background: var(--bg2); }
.mc-bar .tb:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 820px) {
  .mc-bar .menu { background: var(--bg); border-bottom: 1px solid var(--line); }
  .mc-bar .menu a[aria-current="page"] { color: var(--b); }
}

/* =================================================================== the refreshed home (from the approved prototype)
   lighter display weight, a smaller hero picture that drifts with the pointer, a thin strip, cards that react,
   rounded buttons and a wine contact band */
.mc h1, .mc h2, .mc h3, body.mc-case .mc-cta h2 { font-weight: 600; }
html body.mc-case:not(#_):not(#__) :is(.mc-ch h1, .case .sub > h2, .case .panel > h2, .case .next-h, .mc-cta h2, .mc-next b, .mc-nums h2) { font-weight: 600 !important; }
.mc-hero h1 { font: 600 clamp(40px, 5.2vw, 80px)/1.04 var(--serif); letter-spacing: -.02em; }
.mc-hero h1 .l { display: block; white-space: nowrap; }
.mc-hero h1 em { font-weight: 500; }
.mc-hero h1 .w { display: inline-block; }
.js .mc-hero h1 .w { animation: mc-rise .9s cubic-bezier(.22,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes mc-rise { from { transform: translateY(.45em); filter: blur(6px); opacity: .2; } }
/* the picture: a square stage; the circle holds the portrait, the quarter sits behind, half-moon and triangle in front */
.mc-comp { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; justify-self: center; }
.mc-comp .sh { position: absolute; transition: transform .6s cubic-bezier(.22,.8,.2,1); }
.mc-comp .qc { left: 2%; top: 4%; width: 34%; height: 34%; border-radius: 0 0 100% 0; background: var(--ft); z-index: 0; }
.mc-comp .sun { inset: 8% 6% 10% 10%; border-radius: 50%; background: var(--fb); overflow: hidden; z-index: 1; }
.mc-comp .sun img { position: absolute; left: 50%; bottom: 0; width: 78%; height: auto; max-width: none; translate: -50% 4%; filter: drop-shadow(14px 8px 16px rgba(30,8,14,.5)); }
.mc-comp .half { right: 20%; bottom: 0; width: 46%; height: 23%; border-radius: 999px 999px 0 0; background: var(--fo); z-index: 2; }
.mc-comp .tri { right: 0; bottom: 0; width: 34%; height: 30%; border: 0; background: var(--ft); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: 2; }
@media (max-width: 820px) { .mc-comp { max-width: 340px; margin-top: 18px; } }
/* the four areas: a thin strip, names only */
.mc-strip > li { justify-content: center; text-align: center; padding: 11px 22px !important; transition: filter .3s; }
.mc-strip > li:hover { filter: brightness(1.08); }
.mc-strip > li b { display: none; }
.mc-strip > li span { font: 600 13.5px/1.25 var(--sans); }
@media (max-width: 820px) { .mc-strip > li { padding: 10px 16px !important; } .mc-strip > li span { font-size: 12.5px; } }
/* project cards: lift, the picture grows, the number turns, a "see the project" bar slides up */
.mc-card { transition: transform .5s cubic-bezier(.22,.8,.2,1); }
.mc-card .n { transition: transform .45s cubic-bezier(.34,1.3,.5,1); }
.mc-card .see { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; padding: 10px 14px; background: var(--bg); color: var(--ink); font: 600 12.5px/1 var(--sans); transform: translateY(calc(100% + 14px)); transition: transform .5s cubic-bezier(.22,.8,.2,1); }
.mc-card:hover { transform: translateY(-6px); }
.mc-card:hover .im img { transform: scale(1.06); }
.mc-card:hover .n { transform: scale(1.12) rotate(-8deg); }
.mc-card:hover .see { transform: none; }
.mc-card:hover h3 i { transform: translateX(6px); }
.mc-card h3 { font-weight: 600; }
@media (hover: none) { .mc-card .see { display: none; } .mc-card:hover { transform: none; } }
/* rounded buttons with the arrow in a small wine circle */
.mc .mc-btn, body.mc-case .mc-btn { border: 0; border-radius: 999px; padding: 8px 8px 8px 22px; gap: 12px; background: var(--ink); color: var(--bg); font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; transition: transform .35s cubic-bezier(.34,1.3,.5,1); }
.mc-btn i { width: 36px; height: 36px; border-radius: 50%; background: var(--fb); color: #f7f1ea; display: grid; place-items: center; font-style: normal; transition: transform .4s cubic-bezier(.34,1.3,.5,1); }
.mc .mc-btn:hover, body.mc-case .mc-btn:hover { background: var(--ink); color: var(--bg); }
.mc-btn:hover i { transform: translate(3px, -2px) rotate(-30deg); }
.mc-btn:active { transform: scale(.97); }
/* contact: a full-width wine band, the title only, the address copies with one click */
.mc-cta { display: block; background: var(--fb); border-top: 0; color: #f7f1ea; margin-top: clamp(56px, 6vw, 80px); padding: clamp(36px, 4vw, 48px) var(--g); }
.mc-cta .o { display: none; }
.mc-cta h2 { font: 600 clamp(28px, 3vw, 42px)/1.05 var(--serif); letter-spacing: -.02em; }
.mc-cta .links { margin-top: 22px; align-items: center; gap: 12px; }
.mc-cta .links a { border: 1px solid rgba(247,241,234,.45); border-radius: 999px; padding: 13px 18px; text-transform: none; letter-spacing: 0; font: 600 13px/1 var(--sans); color: #f7f1ea; }
.mc-cta .links a:hover { background: #f7f1ea; color: var(--fb); }
.mc-cta .links svg { display: none; }
.mc-copy { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 10px 10px 10px 20px; border: 0; border-radius: 999px; background: #f7f1ea; color: var(--ft); font: 600 15px/1 var(--sans); cursor: pointer; transition: transform .35s cubic-bezier(.34,1.3,.5,1); }
.mc-copy .e-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-copy i { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--ft); color: #f7f1ea; font: 600 12px/1 var(--sans); font-style: normal; }
.mc-copy:active { transform: scale(.97); }
:root[data-theme="dark"] .mc-copy { color: #2b1d1f; }
@media (max-width: 820px) { .mc-cta { padding: 40px 20px; } .mc-copy { font-size: 13px; padding-left: 16px; } }
@media (prefers-reduced-motion: reduce) { .js .mc-hero h1 .w { animation: none; } .mc-comp .sh, .mc-card, .mc-card .see, .mc-btn, .mc-btn i { transition: none; } }
@media (max-width: 820px) { .mc-cards.mc-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }
/* about: a smaller opening and tighter gaps between the sections */
.mc-ab { gap: 48px; padding: clamp(16px, 2vw, 28px) var(--g) clamp(20px, 3vw, 36px); }
.mc-ab h1 { font-size: clamp(34px, 3.4vw, 50px); }
.mc-ab p { font-size: 16px; margin-top: 16px; }
.mc-ph { height: 320px; max-width: 440px; width: 100%; justify-self: end; }
.mc-ph .sun { width: 240px; height: 240px; }
.mc-ph .half { width: 160px; height: 80px; border-radius: 160px 160px 0 0; }
.mc-ph .tri { border-width: 0 48px 84px 48px; }
.mc-sec { padding-top: clamp(36px, 4vw, 52px); }
.mc-int, .mc-ints { margin-bottom: 0; }
@media (max-width: 820px) { .mc-ph { height: 290px; justify-self: center; } .mc-ph .sun { width: 200px; height: 200px; } .mc-sec { padding-top: 40px; } }
/* top bar: a soft frosted strip with a hairline and a gentle shadow; the page links as plain words with an underline
   that grows on hover and stays (in wine) under the page you are on */
.mc-bar, .mc-bar.stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 26px -22px rgba(43,29,31,.55); }
@media (min-width: 821px) {
  .mc-bar .menu { background: none; padding: 0; border-radius: 0; gap: 30px; }
  .mc-bar .menu a { position: relative; padding: 8px 0; border-radius: 0; background: none; transition: color .25s; }
  .mc-bar .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--fb); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,.8,.2,1); }
  .mc-bar .menu a:hover { background: none; color: var(--fb); }
  .mc-bar .menu a:hover::after { transform: scaleX(1); }
  .mc-bar .menu a[aria-current="page"], .mc-bar .menu a[aria-current="page"]:hover { background: none; color: var(--fb); }
  .mc-bar .menu a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { .mc-bar .menu a::after { transition: none; } }
/* CV: the three tabs listed down the left, lined up with the heading, the entries beside them */
.mc-cvt label { text-transform: none; letter-spacing: 0; font: 600 20px/1.2 var(--serif); color: var(--mute); }
.mc-cvt label small { display: block; margin-top: 3px; font: 600 11px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mc-cvt label:hover { color: var(--ink); border-left-color: var(--m); }
.mc-cvt input:checked + label { color: var(--ink); border-left-color: var(--b); }
@media (min-width: 821px) {
  .mc-cvt { display: grid; grid-template-columns: 190px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 40px; padding: 22px 0 8px; background: none; }
  .mc-cvt label { grid-column: 1; margin: 0; padding: 12px 0 12px 16px; border-bottom: 0; border-left: 3px solid var(--line); }
  .mc-cvt .mc-cvp { grid-column: 2; grid-row: 1 / span 4; border-top: 0; padding-top: 0; }
}
@media (max-width: 820px) { .mc-cvt label { font-size: 17px; margin-right: 20px; } .mc-cvt label small { display: none; } }
/* contact: the two circles beside the title, a large soft circle and a pink half-moon at the right edge */
.mc-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: center; }
.mc-cta > * { position: relative; z-index: 1; }
.mc-cta .o { display: block; width: 84px; height: 84px; border-radius: 50%; background: var(--ft); grid-row: span 2; }
.mc-cta .o::after { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%; background: var(--fo); right: -14px; bottom: -14px; }
.mc-cta .links { grid-column: 2; }
.mc-cta .dot { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.mc-cta .d1 { width: 180px; height: 180px; right: -40px; top: -70px; background: var(--ft); opacity: .55; }
.mc-cta .d2 { width: 90px; height: 45px; border-radius: 90px 90px 0 0; right: 120px; bottom: 0; background: var(--fo); opacity: .9; }
@media (max-width: 820px) {
  .mc-cta { column-gap: 24px; }
  .mc-cta .o { width: 56px; height: 56px; grid-row: 1; }
  .mc-cta .o::after { width: 28px; height: 28px; right: -8px; bottom: -8px; }
  .mc-cta .links { grid-column: 1 / -1; }
  .mc-cta .d1 { width: 120px; height: 120px; right: -50px; top: -60px; }
  .mc-cta .d2 { width: 64px; height: 32px; right: 40px; }
}
/* areas & tools: one row per area, the name on the left and its items as small outlined tags */
.mc-tools { display: block; max-width: calc(1100px + 2 * var(--g)); }
.mc-tools > div { display: grid; grid-template-columns: 270px 1fr; gap: 40px; padding: 20px 0; border-top: 1px solid var(--line); }
.mc-tools > div:last-child { border-bottom: 1px solid var(--line); }
.mc-tools h3 { margin: 0; font-size: 19px; }
.mc-tools ul, .mc-tools > :nth-child(4) ul { columns: auto; display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
.mc-tools li { padding: 6px 12px; font-size: 13.5px; line-height: 1.3; border: 1px solid var(--line); color: var(--ink); }
@media (max-width: 820px) { .mc-tools > div { grid-template-columns: 1fr; gap: 12px; } }
/* one shared grid for the CV and the areas: same left column, same gap, same right edge */
@media (min-width: 821px) {
  .mc-cvt { max-width: 1100px; grid-template-columns: 220px 1fr; column-gap: 56px; }
  .mc-cvp > li { grid-template-columns: 150px 1fr; }
  .mc-tools > div { grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
}
.mc-tools { max-width: calc(1100px + 2 * var(--g)); }
.mc-cvt label { font-size: 19px; }
.mc-tools > div { padding: 22px 0; }
.mc-tools h3 { padding-top: 3px; }
/* softer tags: a light fill instead of an outline */
.mc-tools li { border: 0; background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 7px 12px; color: var(--ink); }
/* no extra line right under the heading, as in the CV */
.mc-tools > div:first-child { border-top: 0; padding-top: 6px; }
@media (max-width: 820px) { .mc-cvt { background: none; padding: 4px 0 0; } }
/* interests: one under the other again, photo and text side by side, alternating sides */
.mc-ints { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 60px); max-width: 1000px; margin-top: 36px; }
.mc-ints .mc-int { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.mc-ints .mc-int:nth-of-type(even) { grid-template-columns: 1fr minmax(0, 420px); }
.mc-ints .mc-int .ip { margin-bottom: 0; }
.mc-ints .mc-int:nth-of-type(even) .ip { order: 2 !important; }
.mc-ints .mc-int h3 { font-size: 26px; }
.mc-ints .mc-int p { max-width: 46ch; }
@media (max-width: 820px) {
  .mc-ints .mc-int, .mc-ints .mc-int:nth-of-type(even) { grid-template-columns: 1fr; gap: 18px; }
  .mc-ints { margin-top: 24px; }
  .mc-ints .mc-int:nth-of-type(even) .ip { order: 0 !important; }
  .mc-ints .mc-int h3 { font-size: 23px; }
}
/* interests: wider, shorter photos and the text running to the end of the heading line */
.mc-ints { max-width: none; }
.mc-ints .mc-int { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.mc-ints .mc-int:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.mc-ints .mc-int .ip img { aspect-ratio: 16 / 9; }
.mc-ints .mc-int p { max-width: none; }
/* interests: each photo exactly as tall as its text */
@media (min-width: 821px) {
  .mc-ints .mc-int { align-items: stretch; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .mc-ints .mc-int:nth-of-type(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .mc-ints .mc-int .ip { min-height: 120px; }
  .mc-ints .mc-int .ip img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
/* CV a little more compact: smaller gaps and tighter rows; the areas keep the same left column */
@media (min-width: 821px) {
  .mc-cvt { grid-template-columns: 220px 1fr; column-gap: 40px; padding-top: 14px; }
  .mc-cvt label { padding: 8px 0 8px 16px; }
  .mc-cvp > li { grid-template-columns: 150px 1fr; gap: 16px; }
  .mc-tools > div { grid-template-columns: 220px 1fr; gap: 40px; }
}
.mc-cvp > li { padding: 10px 0; }
.mc-cvp b { font-size: 16.5px; }
.mc-cvp i { font-size: 13.5px; margin-top: 1px; }
/* interest photo framing: the first (mountains) shows a bit more of its top, the second (Leuven) a bit more of its bottom */
.mc-ints .mc-int:nth-of-type(1) .ip img { object-position: 50% 43%; }
.mc-ints .mc-int:nth-of-type(2) .ip img { object-position: 50% 56%; }
/* interests: justified text */
.mc-ints .mc-int p { text-align: justify; hyphens: none; }
/* phones: interests stay one column (the wider-photo columns above are for larger screens) */
@media (max-width: 820px) {
  .mc-ints .mc-int, .mc-ints .mc-int:nth-of-type(even) { grid-template-columns: 1fr; }
  .mc-ints .mc-int .ip img { aspect-ratio: 16 / 9; }
}
/* home: the hero fills most of the first screen (the strip sits a little above the fold); photo and shapes keep their size */
.mc-hero { min-height: calc(100svh - 60px - 40px - 44px); }
@media (max-width: 820px) { .mc-hero { min-height: calc(100svh - 60px - 88px); align-content: center; } }
/* home hero: a slightly deeper cream with two large, faint shapes in the site colours behind the content */
.mc-hero { background: var(--bg2); overflow: hidden; }
.mc-hero::before, .mc-hero::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.mc-hero::before { width: 62vmin; height: 62vmin; right: -10vmin; top: -14vmin; background: color-mix(in srgb, var(--fo) 26%, transparent); }
.mc-hero::after { width: 34vmin; height: 17vmin; border-radius: 34vmin 34vmin 0 0; left: -6vmin; bottom: 0; background: color-mix(in srgb, var(--fb) 8%, transparent); }
.mc-hero > * { position: relative; z-index: 1; }
:root[data-theme="dark"] .mc-hero::before { background: color-mix(in srgb, var(--fo) 9%, transparent); }
:root[data-theme="dark"] .mc-hero::after { background: color-mix(in srgb, var(--fb) 14%, transparent); }
/* home hero: the second title line starts under the second word, a wider paragraph, the buttons a little lower */
.mc-hero h1 .gh { visibility: hidden; user-select: none; }
.mc-hero p { max-width: 54ch; }
.mc-hero .mc-go { margin-top: 44px; }
@media (max-width: 820px) { .mc-hero h1 .gh { display: none; } .mc-hero .mc-go { margin-top: 28px; } }
/* room for the indented second line: a wider text column, the title a touch smaller in English (its lines run longer) */
@media (min-width: 821px) {
  .mc-hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; }
  .mc-hero h1 { font-size: clamp(40px, 5vw, 76px); }
  .mc-hero h1 > .en { font-size: .8em; }
}
/* about: a smaller photo block */
@media (min-width: 821px) {
  .mc-ph { height: 270px; max-width: 370px; }
  .mc-ph .sun { width: 200px; height: 200px; }
  .mc-ph .half { width: 130px; height: 65px; border-radius: 130px 130px 0 0; }
  .mc-ph .tri { border-width: 0 40px 70px 40px; }
}
/* about: the intro runs further right, the photo block keeps its size */
@media (min-width: 821px) {
  .mc-ab { grid-template-columns: minmax(0, 1fr) 370px; }
  .mc-ab p { max-width: 60ch; }
}
/* about: the photo block a little lower and a touch to the left */
@media (min-width: 821px) { .mc-ph { translate: -28px 26px; } }
.mc-ab p { margin-top: 40px; }
/* about: title and intro together a little lower */
@media (min-width: 821px) { .mc-ab > :first-child { translate: 0 22px; } }
/* about: the photo itself a little smaller, the shapes as they are */
@media (min-width: 821px) { .mc-ph img { width: 55%; height: 79%; left: 19%; top: 10%; } }
@media (min-width: 821px) { .mc-ph .sun { right: 40px; } .mc-ph .tri { right: 54px; } }
/* about on phones: space under the bar, a smaller title and text, a smaller photo block */
@media (max-width: 820px) {
  .mc-ab { padding-top: 40px; gap: 28px; }
  .mc-ab h1 { font-size: 32px; }
  .mc-ab p { font-size: 15px; line-height: 1.6; margin-top: 16px; }
  .mc-ph { height: 230px; max-width: 300px; width: 100%; }
  .mc-ph .sun { width: 160px; height: 160px; }
  .mc-ph .half { width: 120px; height: 60px; border-radius: 120px 120px 0 0; }
  .mc-ph .tri { border-width: 0 36px 62px 36px; }
}
/* home on phones: space under the bar, a smaller title, text and photo block */
@media (max-width: 820px) {
  .mc-hero { padding-top: 40px; }
  .mc-hero h1 { font-size: 34px; }
  .mc-hero p { font-size: 15px; line-height: 1.6; }
  .mc-hero .mc-go { margin-top: 24px; }
  .mc-comp { max-width: 270px; margin-top: 28px; }
}
/* home on phones: the whole hero and the four areas fit the first screen */
@media (max-width: 820px) {
  .mc-hero { min-height: calc(100svh - 60px - 64px); padding: 26px 20px 18px; gap: 0; align-content: center; }
  .mc-hero h1 { font-size: 31px; }
  .mc-hero p { font-size: 14.5px; line-height: 1.55; margin-top: 12px; }
  .mc-hero .mc-go { margin-top: 18px; }
  .mc-hero .mc-btn { padding: 6px 6px 6px 18px; font-size: 13.5px; }
  .mc-hero .mc-btn i { width: 32px; height: 32px; }
  .mc-comp { max-width: 205px; margin-top: 18px; }
  .mc-strip > li { padding: 8px 10px !important; min-height: 32px; }
  .mc-strip > li span { font-size: 12px; line-height: 1.2; }
}
/* home on phones: the second title line indented as on desktop, a smaller lead */
@media (max-width: 820px) {
  .mc-hero h1 .gh { display: inline; }
  .mc-hero p { font-size: 13.5px; }
}
@media (max-width: 820px) { .mc-comp { max-width: 192px; margin-top: 14px; } }
/* home hero: the areas on one line under the headline, in the title's italic, one colour; no strip below */
.mc-hero { min-height: calc(100svh - 60px); }
.mc-hero .mc-areas { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
.mc-areas li { font: 500 italic min(1.24vw, 19px)/1.3 var(--serif); color: var(--b); }
.mc-areas li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--fo); margin: 0 .6em; vertical-align: middle; translate: 0 -2px; }
.mc-hero .mc-go { margin-top: 36px; }
@media (max-width: 820px) {
  .mc-hero { min-height: calc(100svh - 60px); }
  .mc-hero .mc-areas { flex-wrap: wrap; white-space: normal; row-gap: 2px; margin-top: 16px; }
  .mc-areas li { font-size: 16px; }
  .mc-areas li:nth-child(3)::before { display: none; }
  .mc-areas li:nth-child(2) { margin-right: 40px; }
  .mc-hero .mc-go { margin-top: 22px; }
}
/* home hero: a little bigger text, two soft circles, and a gently curved bottom edge so the first screen visibly ends */
@media (min-width: 821px) {
  .mc-hero h1 { font-size: min(5.5vw, 10.4vh, 80px); }
  .mc-hero .mc-areas { margin-top: 4vh; }
  .mc-hero .mc-areas li { font-size: min(1.3vw, 19px); }
  .mc-hero .mc-go { margin-top: 5vh; }
}
.mc-hero { min-height: calc(100svh - 60px - 70px); border-radius: 0 0 50% 50% / 0 0 110px 110px; }
.mc-hero::before { width: 72vmin; height: 72vmin; right: -14vmin; top: -20vmin; background: color-mix(in srgb, var(--fo) 40%, transparent); }
.mc-hero::after { width: 64vmin; height: 64vmin; border-radius: 50%; left: -14vmin; bottom: -34vmin; background: color-mix(in srgb, var(--fb) 9%, transparent); }
@media (max-width: 820px) { .mc-hero { min-height: calc(100svh - 60px - 40px); border-radius: 0 0 50% 50% / 0 0 44px 44px; padding-bottom: 40px; } }
@media (max-width: 820px) { .mc-hero::before { width: 74vw; height: 74vw; right: -12vw; top: auto; bottom: 70px; } }
/* home hero: only as tall as its content, a deeper curve, the projects right below (as on the Quantum home) */
@media (min-width: 821px) {
  .mc-hero { min-height: 0; padding-top: 64px; padding-bottom: 110px; border-radius: 0 0 50% 50% / 0 0 90px 90px; }
  .mc-hero h1 { font-size: min(5.6vw, 82px); }
  .mc-hero .mc-areas { margin-top: 30px; }
  .mc-hero .mc-go { margin-top: 34px; }
  .mc-hero::before { width: 620px; height: 620px; right: -120px; top: -150px; }
  .mc-hero::after { width: 520px; height: 520px; left: -140px; bottom: -300px; }
  .mc-hero + .mc-work { padding-top: 56px; }
}
@media (max-width: 820px) { .mc-hero { min-height: 0; padding-top: 28px; padding-bottom: 64px; } }
/* the hero fills the whole first screen; its curve closes it at the bottom edge */
.mc-hero { min-height: calc(100svh - 60px); padding-top: 40px; padding-bottom: 110px; align-content: center; }
@media (max-width: 820px) { .mc-hero { min-height: calc(100svh - 60px); padding-top: 24px; padding-bottom: 64px; } }
/* not quite to the bottom: a little of the next section shows under the curve */
.mc-hero { min-height: calc(100svh - 60px - 110px); }
@media (max-width: 820px) { .mc-hero { min-height: calc(100svh - 60px - 56px); } }
/* desktop: the hero ends just above the bottom edge, the next section stays out of sight */
.mc-hero { min-height: calc(100svh - 60px - 40px); }
/* phones: space above the title, the areas small on one line, the buttons on the left and the photo with its shapes on the right */
@media (max-width: 820px) {
  .mc-hero { grid-template-columns: minmax(0,1fr) 42%; grid-template-rows: auto auto auto; column-gap: 8px; align-content: center; padding-top: 0; padding-bottom: 64px; }
  .mc-hero > div:first-child { display: contents; }
  .mc-hero h1 { grid-column: 1 / -1; grid-row: 1; }
  .mc-hero .mc-areas { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; white-space: nowrap; margin-top: 14px; }
  .mc-hero .mc-areas li { font-size: min(2.2vw, 11px); letter-spacing: -.01em; }
  .mc-hero .mc-areas li:nth-child(2) { margin-right: 0; }
  .mc-hero .mc-areas li:nth-child(3)::before { display: inline-block; }
  .mc-hero .mc-areas li + li::before { margin: 0 .45em; width: 3px; height: 3px; }
  .mc-hero .mc-go { grid-column: 1; grid-row: 3; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; align-self: center; }
  .mc-hero > .mc-comp { grid-column: 2; grid-row: 3; max-width: none; width: 100%; margin: 26px 0 0; align-self: center; }
}
@media (max-width: 820px) {
  .mc-hero { min-height: calc(100svh - 60px - 14px); }
  .mc-hero .mc-btn { white-space: nowrap; font-size: 12.5px; padding: 6px 6px 6px 16px; gap: 10px; }
  .mc-hero .mc-btn i { width: 30px; height: 30px; }
  .mc-hero .mc-link { font-size: 13px; }
}
@media (max-width: 820px) { .mc-hero h1 > .en { font-size: .8em; } }
/* phones: the title a little higher, the areas two and two and a touch larger, the buttons below */
@media (max-width: 820px) {
  .mc-hero { align-content: start; padding-top: 52px; }
  .mc-hero .mc-areas { flex-wrap: wrap; white-space: normal; row-gap: 3px; margin-top: 16px; }
  .mc-hero .mc-areas li { font-size: 14px; letter-spacing: 0; }
  .mc-hero .mc-areas li + li::before { width: 4px; height: 4px; margin: 0 .55em; }
  .mc-hero .mc-areas li:nth-child(3)::before { display: none; }
  .mc-hero .mc-areas li:nth-child(2) { margin-right: 30px; }
  .mc-hero .mc-go, .mc-hero > .mc-comp { margin-top: 30px; }
}
@media (max-width: 820px) {
  .mc-hero { align-content: center; padding-top: 20px; padding-bottom: 120px; }
  .mc-hero .mc-areas::before { content: ""; flex-basis: 100%; height: 0; order: 2; }
  .mc-hero .mc-areas li:nth-child(-n+2) { order: 1; }
  .mc-hero .mc-areas li:nth-child(n+3) { order: 3; }
  .mc-hero .mc-areas li:nth-child(2) { margin-right: 0; }
  .mc-hero .mc-areas li:nth-child(4)::before { display: inline-block; }
}
/* phones: the areas one under the other, no dots */
@media (max-width: 820px) {
  .mc-hero .mc-areas { flex-direction: column; align-items: flex-start; row-gap: 4px; }
  .mc-hero .mc-areas::before { display: none; }
  .mc-hero .mc-areas li { order: 0 !important; }
  .mc-hero .mc-areas li + li::before, .mc-hero .mc-areas li:nth-child(4)::before { display: none; }
}
/* phones: title; below it the areas (one under the other) beside the photo and its shapes; the two buttons under both */
@media (max-width: 820px) {
  .mc-hero { grid-template-columns: minmax(0, 1fr) 44%; column-gap: 10px; }
  .mc-hero .mc-areas { grid-column: 1; grid-row: 2; align-self: center; margin-top: 26px; row-gap: 8px; }
  .mc-hero > .mc-comp { grid-column: 2; grid-row: 2; align-self: center; margin-top: 26px; }
  .mc-hero .mc-go { grid-column: 1 / -1; grid-row: 3; flex-direction: row; align-items: center; gap: 12px 22px; margin-top: 30px; align-self: start; }
}
/* the soft circles stay behind the text and buttons (the wrapper is display: contents on phones) */
.mc-hero h1, .mc-hero .mc-areas, .mc-hero .mc-go { position: relative; z-index: 1; }
/* phones: everything spread a little more from top to bottom */
@media (max-width: 820px) {
  .mc-hero .mc-areas { margin-top: 40px; row-gap: 11px; }
  .mc-hero > .mc-comp { margin-top: 40px; }
  .mc-hero .mc-go { margin-top: 44px; }
}
@media (max-width: 820px) { .mc-hero { padding-top: 56px; padding-bottom: 84px; } }
@media (max-width: 820px) { .mc-hero { min-height: calc(100svh - 60px - 80px); padding-top: 40px; padding-bottom: 72px; } }
@media (max-width: 820px) { .mc-hero::before { width: 62vw; height: 62vw; right: -26vw; top: 120px; bottom: auto; } }
@media (max-width: 820px) { .mc-hero::before { width: 82vw; height: 82vw; right: -40vw; top: 84px; } }
@media (max-width: 820px) { .mc-hero::after { width: 104vw; height: 104vw; left: -24vw; bottom: -34vw; } }
@media (max-width: 820px) { .mc-hero::before { width: 96vw; height: 96vw; right: -48vw; top: -40vw; } .mc-hero::after { width: 70vw; height: 70vw; left: -26vw; bottom: -26vw; } }
@media (max-width: 820px) { .mc-hero::before { width: 118vw; height: 118vw; right: -59vw; top: calc(31px - 59vw); } }
/* a thin wine line along the hero's curved bottom edge */
.mc-hero { border-bottom: 2px solid color-mix(in srgb, var(--fb) 55%, transparent); }
@media (max-width: 820px) { .mc-hero h1 { margin-top: 14px; } .mc-hero .mc-areas, .mc-hero > .mc-comp { margin-top: 28px; } }
/* phones: a small wine star before each area */
@media (max-width: 820px) {
  .mc-hero .mc-areas li { display: flex; align-items: center; gap: 9px; }
  .mc-hero .mc-areas li::before, .mc-hero .mc-areas li + li::before { content: "✦"; display: block; width: auto; height: auto; margin: 0; translate: 0 -1px; background: none; border-radius: 0; color: var(--fb); font: normal 13px/1 var(--sans); flex: none; }
}
@media (max-width: 820px) { .mc-hero .mc-areas li:nth-child(n)::before { display: block; } }
@media (max-width: 380px) { .mc-hero .mc-areas li { font-size: 13px; gap: 7px; } .mc-hero { grid-template-columns: minmax(0, 1fr) 40%; } }
@media (min-width: 381px) and (max-width: 440px) { .mc-hero .mc-areas li { font-size: 13.5px; gap: 8px; } .mc-hero { grid-template-columns: minmax(0, 1fr) 41%; } }
@media (max-width: 820px) { .mc-hero .mc-areas li:nth-child(n)::before { color: var(--fo); } }
/* desktop: the pink circle is drawn from the photo block: round at the top, reaching the photo's circle, cut only by the right edge */
@media (min-width: 821px) {
  .mc-hero::before { display: none; }
  .mc-comp::before { content: ""; position: absolute; z-index: -1; width: 190%; height: 190%; left: 25%; top: -85%; border-radius: 50%; background: color-mix(in srgb, var(--fo) 40%, transparent); pointer-events: none; }
}
/* a soft shadow under the hero's curve, so it reads as a raised layer */
.mc-hero { position: relative; z-index: 1; box-shadow: 0 22px 34px -20px rgba(60, 31, 44, .38); }
:root[data-theme="dark"] .mc-hero { box-shadow: 0 22px 34px -20px rgba(0, 0, 0, .7); }
:root[data-theme="dark"] .mc-comp::before { background: color-mix(in srgb, var(--fo) 9%, transparent); }
/* a faint pink wash towards the hero's curve */
.mc-hero { background-image: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--fo) 30%, transparent) 100%); }
:root[data-theme="dark"] .mc-hero { background-image: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--fo) 7%, transparent) 100%); }
/* the curve's line tapers: hairline at the sides, a little thicker in the middle (the rounded corners blend the 0px side borders into the bottom one) */
.mc-hero { border-bottom-width: 4px; border-left: 0; border-right: 0; }
@media (max-width: 820px) { .mc-hero { border-bottom-width: 3px; } }
/* TikTok project: show both phones whole (the image has a transparent background) */
.page-tiktok .mc-fr img { aspect-ratio: auto; height: auto; max-height: 460px; object-fit: contain; }
/* the hero's style carried through the site */
/* section heading line: wine, tapering to a point */
.mc-hd > span { height: 4px; background: var(--fb); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: .7; }
/* contact: a curved top with a pink line and a soft shadow, mirroring the hero */
.mc-cta { border-radius: 50% 50% 0 0 / 70px 70px 0 0; border-top: 4px solid color-mix(in srgb, var(--fo) 80%, transparent); border-left: 0; border-right: 0; box-shadow: 0 -20px 34px -22px rgba(60, 31, 44, .35); padding-top: 80px; }
/* about and projects openings: a small hero, each page in its own faint colour */
.mc-top, .mc-ab { --pc: var(--fo); position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--pc) 8%, transparent) 100%),
    radial-gradient(circle 300px at calc(100% + 60px) -60px, color-mix(in srgb, var(--pc) 11%, transparent) 99%, transparent 100%),
    radial-gradient(circle 220px at -60px calc(100% + 40px), color-mix(in srgb, var(--pc) 6%, transparent) 99%, transparent 100%), var(--bg2);
  border-radius: 0 0 50% 50% / 0 0 70px 70px; border-bottom: 4px solid color-mix(in srgb, var(--pc) 30%, transparent); border-left: 0; border-right: 0;
  box-shadow: 0 22px 34px -22px rgba(60, 31, 44, .28); }
.mc-ab { --pc: #8a6f9e; padding-bottom: clamp(70px, 7vw, 100px); margin-bottom: 20px; }
.mc-top { --pc: #6f8199; align-items: center; padding-top: 6px; padding-bottom: 26px; margin-bottom: 72px; border-radius: 0 0 50% 50% / 0 0 36px 36px; }
.mc-top h1 { font-size: clamp(34px, 3.4vw, 48px); }
.mc-top p { margin-top: 12px; }
.mc-top .mc-mini { transform: scale(.5); transform-origin: right center; }
@media (max-width: 820px) {
  .mc-top { padding-top: 22px; padding-bottom: 24px; margin-bottom: 44px; }
  .mc-top h1 { font-size: 32px; }
  .mc-top .mc-mini { display: none; }
}
/* project cards: rounded, a soft shadow, a small lift on hover */
.mc-card .im { border-radius: 14px; box-shadow: 0 16px 28px -20px rgba(60, 31, 44, .55); }
.mc-card:hover { transform: translateY(-4px); }
/* faint stars before the tool tags */
.mc-tools li::before { content: "✦"; color: var(--fo); margin-right: 7px; font-size: 11px; }
/* project pages in the new style */
/* role tags: soft rounded pills instead of square black boxes */
.mc-roles span { border: 1px solid color-mix(in srgb, var(--fb) 30%, transparent); border-radius: 999px; padding: 6px 13px; background: color-mix(in srgb, var(--fo) 18%, transparent); color: var(--ink); text-transform: none; letter-spacing: .01em; font: 600 12.5px/1 var(--sans); }
/* facts: a quiet row instead of four coloured blocks */
html body.mc-case:not(#_) .mc-strip.mc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 var(--g); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html body.mc-case:not(#_) .mc-strip.mc-facts > div { background: none !important; color: var(--ink) !important; padding: 18px 20px 18px 16px !important; position: relative; }
html body.mc-case:not(#_) .mc-strip.mc-facts > div + div { border-left: 1px solid var(--line); }
html body.mc-case:not(#_) .mc-strip.mc-facts > div::before { content: "✦"; position: absolute; left: 16px; top: 17px; color: var(--fo); font-size: 11px; }
html body.mc-case:not(#_) .mc-strip.mc-facts dt { padding-left: 16px; color: var(--mute) !important; opacity: 1; }
@media (max-width: 820px) { html body.mc-case:not(#_) .mc-strip.mc-facts { grid-template-columns: 1fr 1fr; margin: 0 20px; } html body.mc-case:not(#_) .mc-strip.mc-facts > div:nth-child(3) { border-left: 0; } html body.mc-case:not(#_) .mc-strip.mc-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
/* section headings: the tapered wine line */
html body.mc-case:not(#_) .case .sub > h2::after, html body.mc-case:not(#_) .case .next-h::after { height: 4px; background: var(--fb); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: .7; }
html body.mc-case:not(#_) .mc-nums .row { border-top: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--fb) 70%, transparent), transparent) top / 100% 2px no-repeat; }
/* next project: hairlines instead of thick black rules */
.mc-next { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mc-next .im { border-radius: 12px; }
/* rows, panels and images: the same soft rounding as the project cards */
html body.mc-case:not(#_) .case .th-row { border-top: 1px solid var(--line) !important; }
html body.mc-case:not(#_) .case .theme:last-child .th-row { border-bottom: 1px solid var(--line) !important; }
html body.mc-case:not(#_) .case .shot, html body.mc-case:not(#_) .case .gallery img, html body.mc-case:not(#_) .case .gallery video, html body.mc-case:not(#_) .case .th-imgs img { border-radius: 10px !important; }
html body.mc-case:not(#_) .case .panel { border-radius: 14px !important; }
/* no numbers on the project cards */
.mc-card .n { display: none; }
/* one button style across the site: rounded, normal case, the home buttons' type */
html body.mc-case:not(#_):not(#__):not(#___) :is(.case .th-go, .case .ctabs label, .pbtn) { font: 600 13.5px/1 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; border-radius: 999px !important; padding: 12px 20px !important; }
html body.mc-case:not(#_):not(#__):not(#___) :is(.case .th-go, .case .ctabs label, .pbtn) * { font: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
/* hero fixes from the review: the About link reads as a link, room between the title and the photo */
.mc-hero .mc-go .mc-link { color: var(--ink); }
.mc-hero .mc-go .mc-link:hover { color: var(--b); }
@media (min-width: 821px) {
  .mc-hero h1 { font-size: min(5vw, 9.6vh, 72px); }
  .mc-hero h1 > .en { font-size: .78em; }
}
/* phones: a larger photo block beside the areas */
@media (max-width: 820px) { .mc-hero { grid-template-columns: minmax(0, 1fr) 50%; } .mc-hero .mc-areas li { font-size: 13px; } }
/* the dots between the areas in wine, so they show */
.mc-hero .mc-areas li + li::before { background: var(--b); opacity: .55; width: 5px; height: 5px; }
@media (max-width: 820px) { .mc-hero .mc-areas li:nth-child(n)::before { background: none; opacity: 1; width: auto; height: auto; } }
/* dark theme: the square and triangle beside the photo a step lighter so they stand off the background */
:root[data-theme="dark"] .mc-comp .qc, :root[data-theme="dark"] .mc-comp .tri { background: #6b3a52; }
@media (min-width: 821px) { .mc-hero { min-height: calc(100svh - 60px - 80px); } }
@media (min-width: 821px) { .mc-hero + .mc-work { padding-top: 100px; } }
/* the pink wash only just above the curve, and softer */
.mc-hero { background-image: linear-gradient(180deg, transparent 65%, color-mix(in srgb, var(--fo) 16%, transparent) 100%); }
:root[data-theme="dark"] .mc-hero { background-image: linear-gradient(180deg, transparent 65%, color-mix(in srgb, var(--fo) 5%, transparent) 100%); }
/* footer: the colour of the contact band's dark circle, so the page closes on one dark base */
.mc-foot { background: color-mix(in srgb, var(--ft) 55%, var(--fb)); color: #ecd8d5; }
.mc-foot a { color: #f7f1ea; }
.mc-foot a:hover { color: var(--fo); }
/* a slightly taller top bar; the hero keeps ending at the same place on screen */
.mc-bar { height: 72px; }
@media (min-width: 821px) { .mc-hero { min-height: calc(100svh - 72px - 80px); } }
@media (max-width: 820px) { .mc-bar { height: 66px; } .mc-hero { min-height: calc(100svh - 66px - 80px); } }
/* smaller titles across the site */
html body:not(#_):not(#__):not(#___) .mc-ch h1 { font-size: clamp(30px, 3.2vw, 46px) !important; }
html body:not(#_):not(#__):not(#___) :is(.case .sub > h2, .case .panel > h2, .case .next-h, .mc-nums h2) { font-size: clamp(22px, 1.95vw, 28px) !important; }
html body:not(#_):not(#__):not(#___) .mc-next b { font-size: clamp(21px, 2.1vw, 30px) !important; }
html body:not(#_):not(#__):not(#___) .mc-cta h2 { font-size: clamp(25px, 2.4vw, 34px) !important; }
.mc-hd h2, .mc-hd > b { font-size: clamp(23px, 1.95vw, 28px); }
.mc-top h1 { font-size: clamp(30px, 2.8vw, 40px); }
.mc-ab h1 { font-size: clamp(30px, 2.9vw, 42px); }
.mc-ints .mc-int h3 { font-size: 22px; }
@media (min-width: 821px) { .mc-hero h1 { font-size: min(4.4vw, 8.6vh, 64px); } }
@media (max-width: 820px) {
  .mc-hero h1 { font-size: 28px; }
  .mc-top h1, .mc-ab h1 { font-size: 28px; }
  .mc-ints .mc-int h3 { font-size: 20px; }
}
/* logo and newsletter projects: show the whole cover image, no crop */
:is(.page-creative, .page-european-parliament) .mc-fr img { aspect-ratio: auto; height: auto; object-fit: contain; }
:is(.page-creative, .page-european-parliament) .mc-fr .half { z-index: 1; }
/* the long KU Leuven title a step smaller */
html body:not(#_):not(#__):not(#___) .page-ku-leuven .mc-ch h1 { font-size: clamp(26px, 2.6vw, 38px) !important; }
