@import "tailwindcss";
@import "tw-animate-css";
@import "../vendor/shadcn-tailwind-4.13.0.css";

:root {
  --page: #191923;
  --panel: #20202a;
  --panel-2: #252530;
  --card: #2b2b36;
  --card-hover: #30303c;
  --text: #f3f3f5;
  --muted: #a9a9b3;
  --line: rgba(255,255,255,.075);
  --yellow: #f5c211;
  --shadow: 0 14px 40px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  background: #15151d;
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
svg { display: block; }

.app-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 16px auto;
  min-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 84px;
  align-items: start;
  background: var(--page);
  box-shadow: 0 0 60px rgba(0,0,0,.45);
}

/* Left profile */
.profile-panel {
  height: calc(100vh - 32px);
  position: sticky;
  top: 16px;
  z-index: 5;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 56px;
  background: var(--panel);
  box-shadow: 10px 0 30px rgba(0,0,0,.13);
}
.profile-head {
  padding: 34px 28px 28px; position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  background: radial-gradient(circle at 78% 22%,rgba(245,194,17,.095),transparent 28%),linear-gradient(145deg,#292934,#22222c 72%);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.profile-head::before { content: ""; position: absolute; z-index: -2; width: 190px; height: 190px; right: -76px; top: -86px; border: 1px solid rgba(245,194,17,.16); border-radius: 50%; box-shadow: 0 0 0 32px rgba(245,194,17,.025),0 0 0 68px rgba(255,255,255,.018); }
.profile-head::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(135deg,transparent 49.6%,rgba(245,194,17,.12) 50%,transparent 50.4%); background-size: 28px 28px,28px 28px,100% 100%; mask-image: linear-gradient(90deg,transparent 4%,black 55%,black); }
.avatar-wrap { width: 104px; height: 104px; margin: 0 auto 17px; position: relative; }
.avatar {
  width: 104px; height: 104px; border-radius: 50%; position: relative; overflow: hidden;
  background: linear-gradient(145deg,#353542,#1d1d26); border: 5px solid #30303b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.25);
}
.avatar img {
  position: absolute;
  width: 260%;
  max-width: none;
  height: auto;
  left: -39%;
  top: -22%;
  filter: saturate(.92) contrast(1.04);
}
.status-dot {
  position: absolute; width: 14px; height: 14px; right: 9px; bottom: 8px; border-radius: 50%;
  background: var(--yellow); border: 3px solid #252530; box-shadow: 0 0 0 4px rgba(245,194,17,.12);
}
.profile-head h1 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: .005em; }
.profile-head p { margin: 8px auto 0; max-width: 220px; color: #bdbdc6; font-size: 14px; font-weight: 450; line-height: 1.55; }
.mobile-profile-status, .profile-section-label, .profile-network, .fact-icon, .skill-icon, .mobile-skill-copy { display: none; }
.profile-scroll { min-height: 0; overflow-y: auto; padding: 22px 28px 30px; scrollbar-width: thin; scrollbar-color: #3a3a45 transparent; }
.facts { margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; margin: 7px 0; font-size: 13px; line-height: 1.5; }
.facts dt { color: #d7d7db; font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); text-align: right; }
.facts .accent-text { color: var(--yellow); }
@media (min-width: 861px) { .facts dt { order: -1; } }
.languages { width: 100%; padding: 23px 0 21px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.languages > div { display: grid; justify-items: center; gap: 8px; }
.language-ring {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-size: 13px; font-weight: 700; background: conic-gradient(var(--yellow) var(--ring), #3a3a44 0);
}
.language-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--panel); }
.language-ring { --ring: 100%; }
.language-ring.ring-mid { --ring: 72%; }
.language-ring.ring-low { --ring: 25%; }
.language-ring { isolation: isolate; }
.language-ring::after { content: attr(class); display: none; }
.language-ring { color: #efeff1; }
.language-ring { text-shadow: 0 0 0 transparent; }
.language-ring { z-index: 0; }
.language-ring::before { z-index: -1; }
.languages small { color: #aaaab4; font-size: 13px; line-height: 1.35; }
.skill-list { padding: 22px 0 14px; border-bottom: 1px solid var(--line); }
.skill { margin-bottom: 17px; }
.skill > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #e0e0e5; }
.skill-track { height: 4px; background: #3b3b46; overflow: hidden; }
.skill-track span { display: block; height: 100%; background: var(--yellow); box-shadow: 0 0 8px rgba(245,194,17,.2); animation: skill-in .8s ease both; }
@keyframes skill-in { from { width: 0; } }
.quick-list { list-style: none; padding: 19px 0; margin: 0; border-bottom: 1px solid var(--line); }
.quick-list li { color: #b2b2bc; font-size: 13px; line-height: 1.5; margin: 8px 0; }
.quick-list span { color: var(--yellow); margin-right: 8px; font-weight: 700; }
.profile-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 0 3px; color: #eeeef1; font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.profile-cta svg { width: 15px; height: 15px; color: var(--yellow); transition: transform .2s ease; }
.profile-cta:hover svg { transform: translate(2px,-2px); }
.profile-socials { height: 56px; padding: 0 28px; background: #252530; display: flex; align-items: center; gap: 18px; }
.profile-socials a { color: #9999a3; transition: color .2s ease; }
.profile-socials a:hover { color: var(--yellow); }
.profile-socials svg { width: 15px; height: 15px; }
.profile-socials > span { margin-left: auto; color: #777783; font-weight: 800; font-size: 13px; }

/* Center content */
.content-column { min-width: 0; padding: 30px; }
.hero-card {
  min-height: 560px; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 100px);
  background: radial-gradient(circle at 78% 32%, rgba(245,194,17,.11), transparent 26%), linear-gradient(135deg,#2d2d38,#22222c 62%,#292934);
  box-shadow: var(--shadow); display: flex; align-items: center;
}
.hero-card::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: -45%; width: 32%; background: linear-gradient(90deg,transparent,rgba(245,194,17,.07),transparent); transform: skewX(-16deg); animation: hero-scan 8s ease-in-out infinite; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,transparent,black 40%,black); }
.hero-card::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(245,194,17,.15); border-radius: 50%; right: -160px; bottom: -250px; box-shadow: 0 0 0 70px rgba(245,194,17,.018), 0 0 0 140px rgba(245,194,17,.013); }
.hero-letter { position: absolute; right: 3%; bottom: -22%; font-size: min(38vw,560px); line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.04); pointer-events: none; }
.hero-system { position: absolute; z-index: 1; right: -35px; width: 390px; height: 390px; border-radius: 50%; opacity: .72; pointer-events: none; }
.system-orbit { position: absolute; border: 1px solid rgba(245,194,17,.28); border-radius: 50%; }
.system-orbit::before { content: ""; position: absolute; inset: 18%; border: 1px dashed rgba(255,255,255,.13); border-radius: inherit; }
.system-orbit > span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px rgba(245,194,17,.9); }
.system-orbit-one { inset: 0; animation: orbit-spin 17s linear infinite; }
.system-orbit-two { inset: 57px; border-color: rgba(255,255,255,.18); animation: orbit-spin-reverse 11s linear infinite; }
.system-orbit-two > span { top: auto; bottom: -4px; background: #f3f3f5; box-shadow: 0 0 16px rgba(255,255,255,.55); }
.system-core { position: absolute; inset: 112px; display: grid; place-content: center; justify-items: center; border-radius: 50%; color: var(--text); background: radial-gradient(circle at 35% 30%,#3a3a46,#202029 68%); border: 1px solid rgba(245,194,17,.35); box-shadow: 0 0 0 14px rgba(245,194,17,.035),0 24px 60px rgba(0,0,0,.45); animation: core-pulse 3.5s ease-in-out infinite; }
.system-core strong { color: var(--yellow); font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.system-core small { margin-top: 9px; color: #c8c8cf; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.system-chip { position: absolute; min-width: 58px; padding: 7px 10px; color: #f1f1f3; background: rgba(32,32,42,.9); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 10px 25px rgba(0,0,0,.25); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: center; animation: chip-float 4s ease-in-out infinite; }
.chip-seo { top: 34px; left: 24px; }
.chip-ppc { top: 72px; right: -4px; animation-delay: -1s; }
.chip-data { right: 15px; bottom: 52px; animation-delay: -2s; }
.chip-cro { left: 4px; bottom: 70px; animation-delay: -3s; }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-kicker { color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.hero-content h2 { margin: 21px 0 25px; max-width: 700px; font-size: clamp(46px, 5.2vw, 72px); line-height: .96; letter-spacing: -.05em; }
.hero-content h2 em { color: var(--yellow); font-style: normal; }
.hero-content p { margin: 0 0 38px; max-width: 590px; color: #d0d0d5; font-size: 17px; line-height: 1.65; }
.hero-content code { color: var(--yellow); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }
.yellow-button { width: fit-content; min-height: 52px; padding: 0 22px; display: flex; align-items: center; gap: 24px; background: var(--yellow); color: #17171e; font-size: 13px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease; }
.yellow-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,194,17,.18); }
.yellow-button svg { width: 16px; height: 16px; }
.result-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 36px 0 20px; }
.result-strip div { display: flex; align-items: center; gap: 12px; }
.result-strip strong { color: var(--yellow); font-size: 23px; line-height: 1; }
.result-strip span { color: #d6d6db; font-size: 13px; line-height: 1.4; }
.content-section { padding: 58px 0 20px; }
.section-title { margin-bottom: 30px; }
.section-title > span { display: block; color: var(--yellow); margin-bottom: 9px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-title h2 { margin: 0; font-size: clamp(25px,3vw,36px); line-height: 1.13; letter-spacing: -.025em; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.about-grid > p { margin: 0; padding: 28px; background: var(--card); box-shadow: var(--shadow); color: var(--muted); font-size: 16px; line-height: 1.72; }
.about-grid .about-lead { color: #e3e3e6; font-size: 17px; line-height: 1.55; border-top: 2px solid var(--yellow); }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card { min-height: 250px; padding: 30px; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); background: var(--card-hover); }
.service-icon { color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .085em; }
.service-card h3 { margin: 28px 0 13px; font-size: 18px; line-height: 1.35; }
.service-card p { margin: 0; color: #c3c3cb; font-size: 16px; line-height: 1.72; }
.service-card a { margin-top: auto; padding-top: 22px; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .07em; display: flex; align-items: center; gap: 8px; }
.service-card a svg { width: 13px; height: 13px; }
.featured-project { margin-bottom: 32px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); background: var(--card); border-top: 3px solid var(--yellow); box-shadow: var(--shadow); overflow: hidden; }
.featured-project-visual { min-height: 390px; position: relative; overflow: hidden; background: #202029; }
.featured-project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(18,18,24,.82)); pointer-events: none; }
.featured-project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .45s ease; }
.featured-project:hover .featured-project-visual img { transform: scale(1.025); }
.featured-project-visual > span { position: absolute; z-index: 2; left: 24px; bottom: 22px; padding: 8px 11px; color: #17171d; background: var(--yellow); font-size: 11.5px; font-weight: 900; letter-spacing: .095em; }
.featured-project-body { padding: 34px; display: flex; flex-direction: column; }
.featured-role { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.featured-role span { color: #b4b4bd; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.featured-role strong { padding: 6px 10px; color: var(--yellow); background: #202029; font-size: 13px; letter-spacing: .025em; }
.featured-project-body h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.3; }
.featured-project-body p { margin: 0; color: #c7c7ce; font-size: 16px; line-height: 1.68; }
.featured-project-body ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.featured-project-body li { position: relative; padding-left: 19px; color: #c3c3cb; font-size: 15px; line-height: 1.65; }
.featured-project-body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--yellow); }
.featured-project-body small { display: block; margin-top: auto; padding-top: 22px; color: var(--yellow); font-size: 11.5px; font-weight: 650; line-height: 1.6; letter-spacing: .035em; border-top: 1px solid var(--line); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.project-card { background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s ease; }
.project-card:hover { transform: translateY(-5px); }
.portfolio-grid .project-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.portfolio-grid .project-card:last-child .project-visual { height: 100%; min-height: 320px; }
.project-visual { height: 240px; position: relative; overflow: hidden; background: #202029; }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(18,18,24,.88)); pointer-events: none; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .45s ease; }
.project-card:hover .project-visual img { transform: scale(1.035); }
.project-visual > span { position: absolute; z-index: 2; left: 20px; bottom: 17px; padding: 7px 10px; color: #17171d; background: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .085em; }
.project-body { padding: 27px; }
.project-body h3 { margin: 0 0 12px; font-size: 18px; font-weight: 650; line-height: 1.4; }
.project-body p { margin: 0; color: #c1c1c8; font-size: 16px; line-height: 1.68; }
.project-body ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.project-body li { position: relative; padding-left: 18px; color: #c0c0c8; font-size: 15px; line-height: 1.68; }
.project-body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--yellow); }
.project-body small { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--yellow); font-size: 11.5px; font-weight: 650; line-height: 1.6; letter-spacing: .035em; }
.additional-project { margin-top: 24px; padding: 28px 30px; background: var(--card); border-left: 3px solid var(--yellow); box-shadow: var(--shadow); }
.additional-project > span { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.additional-project h3 { margin: 9px 0 8px; font-size: 18px; }
.additional-project p { margin: 0; color: #c3c3cb; font-size: 16px; line-height: 1.7; }
.timeline { position: relative; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 11px; bottom: 11px; width: 2px; background: #33333e; }
.timeline article { display: grid; grid-template-columns: 30px 1fr; gap: 18px; }
.timeline-marker { position: relative; z-index: 2; width: 30px; display: flex; justify-content: center; }
.timeline-marker span { width: 14px; height: 14px; margin-top: 30px; border: 3px solid var(--panel); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px #3b3b45; }
.timeline-card { padding: 28px 30px; background: var(--card); box-shadow: var(--shadow); position: relative; }
.timeline-card::before { content: ""; position: absolute; left: -9px; top: 30px; width: 18px; height: 18px; background: var(--card); transform: rotate(45deg); }
.timeline-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.timeline-head h3 { margin: 0; font-size: 17px; }
.timeline-head span { padding: 4px 10px; border-radius: 20px; background: #202029; color: var(--yellow); font-size: 11px; }
.timeline-card p { margin: 16px 0 0; max-width: 680px; color: #c3c3cb; font-size: 16px; line-height: 1.72; }
.tool-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-cloud span { padding: 11px 15px; background: var(--card); box-shadow: var(--shadow); color: #dddde1; font-size: 13px; font-weight: 550; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.tool-cloud span:hover { border-color: var(--yellow); color: white; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.contact-grid > a { min-height: 190px; padding: 30px; position: relative; display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow); transition: transform .25s ease, background .25s ease; }
.contact-grid > a:hover { transform: translateY(-5px); background: var(--card-hover); }
.contact-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--yellow); background: #22222c; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-grid small { margin-top: auto; color: #b2b2bc; font-size: 13px; font-weight: 650; letter-spacing: .07em; }
.contact-grid strong { margin-top: 5px; font-size: 16px; }
.contact-grid > a > svg { position: absolute; right: 28px; bottom: 29px; width: 17px; height: 17px; color: var(--yellow); }
.main-footer { min-height: 68px; margin-top: 50px; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; background: #252530; color: #a0a0aa; font-size: 13px; }

/* Right navigation */
.navigation-panel { height: calc(100vh - 32px); position: sticky; top: 16px; z-index: 6; background: var(--panel); box-shadow: -10px 0 30px rgba(0,0,0,.12); display: grid; grid-template-rows: 70px 1fr 60px; }
.menu-label { display: grid; place-items: center; background: #252530; color: #9c9ca7; font-size: 13px; letter-spacing: .12em; writing-mode: vertical-rl; }
.navigation-panel nav { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 31px; }
.navigation-panel nav a { position: relative; color: #777783; transition: color .2s ease; }
.navigation-panel nav a:hover { color: var(--yellow); }
.navigation-panel nav svg { width: 18px; height: 18px; }
.navigation-panel nav span { position: absolute; pointer-events: none; right: 36px; top: 50%; transform: translateY(-50%) translateX(8px); opacity: 0; padding: 6px 10px; color: #17171d; background: var(--yellow); white-space: nowrap; font-size: 13px; font-weight: 700; transition: opacity .2s ease, transform .2s ease; }
.navigation-panel nav a:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
.nav-initials { display: grid; place-items: center; color: var(--yellow); background: #252530; font-size: 13px; font-weight: 800; }

@keyframes hero-scan { 0%,18% { left: -45%; } 70%,100% { left: 125%; } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes core-pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(245,194,17,.035),0 24px 60px rgba(0,0,0,.45); } 50% { transform: scale(1.045); box-shadow: 0 0 0 24px rgba(245,194,17,.018),0 24px 70px rgba(0,0,0,.5); } }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1400px) {
  .hero-system { right: -125px; opacity: .58; transform: scale(.84); }
  .chip-ppc { right: 138px; }
  .chip-data { right: 128px; }
}

@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 275px minmax(0,1fr) 72px; }
  .profile-head { padding-inline: 22px; }
  .profile-scroll { padding-inline: 22px; }
  .content-column { padding: 22px; }
  .hero-card { min-height: 510px; padding: 58px 45px; }
  .hero-content h2 { font-size: clamp(48px,7vw,70px); }
  .hero-system { right: -125px; opacity: .42; transform: scale(.82); }
  .result-strip { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  body { padding-bottom: 70px; }
  .app-shell { width: 100%; margin: 0; display: block; min-height: 100vh; }
  .profile-panel { width: min(100%,500px); height: auto; margin: 0 auto; padding: 0; position: relative; top: 0; display: block; overflow: hidden; border: 1px solid rgba(145,151,170,.22); border-radius: 18px; background: linear-gradient(180deg,#1d1d27,#171720); box-shadow: inset 0 0 0 1px rgba(255,255,255,.018),0 22px 60px rgba(0,0,0,.3); }
  .profile-head { min-height: 270px; padding: 78px 49% 24px 23px; display: block; text-align: left; border: 0; border-radius: 0; box-shadow: none; background: radial-gradient(circle at 72% 31%,rgba(245,194,17,.09),transparent 31%),linear-gradient(145deg,#24242e,#1e1e28 70%); }
  .profile-head::before { width: 190px; height: 190px; right: -55px; top: 117px; border-color: rgba(245,194,17,.18); box-shadow: 0 0 0 24px rgba(245,194,17,.02),0 0 0 54px rgba(255,255,255,.015); }
  .profile-head::after { z-index: -3; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg,transparent 5%,black 45%,black 92%,transparent); }
  .profile-network { display: none; }
  .profile-network path { fill: none; stroke: currentColor; stroke-width: 1; }
  .profile-network circle { fill: #202029; stroke: currentColor; stroke-width: 1.2; }
  .avatar-wrap { width: 45%; height: 222px; margin: 0; position: absolute; right: 18px; top: 23px; z-index: 0; overflow: visible; }
  .avatar-wrap::before { content: ""; position: absolute; z-index: -1; inset: -17px -15px -18px -20px; border-radius: 28px; background-image: radial-gradient(circle,rgba(245,194,17,.72) 1.1px,transparent 1.35px); background-size: 8px 8px; mask-image: radial-gradient(ellipse at center,#000 28%,rgba(0,0,0,.72) 54%,transparent 78%); opacity: .58; }
  .avatar { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; overflow: hidden; background: #20202a; box-shadow: 0 14px 34px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,255,255,.025); }
  .avatar::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url('/profile.png') 30% 25% / 150% auto no-repeat; filter: blur(12px) brightness(.5) saturate(.65); opacity: .42; transform: scale(1.05); }
  .avatar::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: linear-gradient(90deg,rgba(30,30,40,.45),transparent 34%),linear-gradient(0deg,rgba(22,22,30,.48),transparent 38%),linear-gradient(180deg,rgba(255,255,255,.03),transparent 34%); pointer-events: none; }
  .avatar img { width: 151%; height: auto; left: -28%; top: -1%; filter: saturate(.82) contrast(1.06) brightness(.86); -webkit-mask-image: none; mask-image: none; }
  .status-dot { display: none; }
  .profile-head h1 { position: relative; z-index: 3; margin: 0; max-width: 190px; font-size: clamp(27px,7vw,31px); line-height: 1.03; letter-spacing: -.035em; }
  .profile-head p { position: relative; z-index: 3; margin: 10px 0 0; max-width: 190px; color: #b9bac3; font-size: 16px; line-height: 1.42; }
  .mobile-profile-status { position: relative; z-index: 3; margin-top: 13px; width: max-content; max-width: 215px; display: flex; align-items: center; gap: 8px; color: var(--yellow); font-size: 14px; font-weight: 600; line-height: 1.4; }
  .mobile-profile-status i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,194,17,.1); }
  .profile-scroll { overflow: visible; padding: 0 17px 21px; border: 0; border-radius: 0; background: transparent; }
  .facts { margin: -1px 0 0; padding: 5px 20px; display: block; border: 1px solid rgba(145,151,170,.33); border-radius: 14px; background: linear-gradient(145deg,rgba(42,42,54,.96),rgba(29,29,39,.96)); box-shadow: 0 18px 36px rgba(0,0,0,.18); }
  .facts div { min-height: 47px; margin: 0; padding: 10px 0; display: grid; grid-template-columns: 25px minmax(0,1fr) auto; gap: 13px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.075); font-size: 14px; }
  .facts div:last-child { border-bottom: 0; }
  .fact-icon { width: 25px; height: 25px; display: grid; place-items: center; color: var(--yellow); }
  .fact-icon svg { width: 24px; height: 24px; }
  .facts dt { color: #a4a5ae; font-weight: 500; text-align: right; }
  .facts dd { color: #e8e8ec; text-align: left; font-weight: 500; }
  .facts .accent-text { color: var(--yellow); }
  .profile-section-label { margin: 18px 2px 11px; display: flex; align-items: center; gap: 10px; color: #a9aab4; font-size: 13px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
  .profile-section-label::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.08); }
  .languages { max-width: none; margin: 0; padding: 0; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; border: 0; }
  .languages > div { min-width: 0; padding: 8px 7px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; border: 1px solid rgba(145,151,170,.19); border-radius: 11px; background: linear-gradient(145deg,#272732,#1e1e28); }
  .language-ring { width: 39px; height: 34px; flex: 0 0 39px; border-radius: 9px; background: #181821; border: 1px solid rgba(245,194,17,.58); box-shadow: inset 0 0 0 2px rgba(255,255,255,.025),0 0 14px rgba(245,194,17,.08); font-size: 12px; }
  .language-ring::before { display: none; }
  .languages small { min-width: 0; overflow: hidden; color: #c2c3cb; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .skill-list { padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border: 0; }
  .skill { min-height: 91px; margin: 0; padding: 13px; display: flex; flex-direction: column; justify-content: center; position: relative; border: 1px solid rgba(145,151,170,.24); border-radius: 11px; background: linear-gradient(145deg,#24242f,#1b1b24); }
  .skill:nth-child(n+5) { display: none; }
  .skill-heading { margin: 0!important; display: grid!important; grid-template-columns: 36px minmax(0,1fr); gap: 11px; align-items: start; color: #efeff2; }
  .desktop-skill-label { display: none; }
  .skill-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--yellow); }
  .skill-icon svg { width: 32px; height: 32px; }
  .skill-icon .meta-icon { color: #4695f8; width: 34px; }
  .skill-icon .analytics-icon { fill: var(--yellow); width: 30px; }
  .mobile-skill-copy { min-width: 0; display: block; }
  .mobile-skill-copy strong { display: block; margin-bottom: 3px; color: #f2f2f4; font-size: 15px; font-weight: 600; line-height: 1.2; }
  .mobile-skill-copy small { display: block; color: #aeb0ba; font-size: 12px; font-weight: 400; line-height: 1.3; }
  .skill-track { display: none; }
  .quick-list { display: none; }
  .profile-cta { min-height: 56px; margin-top: 18px; padding: 0 18px; justify-content: center; border: 1px solid var(--yellow); border-radius: 12px; color: var(--yellow); background: #202029; font-size: 13px; }
  .profile-cta svg { width: 20px; height: 20px; }
  .profile-socials { display: none; }
  .content-column { padding: 16px; }
  .featured-project { display: block; }
  .featured-project-visual { min-height: 0; height: 280px; }
  .featured-project-body { padding: 28px 24px; }
  .featured-project-body small { margin-top: 22px; }
  .project-visual { height: 230px; }
  .project-body { padding: 24px; }
  .additional-project { padding: 24px; }
  .hero-card { min-height: 510px; padding: 44px 26px; flex-direction: row; align-items: center; }
  .hero-card::after { right: -190px; bottom: -330px; }
  .hero-content { order: initial; }
  .hero-system { position: absolute; width: 320px; height: 320px; right: -72px; bottom: 10px; margin: 0; opacity: .25; filter: brightness(.65) saturate(.75); transform: none; }
  .system-orbit-two { inset: 44px; }
  .system-core { inset: 87px; }
  .system-core strong { font-size: 34px; }
  .system-chip { display: block; min-width: 54px; padding: 6px 8px; font-size: 10px; }
  .chip-seo { top: 18px; left: 7px; }
  .chip-ppc { top: 42px; right: 3px; }
  .chip-data { right: 5px; bottom: 42px; }
  .chip-cro { left: 3px; bottom: 54px; }
  .hero-content h2 { font-size: clamp(46px,12vw,68px); }
  .navigation-panel { height: 64px; position: fixed; inset: auto 0 0 0; z-index: 30; display: block; background: #252530; box-shadow: 0 -7px 25px rgba(0,0,0,.35); }
  .menu-label, .nav-initials { display: none; }
  .navigation-panel nav { height: 64px; flex-direction: row; justify-content: space-around; gap: 0; }
  .navigation-panel nav a { width: 20%; height: 64px; display: grid; place-items: center; }
  .navigation-panel nav a:hover span { display: none; }
  .navigation-panel nav span { display: none; }
  .service-grid, .portfolio-grid, .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid .project-card:last-child { grid-column: auto; display: block; }
  .portfolio-grid .project-card:last-child .project-visual { height: 230px; min-height: 0; }
}

@media (max-width: 560px) {
  .profile-panel { width: calc(100% - 12px); margin: 6px auto 0; }
  .profile-head { min-height: 255px; padding: 70px 47% 20px 21px; }
  .avatar-wrap { width: 44%; height: 210px; right: 12px; top: 22px; }
  .avatar-wrap::before { inset: -15px -12px -16px -17px; }
  .avatar { border-radius: 17px; }
  .avatar img { width: 158%; left: -32%; top: 0; }
  .profile-head h1 { max-width: 155px; font-size: clamp(25px,7.6vw,30px); }
  .profile-head p { max-width: 175px; font-size: 14px; }
  .mobile-profile-status { max-width: 190px; font-size: 12px; }
  .profile-scroll { padding-inline: 16px; }
  .facts { padding-inline: 14px; }
  .facts div { grid-template-columns: 23px minmax(0,1fr) auto; gap: 9px; font-size: 12px; }
  .fact-icon, .fact-icon svg { width: 22px; height: 22px; }
  .languages > div { padding-inline: 5px; gap: 5px; }
  .language-ring { width: 31px; height: 30px; flex-basis: 31px; font-size: 10px; }
  .languages small { font-size: 10px; }
  .skill { min-height: 96px; padding: 11px; }
  .skill-heading { grid-template-columns: 30px minmax(0,1fr); gap: 8px; }
  .skill-icon, .skill-icon svg { width: 28px; height: 28px; }
  .mobile-skill-copy strong { font-size: 13px; }
  .mobile-skill-copy small { font-size: 10.5px; }
  .hero-card { min-height: 520px; padding: 40px 26px; }
  .hero-system { width: 300px; height: 300px; right: -68px; bottom: 12px; margin: 0; opacity: .26; filter: brightness(.62) saturate(.7); transform: none; }
  .system-orbit-two { inset: 44px; }
  .system-core { inset: 87px; }
  .system-core strong { font-size: 32px; }
  .system-core small { margin-top: 7px; font-size: 9px; }
  .chip-seo { top: 14px; left: 2px; }
  .chip-ppc { top: 36px; right: 1px; }
  .chip-data { right: 3px; bottom: 34px; }
  .chip-cro { left: 0; bottom: 46px; }
  .hero-content h2 { font-size: clamp(42px,12.7vw,62px); }
  .hero-content p { max-width: 100%; }
  .result-strip { gap: 20px 12px; padding: 28px 8px 8px; }
  .result-strip div { display: block; }
  .result-strip strong { display: block; font-size: 20px; margin-bottom: 5px; }
  .content-section { padding-top: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > p, .service-card, .timeline-card, .project-body, .contact-grid > a { padding: 24px; }
  .project-visual { height: 200px; }
  .featured-project { margin-bottom: 24px; }
  .featured-project-visual { height: 210px; }
  .featured-project-body { padding: 24px 20px; }
  .featured-project-body h3 { font-size: 20px; }
  .featured-project-body p { font-size: 15px; }
  .portfolio-grid .project-card:last-child .project-visual { height: 200px; }
  .project-body { padding: 22px 20px; }
  .project-body h3 { font-size: 16px; }
  .project-body small { font-size: 11px; line-height: 1.55; }
  .timeline article { gap: 10px; grid-template-columns: 24px 1fr; }
  .timeline::before { left: 11px; }
  .timeline-marker { width: 24px; }
  .timeline-card::before { left: -7px; width: 14px; height: 14px; }
  .main-footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
