/* ============================================================
   POP — Content Creator Portfolio Template
   Vibrant modern-pop system: cool lilac-white canvas, a violet
   primary with coral + sunny-yellow accents, gradients, big
   rounded cards with soft coloured shadows, floating platform
   bubbles, view-count thumbnails, Unbounded + Plus Jakarta Sans.
   Stack: HTML5 + CSS3 + vanilla JS (no frameworks).
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Light (default) */
  --bg:      #FAF8FF;   /* cool lilac-white */
  --bg-2:    #F1EEFC;   /* tint sections */
  --panel:   #FFFFFF;
  --ink:     #1C1636;   /* deep indigo-black */
  --ink-soft:#645C86;
  --ink-faint:#9891B4;
  --violet:  #7C3AED;   /* primary */
  --violet-2:#6D28D9;
  --coral:   #FF5D73;   /* secondary */
  --sun:     #FFB43D;   /* tertiary pop */
  --mint:    #12CFA0;   /* extra pop */
  --grad:    linear-gradient(120deg, #7C3AED, #C13AED 50%, #FF5D73);
  --line:    rgba(28, 22, 54, .12);
  --line-soft:rgba(28, 22, 54, .06);
  --shadow:  0 26px 50px -26px rgba(124, 58, 237, .38);
  --shadow-sm: 0 12px 26px -14px rgba(124, 58, 237, .34);

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body:    "Plus Jakarta Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 5vw, 56px);
  --sp: clamp(72px, 10vw, 140px);
  --r: 26px;
  --r-lg: 36px;
  --ease: cubic-bezier(.34,1.4,.5,1);   /* bouncy */
  --ease-2: cubic-bezier(.3,.7,.3,1);
  --nav-h: 76px;
}

html[data-theme="dark"] {
  --bg:      #120F22;
  --bg-2:    #1A1533;
  --panel:   #1E1838;
  --ink:     #F3F0FF;
  --ink-soft:#ADA5CE;
  --ink-faint:#6E668F;
  --violet:  #A78BFA;
  --violet-2:#8B6DF0;
  --coral:   #FF7D8E;
  --sun:     #FFC768;
  --mint:    #37E0B5;
  --grad:    linear-gradient(120deg, #A78BFA, #D07BF0 50%, #FF7D8E);
  --line:    rgba(243, 240, 255, .14);
  --line-soft:rgba(243, 240, 255, .07);
  --shadow:  0 26px 55px -26px rgba(0, 0, 0, .6);
  --shadow-sm: 0 12px 26px -14px rgba(0, 0, 0, .5);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease-2), color .5s var(--ease-2);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main { position: relative; z-index: 2; }

/* ---------- 3. BLOBS BACKDROP ---------- */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs__b { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32; }
html[data-theme="dark"] .blobs__b { opacity: .28; }
.blobs__b--1 { width: 40vw; height: 40vw; background: var(--violet); top: -8vw; right: -6vw; }
.blobs__b--2 { width: 34vw; height: 34vw; background: var(--coral); top: 44vh; left: -10vw; }
.blobs__b--3 { width: 30vw; height: 30vw; background: var(--sun); bottom: -8vw; right: 10vw; }

/* ---------- 4. TYPE HELPERS ---------- */
.eyebrow, .s-head__eyebrow { font-family: var(--f-body); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); display: inline-flex; align-items: center; gap: .6em; }
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .s-head__eyebrow { color: var(--violet); }
.s-head { margin-bottom: clamp(32px, 5vw, 56px); }
.s-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.s-head__eyebrow { margin-bottom: 14px; }
.s-head__eyebrow span[data-no] { color: var(--coral); }
.s-head__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; }

