:root {
  --bg: #FFFFFF;
  --ink: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E4E4E4;
  --card: #F6F6F4;
  --blue: #5B66E6;
  --blue-ink: #FFFFFF;
  --display: "Anton", "Bebas Neue", Impact, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --pad: clamp(20px, 6vw, 96px);
}
[data-theme="dark"] {
  --bg: #121212; --ink: #F2F2F0; --muted: #A2A2A0; --line: #2C2C2C; --card: #1C1C1C;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--body); font-weight: 300; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 18px; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 99; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }

/* NAV */
.nav-wrap { position: fixed; top: 22px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); padding: 10px 12px 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; }
.avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; text-decoration: none; position: relative; flex: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu { display: flex; gap: clamp(10px, 2vw, 26px); }
.menu a { text-decoration: none; font-size: 1.05rem; font-weight: 400; color: var(--ink); padding: 6px 2px; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.m-cta { display: none; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 400; font-size: 1.05rem; border: 1.5px solid var(--ink); transition: transform .15s, background .2s, color .2s; font-family: inherit; cursor: pointer; }
.cbtn:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); color: #fff; }
.cbtn.big { padding: 18px 34px; }
.cbtn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.cbtn.blue:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cbtn.ghost { background: transparent; color: var(--ink); }
.cbtn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bg); transition: .2s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .nav { width: 100%; max-width: 440px; justify-content: space-between; }
  .cbtn:not(.big) { display: none; } .burger { display: block; }
  .menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 12px; flex-direction: column; gap: 0; display: none; }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 14px 16px; font-size: 1.1rem; } .menu a::after { display: none; }
  .m-cta { display: block; } .m-cta a { background: var(--ink); color: var(--bg); border-radius: 999px; text-align: center; margin-top: 6px; }
}

/* HERO */
.hero { container-type: inline-size; padding: 150px var(--pad) 70px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { --g: clamp(10px, 2vw, 28px); --pw: clamp(210px, 22cqw, 400px); display: grid; grid-template-columns: minmax(0, 1fr) var(--pw) minmax(0, 1fr); gap: var(--g); align-items: end; max-width: 1500px; margin: 0 auto; width: 100%; }
.hname { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 2.2rem); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 6px; color: var(--ink); }
.word { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 8.4vw; font-size: calc((min(100cqw, 1500px) - var(--pw) - 2 * var(--g)) / 2 / 4.6); line-height: .86; letter-spacing: .005em; margin: 0; white-space: nowrap; }
.hl { text-align: left; align-self: end; padding-bottom: 8px; }
.hr { text-align: right; align-self: end; }
.tag { margin: 22px 0 0 auto; max-width: min(28ch, 100%); font-size: clamp(1rem, 1.7vw, 1.55rem); line-height: 1.3; color: var(--muted); }
.portrait { margin: 0; position: relative; width: var(--pw); aspect-ratio: 0.72; border-radius: 28px; background: var(--card); transition: transform .35s ease; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.portrait:hover { transform: rotate(-1.5deg) scale(1.02); }
.initials { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--display); font-size: 6rem; color: var(--blue); }
.portrait.noimg .initials { display: grid; }
.hi { position: absolute; left: -64px; bottom: -34px; width: clamp(90px, 10vw, 180px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); display: grid; place-items: center; text-decoration: none; box-shadow: 0 16px 40px rgba(91,102,230,.4); transition: transform .3s; }
.hi:hover { transform: scale(1.08) rotate(-8deg); }
.wave { font-size: clamp(2.2rem, 4.4vw, 4.6rem); display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } }
.avail { align-self: center; margin: 60px 0 0; display: inline-flex; gap: 10px; align-items: center; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.avail i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; }
  .hl, .hr { text-align: center; align-self: center; padding: 0; width: 100%; }
  .hl { order: 1; } .portrait { order: 2; width: min(78vw, 360px); margin: 12px 0; } .hr { order: 3; }
  .tag { margin: 18px auto 0; }
  .hi { left: -14px; bottom: -22px; width: 92px; }
  .word { font-size: clamp(3.4rem, 19vw, 8rem); } .w2 { font-size: clamp(3rem, 15.5vw, 7rem); }
}

/* SECTIONS */
.sec { padding: clamp(70px, 10vw, 140px) var(--pad); max-width: 1500px; margin: 0 auto; }
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.head h2, .about h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .95; letter-spacing: .005em; }
.head p { color: var(--muted); max-width: 46ch; margin: 0; font-size: 1.1rem; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; align-items: start; } }

/* services */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc article { padding: 32px 24px 36px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.svc article:first-child { padding-left: 0; } .svc article:last-child { border-right: 0; }
.svc h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 20px; min-height: 2.4em; }
.svc h3 b { color: var(--blue); font-weight: 500; margin-right: 4px; }
.svc li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
@media (max-width: 1000px) { .svc { grid-template-columns: repeat(2, 1fr); } .svc article:nth-child(2) { border-right: 0; } .svc article:nth-child(3) { padding-left: 0; } .svc article { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } .svc article { border-right: 0; padding-left: 0; } }

