/* VOICE   a personal portfolio: plain, specific, a little playful
   IDEA    the original site's glass: every block of text on a frosted panel, colourful orbs drifting behind
   PICTURE real screenshots and a board render for the top projects
   COLOUR  neutral grey ground, near-black ink, the site's red; night is #0f0f14 with pink-red
   TYPE    Red Hat Display for headings, Red Hat Text for reading, JetBrains Mono for dates and labels
   LAYOUT  the intro card centred on the first screen, then one column of sections */

@font-face {
  font-family: "Red Hat Display";
  src: url("../fonts/red-hat-display-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("../fonts/red-hat-text-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg: #e4e4e7;
  --surface: #f4f4f5;
  --surface-2: #e9e9ec;
  --chip: #ececef;
  --ink: #16161a;
  --ink-2: #3f3f46;
  --muted: #52525b;
  --line: rgba(22, 22, 26, .12);
  --line-strong: rgba(22, 22, 26, .2);
  --hover: rgba(22, 22, 26, .06);
  --accent: #c01c37;
  --accent-hover: #a5152e;
  --accent-soft: rgba(230, 57, 80, .16);
  --brand: #e63950;
  --on-accent: #fff;
  --orb-o: .55;
  --loader-bg: rgba(228, 228, 231, .72);
  --jump: #f08080;
  --sb-w: 90px;
  --sb-bg: rgba(255, 255, 255, .6);
  --ring: rgba(100, 100, 100, .3);
  --glass: rgba(255, 255, 255, .3);
  --glass-hover: rgba(255, 255, 255, .5);
  --glass-2: rgba(255, 255, 255, .4);
  --glass-line: rgba(0, 0, 0, .1);
  --card-glass: rgba(255, 255, 255, .5);
  --card-sheen: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .05) 55%);
  --card-line: rgba(255, 255, 255, .8);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(24, 24, 40, .04), 0 24px 48px -24px rgba(24, 24, 40, .22);
  --brand-grad: linear-gradient(135deg, #c01c37, #c2410c);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --display: "Red Hat Display", "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gutter: max(16px, 4vw);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f0f14;
    --surface: #17171f;
    --surface-2: #1d1d27;
    --chip: #20202b;
    --ink: #ececf1;
    --ink-2: #c4c4ce;
    --muted: #a1a1ad;
    --line: rgba(255, 255, 255, .1);
    --line-strong: rgba(255, 255, 255, .18);
    --hover: rgba(255, 255, 255, .06);
    --accent: #ff4770;
    --accent-hover: #ff6b8b;
    --accent-soft: rgba(255, 71, 112, .18);
    --brand: #ff4770;
    --on-accent: #0f0f14;
    --orb-o: .42;
    --loader-bg: rgba(15, 15, 20, .72);
    --jump: #ff4770;
    --sb-bg: rgba(0, 0, 0, .3);
    --ring: rgba(245, 245, 245, .45);
    --glass: rgba(0, 0, 0, .4);
    --glass-hover: rgba(255, 255, 255, .12);
    --glass-2: rgba(0, 0, 0, .3);
    --glass-line: rgba(255, 255, 255, .1);
    --card-glass: rgba(22, 22, 30, .45);
    --card-sheen: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 50%);
    --card-line: rgba(255, 255, 255, .1);
    --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .75);
    --brand-grad: linear-gradient(135deg, #ff4770, #ff8c42);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f14;
  --surface: #17171f;
  --surface-2: #1d1d27;
  --chip: #20202b;
  --ink: #ececf1;
  --ink-2: #c4c4ce;
  --muted: #a1a1ad;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --hover: rgba(255, 255, 255, .06);
  --accent: #ff4770;
  --accent-hover: #ff6b8b;
  --accent-soft: rgba(255, 71, 112, .18);
  --brand: #ff4770;
  --on-accent: #0f0f14;
  --orb-o: .42;
  --loader-bg: rgba(15, 15, 20, .72);
  --jump: #ff4770;
  --sb-bg: rgba(0, 0, 0, .3);
  --ring: rgba(245, 245, 245, .45);
  --glass: rgba(0, 0, 0, .4);
  --glass-hover: rgba(255, 255, 255, .12);
  --glass-2: rgba(0, 0, 0, .3);
  --glass-line: rgba(255, 255, 255, .1);
  --card-glass: rgba(22, 22, 30, .45);
  --card-sheen: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 50%);
  --card-line: rgba(255, 255, 255, .1);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .75);
  --brand-grad: linear-gradient(135deg, #ff4770, #ff8c42);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: 800 clamp(2rem, 3.8vw, 3rem)/1.05 var(--display); letter-spacing: -.025em; margin-bottom: clamp(22px, 3vw, 36px); }
h3 { font: 700 1.2rem/1.3 var(--display); letter-spacing: -.01em; }
strong { font-weight: 700; }
ul { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.band { padding: clamp(16px, 2.2vw, 28px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(16px, 2.2vw, 28px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.wrap { max-width: 1180px; margin-inline: auto; }
/* frosted glass: every panel that holds text sits on it, so the orbs can drift anywhere and show through
   as soft glows without ever sitting behind a line of text */
.glass, .sheet, .foot-in { border: 1px solid var(--card-line); background: var(--card-sheen), var(--card-glass); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); box-shadow: var(--card-shadow); }
.sheet { padding: clamp(22px, 4vw, 52px); border-radius: 24px; }
.sheet + .sheet { margin-top: clamp(32px, 4.4vw, 56px); }
section[id] { scroll-margin-top: 24px; }
.ic { width: 18px; height: 18px; flex: none; }

/* the original's colourful glass orbs, in a fixed layer behind every section as on the original site.
   The layer starts at the sidebar's edge, so no orb drifts behind the sidebar. The text all sits on glass,
   so the orbs can float across the page: behind a panel they show as a soft glow. */
.orbs { position: fixed; top: 0; right: 0; bottom: 0; left: var(--sb-w); z-index: -1; overflow: hidden; pointer-events: none; transition: left .4s cubic-bezier(.4, 0, .2, 1); }
.orb { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); box-shadow: inset 10px 0 20px rgba(255, 255, 255, .6); opacity: var(--orb-o); }
.o1 { width: 180px; height: 180px; top: 12%; left: 6%; background: linear-gradient(135deg, orange, magenta); }
.o2 { width: 110px; height: 110px; top: 7%; left: 74%; background: linear-gradient(225deg, cyan, blueviolet); }
.o3 { width: 90px; height: 90px; top: 52%; left: 90%; background: linear-gradient(0deg, limegreen, teal); }
.o4 { width: 150px; height: 150px; top: 64%; left: 16%; background: linear-gradient(45deg, gold, crimson); }
.o5 { width: 70px; height: 70px; top: 84%; left: 56%; background: linear-gradient(90deg, deepskyblue, hotpink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn small { font-size: .85em; font-weight: 500; opacity: .8; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- nav ---------- */
/* ---------- sidebar, after the original's: a rail of balls that opens out to full names ---------- */
:root.sb-open { --sb-w: 280px; }
main { container: main / inline-size; }
.sidebar ~ main, .sidebar ~ .foot { margin-left: var(--sb-w); transition: margin-left .4s cubic-bezier(.4, 0, .2, 1); }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: var(--sb-w); display: flex; flex-direction: column; align-items: center; padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--sb-bg); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border-right: 1px solid var(--line); transition: width .4s cubic-bezier(.4, 0, .2, 1); scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sb-open .sidebar { align-items: flex-start; padding-inline: 30px; overflow: hidden auto; }
.sb-toggle { flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
.sb-open .sb-toggle { align-self: flex-end; margin-right: -10px; }
.ham { width: 34px; height: 34px; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.hb { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dasharray .6s cubic-bezier(.4, 0, .2, 1), stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1); }
.hb-tb { stroke-dasharray: 12 63; }
[aria-expanded="true"] > .ham { transform: rotate(-45deg); }
[aria-expanded="true"] .hb-tb { stroke-dasharray: 20 300; stroke-dashoffset: -32.42; }
.brand { display: none; flex: none; margin: 0 0 44px; color: var(--ink); font: 900 1.7rem/1 var(--display); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-open .brand { display: block; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choices a { position: relative; display: flex; align-items: center; gap: 15px; color: var(--muted); font: 800 1.45rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; transition: color .3s; }
.choices a:hover, .choices a.active { color: var(--ink); }
.ring { position: relative; flex: none; width: 41px; height: 41px; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 9px solid var(--ring); box-shadow: 0 0 20px -13px gray, 0 0 20px -14px gray inset; }
/* the ball rolls in from the left to mark the section in view */
.ball { position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: #e8e8e8; box-shadow: rgba(0, 0, 0, .17) 0 -10px 10px 0 inset, rgba(0, 0, 0, .15) 0 -15px 15px 0 inset, rgba(0, 0, 0, .1) 0 -40px 20px 0 inset, rgba(0, 0, 0, .06) 0 2px 1px, rgba(0, 0, 0, .09) 0 4px 2px, rgba(0, 0, 0, .09) 0 8px 4px, rgba(0, 0, 0, .09) 0 16px 8px, rgba(0, 0, 0, .09) 0 32px 16px, 0 -1px 15px -8px rgba(0, 0, 0, .09); opacity: 0; filter: blur(10px); transform: translateX(-95px); transition: 1s cubic-bezier(1, -.4, 0, 1.4); }
.choices a.active .ball { opacity: 1; filter: none; transform: none; }
.choice-name { white-space: nowrap; }
@media (min-width: 861px) {
  /* on the narrow rail, the names show as tooltips */
  :root:not(.sb-open) .choice-name { position: absolute; left: calc(100% + 30px); top: 50%; z-index: 2; padding: 7px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 600 .85rem/1 var(--sans); letter-spacing: 0; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .15s; }
  :root:not(.sb-open) .choices a:hover .choice-name, :root:not(.sb-open) .choices a:focus-visible .choice-name { opacity: 1; }
}
/* the theme switch: the original's toggle with its two lights, standing on end in the narrow rail */
.sb-foot { flex: none; display: grid; place-items: center; width: 100%; height: 196px; margin-top: auto; }
.sb-open .sb-foot { height: auto; place-items: center start; padding: 24px 0 8px 22px; }
.switch { position: relative; width: 120px; height: 48px; padding: 0; border-radius: 30px; border: 4px solid rgba(58, 58, 58, .1); background: rgba(0, 0, 0, .2); box-shadow: 0 0 6px rgba(0, 0, 0, .5) inset; cursor: pointer; transform: rotate(-90deg); transition: transform .4s; }
.sb-open .switch { transform: none; }
.switch::before, .switch::after { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-radius: 10px; transition: .2s; }
.switch::before, .switch[aria-checked="true"]::after { background: radial-gradient(circle at 45%, #ff3a3a, #ff7171); border: 1px solid #742323; box-shadow: 0 2px 5px rgba(255, 67, 48, .6), 0 0 5px rgba(255, 159, 109, .5) inset; }
.switch::after, .switch[aria-checked="true"]::before { background: radial-gradient(circle at 45%, rgba(60, 60, 60, .6), rgba(151, 151, 151, .6)); border: 1px solid #111; box-shadow: 0 2px 5px rgba(20, 20, 20, .5); }
.switch[aria-checked="true"]::after { background: lightgreen; border-color: #004562; box-shadow: 0 2px 5px green, 0 0 5px green inset; }
.switch::before { left: -24px; }
.switch::after { right: -24px; }
.knob { position: absolute; top: 0; left: 1px; width: 53px; height: 38px; border-radius: 30px; border: 1px solid #1a1a1a; background: linear-gradient(#4f4f4f, #2b2b2b); box-shadow: 0 0 4px rgba(0, 0, 0, .5), 0 1px 1px rgba(255, 255, 255, .1) inset, 0 -2px 0 rgba(0, 0, 0, .2) inset; transition: left .2s linear; }
.knob::before, .knob::after { content: ""; position: absolute; top: 2px; width: 21px; height: 32px; }
.knob::before { left: 2px; border-radius: 30px 10px 10px 30px; background: linear-gradient(to right, rgba(48, 48, 48, .4), rgba(34, 34, 34, .4)); box-shadow: -2px 0 5px rgba(0, 0, 0, .2) inset; }
.knob::after { right: 2px; border-radius: 10px 30px 30px 10px; background: linear-gradient(to left, rgba(48, 48, 48, .4), rgba(34, 34, 34, .4)); box-shadow: 2px 0 5px rgba(0, 0, 0, .2) inset; }
.switch[aria-checked="true"] .knob { left: 58px; }
/* phones: the sidebar slides in from the left, opened by a round button in the corner */
.sb-overlay { display: none; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .4); }
.fab { display: none; }

/* ---------- "More About Me": the original's spinning button, with quick links ---------- */
.pf { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); z-index: 50; }
.pf-btn { position: relative; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); cursor: pointer; overflow: hidden; transition: background-color .3s, transform .2s; }
@media (hover: hover) and (pointer: fine) {
  .pf-btn:hover { background: var(--glass-hover); transform: scale(1.08); }
  .pf-card:hover { transform: scale(1.1); }
}
.pf-btn .ham { position: relative; z-index: 1; width: 28px; height: 28px; }
.pf-text { position: absolute; inset: 0; }
.pf-text span { --i: 0; position: absolute; inset: 4px; font: 700 10px/1 var(--mono); text-align: center; transform: rotate(calc(24deg * var(--i))); }
.pf-text span:nth-child(2) { --i: 1; } .pf-text span:nth-child(3) { --i: 2; } .pf-text span:nth-child(4) { --i: 3; } .pf-text span:nth-child(5) { --i: 4; } .pf-text span:nth-child(6) { --i: 5; } .pf-text span:nth-child(7) { --i: 6; } .pf-text span:nth-child(8) { --i: 7; } .pf-text span:nth-child(9) { --i: 8; } .pf-text span:nth-child(10) { --i: 9; } .pf-text span:nth-child(11) { --i: 10; } .pf-text span:nth-child(12) { --i: 11; } .pf-text span:nth-child(13) { --i: 12; }
.pf-links { position: absolute; top: 0; right: 76px; display: grid; grid-template-columns: repeat(2, 52px); gap: 8px; margin: 0; padding: 0; list-style: none; animation: pf-in .3s ease; }
.pf-links[hidden] { display: none; }
.pf-card { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); transition: transform .2s; }
.pf-card svg { width: 22px; height: 22px; }
.pf-in { color: #0a66c2; }
.pf-mail { color: #039be5; }
.pf-wa { color: #25d366; }
@keyframes pf-in { from { opacity: 0; transform: translateX(8px); } }

/* ---------- hero: the intro card on its own, centred on the first screen as on the original site ---------- */
.hero { display: grid; align-content: center; min-height: min(80svh, 780px); padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 56px); }
.hero > .wrap { width: 100%; } /* a grid item with auto margins would shrink to the card, whose size containment makes it 0 wide */
.hero-copy { max-width: 760px; margin-inline: auto; text-align: center; }
.kicker { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; margin: 0 0 22px; color: var(--muted); font-size: .97rem; line-height: 1.4; }
.kicker b { color: var(--ink); font-weight: 700; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line-strong); }
.name { font: 900 clamp(2.6rem, 24cqi, 6rem)/.95 var(--display); letter-spacing: -.035em; margin: 0 0 20px; color: var(--ink); }
.role { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.45; margin: 0 0 12px; }
.role a { color: inherit; font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.role a:hover { color: var(--accent); }
.lede { color: var(--muted); margin: 0 auto 28px; max-width: 46ch; }
.hero .cta { justify-content: center; }
.glass { position: relative; isolation: isolate; container-type: inline-size; overflow: hidden; padding: clamp(24px, 3vw, 40px); border-radius: 24px; }
.glass > :not(.blob) { position: relative; z-index: 1; }
.blob { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; border-radius: 50%; opacity: .45; filter: blur(12px); pointer-events: none; transform: translate(-100%, -100%); }
.b1 { background: #ff4757; }
.b2 { width: 100px; height: 100px; background: #3742fa; transform: none; }


@media (prefers-reduced-motion: no-preference) {
  .o1 { animation: float-a 22s ease-in-out infinite; }
  .o2 { animation: float-b 18s ease-in-out infinite; }
  .o3 { animation: float-c 25s ease-in-out infinite; }
  .o4 { animation: float-d 20s ease-in-out infinite; }
  .o5 { animation: float-e 15s ease-in-out infinite; }
  .blob { animation: blob-bounce 5s ease infinite; }
  .b2 { animation-delay: -2.5s; }
  .pf-text { animation: pf-spin 8s linear infinite; }
  html { scroll-behavior: smooth; }
}
@keyframes float-a { 50% { transform: translateX(-100%) scale(.8); } }
@keyframes float-b { 50% { transform: translateX(80%) scale(1.15); } }
@keyframes float-c { 50% { transform: translateY(-60%) scale(.9); } }
@keyframes float-d { 50% { transform: translate(-50%, 40%) scale(1.1); } }
@keyframes float-e { 50% { transform: translate(60%, -30%) scale(.85); } }
@keyframes blob-bounce { 0%, 100% { transform: translate(-100%, -100%); } 25% { transform: translate(0, -100%); } 50% { transform: translate(0, 0); } 75% { transform: translate(-100%, 0); } }
@keyframes pf-spin { to { rotate: 360deg; } }

/* ---------- loaders, kept from the original site ----------
   the hamster wheel on the first visit of a session, the pyramid while the theme switches and the
   jumping square when the phone menu jumps to a section. None of them run with reduced motion. */
.loader { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: var(--loader-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.loader.on, .loading #page-loader { display: flex; }
.loader.on { animation: loader-in .2s ease both; }
.loader.out { animation: loader-out .3s ease both; }
@keyframes loader-in { from { opacity: 0; } }
@keyframes loader-out { to { opacity: 0; } }
.loader-text { margin: 0; color: var(--muted); font: 600 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
html.jump { scroll-behavior: auto; }

/* hamster wheel: the original page loader, also on the 404 page */
.wheel-and-hamster { --dur: 1s; position: relative; width: 12em; height: 12em; font-size: 14px; }
.wheel,.hamster,.hamster div,.spoke { position: absolute; }
.wheel,.spoke { border-radius: 50%; top: 0; left: 0; width: 100%; height: 100%; }
.wheel { background: radial-gradient(100% 100% at center,hsla(0,0%,60%,0) 47.8%,hsl(0,0%,60%) 48%); z-index: 2; }
.hamster { animation: hamster var(--dur) ease-in-out infinite; top: 50%; left: calc(50% - 3.5em); width: 7em; height: 3.75em; transform: rotate(4deg) translate(-0.8em,1.85em); transform-origin: 50% 0; z-index: 1; }
.hamster__body { animation: hamsterBody var(--dur) ease-in-out infinite; background: hsl(30,90%,90%); border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%; box-shadow: 0.1em 0.75em 0 hsl(30,90%,55%) inset,0.15em -0.5em 0 hsl(30,90%,80%) inset; top: 0.25em; left: 2em; width: 4.5em; height: 3em; transform-origin: 17% 50%; transform-style: preserve-3d; }
.hamster__head { animation: hamsterHead var(--dur) ease-in-out infinite; background: hsl(30,90%,55%); border-radius: 70% 30% 0 100% / 40% 25% 25% 60%; box-shadow: 0 -0.25em 0 hsl(30,90%,80%) inset,0.75em -1.55em 0 hsl(30,90%,90%) inset; top: 0; left: -2em; width: 2.75em; height: 2.5em; transform-origin: 100% 50%; position: absolute; }
.hamster__ear { animation: hamsterEar var(--dur) ease-in-out infinite; background: hsl(0,90%,85%); border-radius: 50%; box-shadow: -0.25em 0 hsl(30,90%,55%) inset; top: -0.25em; right: -0.25em; width: 0.75em; height: 0.75em; transform-origin: 50% 75%; position: absolute; }
.hamster__eye { animation: hamsterEye var(--dur) linear infinite; background-color: #000; border-radius: 50%; top: 0.375em; left: 1.25em; width: 0.5em; height: 0.5em; position: absolute; }
.hamster__nose { background: hsl(0,90%,75%); border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%; top: 0.75em; left: 0; width: 0.2em; height: 0.25em; position: absolute; }
.hamster__limb--fr,.hamster__limb--fl { clip-path: polygon(0 0,100% 0,70% 80%,60% 100%,0% 100%,40% 80%); top: 2em; left: 0.5em; width: 1em; height: 1.5em; transform-origin: 50% 0; position: absolute; }
.hamster__limb--fr { animation: hamsterFRLimb var(--dur) linear infinite; background: linear-gradient(hsl(30,90%,80%) 80%,hsl(0,90%,75%) 80%); transform: rotate(15deg) translateZ(-1px); }
.hamster__limb--fl { animation: hamsterFLLimb var(--dur) linear infinite; background: linear-gradient(hsl(30,90%,90%) 80%,hsl(0,90%,85%) 80%); transform: rotate(15deg); }
.hamster__limb--br,.hamster__limb--bl { border-radius: 0.75em 0.75em 0 0; clip-path: polygon(0 0,100% 0,100% 30%,70% 90%,70% 100%,30% 100%,40% 90%,0% 30%); top: 1em; left: 2.8em; width: 1.5em; height: 2.5em; transform-origin: 50% 30%; position: absolute; }
.hamster__limb--br { animation: hamsterBRLimb var(--dur) linear infinite; background: linear-gradient(hsl(30,90%,80%) 90%,hsl(0,90%,75%) 90%); transform: rotate(-25deg) translateZ(-1px); }
.hamster__limb--bl { animation: hamsterBLLimb var(--dur) linear infinite; background: linear-gradient(hsl(30,90%,90%) 90%,hsl(0,90%,85%) 90%); transform: rotate(-25deg); }
.hamster__tail { animation: hamsterTail var(--dur) linear infinite; background: hsl(0,90%,85%); border-radius: 0.25em 50% 50% 0.25em; box-shadow: 0 -0.2em 0 hsl(0,90%,75%) inset; top: 1.5em; right: -0.5em; width: 1em; height: 0.5em; transform: rotate(30deg) translateZ(-1px); transform-origin: 0.25em 0.25em; position: absolute; }
.spoke { animation: spoke var(--dur) linear infinite; background: radial-gradient(100% 100% at center,hsl(0,0%,60%) 4.8%,hsla(0,0%,60%,0) 5%),linear-gradient(hsla(0,0%,55%,0) 46.9%,hsl(0,0%,65%) 47% 52.9%,hsla(0,0%,65%,0) 53%) 50% 50% / 99% 99% no-repeat; }

@keyframes hamster { 0%,100%{transform:rotate(4deg) translate(-0.8em,1.85em)} 50%{transform:rotate(0) translate(-0.8em,1.85em)} }
@keyframes hamsterHead { 0%,25%,50%,75%,100%{transform:rotate(0)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(8deg)} }
@keyframes hamsterEye { 0%,90%,100%{transform:scaleY(1)} 95%{transform:scaleY(0)} }
@keyframes hamsterEar { 0%,25%,50%,75%,100%{transform:rotate(0)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(12deg)} }
@keyframes hamsterBody { 0%,25%,50%,75%,100%{transform:rotate(0)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(-2deg)} }
@keyframes hamsterFRLimb { 0%,25%,50%,75%,100%{transform:rotate(50deg) translateZ(-1px)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(-30deg) translateZ(-1px)} }
@keyframes hamsterFLLimb { 0%,25%,50%,75%,100%{transform:rotate(-30deg)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(50deg)} }
@keyframes hamsterBRLimb { 0%,25%,50%,75%,100%{transform:rotate(-60deg) translateZ(-1px)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(20deg) translateZ(-1px)} }
@keyframes hamsterBLLimb { 0%,25%,50%,75%,100%{transform:rotate(20deg)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(-60deg)} }
@keyframes hamsterTail { 0%,25%,50%,75%,100%{transform:rotate(30deg) translateZ(-1px)} 12.5%,37.5%,62.5%,87.5%{transform:rotate(10deg) translateZ(-1px)} }
@keyframes spoke { 0%{transform:rotate(0)} 100%{transform:rotate(-1turn)} }

/* pyramid: the original theme-switch loader */
.pyramid { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; transform: rotateX(-20deg); }
.pyr-spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: pyr-spin 2.5s linear infinite; }
.pyramid .side { position: absolute; inset: 0; width: 70px; height: 70px; margin: auto; transform-origin: center top; clip-path: polygon(50% 0, 0 100%, 100% 100%); }
.s1 { transform: rotateZ(-30deg) rotateY(90deg); background: conic-gradient(#e0115f, #ff6f61, #e0115f); }
.s2 { transform: rotateZ(30deg) rotateY(90deg); background: conic-gradient(#ff6f61, #e0115f, #ff6f61); }
.s3 { transform: rotateX(30deg); background: conic-gradient(#e0115f, #ff6f61, #e0115f); }
.s4 { transform: rotateX(-30deg); background: conic-gradient(#ff6f61, #e0115f, #ff6f61); }
.pyr-shadow { position: absolute; inset: 0; width: 60px; height: 60px; margin: auto; background: #ff6f61; transform: rotateX(90deg) translateZ(-40px); filter: blur(12px); }
@keyframes pyr-spin { to { transform: rotateY(360deg); } }

/* jumping square: the original page-switch loader on phones */
.jumper { position: relative; width: 48px; height: 48px; }
.jumper::before { content: ""; position: absolute; top: 60px; left: 0; width: 48px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--jump) 30%, transparent); animation: jump-shadow .5s linear infinite; }
.jumper::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--jump); animation: jump .5s linear infinite; }
@keyframes jump { 15% { border-bottom-right-radius: 3px; } 25% { transform: translateY(9px) rotate(22.5deg); } 50% { transform: translateY(18px) scale(1, .9) rotate(45deg); border-bottom-right-radius: 40px; } 75% { transform: translateY(9px) rotate(67.5deg); } 100% { transform: translateY(0) rotate(90deg); } }
@keyframes jump-shadow { 50% { transform: scale(1.2, 1); } }

/* ---------- about ---------- */
.about-lead { max-width: 29em; margin-bottom: .9em; color: var(--ink); font: 500 clamp(1.3rem, 2.4vw, 1.8rem)/1.38 var(--display); letter-spacing: -.012em; text-wrap: pretty; }
.about-more { max-width: 62ch; color: var(--ink-2); }

/* ---------- experience ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: 24px 0; }
.job + .job { border-top: 1px solid var(--line); }
.job:first-child { padding-top: 0; }
.job:last-child { padding-bottom: 0; }
.when { margin: 0; padding-top: .2em; font: 600 .92rem/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.job:first-child .when { color: var(--accent); }
.job h3 { font-size: 1.3rem; }
.org { margin: 2px 0 10px; color: var(--muted); }
.job ul { padding-left: 1.15em; }
.job li { margin: 4px 0; max-width: 70ch; }
.job li::marker, .feature li::marker { color: var(--brand); }

/* ---------- projects ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 24px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-bottom: clamp(22px, 3vw, 36px); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
/* the three strongest projects: the words on the left, a real screenshot (or the board render) on the right */
.features { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:last-child { padding-bottom: 0; }
.feature-copy { grid-row: 1; grid-column: 1; }
.shot { grid-row: 1; grid-column: 2; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 20px 44px -24px rgba(0, 0, 0, .5); transition: transform .3s, box-shadow .3s; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .shot:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 28px 54px -24px rgba(0, 0, 0, .55); }
}
.meta { margin: 0 0 10px; color: var(--muted); font: 500 .84rem/1.4 var(--mono); }
.meta span { white-space: nowrap; }
.feature h3 { margin-bottom: 8px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.feature .what { margin: 0 0 12px; color: var(--ink); font-size: 1.08rem; font-weight: 500; }
.feature ul { padding-left: 1.1em; margin-bottom: 16px; color: var(--ink-2); font-size: .97rem; }
.feature li { margin: 6px 0; }
.stack { margin: 0 0 14px; color: var(--muted); font: 500 .84rem/1.5 var(--mono); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link .ic { width: 16px; height: 16px; }

/* everything else, as a compact index in three groups */
.more-work { scroll-margin-top: 24px; }
.more-work > h3 { margin-bottom: 18px; font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 800; letter-spacing: -.02em; }
.mw-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); align-items: start; }
.mw-group h4 { margin: 0; padding: 0 0 10px; border-bottom: 2px solid var(--line-strong); color: var(--muted); font: 600 .78rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mw-group ul { list-style: none; margin: 0; padding: 0; }
.mw-group li { padding: 14px 0; }
.mw-group li + li { border-top: 1px solid var(--line); }
.mw-group li:last-child { padding-bottom: 0; }
.mw-link, .mw-name { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font: 700 1.02rem/1.3 var(--display); text-decoration: none; }
.mw-link .ic { width: 14px; height: 14px; color: var(--muted); transition: color .2s; }
.mw-link:hover, .mw-link:hover .ic { color: var(--accent); }
.mw-group p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.mw-group p a { font-weight: 600; }

/* ---------- skills ---------- */
.skills { margin: 0; }
.skills div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.skills dt { font: 700 1.02rem/1.4 var(--display); }
.skills dd { margin: 0; color: var(--ink-2); }
.certs-title { margin: clamp(40px, 5vw, 60px) 0 16px; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(20px, 2.5vw, 32px); }
.certs li { padding-top: 14px; border-top: 2px solid var(--line-strong); }
.certs b { display: block; font-weight: 700; line-height: 1.35; }
.certs li > span { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.prize { color: var(--accent); }

/* ---------- resume ---------- */
.resume-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.paper { display: block; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 14px 32px -14px rgba(0, 0, 0, .3); transform: rotate(-1.5deg); transition: transform .3s; }
.paper:hover { transform: rotate(0deg) translateY(-4px); }
.paper img { width: 100%; height: auto; }
.resume-copy p { max-width: 52ch; color: var(--muted); margin-bottom: 26px; }

/* download button, after the original site's: it folds into a circle that fills up, then says it's
   done. The file starts downloading on the click itself; the animation is only feedback. */
.dl { position: relative; display: inline-flex; align-items: center; gap: 12px; width: 15em; min-height: 52px; padding: 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap; overflow: hidden; transition: width .4s ease, margin-right .4s ease, background-color .2s, box-shadow .2s; }
.dl:hover { background: var(--accent-hover); box-shadow: 0 0 0 4px var(--accent-soft); }
.dl-circle { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); overflow: hidden; }
.dl-circle::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0; background: rgba(255, 255, 255, .4); }
.dl-icon { position: relative; width: 22px; height: 22px; transition: opacity .3s; }
.dl-circle::after { content: ""; position: absolute; inset: 0; width: 13px; height: 7px; margin: auto; border: solid currentColor; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); opacity: 0; transition: opacity .3s; }
.dl-square { position: absolute; inset: 0; width: 13px; height: 13px; margin: auto; border-radius: 2px; background: currentColor; opacity: 0; transition: opacity .3s; }
.dl-title, .dl-done { transition: opacity .3s; }
.dl-title small { font-size: .85em; font-weight: 500; opacity: .8; }
.dl-done { position: absolute; left: 60px; opacity: 0; }
.dl.busy { width: 52px; margin-right: calc(15em - 52px); }
.dl.busy .dl-title, .dl.busy .dl-icon, .dl.done .dl-title, .dl.done .dl-icon { opacity: 0; }
.dl.busy .dl-square, .dl.done .dl-done, .dl.done .dl-circle::after { opacity: 1; }
.dl.done .dl-circle::before { height: 100%; }
.dl.busy .dl-circle { animation: dl-pulse 1s; }
.dl.busy .dl-circle::before { animation: dl-fill 1.3s ease-in-out .1s forwards; }
@keyframes dl-fill { to { height: 100%; } }
@keyframes dl-pulse { 0% { scale: .95; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { scale: 1; box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } 100% { scale: .95; } }

/* ---------- contact: a centred glass card, the bookend to the intro card at the top ---------- */
.contact-card { max-width: 760px; margin-inline: auto; text-align: center; background: radial-gradient(90% 75% at 50% 0%, var(--accent-soft), transparent 70%), var(--card-sheen), var(--card-glass); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: clamp(16px, 2.4vw, 24px); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.mail { color: var(--ink); font: 700 clamp(1.05rem, 2.4vw, 1.6rem)/1.3 var(--mono); letter-spacing: -.02em; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.reach { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reach a { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 20px 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--hover); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.reach a:hover, .reach a:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.reach svg { width: 24px; height: 24px; margin-bottom: 6px; color: var(--ink-2); }
.reach strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.reach span { color: var(--muted); font: 500 .92rem/1.3 var(--mono); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.foot { padding: 22px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px clamp(16px, 2.4vw, 24px); border-radius: 16px; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@container main (max-width: 880px) {
  /* the featured projects stack: picture first, then the words */
  .feature { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .feature-copy, .shot { grid-row: auto; grid-column: auto; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container main (max-width: 720px) {
  .mw-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sidebar ~ main, .sidebar ~ .foot { margin-left: 0; }
  .orbs { left: 0; }
  .sidebar { left: -290px; width: 280px; align-items: flex-start; padding: calc(36px + env(safe-area-inset-top, 0px)) 30px calc(30px + env(safe-area-inset-bottom, 0px)); overflow: hidden auto; visibility: hidden; transition: left .3s ease, visibility 0s .3s; }
  .sidebar.open { left: 0; visibility: visible; transition: left .3s ease; }
  .sb-toggle { display: none; }
  .brand { display: block; }
  .sb-foot { height: auto; place-items: center start; padding: 32px 0 8px 22px; }
  .switch { transform: none; }
  .sb-overlay.on { display: block; }
  .fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 30px rgba(0, 0, 0, .15); color: var(--ink); cursor: pointer; }
  .fab .ham { width: 26px; height: 26px; }
  .hero { padding-top: 96px; }
}
@media (max-width: 760px) {
  .resume-grid { grid-template-columns: minmax(0, 1fr); }
  .paper { max-width: 300px; }
  .reach { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .reach a { display: grid; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px; text-align: left; }
  .reach svg { grid-row: 1 / 3; margin: 0; }
  .o1 { width: 80px; height: 80px; }
  .o2 { width: 60px; height: 60px; }
  .o3, .o5 { width: 50px; height: 50px; }
  .o4 { width: 70px; height: 70px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .job { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .glass { padding: 22px 18px; }
  .sheet { border-radius: 20px; }
}
@media (max-width: 520px) {
  .skills div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .certs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .loader, .sidebar, .sb-overlay, .fab, .pf, .orbs, .blob, .skip, .cta, .foot a { display: none !important; }
  .sidebar ~ main, .sidebar ~ .foot { margin-left: 0 !important; }
  body { background: #fff; color: #000; }
  .band { padding-block: 24px; }
  .hero { min-height: 0; }
  .glass, .sheet, .foot-in { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .feature { break-inside: avoid; }
}
