:root {
  --bg: #090909;
  --glass: rgba(255, 255, 255, .072);
  --glass-strong: rgba(255, 255, 255, .105);
  --line: rgba(255, 255, 255, .16);
  --line-soft: rgba(255, 255, 255, .085);
  --text: #f9f9f9;
  --muted: #afafaf;
  --accent: #a8a8a8;
  --accent-bright: #dddddd;
  --green: #67dda3;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(120,120,120, .23), transparent 32%),
    radial-gradient(circle at 8% 90%, rgba(93,93,93, .2), transparent 34%),
    linear-gradient(145deg, #0d0d0d 0%, #070707 48%, #101010 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }

.backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(circle at 54% 44%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 54% 44%, #000 0%, transparent 72%);
}
.backdrop::after {
  content: ""; position: absolute; width: 62vw; height: 62vw; left: 27vw; top: 18vh;
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  border: 1px solid rgba(200,200,200, .08);
  background: radial-gradient(circle at 35% 28%, rgba(189,189,189,.1), rgba(87,87,87,.025) 45%, transparent 68%);
  filter: blur(1px); transform: rotate(-14deg);
  animation: liquid-turn 28s ease-in-out infinite alternate;
}
.backdrop span { position: absolute; border-radius: 50%; filter: blur(105px); opacity: .34; }
.backdrop span:first-child { width: 45vw; height: 45vw; top: -24vw; right: -2vw; background: #707070; animation: drift-one 17s ease-in-out infinite alternate; }
.backdrop span:last-child { width: 38vw; height: 38vw; bottom: -21vw; left: -5vw; background: #4b4b4b; animation: drift-two 22s ease-in-out infinite alternate; }

.topbar {
  position: fixed; inset: 14px 18px auto; z-index: 20;
  min-height: 60px; padding: 0 clamp(18px, 2.7vw, 36px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  backdrop-filter: blur(34px) saturate(185%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 48px rgba(0,0,0,.22);
}
.topbar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,.12), transparent 28%, transparent 72%, rgba(175,175,175,.055)); }
.topbar-public .live { grid-column: 2; }
.live { position: relative; display: flex; align-items: center; gap: 12px; color: #c4c4c4; font-size: .75rem; letter-spacing: .075em; text-transform: uppercase; }
.live > span, .live > a { white-space: nowrap; }
.live span + span:not(.live-dot)::before { content: "/"; margin-right: 12px; color: #656565; }
.live .clock-link + span::before { content: "/"; margin-right: 12px; color: #656565; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(103,221,163,.75); }
.clock-link { position: relative; z-index: 2; padding: 7px 9px; margin: -7px -9px; border-radius: 10px; color: #f4f4f4; text-decoration: none; transition: background .25s, box-shadow .25s; }
.clock-link:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.back-home { position: relative; z-index: 2; justify-self: start; padding: 9px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #dadada; background: rgba(255,255,255,.05); font-size: .74rem; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.topbar-spacer { justify-self: end; width: 74px; }
.mobile-topbar-actions { display: none; }

.page-shell { position: relative; z-index: 2; min-height: 100svh; padding: 88px 18px 18px; display: grid; grid-template-columns: minmax(310px, 34vw) 1fr; gap: 18px; }
.identity {
  position: sticky; top: 88px; align-self: start; height: calc(100svh - 106px);
  padding: clamp(38px, 5vw, 76px) clamp(24px, 4vw, 64px) 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; border: 1px solid var(--line); border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035) 52%, rgba(147,147,147,.055));
  -webkit-backdrop-filter: blur(40px) saturate(170%);
  backdrop-filter: blur(40px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04), 0 30px 75px rgba(0,0,0,.26);
}
.identity::before { content: ""; position: absolute; width: 82%; height: 34%; left: 4%; top: -21%; border-radius: 50%; background: rgba(255,255,255,.17); filter: blur(36px); transform: rotate(-9deg); pointer-events: none; }
.identity-copy { position: relative; z-index: 2; padding-top: clamp(18px, 4vh, 52px); }
.overline { margin: 0 0 25px; color: var(--accent-bright); font-size: .75rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.overline span { color: #757575; }
h1 { margin: 0; font-size: clamp(4.1rem, 7.1vw, 8.2rem); line-height: .79; letter-spacing: -.075em; font-weight: 590; text-shadow: 0 12px 42px rgba(0,0,0,.24); }
h1 span { color: var(--accent); text-shadow: 0 0 28px rgba(168,168,168,.26); }
.descriptor { margin: clamp(28px, 5vh, 52px) 0 0; color: #c6c6c6; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.55; }
.identity-actions { position: relative; z-index: 3; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin-top: 28px; }
.language-switch { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.language-option { min-width: 38px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; color: #9a9a9a; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 650; letter-spacing: .08em; transition: color .25s, background .25s, box-shadow .25s; }
.language-option:hover { color: #fff; }
.language-option.active { color: #0f0f0f; background: linear-gradient(135deg, #e9e9e9, #c2c2c2); box-shadow: 0 7px 20px rgba(96,96,96,.22); }
.contact-download { width: 166px; min-height: 42px; padding: 0 15px; flex: 0 0 166px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #ececec; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: transform .28s, border-color .28s, background .28s; }
.contact-download span { white-space: nowrap; }
.contact-download i { color: var(--accent-bright); font-size: 1rem; font-style: normal; }
.contact-download:hover { transform: translateY(-2px); border-color: rgba(221,221,221,.34); background: rgba(255,255,255,.11); }
html[lang="fr"] .contact-download { padding-inline: 13px; font-size: .69rem; letter-spacing: .045em; }
.monogram { position: absolute; right: -4vw; bottom: 3vh; color: transparent; font-size: clamp(18rem, 37vw, 44rem); font-weight: 800; line-height: .7; letter-spacing: -.12em; -webkit-text-stroke: 1px rgba(213,213,213,.14); filter: drop-shadow(0 0 28px rgba(133,133,133,.09)); user-select: none; }
.identity-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; color: #909090; font-size: .75rem; letter-spacing: .12em; }

.directory { min-width: 0; padding: clamp(36px, 4vw, 64px) clamp(12px, 4vw, 66px) 54px; }
.directory-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(42px, 5vw, 68px); }
.directory-head .overline { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.7rem); line-height: .9; letter-spacing: -.058em; font-weight: 560; text-shadow: 0 10px 34px rgba(0,0,0,.2); }
.directory-head > p { max-width: 285px; margin: 0 0 5px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.group + .group { margin-top: 58px; }
.group-title { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; margin-bottom: 15px; }
.group-title span, .group-title i { color: #b8b8b8; font-size: .72rem; letter-spacing: .1em; font-style: normal; text-transform: uppercase; }
.group-title h3 { margin: 0; font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.cards { display: grid; gap: 14px; }
.cards-personal { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-personal .primary-email { grid-column: 1 / -1; min-height: 156px; }
.cards-personal .phone-contact { grid-column: span 3; }
.cards-personal .social-contact { grid-column: span 2; }
.cards-work { grid-template-columns: 1fr 1fr; }
.cards-addresses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-card {
  --mx: 50%; --my: 0%;
  position: relative; min-width: 0; min-height: 190px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045) 48%, rgba(131,131,131,.055));
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  backdrop-filter: blur(34px) saturate(185%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(255,255,255,.035), 0 18px 45px rgba(0,0,0,.18);
  text-decoration: none; isolation: isolate;
  transition: transform .36s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, background .3s;
}
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.24), transparent 58%); opacity: .56; transition: opacity .3s; }
.contact-card::after { content: ""; position: absolute; z-index: -2; width: 210px; height: 210px; right: -105px; bottom: -125px; border-radius: 50%; background: linear-gradient(135deg, #bdbdbd, #727272); filter: blur(48px); opacity: .08; transition: opacity .35s, transform .45s; }
.contact-card:hover { transform: translateY(-5px) scale(1.012); border-color: rgba(221,221,221,.34); background: linear-gradient(145deg, rgba(255,255,255,.145), rgba(255,255,255,.055) 54%, rgba(148,148,148,.085)); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 24px 60px rgba(0,0,0,.25); }
.contact-card:hover::before { opacity: .92; }
.contact-card:hover::after { opacity: .2; transform: translate(-10px,-8px) scale(1.1); }
.contact-card.featured { background: linear-gradient(145deg, rgba(174,174,174,.2), rgba(255,255,255,.06) 52%, rgba(106,106,106,.12)); border-color: rgba(211,211,211,.26); }
.contact-card.compact, .contact-card.wide { min-height: 190px; }
.card-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(228,228,228,.24); border-radius: 13px; color: var(--accent-bright); background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 9px 24px rgba(0,0,0,.14); font-size: .75rem; font-weight: 700; }
.brand-icon svg { width: 22px; height: 22px; overflow: visible; }
.x-icon path { fill: currentColor; }
.instagram-icon rect,
.instagram-icon circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.instagram-icon .instagram-dot { fill: currentColor; stroke: none; }
.spotify-icon path { fill: currentColor; }
.contact-card small { position: absolute; top: 27px; left: 75px; right: 48px; overflow: hidden; color: #d1d1d1; font-size: .75rem; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.contact-card strong { max-width: 100%; overflow: hidden; color: #f8f8f8; font-size: clamp(1.05rem, 1.65vw, 1.52rem); font-weight: 440; line-height: 1.13; letter-spacing: -.035em; text-overflow: ellipsis; text-shadow: 0 8px 24px rgba(0,0,0,.24); white-space: nowrap; }
.contact-card > i { position: absolute; top: 27px; right: 23px; color: #949494; font-size: 1rem; font-style: normal; transition: color .25s, transform .25s; }
.contact-card:hover > i { color: var(--accent-bright); transform: translate(3px,-3px); }
.contact-card-multi { min-height: 244px; }
.contact-card-multi small { right: 22px; }
.contact-card-multi .phone-number { position: absolute; top: 78px; left: 22px; right: 22px; overflow: visible; font-size: clamp(1.05rem, 1.35vw, 1.32rem); letter-spacing: -.025em; text-overflow: clip; }
.message-options { position: absolute; left: 22px; right: 22px; bottom: 18px; display: grid; gap: 5px; }
.message-options a { min-height: 29px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; color: #f3f3f3; background: rgba(255,255,255,.055); text-decoration: none; font-size: .875rem; font-weight: 560; letter-spacing: .02em; transition: border-color .22s, background .22s, transform .22s; }
.message-options a:hover { transform: translateX(2px); border-color: rgba(221,221,221,.3); background: rgba(255,255,255,.11); }
.message-options i { color: #9e9e9e; font-style: normal; transition: color .22s, transform .22s; }
.message-options a:hover i { color: var(--accent-bright); transform: translate(2px,-2px); }
.address-copy { margin-top: auto; min-width: 0; display: grid; gap: 8px; }
.address-copy strong { display: block; overflow: visible; font-size: clamp(1rem, 1.35vw, 1.28rem); line-height: 1.2; text-overflow: clip; white-space: normal; }
.address-street { color: var(--text); font-size: .92rem; line-height: 1.25; }
.address-locality { color: var(--muted); font-size: .82rem; line-height: 1.35; letter-spacing: .01em; white-space: normal; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eeeeee;
  --glass: rgba(255,255,255,.62);
  --glass-strong: rgba(255,255,255,.78);
  --line: rgba(69,69,69,.17);
  --line-soft: rgba(69,69,69,.1);
  --text: #1f1f1f;
  --muted: #6e6e6e;
  --accent: #7f7f7f;
  --accent-bright: #565656;
  --green: #23996a;
}
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 82% 8%, rgba(150,150,150,.27), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(173,173,173,.2), transparent 36%),
    linear-gradient(145deg, #fafafa 0%, #eeeeee 50%, #f7f7f7 100%);
}
html[data-theme="light"] .backdrop::before {
  background:
    linear-gradient(rgba(65,65,65,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,65,65,.035) 1px, transparent 1px);
}
html[data-theme="light"] .backdrop::after {
  border-color: rgba(113,113,113,.12);
  background: radial-gradient(circle at 35% 28%, rgba(169,169,169,.18), rgba(139,139,139,.04) 48%, transparent 70%);
}
html[data-theme="light"] .backdrop span:first-child { background: #a7a7a7; opacity: .23; }
html[data-theme="light"] .backdrop span:last-child { background: #b3b3b3; opacity: .2; }
html[data-theme="light"] .topbar {
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(248,248,248,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 18px 45px rgba(92,92,92,.13);
}
html[data-theme="light"] .topbar::before { background: linear-gradient(105deg, rgba(255,255,255,.7), transparent 30%, transparent 72%, rgba(150,150,150,.1)); }
html[data-theme="light"] .live { color: #6a6a6a; }
html[data-theme="light"] .live span + span:not(.live-dot)::before,
html[data-theme="light"] .live .clock-link + span::before { color: #a5a5a5; }
html[data-theme="light"] .clock-link { color: #232323; }
html[data-theme="light"] .clock-link:hover { background: rgba(87,87,87,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
html[data-theme="light"] .back-home { color: #515151; border-color: rgba(69,69,69,.16); background: rgba(255,255,255,.48); }
html[data-theme="light"] .identity {
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(255,255,255,.43) 54%, rgba(157,157,157,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(90,90,90,.04), 0 30px 72px rgba(91,91,91,.16);
}
html[data-theme="light"] .identity::before { background: rgba(255,255,255,.7); }
html[data-theme="light"] h1,
html[data-theme="light"] h2 { text-shadow: 0 10px 35px rgba(80,80,80,.12); }
html[data-theme="light"] .descriptor { color: #5c5c5c; }
html[data-theme="light"] .monogram { -webkit-text-stroke-color: rgba(107,107,107,.15); filter: drop-shadow(0 0 28px rgba(133,133,133,.08)); }
html[data-theme="light"] .identity-footer,
html[data-theme="light"] .group-title span,
html[data-theme="light"] .group-title i { color: #595959; }
html[data-theme="light"] .language-switch { border-color: rgba(69,69,69,.16); background: rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
html[data-theme="light"] .language-option { color: #707070; }
html[data-theme="light"] .language-option:hover { color: #303030; }
html[data-theme="light"] .contact-download { color: #323232; border-color: rgba(69,69,69,.17); background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(244,244,244,.48)); box-shadow: inset 0 1px 0 rgba(255,255,255,.96); }
html[data-theme="light"] .contact-download:hover { border-color: rgba(104,104,104,.32); background: rgba(255,255,255,.84); }
html[data-theme="light"] .contact-card {
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(250,250,250,.5) 50%, rgba(159,159,159,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 rgba(75,75,75,.035), 0 18px 42px rgba(88,88,88,.13);
}
html[data-theme="light"] .contact-card::before { background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.92), transparent 60%); opacity: .5; }
html[data-theme="light"] .contact-card:hover { border-color: rgba(113,113,113,.32); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,250,250,.67) 54%, rgba(153,153,153,.16)); box-shadow: inset 0 1px 0 #fff, 0 24px 58px rgba(88,88,88,.17); }
html[data-theme="light"] .contact-card.featured { background: linear-gradient(145deg, rgba(220,220,220,.7), rgba(255,255,255,.66) 52%, rgba(166,166,166,.19)); border-color: rgba(121,121,121,.25); }
html[data-theme="light"] .card-icon { color: #565656; border-color: rgba(94,94,94,.2); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(234,234,234,.56)); box-shadow: inset 0 1px 0 #fff, 0 9px 22px rgba(87,87,87,.1); }
html[data-theme="light"] .contact-card small { color: #535353; }
html[data-theme="light"] .contact-card strong { color: #212121; text-shadow: none; }
html[data-theme="light"] .contact-card > i { color: #828282; }
html[data-theme="light"] .message-options a { color: #2f2f2f; border-color: rgba(69,69,69,.13); background: rgba(255,255,255,.58); }
html[data-theme="light"] .message-options a:hover { border-color: rgba(104,104,104,.28); background: rgba(255,255,255,.88); }
html[data-theme="light"] .message-options i { color: #797979; }
html[data-theme="light"] .address-locality { color: #6e6e6e; }

/* Liquid Glass refinement */
:root {
  --liquid-panel:
    radial-gradient(130% 95% at 8% -8%, rgba(255,255,255,.16), transparent 45%),
    radial-gradient(95% 115% at 100% 100%, rgba(138,138,138,.1), transparent 57%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.034) 48%, rgba(255,255,255,.016));
  --liquid-panel-strong:
    radial-gradient(120% 100% at 4% -10%, rgba(255,255,255,.2), transparent 43%),
    radial-gradient(95% 110% at 100% 100%, rgba(131,131,131,.13), transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.042) 50%, rgba(255,255,255,.02));
  --liquid-bar:
    radial-gradient(115% 180% at 9% -75%, rgba(255,255,255,.14), transparent 58%),
    linear-gradient(115deg, rgba(255,255,255,.055), rgba(255,255,255,.014) 55%, rgba(143,143,143,.045));
  --liquid-edge: rgba(238,238,238,.22);
  --liquid-edge-soft: rgba(255,255,255,.11);
  --liquid-inset: rgba(255,255,255,.3);
  --liquid-shadow: 0 28px 72px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.16);
}
html[data-theme="light"] {
  --liquid-panel:
    radial-gradient(130% 95% at 8% -8%, rgba(255,255,255,.48), transparent 46%),
    radial-gradient(100% 115% at 100% 100%, rgba(157,157,157,.16), transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,.36), rgba(249,249,249,.18) 50%, rgba(235,235,235,.1));
  --liquid-panel-strong:
    radial-gradient(125% 100% at 4% -10%, rgba(255,255,255,.56), transparent 44%),
    radial-gradient(100% 115% at 100% 100%, rgba(145,145,145,.19), transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,.44), rgba(248,248,248,.22) 51%, rgba(231,231,231,.13));
  --liquid-bar:
    radial-gradient(115% 180% at 9% -75%, rgba(255,255,255,.22), transparent 58%),
    linear-gradient(115deg, rgba(255,255,255,.12), rgba(250,250,250,.04) 55%, rgba(165,165,165,.065));
  --liquid-edge: rgba(255,255,255,.82);
  --liquid-edge-soft: rgba(106,106,106,.16);
  --liquid-inset: rgba(255,255,255,.98);
  --liquid-shadow: 0 30px 75px rgba(96,96,96,.18), 0 8px 24px rgba(101,101,101,.1);
}
body {
  background:
    radial-gradient(circle at 78% 5%, rgba(125,125,125,.31), transparent 31%),
    radial-gradient(circle at 18% 78%, rgba(83,83,83,.25), transparent 37%),
    radial-gradient(circle at 65% 62%, rgba(82,82,82,.12), transparent 31%),
    linear-gradient(145deg, #111111 0%, #070707 48%, #171717 100%);
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 79% 4%, rgba(165,165,165,.38), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(200,200,200,.32), transparent 38%),
    radial-gradient(circle at 57% 58%, rgba(168,168,168,.18), transparent 32%),
    linear-gradient(145deg, #fbfbfb 0%, #ededed 49%, #f8f8f8 100%);
}
.topbar,
.identity,
.contact-card,
.language-switch,
.contact-download {
  border-color: var(--liquid-edge);
  background: var(--liquid-panel);
  -webkit-backdrop-filter: blur(58px) saturate(215%) brightness(1.055);
  backdrop-filter: blur(58px) saturate(215%) brightness(1.055);
  box-shadow: inset 0 1px 0 var(--liquid-inset), inset 0 -1px 0 var(--liquid-edge-soft), var(--liquid-shadow);
}
.topbar {
  overflow: hidden;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.topbar-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(10,10,10,.008);
  -webkit-backdrop-filter: blur(78px) saturate(185%) brightness(.94);
  backdrop-filter: blur(78px) saturate(185%) brightness(.94);
  will-change: backdrop-filter;
  pointer-events: none;
}
html[data-theme="light"] .topbar-glass {
  background: rgba(255,255,255,.008);
  -webkit-backdrop-filter: blur(78px) saturate(185%) brightness(1.02);
  backdrop-filter: blur(78px) saturate(185%) brightness(1.02);
}
.topbar::before {
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
html[data-theme="light"] .topbar::before {
  background: transparent;
}
.topbar > * { position: relative; z-index: 2; }
.topbar > .topbar-glass { position: absolute; z-index: 0; }
.topbar::after {
  content: "";
  position: absolute;
  inset: 1px 12% auto;
  height: 1px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
  filter: blur(.15px);
  opacity: .72;
  z-index: 1;
  pointer-events: none;
}
.identity { background: var(--liquid-panel-strong); }
.identity::before {
  width: 92%;
  height: 38%;
  left: -2%;
  top: -24%;
  background: rgba(255,255,255,.22);
  filter: blur(42px);
}
html[data-theme="light"] .identity::before { background: rgba(255,255,255,.4); }
.contact-card { background: var(--liquid-panel); }
.contact-card.featured { background: var(--liquid-panel-strong); }
html[data-theme="light"] .topbar,
html[data-theme="light"] .identity {
  background: var(--liquid-panel-strong);
  box-shadow: inset 0 1px 0 var(--liquid-inset), inset 0 -1px 0 var(--liquid-edge-soft), var(--liquid-shadow);
}
html[data-theme="light"] .topbar { background: transparent; }
html[data-theme="light"] .contact-card {
  background: var(--liquid-panel);
  box-shadow: inset 0 1px 0 var(--liquid-inset), inset 0 -1px 0 var(--liquid-edge-soft), var(--liquid-shadow);
}
html[data-theme="light"] .contact-card.featured { background: var(--liquid-panel-strong); }
.contact-card:hover {
  border-color: rgba(225,225,225,.46);
  background: var(--liquid-panel-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), inset 0 -1px 0 var(--liquid-edge-soft), 0 34px 78px rgba(0,0,0,.29), 0 10px 28px rgba(82,82,82,.14);
}
html[data-theme="light"] .contact-card:hover {
  border-color: rgba(255,255,255,.94);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(101,101,101,.1), 0 34px 78px rgba(96,96,96,.22), 0 10px 28px rgba(120,120,120,.12);
}
.contact-card::after {
  width: 250px;
  height: 250px;
  right: -125px;
  bottom: -150px;
  background: conic-gradient(from 195deg, rgba(167,167,167,.9), rgba(118,118,118,.35), rgba(202,202,202,.82));
  filter: blur(58px);
  opacity: .1;
}
html[data-theme="light"] .contact-card::after { opacity: .14; }
.card-icon,
.message-options a {
  border-color: var(--liquid-edge);
  background:
    radial-gradient(100% 85% at 15% 0%, rgba(255,255,255,.32), transparent 58%),
    rgba(255,255,255,.065);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 1px 0 var(--liquid-inset), 0 10px 26px rgba(0,0,0,.13);
}
html[data-theme="light"] .card-icon,
html[data-theme="light"] .message-options a {
  background:
    radial-gradient(100% 85% at 15% 0%, rgba(255,255,255,.62), transparent 58%),
    rgba(245,245,245,.28);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(96,96,96,.1);
}
html[data-theme="light"] .message-options a:hover { background: rgba(255,255,255,.46); }
.language-switch,
.contact-download { box-shadow: inset 0 1px 0 var(--liquid-inset), inset 0 -1px 0 var(--liquid-edge-soft), 0 12px 30px rgba(0,0,0,.12); }
html[data-theme="light"] .language-switch,
html[data-theme="light"] .contact-download { background: var(--liquid-panel); }
.language-option.active {
  background: linear-gradient(135deg, rgba(240,240,240,.74), rgba(183,183,183,.58));
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(96,96,96,.26);
}
.back-home {
  background: rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
}
html[data-theme="light"] .back-home { background: rgba(255,255,255,.22); }
.backdrop::after {
  border-color: rgba(208,208,208,.12);
  background:
    radial-gradient(circle at 31% 25%, rgba(210,210,210,.14), transparent 34%),
    linear-gradient(145deg, rgba(162,162,162,.08), rgba(87,87,87,.018) 52%, transparent 72%);
  filter: blur(2px);
}
html[data-theme="light"] .backdrop::after {
  border-color: rgba(131,131,131,.14);
  background:
    radial-gradient(circle at 31% 25%, rgba(255,255,255,.58), transparent 35%),
    linear-gradient(145deg, rgba(180,180,180,.16), rgba(138,138,138,.035) 54%, transparent 74%);
}

/* Shared graphite and silver artwork, kept away from the controls. */
.identity,
.admin-intro { isolation: isolate; }
.panel-art {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 46%;
  background: url("silver-circuit.jpeg") 64% 70% / cover no-repeat;
  opacity: .62;
  filter: grayscale(1);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 43%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 43%, #000 85%, transparent);
  pointer-events: none;
}
html[data-theme="light"] .panel-art {
  filter: grayscale(1) invert(1);
  mix-blend-mode: multiply;
  opacity: .34;
}
.identity .monogram { display: none; }
@media (max-width: 900px) {
  .admin-intro .panel-art { inset: 0 0 0 auto; width: 52%; height: 100%; }
  .admin-intro .panel-art {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 85%);
    mask-image: linear-gradient(to right, transparent, #000 85%);
  }
}
@media (max-width: 600px) {
  .panel-art { height: 36%; background-position: 61% center; }
  .admin-intro .panel-art { width: 44%; }
}

@keyframes drift-one { to { transform: translate3d(-7vw, 7vh, 0) scale(1.12); } }
@keyframes drift-two { to { transform: translate3d(9vw, -6vh, 0) scale(.9); } }
@keyframes liquid-turn { to { transform: translate3d(3vw,-3vh,0) rotate(15deg) scale(1.08); border-radius: 60% 40% 38% 62% / 42% 60% 40% 58%; } }

@media (max-width: 980px) {
  .page-shell { grid-template-columns: 1fr; }
  .identity { position: relative; top: auto; height: auto; min-height: 440px; }
  .monogram { right: -2vw; bottom: -7vw; font-size: 55vw; }
  .identity-footer { margin-top: 70px; }
  .directory { padding-top: 56px; }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .identity { padding-left: 26px; padding-right: 26px; }
  .cards-personal { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards-personal .primary-email { grid-column: 1 / -1; }
  .cards-personal .phone-contact { grid-column: span 3; }
  .cards-personal .social-contact { grid-column: span 2; }
}

@media (max-width: 680px) {
  .backdrop::before { background-size: 54px 54px; }
  .topbar { inset: 10px 12px auto; min-height: 58px; padding: 0 14px; grid-template-columns: auto 1fr; }
  .topbar-public { min-height: 108px; padding: 6px 12px 8px; grid-template-columns: 1fr; grid-template-rows: 43px 49px; gap: 2px; }
  .topbar-public .live { grid-column: 1; grid-row: 1; justify-self: center; }
  .mobile-topbar-actions { grid-column: 1; grid-row: 2; width: min(100%, 318px); display: flex; align-items: center; justify-self: center; gap: 10px; }
  .mobile-topbar-actions .language-switch { flex: 0 0 auto; }
  .mobile-topbar-actions .contact-download { margin: 0; }
  .live { justify-self: end; gap: 8px; font-size: .65rem; letter-spacing: .05em; }
  .live span + span:not(.live-dot)::before,
  .live .clock-link + span::before { margin-right: 8px; }
  .topbar-spacer { display: none; }
  .back-home { padding: 8px 11px; font-size: .68rem; }
  .page-shell { padding: 80px 12px 12px; gap: 12px; }
  .public-home .page-shell { padding-top: 130px; }
  .identity { min-height: 360px; padding-top: 35px; border-radius: 26px; }
  h1 { font-size: clamp(3.9rem, 19vw, 6.2rem); }
  .descriptor { margin-top: 26px; }
  .identity-actions { margin-top: 22px; }
  .public-home .identity .identity-actions { display: none; }
  .contact-download { width: auto; min-width: 0; min-height: 40px; padding: 0 13px; flex: 1 1 auto; font-size: .69rem; }
  .identity-footer { margin-top: 52px; }
  .directory { padding: 42px 6px 42px; }
  .directory-head { align-items: start; margin-bottom: 48px; padding: 0 6px; }
  .directory-head > p { display: none; }
  .cards-personal, .cards-work, .cards-addresses { grid-template-columns: 1fr; }
  .cards-personal .primary-contact,
  .cards-personal .social-contact { grid-column: auto; }
  .contact-card, .contact-card.compact, .contact-card.wide { min-height: 190px; border-radius: 22px; }
  .contact-card.contact-card-multi { min-height: 244px; }
  .contact-card strong { font-size: 1.22rem; white-space: nowrap; }
  .contact-card-multi .phone-number { font-size: 1.28rem; }
  .desktop-break { display: none; }
  .group + .group { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .backdrop span, .backdrop::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .contact-card, .contact-card::before, .contact-card::after, .contact-card > i { transition: none; }
}