/* about */
.about-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: start; }
.lead { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.25; font-weight: 400; letter-spacing: -0.02em; margin: 26px 0; max-width: 28ch; }
.contacts { margin: 28px 0 32px; } .contacts p { margin: 0 0 6px; } .contacts span { color: var(--muted); }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line); } .contacts a:hover { color: var(--blue); border-color: var(--blue); }
.stats { display: grid; gap: 16px; }
.stat { background: var(--card); border-radius: 28px; padding: 28px 32px; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 8vw, 6.6rem); line-height: 1; }
.stat span { color: var(--muted); }
.stat.blue { background: var(--blue); border-color: var(--blue); } .stat.blue strong, .stat.blue span { color: #fff; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } }

/* work */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }
.proj { text-decoration: none; display: block; }
.cover { aspect-ratio: 16 / 11; border-radius: 28px; display: grid; place-items: center; margin-bottom: 20px; overflow: hidden; transition: transform .35s; position: relative; }
.cover span { font-family: var(--display); font-size: clamp(5rem, 14vw, 11rem); line-height: 1; text-transform: uppercase; transition: transform .35s; }
.proj:hover .cover { transform: scale(.985); } .proj:hover .cover span { transform: scale(1.08) rotate(-2deg); }
.c-blue { background: var(--blue); color: #fff; } .c-dark { background: #1C1C1C; color: #F2F2F0; }
.c-sand { background: #E9E4D8; color: #2B2B2B; } .c-mint { background: #CFF1E2; color: #17493A; }
.cat { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.proj h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.proj p:last-child { color: var(--muted); margin: 0; max-width: 46ch; }

/* experience */
.exp { border-top: 1px solid var(--ink); }
.exp li { display: grid; grid-template-columns: 200px 1.1fr 1.6fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.exp li:hover { background: var(--card); padding-left: 16px; padding-right: 16px; border-radius: 16px; }
.when { color: var(--blue); font-weight: 500; font-size: .95rem; padding-top: 6px; }
.who h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.role { color: var(--muted); margin: 6px 0 0; }
.what p { margin: 0; color: var(--muted); } .what b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .exp li { grid-template-columns: 1fr; gap: 8px; } }

/* ---- Toolkit / FAQ / Closing (soft SaaS-style cards) ---- */
:root { --soft2: #F4F6FC; --navy: #0A1330; --b1: #3B5BFF; --b2: #7A6BFF; --mint: #20C9A0; --sline: #E3E7F3; --smuted: #5B6481; }
[data-theme="dark"] { --soft2: #14172A; --navy: #F2F2F0; --sline: #2A2F4A; --smuted: #A3A9C4; }
.shead h2 { font-family: var(--body); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.4rem, 5.4vw, 4.4rem); text-transform: none; color: var(--navy); }
.shead.center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.snum { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--smuted); margin: 0 0 20px; }
.snum b { background: var(--navy); color: var(--bg); padding: 5px 12px; border-radius: 999px; letter-spacing: .06em; font-weight: 600; }
.ssub { margin: 18px 0 0; color: var(--smuted); font-size: 1.15rem; max-width: none; }
.ssub a { color: var(--b1); font-weight: 600; }

.tk { background: var(--soft2); padding: clamp(72px, 10vw, 130px) var(--pad); }
.tk-in { max-width: 1160px; margin: 0 auto; }
.tkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .tkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tkgrid { grid-template-columns: 1fr; } }
.tkgrid li { background: var(--bg); border: 1px solid var(--sline); border-radius: 32px; padding: 34px 38px 36px; transition: transform .2s, box-shadow .2s; }
.tkgrid li:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(59,91,255,.14); }
.ti { width: 86px; height: 86px; border-radius: 26px; display: grid; place-items: center; font-weight: 600; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); margin-bottom: 26px; }
.ti.g { background: linear-gradient(135deg, var(--mint), var(--b1)); }
.tkgrid b { display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
.tkgrid small { display: block; margin-top: 6px; color: var(--smuted); font-size: 1.05rem; }

.fq { padding: clamp(72px, 10vw, 130px) var(--pad); }
.fq-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .fq-in { grid-template-columns: 1fr; } }
.fqlist details { border: 1px solid var(--sline); border-radius: 30px; padding: 6px 36px; margin-bottom: 18px; background: var(--bg); transition: background .2s; }
.fqlist details[open] { background: var(--soft2); }
.fqlist summary { cursor: pointer; list-style: none; padding: 30px 0; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--navy); }
.fqlist summary::-webkit-details-marker { display: none; }
.fqlist summary::after { content: "+"; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--bg); display: grid; place-items: center; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.fqlist details[open] summary::after { content: "\00d7"; background: var(--b1); color: #fff; }
.fqlist p { color: var(--smuted); font-size: 1.12rem; line-height: 1.7; padding-bottom: 26px; margin: 0; max-width: 60ch; }

.closing { background: linear-gradient(160deg, var(--b1), var(--b2) 70%, #9A7BFF); color: #fff; text-align: center; padding: clamp(80px, 12vw, 160px) var(--pad); border-radius: 48px; margin: 40px 14px 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 64px 100%; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
.closing-in { position: relative; }
.cbig { font-family: var(--body); font-weight: 600; font-size: clamp(3rem, 11vw, 9rem); letter-spacing: -0.06em; line-height: .92; text-transform: none; }
.cbig span { display: block; } .cbig span:nth-child(2) { opacity: .75; } .cbig span:nth-child(3) { opacity: .5; }
.csub { max-width: 46ch; margin: 30px auto 0; font-size: 1.2rem; opacity: .95; font-weight: 400; }
.cacts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.cpill { display: inline-flex; padding: 18px 34px; border-radius: 999px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s; }
.cpill:hover { transform: translateY(-2px); }
.cpill.white { background: #fff; color: #0A1330; }
.cpill.outline { border-color: rgba(255,255,255,.55); color: #fff; }
.cpill.outline:hover { background: rgba(255,255,255,.14); }

/* ---- Experience: stacking title cards ---- */
.xstack { display: grid; gap: 28px; padding-bottom: 20px; }
.xcard { position: sticky; top: calc(96px + var(--i) * 18px); display: grid; grid-template-columns: 1.05fr 1fr; min-height: 430px; border-radius: 34px; background: #FFFFFF; overflow: hidden; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -10px 30px rgba(0,0,0,.06); border: 1px solid #E4E4E4;}
.xmedia { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); min-height: 260px; }
.xmedia { padding: 0; }
.xmedia img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; }
.xfb { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; color: rgba(0,0,0,.28); }
.xpanel { background: #0B0B0B; color: #fff; margin: 14px 14px 14px 0; border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.xtags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.xtags span { background: #1C1C1C; border-radius: 999px; padding: 5px 14px; font-size: .78rem; font-weight: 500; color: #E6E6E6; }
.xpanel h3 { font-family: var(--body); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 10px; }
.xrole { color: #9A9A9A; font-size: .92rem; margin: 0 0 14px; }
.xdesc { color: #CFCFCF; font-size: 1rem; line-height: 1.5; margin: 0; max-width: 40ch; }
.xmetric { margin-top: auto; padding-top: 22px; border-top: 1px solid #262626; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.xmetric strong { font-family: var(--body); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; color: #B6F26B; }
.xmetric span { color: #CFCFCF; font-size: .92rem; text-align: right; padding-bottom: 6px; }
.xbtn { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; color: #111; text-decoration: none; border-radius: 999px; padding: 8px 8px 8px 22px; font-size: .92rem; font-weight: 500; transition: transform .15s; }
.xbtn:hover { transform: translateY(-2px); }
.xbtn i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 1rem; }
.xbtn.off { background: #1C1C1C; color: #8A8A8A; padding: 14px 22px; justify-content: center; }
.xbtn.off:hover { transform: none; }
@media (max-width: 860px) {
  .xcard { position: static; grid-template-columns: 1fr; min-height: 0; }
  .xmedia { min-height: 220px; }
  .xpanel { margin: 0 10px 10px; }
}

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 28px var(--pad) 90px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); max-width: 1500px; margin: 0 auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--blue); }

/* theme toggle */
.theme { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: 62px; height: 34px; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); cursor: pointer; z-index: 55; padding: 0; box-shadow: 0 8px 24px rgba(91,102,230,.35); }
.theme span { position: absolute; top: 3px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s; }
.theme[aria-checked="true"] span { transform: translateX(26px); background: #1A1A1A; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .wave { animation: none; } html { scroll-behavior: auto; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .ints { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ints { grid-template-columns: repeat(2, 1fr); } }
.int { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 4px; min-height: 170px; transition: transform .25s, background .25s, color .25s; }
.int > span { font-size: 2.5rem; line-height: 1; margin-bottom: auto; display: inline-block; }
.int b { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.int small { color: var(--muted); }
.int:hover { background: var(--blue); color: #fff; transform: translateY(-6px) rotate(-1.5deg); border-color: var(--blue); }
.int:hover small { color: rgba(255,255,255,.85); }
.int:hover > span { animation: jig .6s ease; }
@keyframes jig { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.15); } 75% { transform: rotate(12deg) scale(1.15); } }
.gal-h { font-family: var(--body); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 64px 0 20px; }
.shots { columns: 3 260px; column-gap: 16px; }
.shot { break-inside: avoid; margin: 0 0 16px; border-radius: 24px; overflow: hidden; cursor: zoom-in; background: var(--card); }
.shot img { width: 100%; display: block; transition: transform .5s; }
.shot:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.86); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 18px; }
.lightbox button { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .flips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .flips { grid-template-columns: 1fr; } }
.flip { perspective: 1000px; background: none; border: 0; padding: 0; height: 220px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.flip-in { display: block; position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip:hover .flip-in, .flip:focus-visible .flip-in, .flip.on .flip-in { transform: rotateY(180deg); }
.ff, .fb { position: absolute; inset: 0; border-radius: 28px; padding: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.ff { background: var(--card); border: 1px solid var(--line); justify-content: space-between; }
.ff strong { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; }
.ff > span { color: var(--muted); }
.ff i { font-style: normal; font-size: .7rem; color: var(--muted); opacity: .75; text-transform: uppercase; letter-spacing: .12em; }
.fb { background: var(--blue); color: #fff; transform: rotateY(180deg); justify-content: flex-end; line-height: 1.45; font-size: .98rem; }
.fb b { display: block; font-size: 1.3rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.02em; }
.flip:nth-child(even) .fb { background: #0B0B0B; }
.flip:nth-child(4n+3) .fb { background: #1F2A60; }
/* ---- Services: stacking cards ---- */
.sstack { display: grid; gap: 28px; padding-bottom: 20px; }
.scard { position: sticky; top: calc(96px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1.25fr; min-height: 400px; border-radius: 34px; background: #FFFFFF; overflow: hidden; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -10px 30px rgba(0,0,0,.06); border: 1px solid #E4E4E4; }
.smedia { background: #F6F6F4; margin: 14px 0 14px 14px; border-radius: 26px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; }
.snb { font-family: var(--display); font-size: clamp(5rem, 11vw, 9rem); line-height: .9; color: var(--blue); }
.smedia h3 { font-family: var(--body); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.08; color: #2B2B2B; }
.spanel { background: #0B0B0B; color: #fff; margin: 14px; border-radius: 26px; padding: clamp(18px, 2.4vw, 30px); display: flex; align-items: center; }
.srows { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 10px; }
.srows li { display: flex; align-items: center; gap: 16px; background: #1C1C1C; border-radius: 18px; padding: 18px 22px; font-size: 1.08rem; color: #E6E6E6; transition: transform .2s, background .2s; }
.srows li:hover { background: var(--blue); color: #fff; transform: translateX(6px); }
.srows i { font-style: normal; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #2A2A2A; color: #B6F26B; display: grid; place-items: center; font-size: .85rem; }
.srows li:hover i { background: #fff; color: var(--blue); }
@media (max-width: 860px) {
  .scard { position: static; grid-template-columns: 1fr; min-height: 0; }
  .smedia { margin: 14px 14px 0; min-height: 190px; gap: 20px; }
  .spanel { margin: 14px; }
}
.flip { -webkit-tap-highlight-color: transparent; }
.flip-in { -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.flip.on .flip-in { transform: rotateY(180deg); }

/* ================= LIQUID GLASS FLIP CARDS - WHITE (By the numbers) ================= */
.gstage { position: relative; }
.gstage .flips { gap: 20px; }
.gstage .flip { position: relative; overflow: hidden; height: 300px; border-radius: 32px; background: linear-gradient(155deg, rgba(255,255,255,.98) 0%, rgba(246,247,252,.92) 55%, rgba(233,236,248,.95) 100%); border: 1.5px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 rgba(255,255,255,1), inset 0 -30px 50px rgba(91,102,230,.10), 0 22px 46px rgba(30,40,110,.16), 0 4px 10px rgba(30,40,110,.08); color: var(--ink, #2B2B2B); transition: transform .3s ease, box-shadow .3s ease; }
.gstage .flip::before { content: ""; position: absolute; left: -25%; top: -34%; width: 95%; height: 62%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0)); filter: blur(6px); pointer-events: none; z-index: 0; transition: transform .6s ease; }
.gstage .flip::after { content: ""; position: absolute; right: -30%; bottom: -35%; width: 90%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(91,102,230,.22), rgba(91,102,230,0)); pointer-events: none; z-index: 0; }
.gstage .flip:hover::before { transform: translate(18%, 10%); }
.gstage .flip-in { z-index: 1; }
.gstage .flip:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(20,30,90,.10), inset 0 2px 0 rgba(255,255,255,1), inset 0 -30px 50px rgba(91,102,230,.14), 0 32px 58px rgba(30,40,110,.22), 0 6px 14px rgba(30,40,110,.10); }
.gstage .ff, .gstage .fb { background: none; border: 0; padding: 22px; border-radius: 32px; color: var(--ink, #2B2B2B); justify-content: flex-end; }
.gstage .fb { background: linear-gradient(180deg, rgba(91,102,230,.02), rgba(91,102,230,.14)); font-size: 1rem; line-height: 1.45; }
.gstage .gpill { position: absolute; top: 20px; left: 20px; font-style: normal; font-size: .85rem; font-weight: 500; letter-spacing: .01em; padding: 6px 15px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(20,30,90,.14); color: #2B2B2B; box-shadow: 0 2px 6px rgba(30,40,110,.06); }
.gstage .gic { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; line-height: 1; color: #5B66E6; background: rgba(255,255,255,.85); box-shadow: 0 0 0 4px rgba(91,102,230,.16), inset 0 1px 0 #fff, 0 3px 8px rgba(30,40,110,.10); transition: transform .5s; }
.gstage .flip:hover .gic, .gstage .flip.on .gic { transform: rotate(180deg); }
.gstage .ff strong { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 5.6vw, 5rem); line-height: 1; color: #2B2B2B; }
.gstage .ff .gl { color: #6B6B6B; font-size: 1.15rem; margin-top: 6px; }
.gstage .fb b { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; color: #2B2B2B; }
.gstage .fb .gd { color: #555; }
.gstage .flip:nth-child(n) .fb { background: linear-gradient(180deg, rgba(91,102,230,.02), rgba(91,102,230,.14)); }
@media (max-width: 900px) { .gstage .flip { height: 260px; } }
/* ================= LIQUID GLASS STACK CARDS (What I can do + Experience) ================= */
.xcard, .scard { background: linear-gradient(155deg, rgba(255,255,255,.88) 0%, rgba(241,243,253,.72) 58%, rgba(226,231,249,.78) 100%); border: 1.5px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -40px 60px rgba(91,102,230,.08), 0 26px 56px rgba(30,40,110,.18), 0 -8px 24px rgba(30,40,110,.06); }

/* dark glass panels */
.xpanel, .spanel { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(44,48,78,.93) 0%, rgba(12,14,28,.95) 62%, rgba(8,9,20,.96) 100%); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.38), inset 0 0 40px rgba(120,135,255,.10), 0 12px 30px rgba(10,14,50,.30); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.xpanel::before, .spanel::before { content: ""; position: absolute; left: -18%; top: -30%; width: 80%; height: 55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.20), rgba(255,255,255,0)); pointer-events: none; }
.xpanel > *, .spanel > * { position: relative; }
.xtags span { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #F0F2FF; }
.xmetric { border-top-color: rgba(255,255,255,.14); }
.xbtn { background: rgba(255,255,255,.94); box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0,0,0,.25); }
.xbtn.off { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #AEB3CC; box-shadow: none; }

/* light glass tile with the big number / logo */
.smedia { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(234,238,253,.88)); border: 1px solid rgba(255,255,255,1); box-shadow: inset 0 2px 0 #fff, inset 0 -30px 50px rgba(91,102,230,.10), 0 8px 22px rgba(30,40,110,.10); }
.smedia::after { content: ""; position: absolute; right: -25%; bottom: -35%; width: 80%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(91,102,230,.22), rgba(91,102,230,0)); pointer-events: none; }
.smedia > * { position: relative; z-index: 1; }
.xmedia { margin: 14px 0 14px 14px; border-radius: 26px; overflow: hidden; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 8px 22px rgba(30,40,110,.12); }
.xmedia::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 26px; pointer-events: none; background: linear-gradient(140deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 38%), linear-gradient(0deg, rgba(91,102,230,.08), rgba(255,255,255,0) 40%); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.35); }

/* service rows as glass chips */
.srows li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); color: #F0F2FF; }
.srows li:hover { background: rgba(91,102,230,.88); border-color: rgba(255,255,255,.4); }
.srows i { background: rgba(255,255,255,.12); }

@media (max-width: 860px) { .xmedia { margin: 14px 14px 0; } }
/* ================= BEYOND THE RESUME: fun hero card + sections ================= */
.fn-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 44px; color: #fff; min-height: min(90svh, 800px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px 190px; }
.fn-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.fn-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.28)); }
.fn-me { display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 12px; border-radius: 26px; background: rgba(255,255,255,.22); border: 1.5px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); margin-bottom: clamp(26px, 5vh, 56px); }
.fn-av { width: 52px; height: 52px; border-radius: 50%; flex: none; border: 2px solid rgba(255,255,255,.8); background: url(photo-emory.webp) 75% 33% / 500% no-repeat, #cfd8ff; }
.fn-me b { display: block; font-weight: 500; font-size: 1.2rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.fn-me small { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 400; }
.fn-me small i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.35); }
.fn-hl { position: relative; text-align: center; }
.fn-h { font-family: var(--body); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 8.6vw, 8.2rem); line-height: .9; letter-spacing: -0.045em; text-shadow: 0 4px 40px rgba(0,0,0,.15); }
.fn-h span { display: block; }
.fn-stk { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 22px 8px 8px; border-radius: 14px; color: #161616; font-weight: 500; font-size: clamp(.9rem, 1.5vw, 1.25rem); box-shadow: 0 14px 34px rgba(0,0,0,.22); white-space: nowrap; animation: fnfl 6s ease-in-out infinite; transition: transform .2s; }
.fn-stk:hover { transform: rotate(0) scale(1.07) !important; }
.fn-stk i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.fn-stk::after { content: "\1F4CE"; position: absolute; top: -9px; left: 48px; font-size: 1.1rem; }
.fn-k1 { left: -4%; bottom: -6%; transform: rotate(-12deg); background: #EEF5DA; } .fn-k1 i { background: #7DBE2A; }
.fn-k2 { right: -5%; top: 6%; transform: rotate(9deg); background: #F3E6FA; animation-delay: -2s; } .fn-k2 i { background: #E160E8; }
.fn-k3 { right: 2%; bottom: -16%; transform: rotate(-5deg); background: #E6F0FA; animation-delay: -3.5s; } .fn-k3 i { background: #4AA3F0; }
.fn-k4 { left: 2%; top: -14%; transform: rotate(6deg); background: #FFF1D2; animation-delay: -1s; } .fn-k4 i { background: #F6A93B; }
@keyframes fnfl { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.fn-dock { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; padding: 12px; border-radius: 30px; background: rgba(255,255,255,.28); border: 1.5px solid rgba(255,255,255,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.fn-tile { position: relative; width: clamp(60px, 8vw, 96px); aspect-ratio: 1; border-radius: 24px; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 8px 20px rgba(0,0,0,.2); display: grid; place-items: center; text-decoration: none; font-size: 2.3rem; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.fn-tile:hover { transform: translateY(-14px) scale(1.18); z-index: 2; }
.fn-t1 { background-image: url(photo-emory.webp); background-size: 190%; background-position: 75% 30%; }
.fn-t2 { background-image: url(photo-buggy.webp); background-size: 150%; background-position: 70% 45%; }
.fn-t3 { background-image: url(photo-capybara.webp); background-size: 150%; background-position: 65% 62%; }
.fn-t4 { background: linear-gradient(160deg, #6BC3FF, #3B6BFF); }
.fn-t4 em { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; background: #FF3B30; color: #fff; font: 600 .8rem/26px var(--body); text-align: center; border: 2px solid #fff; }
.fn-tile span { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px); background: #161616; color: #fff; font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.fn-tile:hover span { opacity: 1; transform: translate(-50%, 0); }

/* ticker */
.fn-mq { background: #161616; color: #fff; overflow: hidden; white-space: nowrap; padding: 16px 0; border-radius: 22px; margin: clamp(28px, 4vw, 52px) 0; }
.fn-mq div { display: inline-block; animation: fnmq 30s linear infinite; font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(1.4rem, 3vw, 2.4rem); }
.fn-mq span { margin: 0 22px; } .fn-mq em { font-style: normal; color: #B6F26B; }
@keyframes fnmq { to { transform: translateX(-50%); } }

/* sub-sections */
.fn-block { padding-top: clamp(40px, 6vw, 90px); }
.fn-tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px; font-size: .95rem; font-weight: 500; margin-bottom: 24px; background: var(--bg); color: var(--ink); }
.fn-t { font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9; font-size: clamp(2.4rem, 6.6vw, 6rem); color: var(--ink); }
.fn-t b { color: var(--blue); font-weight: 800; }
.fn-lead { max-width: 48ch; font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--muted); margin: 24px 0 0; line-height: 1.4; }
.fn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(30px, 4vw, 56px); }
@media (max-width: 760px) { .fn-stats { grid-template-columns: 1fr; } }
.fn-stat { background: #F4F2EA; border-radius: 30px; padding: 30px 32px; }
.fn-stat strong { display: block; font-weight: 800; letter-spacing: -0.05em; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; color: #161616; }
.fn-stat b { display: block; font-weight: 600; font-size: 1.15rem; margin: 8px 0 6px; color: #161616; }
.fn-stat span { color: var(--muted); font-size: 1rem; }
.fn-stat.fn-blue { background: var(--blue); } .fn-stat.fn-blue strong, .fn-stat.fn-blue b { color: #fff; } .fn-stat.fn-blue span { color: rgba(255,255,255,.85); }

.fn-moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(30px, 4vw, 54px); }
@media (max-width: 900px) { .fn-moments { grid-template-columns: 1fr; } }
.fn-mc { background: #F4F2EA; border-radius: 34px; padding: 22px 22px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .3s; }
.fn-mc:hover { transform: translateY(-8px) rotate(-1deg); }
.fn-mc:nth-child(2) { background: #E9F1DA; } .fn-mc:nth-child(3) { background: #EFE6F6; }
.fn-pic { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.fn-pic img { width: 86%; height: auto; border-radius: 50%; transition: transform .5s; }
.fn-mc:hover .fn-pic img { transform: scale(1.06) rotate(3deg); }
.fn-mc h4 { margin: 10px 0 0; font-weight: 700; letter-spacing: -0.03em; font-size: 1.6rem; color: #161616; }
.fn-mc p { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }
.fn-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.fn-chips span { background: #fff; border-radius: 999px; padding: 4px 14px; font-size: .82rem; font-weight: 500; color: #161616; }

.fn-rows { margin-top: clamp(26px, 4vw, 50px); border-top: 1px solid var(--ink); }
.fn-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s, color .25s; cursor: default; }
.fn-row:hover { background: var(--blue); color: #fff; padding-left: 22px; padding-right: 22px; border-radius: 22px; border-color: transparent; }
.fn-e { font-size: 2.2rem; line-height: 1; }
.fn-row h4 { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1; }
.fn-row p { margin: 0; color: var(--muted); text-align: right; font-size: 1.05rem; }
.fn-row:hover p { color: rgba(255,255,255,.88); }
.fn-row:hover .fn-e { animation: fnjig .6s; }
@keyframes fnjig { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.2); } 75% { transform: rotate(12deg) scale(1.2); } }
@media (max-width: 640px) { .fn-row { grid-template-columns: 50px 1fr; } .fn-row p { grid-column: 2; text-align: left; } }
@media (max-width: 800px) { .fn-stk { display: none; } }
@media (prefers-reduced-motion: reduce) { .fn-stk, .fn-mq div { animation: none; } }
/* ================= CLOSING: Let's grab a coffee (hill scene) ================= */
.closing.cf { background: #3F7DA8; isolation: isolate; }
.closing.cf::before { display: none; }
.cf-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.closing.cf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.2); }
.cf .cbig { font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9; font-size: clamp(3rem, 10.5vw, 9rem); text-shadow: 0 4px 40px rgba(0,0,0,.15); }
.cf .cbig span:nth-child(2) { opacity: 1; }
.cf .csub { font-weight: 400; opacity: 1; }
.cf .cpill.outline { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cf .cpill.outline:hover { background: rgba(255,255,255,.32); }
/* bigger dark / light toggle with sun and moon */
.theme { width: 92px; height: 50px; bottom: 24px; border-width: 2px; }
.theme span { top: 4px; left: 5px; width: 38px; height: 38px; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.theme span::after { content: "\2600\FE0F"; font-size: 1.35rem; line-height: 1; }
.theme[aria-checked="true"] span { transform: translateX(42px); }
.theme[aria-checked="true"] span::after { content: "\1F319"; }
/* ================= LIQUID GLASS: About stats + Moments cards ================= */
.fn-stat, .fn-mc {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, rgba(255,255,255,.95) 0%, rgba(241,243,253,.80) 58%, rgba(226,231,249,.85) 100%);
  border: 1.5px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -40px 60px rgba(91,102,230,.08), 0 22px 46px rgba(30,40,110,.16), 0 4px 10px rgba(30,40,110,.08);
}
/* top-left shine */
.fn-stat::before, .fn-mc::before {
  content: ""; position: absolute; left: -20%; top: -34%; width: 90%; height: 60%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0));
}
/* bottom-right blue glow */
.fn-stat::after, .fn-mc::after {
  content: ""; position: absolute; right: -28%; bottom: -35%; width: 85%; height: 70%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91,102,230,.22), rgba(91,102,230,0));
}
/* same white glass on all three Moments cards (removes the green and purple tints) */
.fn-mc:nth-child(2), .fn-mc:nth-child(3) {
  background: linear-gradient(155deg, rgba(255,255,255,.95) 0%, rgba(241,243,253,.80) 58%, rgba(226,231,249,.85) 100%);
}
/* blue stat card becomes a blue glass card */
.fn-stat.fn-blue {
  background: linear-gradient(155deg, rgba(120,131,255,.95) 0%, rgba(91,102,230,.92) 55%, rgba(63,74,200,.95) 100%);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 0 0 1px rgba(20,30,90,.10), inset 0 2px 0 rgba(255,255,255,.55), inset 0 -40px 60px rgba(30,40,160,.25), 0 22px 46px rgba(60,70,200,.30);
}
.fn-stat.fn-blue::before { background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.fn-stat.fn-blue::after { background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0)); }
/* hover lift */
.fn-stat, .fn-mc { transition: transform .3s ease, box-shadow .3s ease; }
.fn-stat:hover { transform: translateY(-6px); }
/* keep text dark in dark mode (cards stay light glass) */
.fn-stat strong, .fn-stat b, .fn-mc h4 { color: #2B2B2B; }
.fn-stat span, .fn-mc p { color: #6B6B6B; }
.fn-stat.fn-blue strong, .fn-stat.fn-blue b { color: #fff; }
.fn-stat.fn-blue span { color: rgba(255,255,255,.88); }
.fn-chips span { background: rgba(255,255,255,.85); border: 1px solid rgba(20,30,90,.10); box-shadow: 0 2px 6px rgba(30,40,110,.06); }
/* ---- Hero: bigger portrait + tighter spacing ---- */
.hero-grid { --pw: clamp(290px, 31cqw, 540px); }
.hero { min-height: 0; padding-top: 130px; padding-bottom: 10px; }
.avail { margin-top: 36px; }
#experience { padding-top: clamp(60px, 7vw, 110px); }
@media (max-width: 860px) { .hero { padding-top: 110px; } .portrait { width: min(88vw, 440px); } }
/* ---- Theme selector: light / dark / lake ---- */
.tsw { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 55; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1.5px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
[data-theme="dark"] .tsw { background: rgba(20,20,28,.72); }
.tsw button { width: 52px; height: 44px; border: 0; border-radius: 999px; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .15s, opacity .2s; filter: grayscale(.7); opacity: .7; }
.tsw button:hover { transform: scale(1.1); opacity: 1; }
.tsw button.on { background: var(--blue); filter: none; opacity: 1; box-shadow: 0 3px 10px rgba(91,102,230,.45); }

/* ---- Lake backdrop: only shows in lake mode ---- */
#lake { display: none; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
html[data-lake="on"] #lake { display: block; }
html[data-lake="on"] { background: #04040c; }
html[data-lake="on"] body { background: transparent; }
html[data-lake="on"] .tk { background: transparent; }
html[data-lake="on"] .nav { background: rgba(10,10,30,.45); }
html[data-lake="on"] .xcard, html[data-lake="on"] .scard, html[data-lake="on"] .xpanel, html[data-lake="on"] .spanel, html[data-lake="on"] .gstage .flip, html[data-lake="on"] .fn-stat, html[data-lake="on"] .fn-mc, html[data-lake="on"] .fn-me, html[data-lake="on"] .fn-dock { -webkit-backdrop-filter: none; backdrop-filter: none; }


/* ================= STUDENT LIFE (school hero card + involvement cards) ================= */
.st-pill { display: inline-block; align-self: flex-start; font-style: normal; font-size: .85rem; font-weight: 500; padding: 6px 15px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid rgba(20,30,90,.14); color: #2B2B2B; box-shadow: 0 2px 6px rgba(30,40,110,.06); }
.st-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 14px; border-radius: 40px; background: linear-gradient(155deg, rgba(255,255,255,.95) 0%, rgba(241,243,253,.80) 58%, rgba(226,231,249,.85) 100%); border: 1.5px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -40px 60px rgba(91,102,230,.08), 0 26px 56px rgba(30,40,110,.18); }
.st-main { padding: clamp(18px, 3vw, 40px); display: flex; flex-direction: column; color: #2B2B2B; }
.st-school { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .95; margin: 22px 0 8px; color: #2B2B2B; }
.st-sub { margin: 0 0 28px; color: #6B6B6B; font-size: 1.15rem; }
.st-facts { margin: auto 0 0; display: grid; gap: 0; }
.st-facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(20,30,90,.12); }
.st-facts dt { color: #6B6B6B; font-size: .95rem; }
.st-facts dd { margin: 0; font-weight: 500; color: #2B2B2B; }
.st-side { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 3vw, 38px); color: #fff; background: linear-gradient(160deg, rgba(44,48,78,.95) 0%, rgba(12,14,28,.97) 62%, rgba(8,9,20,.98) 100%); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.38), inset 0 0 40px rgba(120,135,255,.10); display: flex; flex-direction: column; }
.st-side::before { content: ""; position: absolute; left: -18%; top: -30%; width: 80%; height: 55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.st-side > * { position: relative; }
.st-gpa { display: flex; align-items: flex-end; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.st-gpa strong { font-family: var(--body); font-weight: 400; font-size: clamp(4rem, 8vw, 6.6rem); line-height: .9; letter-spacing: -0.05em; color: #B6F26B; }
.st-gpa span { color: #CFCFCF; font-size: .98rem; line-height: 1.35; padding-bottom: 8px; }
.st-cl { margin: 24px 0 14px; color: #9A9FB8; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.st-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.st-chips span { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 500; color: #F0F2FF; }
.st-involve { display: inline-block; margin: clamp(36px, 5vw, 64px) 0 18px; padding: 6px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; font-weight: 500; background: var(--bg); color: var(--ink); }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; border-radius: 32px; padding: 24px 26px 28px; color: #2B2B2B; background: linear-gradient(155deg, rgba(255,255,255,.98) 0%, rgba(246,247,252,.92) 55%, rgba(233,236,248,.95) 100%); border: 1.5px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -30px 50px rgba(91,102,230,.10), 0 22px 46px rgba(30,40,110,.16), 0 4px 10px rgba(30,40,110,.08); transition: transform .3s ease, box-shadow .3s ease; }
.st-card::before { content: ""; position: absolute; left: -25%; top: -34%; width: 95%; height: 62%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0)); }
.st-card::after { content: ""; position: absolute; right: -30%; bottom: -35%; width: 90%; height: 70%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(91,102,230,.22), rgba(91,102,230,0)); }
.st-card:hover { transform: translateY(-6px); }
.st-card h3 { font-family: var(--body); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; margin: 18px 0 6px; color: #2B2B2B; }
.st-date { margin: 0 0 18px; color: #6B6B6B; font-size: .95rem; }
.st-metric { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(20,30,90,.12); border-bottom: 1px solid rgba(20,30,90,.12); margin-bottom: 16px; }
.st-metric strong { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 4.6vw, 4rem); line-height: 1; color: #5B66E6; }
.st-metric span { color: #555; text-align: right; font-size: .95rem; padding-bottom: 4px; }
.st-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-card li { position: relative; padding-left: 22px; color: #555; font-size: .98rem; line-height: 1.45; }
.st-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #5B66E6; box-shadow: 0 0 0 3px rgba(91,102,230,.18); }
@media (max-width: 1000px) { .st-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .st-hero { grid-template-columns: 1fr; } .st-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---- extra liquid glass: real blur, bright rim, shine, soft color glow behind the section ---- */
#campus { position: relative; isolation: isolate; }
#campus::before { content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; top: 18%; bottom: 4%; pointer-events: none; background: radial-gradient(38% 34% at 14% 18%, rgba(91,102,230,.34), transparent 70%), radial-gradient(34% 30% at 86% 34%, rgba(225,96,232,.26), transparent 70%), radial-gradient(40% 34% at 50% 92%, rgba(74,163,240,.30), transparent 70%); filter: blur(30px); }
.st-hero, .st-card { -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.st-hero { background: linear-gradient(155deg, rgba(255,255,255,.62) 0%, rgba(241,243,253,.40) 58%, rgba(226,231,249,.48) 100%); position: relative; isolation: isolate; overflow: hidden; }
.st-card { background: linear-gradient(155deg, rgba(255,255,255,.66) 0%, rgba(246,247,252,.42) 55%, rgba(233,236,248,.52) 100%); }
.st-hero::before { position: absolute; content: ""; left: -10%; top: -30%; width: 70%; height: 60%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.st-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2; background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,.1) 40%, rgba(255,255,255,.1) 60%, rgba(255,255,255,.85)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.st-card { border-color: rgba(255,255,255,.8); }
.st-pill, .st-involve { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255,255,255,.6); }
.st-metric { border-color: rgba(255,255,255,.7); box-shadow: 0 1px 0 rgba(20,30,90,.06); }
@media (prefers-reduced-motion: reduce) { .st-card { transition: none; } }
/* ================= TOOLS + FAQ: same liquid glass look as the rest of the site ================= */
.tk, .fq { position: relative; isolation: isolate; background: transparent; }
.tk::before, .fq::before { content: ""; position: absolute; z-index: -1; inset: 6% 3%; pointer-events: none; background: radial-gradient(34% 40% at 12% 22%, rgba(91,102,230,.26), transparent 70%), radial-gradient(30% 36% at 88% 30%, rgba(225,96,232,.20), transparent 70%), radial-gradient(38% 38% at 55% 95%, rgba(74,163,240,.24), transparent 70%); filter: blur(24px); }

/* headings match the other sections (big display type, left aligned) */
.shead h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .95; font-size: clamp(2.8rem, 7vw, 6.4rem); color: var(--ink); }
.shead.center { text-align: left; max-width: none; margin: 0 0 clamp(36px, 5vw, 64px); }
.ssub { color: var(--muted); max-width: 46ch; font-size: 1.1rem; }
.snum { color: var(--muted); }
.snum b { background: rgba(255,255,255,.7); color: #2B2B2B; border: 1px solid rgba(20,30,90,.14); box-shadow: 0 2px 6px rgba(30,40,110,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* tool cards = white liquid glass */
.tkgrid { gap: 20px; }
.tkgrid li { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 30px 32px 32px; background: linear-gradient(155deg, rgba(255,255,255,.66) 0%, rgba(246,247,252,.42) 55%, rgba(233,236,248,.52) 100%); border: 1.5px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -30px 50px rgba(91,102,230,.10), 0 22px 46px rgba(30,40,110,.16), 0 4px 10px rgba(30,40,110,.08); transition: transform .3s ease, box-shadow .3s ease; }
.tkgrid li::before { content: ""; position: absolute; left: -25%; top: -34%; width: 95%; height: 62%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0)); }
.tkgrid li::after { content: ""; position: absolute; right: -30%; bottom: -35%; width: 90%; height: 70%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(91,102,230,.22), rgba(91,102,230,0)); }
.tkgrid li:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(20,30,90,.10), inset 0 2px 0 #fff, inset 0 -30px 50px rgba(91,102,230,.14), 0 32px 58px rgba(30,40,110,.22), 0 6px 14px rgba(30,40,110,.10); }
.ti { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), 0 10px 22px rgba(60,70,200,.30); }
.tkgrid b { color: #2B2B2B; }
.tkgrid small { color: #6B6B6B; }

/* FAQ rows = glass cards */
.fqlist details { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 4px 32px; margin-bottom: 16px; background: linear-gradient(155deg, rgba(255,255,255,.66) 0%, rgba(246,247,252,.42) 55%, rgba(233,236,248,.52) 100%); border: 1.5px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 0 0 1px rgba(20,30,90,.08), inset 0 2px 0 #fff, inset 0 -24px 40px rgba(91,102,230,.08), 0 16px 34px rgba(30,40,110,.12); transition: box-shadow .3s ease, transform .3s ease; }
.fqlist details::before { content: ""; position: absolute; left: -20%; top: -80%; width: 80%; height: 160%; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.fqlist details:hover { transform: translateY(-3px); }
.fqlist details[open] { background: linear-gradient(155deg, rgba(255,255,255,.72) 0%, rgba(236,239,255,.52) 55%, rgba(220,226,252,.6) 100%); }
.fqlist summary { color: #2B2B2B; padding: 26px 0; }
.fqlist summary::after { background: rgba(255,255,255,.85); color: #5B66E6; box-shadow: 0 0 0 4px rgba(91,102,230,.16), inset 0 1px 0 #fff, 0 3px 8px rgba(30,40,110,.10); }
.fqlist details[open] summary::after { background: #5B66E6; color: #fff; box-shadow: 0 0 0 4px rgba(91,102,230,.22), 0 6px 14px rgba(60,70,200,.35); }
.fqlist p { color: #555; }
.fq .ssub a { color: #5B66E6; }

/* lake mode: skip the live blur on these for speed */
html[data-lake="on"] .tkgrid li, html[data-lake="on"] .fqlist details, html[data-lake="on"] .snum b { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* ================= 3D TILT HEADSHOT CARD ================= */
.tilt-hero { position: relative; padding: 140px var(--pad, 6vw) 50px; display: grid; grid-template-columns: 1fr minmax(260px, 30vw) 1fr; gap: 2vw; align-items: end; max-width: 1500px; margin: 0 auto; }
.tilt-side .hname { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 2.1rem); text-transform: uppercase; margin: 0 0 6px; }
.tilt-side .word { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: .86; margin: 0; }
.tilt-r { text-align: right; }
.tilt-r .tag { margin: 18px 0 0 auto; max-width: 28ch; font-size: clamp(1rem, 1.6vw, 1.45rem); line-height: 1.3; color: var(--muted); }
.tilt-stage { perspective: 1100px; justify-self: center; width: min(100%, 420px); aspect-ratio: .72; position: relative; }
.tilt-card { position: absolute; inset: 0; border-radius: 32px; transform-style: preserve-3d; will-change: transform; background: #cfd4ea; box-shadow: 0 30px 60px rgba(30,40,110,.28); }
.tilt-card > * { position: absolute; }
.t-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; pointer-events: none; }
.t-fade { inset: 0; border-radius: 32px; background: linear-gradient(180deg, rgba(10,12,30,0) 52%, rgba(10,12,30,.62) 100%); pointer-events: none; }
.t-rim { inset: 0; border-radius: 32px; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7), inset 0 2px 0 rgba(255,255,255,.9); }
.t-chip { left: 18px; top: 18px; transform: translateZ(var(--z)); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 18px rgba(20,30,90,.25); }
.t-wave { right: 18px; top: 18px; width: 64px; height: 64px; border-radius: 50%; transform: translateZ(var(--z)); display: grid; place-items: center; font-size: 2rem; background: #5B66E6; box-shadow: 0 14px 30px rgba(91,102,230,.55); }
.t-name { left: 22px; bottom: 22px; transform: translateZ(var(--z)); color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.t-name b { display: block; font-family: var(--body, Inter, sans-serif); font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.t-name small { display: block; margin-top: 10px; font-size: .95rem; font-weight: 400; opacity: .9; transform: translateZ(var(--z)); }
.t-glare { inset: 0; border-radius: 32px; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.75), rgba(255,255,255,0) 55%); opacity: var(--go, 0); transition: opacity .25s; transform: translateZ(1px); }
.tilt-shadow { position: absolute; left: 8%; right: 8%; bottom: -26px; height: 40px; border-radius: 50%; background: rgba(30,40,110,.35); filter: blur(22px); transform: translate(var(--sx, 0), 0) scale(var(--ss, 1)); }
@media (max-width: 860px) { .tilt-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 110px; } .tilt-r { text-align: center; } .tilt-r .tag { margin: 18px auto 0; } .tilt-stage { width: min(78vw, 360px); } }
@media (prefers-reduced-motion: reduce) { .tilt-card { transform: none !important; } }
/* ---- Hero tweaks: smaller side text, bigger card, more space below ---- */
.tilt-hero { grid-template-columns: 1fr minmax(300px, 38vw) 1fr; align-items: center; padding-bottom: clamp(90px, 12vw, 170px); }
.tilt-stage { width: min(100%, 560px); }
.tilt-side .word { font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.tilt-side .hname { font-size: clamp(1rem, 1.8vw, 1.6rem); }
.tilt-r .tag { font-size: clamp(.95rem, 1.3vw, 1.2rem); }
#experience { padding-top: clamp(70px, 9vw, 150px); }
@media (max-width: 860px) { .tilt-hero { grid-template-columns: 1fr; padding-bottom: 70px; } .tilt-stage { width: min(82vw, 380px); } }
   /* ---- Tilt on every card: moving glare layer ---- */
   .tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; opacity: 0; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.95), rgba(255,255,255,0) 55%); }
   .st-card, .tkgrid li, .fqlist details, .fn-stat, .fn-mc, .xpanel, .xmedia, .smedia, .spanel, .gstage .flip { will-change: transform; }
   .xmedia, .xpanel, .smedia, .spanel { position: relative; }