/* ---------- 5. BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--f-body); font-weight: 700; font-size: .84rem; padding: 14px 24px; border-radius: 40px; border: 2px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease-2), color .3s var(--ease-2); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 14px 28px -12px var(--violet); }
.btn--grad:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 38px -12px var(--violet); }
.btn--soft { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn--soft:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--violet); }
.btn--light { background: #fff; color: var(--violet-2); }
.btn--light:hover { transform: translateY(-3px) scale(1.02); }
.btn--lg { padding: 16px 30px; font-size: .9rem; }

/* ---------- 6. NAV ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .95rem; color: #fff; background: var(--grad); border-radius: 16px; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }

.nav__links { display: flex; gap: 24px; }
.nav__links a { font-family: var(--f-body); font-weight: 600; font-size: .84rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .25s var(--ease-2); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: var(--grad); border-radius: 3px; transition: width .3s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { width: 44px; height: 32px; border: 2px solid var(--line); border-radius: 30px; position: relative; display: grid; place-items: center; background: var(--panel); }
.theme-toggle span { position: absolute; font-size: .9rem; line-height: 1; transition: opacity .3s var(--ease-2), transform .3s var(--ease); }
[data-ic-sun] { opacity: 0; transform: scale(.5) rotate(-40deg); color: var(--sun); }
[data-ic-moon] { opacity: 1; color: var(--ink-soft); }
html[data-theme="dark"] [data-ic-sun] { opacity: 1; transform: none; }
html[data-theme="dark"] [data-ic-moon] { opacity: 0; transform: scale(.5); }
.nav__cta { padding: 9px 20px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .35s var(--ease-2), opacity .3s var(--ease-2); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--grad); }

/* ---------- 7. HERO ---------- */
.hero { padding: clamp(40px, 6vw, 76px) 0 clamp(60px, 8vw, 100px); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { margin-bottom: 22px; }
.live { color: var(--coral); font-weight: 800; }
.live::first-letter { animation: blink 1.4s steps(1) infinite; }
.hero__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.7rem, 7.5vw, 5.4rem); line-height: .98; letter-spacing: -.03em; margin-bottom: 14px; }
.hero__role { font-family: var(--f-body); font-weight: 700; font-size: clamp(.95rem, 1.7vw, 1.15rem); color: var(--ink-soft); margin-bottom: 24px; }
.hero__typed { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2.3vw, 1.6rem); line-height: 1.3; letter-spacing: -.01em; min-height: 1.4em; margin-bottom: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero__typed-lbl { font-family: var(--f-body); font-weight: 700; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); color: #fff; padding: 5px 10px; border-radius: 30px; align-self: center; }
.caret { display: inline-block; width: 10px; height: 1.05em; background: var(--coral); border-radius: 2px; transform: translateY(3px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__intro { max-width: 46ch; color: var(--ink-soft); margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__figure { position: relative; }
.hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); z-index: 2; border: 3px solid var(--panel); }
.hero__frame img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero__blob { position: absolute; inset: -14px; border-radius: 44px; background: var(--grad); opacity: .18; z-index: 1; transform: rotate(-3deg); }
.bubble { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow-sm); animation: float 4s var(--ease-2) infinite; }
.bubble b { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; display: block; line-height: 1; }
.bubble em { font-style: normal; font-size: .68rem; color: var(--ink-soft); font-weight: 600; }
.bubble__ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: .9rem; }
.bubble--yt { top: 26px; left: -26px; }
.bubble--yt .bubble__ic { background: #FF0033; }
.bubble--ig { bottom: 40px; right: -22px; animation-delay: 1.4s; }
.bubble--ig .bubble__ic { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 8. SECTION SHELL ---------- */
.section { padding: var(--sp) 0; position: relative; }
.section--tint { background: var(--bg-2); }

/* ---------- 9. ABOUT ---------- */
.about { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about__lead { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.7vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 24px; }
.about__lead .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 60ch; }
.about__facts { background: var(--panel); border-radius: var(--r); padding: 8px 24px; box-shadow: var(--shadow); }
.about__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.about__facts li:last-child { border-bottom: none; }
.about__facts .k { font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.about__facts .v { font-family: var(--f-display); font-weight: 700; font-size: 1rem; }

/* ---------- 10. SKILLS ---------- */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 42px) clamp(36px, 6vw, 68px); }
.skill__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.skill__name { font-family: var(--f-display); font-weight: 700; font-size: .98rem; }
.skill__pct { font-family: var(--f-body); font-weight: 700; font-size: .82rem; color: var(--violet); }
html[data-theme="dark"] .skill__pct { color: var(--violet); }
.skill__bar { height: 12px; background: color-mix(in srgb, var(--ink) 8%, transparent); border-radius: 20px; overflow: hidden; padding: 2px; }
.skill__fill { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 20px; transition: width 1.2s var(--ease); }

/* ---------- 11. EXPERIENCE ---------- */
.timeline { position: relative; padding-left: clamp(24px, 4vw, 40px); }
.timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--grad); border-radius: 3px; opacity: .35; }
.tl-item { position: relative; padding: 0 0 clamp(28px, 4vw, 44px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(-1 * clamp(24px, 4vw, 40px)); top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--panel); border: 3px solid var(--violet); transform: translateX(-6.5px); transition: transform .3s var(--ease); }
.tl-item:hover::before { transform: translateX(-6.5px) scale(1.25); background: var(--coral); border-color: var(--coral); }
.tl-item__date { font-family: var(--f-body); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.tl-item__role { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.1; }
.tl-item__org { font-weight: 700; font-size: .88rem; color: var(--violet); margin: 5px 0 10px; }
html[data-theme="dark"] .tl-item__org { color: var(--violet); }
.tl-item__desc { color: var(--ink-soft); max-width: 62ch; }

/* ---------- 12. EDUCATION ---------- */
.edu { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.edu-card { background: var(--panel); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.edu-card:hover { transform: translateY(-6px) rotate(-1deg); }
.edu-card__year { font-family: var(--f-body); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--grad); display: inline-block; padding: 5px 12px; border-radius: 30px; }
.edu-card__deg { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin: 14px 0 5px; letter-spacing: -.01em; }
.edu-card__school { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.edu-card__note { color: var(--ink-soft); font-size: .9rem; margin-top: 12px; }

/* ---------- 13. WORK (videos) ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: var(--f-body); font-weight: 700; font-size: .76rem; padding: 9px 18px; border: 2px solid var(--line); border-radius: 30px; color: var(--ink-soft); background: var(--panel); transition: all .25s var(--ease-2); }
.filter-btn:hover { border-color: var(--violet); color: var(--violet); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

.work { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(22px, 3vw, 32px); }
.card { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); }
.card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-2); }
.card:hover .card__media img { transform: scale(1.07); }
.card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.7); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--violet); display: grid; place-items: center; opacity: 0; transition: opacity .35s var(--ease-2), transform .35s var(--ease); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.card:hover .card__play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.card__dur { position: absolute; bottom: 12px; right: 12px; font-family: var(--f-body); font-weight: 700; font-size: .66rem; background: rgba(20,15,34,.82); color: #fff; padding: 4px 9px; border-radius: 8px; }
.card__plat { position: absolute; top: 12px; left: 12px; font-family: var(--f-body); font-weight: 700; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 30px; color: #fff; }
.card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.01em; }
.card__meta { font-family: var(--f-body); font-weight: 700; font-size: .74rem; color: var(--coral); }
.card__desc { color: var(--ink-soft); font-size: .9rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.card__tags span { font-family: var(--f-body); font-weight: 600; font-size: .66rem; padding: 4px 11px; border-radius: 30px; background: var(--bg-2); color: var(--ink-soft); }
.card__links { display: flex; gap: 10px; padding: 0 22px 22px; }
.card__links a { flex: 1; justify-content: center; padding: 11px; font-size: .76rem; }

/* ---------- 14. STATS ---------- */
.stats { position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; background: var(--panel); border-radius: var(--r); padding: 30px 18px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.stat:hover { transform: translateY(-6px); }
.stat:nth-child(2) { background: var(--grad); color: #fff; }
.stat:nth-child(2) .stat__label { color: rgba(255,255,255,.85); }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.02em; }
.stat__suffix { color: var(--coral); }
.stat:nth-child(2) .stat__suffix { color: var(--sun); }
.stat__label { font-family: var(--f-body); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }

/* ---------- 15. SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.service { background: var(--panel); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.service:hover { transform: translateY(-6px) rotate(1deg); }
.service__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.service__ic svg { width: 24px; height: 24px; }
.service:nth-child(3n+2) .service__ic { background: linear-gradient(120deg, var(--coral), var(--sun)); }
.service:nth-child(3n+3) .service__ic { background: linear-gradient(120deg, var(--mint), var(--violet)); }
.service__title { font-family: var(--f-display); font-weight: 700; font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -.01em; }
.service__desc { color: var(--ink-soft); font-size: .92rem; }

/* ---------- 16. TOOLS ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 12px; }
.tools li { display: flex; align-items: center; gap: 9px; font-family: var(--f-body); font-weight: 700; font-size: .84rem; padding: 12px 20px; border-radius: 40px; background: var(--panel); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.tools li:hover { transform: translateY(-4px) scale(1.03); }
.tools li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ---------- 17. AWARDS + CERTS ---------- */
.cred { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); }
.cred__label { font-family: var(--f-body); font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); display: inline-block; padding: 7px 14px; border-radius: 30px; margin-bottom: 22px; }
.awards li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.awards li:first-child { border-top: 1px solid var(--line); }
.awards__year { font-family: var(--f-body); font-weight: 800; font-size: .82rem; color: var(--coral); }
.awards__title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.awards__by { color: var(--ink-soft); font-size: .88rem; }
.certs li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.certs li::before { content: "★"; color: var(--sun); }
.certs__name { font-family: var(--f-display); font-weight: 700; font-size: 1rem; }
.certs__meta { display: block; font-family: var(--f-body); font-weight: 600; font-size: .74rem; color: var(--ink-faint); margin-top: 2px; }

/* ---------- 18. TESTIMONIALS ---------- */
.quotes { position: relative; min-height: 210px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-2); display: flex; flex-direction: column; gap: 24px; }
.quote.active { opacity: 1; visibility: visible; position: relative; }
.quote__text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em; max-width: 26ch; }
.quote__text::before { content: "“"; color: var(--coral); }
.quote__by { display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--panel); box-shadow: var(--shadow-sm); }
.quote__name { font-family: var(--f-display); font-weight: 700; }
.quote__role { font-family: var(--f-body); font-weight: 600; font-size: .76rem; color: var(--ink-soft); }
.quotes__dots { display: flex; gap: 10px; margin-top: 34px; }
.quotes__dots button { width: 32px; height: 8px; border-radius: 20px; background: var(--line); transition: background .25s var(--ease-2); }
.quotes__dots button.active { background: var(--grad); }

/* ---------- 19. RESUME BANNER ---------- */
.resume { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden; }
.resume::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.14); }
.resume > * { position: relative; }
.resume .s-head__eyebrow { color: rgba(255,255,255,.85); }
.resume .s-head__eyebrow span[data-no] { color: #fff; }
.resume__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.7rem); margin: 12px 0 10px; letter-spacing: -.02em; }
.resume__text { max-width: 46ch; opacity: .92; }

/* ---------- 20. FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 14px; }
.faq-item { background: var(--panel); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; padding: 0 26px; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: -.01em; }
.faq-q__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; background: var(--violet); border-radius: 3px; transition: transform .35s var(--ease); }
html[data-theme="dark"] .faq-q__icon::before, html[data-theme="dark"] .faq-q__icon::after { background: var(--violet); }
.faq-q__icon::before { top: 8px; left: 0; width: 18px; height: 3px; }
.faq-q__icon::after { left: 8px; top: 0; width: 3px; height: 18px; }
.faq-item.open .faq-q__icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-2); }
.faq-a p { color: var(--ink-soft); padding: 0 0 24px; max-width: 68ch; }

/* ---------- 21. CONTACT ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__blurb { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 28px; }
.contact__list { margin-bottom: 28px; }
.contact__list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact__list .lbl { font-family: var(--f-body); font-weight: 700; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 3px; }
.contact__list .val { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; transition: color .25s var(--ease-2); }
.contact__list a:hover .val { color: var(--violet); }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), color .3s var(--ease-2); }
.socials a:hover { transform: translateY(-4px) rotate(-4deg); color: var(--violet); }
.socials svg { width: 19px; height: 19px; }

.cform { background: var(--panel); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-family: var(--f-body); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea { font-family: var(--f-body); font-size: .98rem; color: var(--ink); background: var(--bg-2); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px; transition: border-color .25s var(--ease-2), background .25s var(--ease-2); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--panel); }
.field__err { font-family: var(--f-body); font-weight: 600; font-size: .72rem; color: var(--coral); margin-top: 6px; min-height: 1em; }
.cform__submit { width: 100%; justify-content: center; margin-top: 4px; }
.cform__note { font-family: var(--f-body); font-weight: 700; font-size: .82rem; margin-top: 16px; text-align: center; min-height: 1.2em; }
.cform__note.ok { color: var(--violet); }
.cform__note.bad { color: var(--coral); }

/* ---------- 22. FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(44px, 7vw, 80px) 0 40px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.footer__title { font-family: var(--f-body); font-weight: 600; font-size: .76rem; color: var(--ink-soft); margin-top: 2px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.footer__nav a { font-family: var(--f-body); font-weight: 600; font-size: .8rem; color: var(--ink-soft); transition: color .25s var(--ease-2); }
.footer__nav a:hover { color: var(--violet); }
.socials--footer { justify-content: flex-end; }
.footer__legal { grid-column: 1 / -1; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-body); font-weight: 600; font-size: .74rem; color: var(--ink-faint); }
.footer__made strong { font-family: var(--f-display); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 23. BACK TO TOP ---------- */
.to-top { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 52px; height: 52px; display: grid; place-items: center; background: var(--grad); color: #fff; border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s var(--ease-2), visibility .4s, transform .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px) scale(1.06); }

/* ---------- 24. PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: opacity .5s var(--ease-2), visibility .5s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__play { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 24px; background: var(--grad); color: #fff; box-shadow: var(--shadow); animation: bounce 1.2s var(--ease) infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.05); } }
.preloader__label { font-family: var(--f-body); font-weight: 700; font-size: .74rem; letter-spacing: .26em; color: var(--ink-soft); }

/* ---------- 25. SCROLL REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-2), transform .6s var(--ease-2); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 26. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about, .contact, .cred { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 400px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px; transform: translateY(-130%); transition: transform .4s var(--ease-2); box-shadow: var(--shadow); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
  .nav__links a:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .nav__cta { display: none; }
  .skills { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .socials--footer { justify-content: flex-start; }
  .bubble--yt { left: -8px; } .bubble--ig { right: -6px; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .cform__row { grid-template-columns: 1fr; }
  .resume { flex-direction: column; align-items: flex-start; }
}

/* ---------- 27. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .bubble { animation: none !important; }
  .caret, .live::first-letter { animation: none !important; }
}
