:root {
  --bg: #05070d;
  --panel: #0b101d;
  --panel-2: #101727;
  --line: rgba(183, 205, 255, .17);
  --text: #f5f7ff;
  --muted: #9aa6c1;
  --red: #fa3042;
  --red-deep: #d90722;
  --blue: #4d91ff;
  --shell: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; color: var(--text); background: radial-gradient(circle at 80% 0%, #111b33 0, var(--bg) 34%); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin: 0 auto; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 1rem; padding: .7rem 1rem; background: #fff; color: #000; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 10; top: 0; left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(3,5,10,.88); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.wordmark { display: inline-block; color: var(--red); font-weight: 900; font-size: 1.7rem; line-height: 1; letter-spacing: .2em; text-shadow: 0 0 12px rgba(250,48,66,.78), 0 0 30px rgba(250,48,66,.35); }
.wordmark small { display: block; color: #dce1ed; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-shadow: none; }
.desktop-nav { display: flex; align-items: stretch; gap: 2.25rem; height: 68px; }
.desktop-nav a { position: relative; display: grid; place-items: center; color: #dce1ed; font-size: .69rem; font-weight: 800; letter-spacing: .06em; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 8px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 18px; height: 2px; background: #fff; }
.mobile-menu nav { position: absolute; right: 0; top: 52px; width: min(270px, calc(100vw - 40px)); padding: .65rem; border: 1px solid var(--line); border-radius: 12px; background: #0b101d; box-shadow: 0 18px 48px rgba(0,0,0,.45); }
.mobile-menu nav a { display: block; padding: .85rem 1rem; font-size: .77rem; font-weight: 800; letter-spacing: .08em; }

.eyebrow { margin: 0 0 .65rem; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 1.7rem; padding: .75rem 1.1rem; border: 1px solid var(--line); border-radius: 7px; font-size: .82rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: #ff4657; background: linear-gradient(135deg, #f6263c, #af071a); box-shadow: 0 0 0 1px rgba(255,86,103,.4) inset, 0 8px 24px rgba(219,10,39,.28); }
.button-primary:hover { box-shadow: 0 0 26px rgba(250,48,66,.56); }
.button-secondary { border-color: #4b76be; background: rgba(6,15,34,.7); }
.button-secondary:hover { background: rgba(32,72,139,.35); box-shadow: 0 0 24px rgba(64,127,255,.35); }
.button-outline { border-color: rgba(250,48,66,.65); background: transparent; }

.section { padding: clamp(4.2rem, 8vw, 7rem) 0; }
.profile-section { background: linear-gradient(120deg, #090b12 0%, #080d19 100%); }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.3rem, 7vw, 6.8rem); align-items: center; }
.portrait-frame { position: relative; display: grid; aspect-ratio: 828 / 1045; min-height: 0; place-items: center; overflow: hidden; border: 1px solid rgba(241,70,83,.25); border-radius: 14px; background: #090a0f; box-shadow: 0 24px 55px rgba(0,0,0,.34); }
.portrait-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.frame-corner { position: absolute; z-index: 2; width: 74px; height: 74px; border-color: var(--red); }.frame-corner-top { top: 16px; left: 16px; border-top: 2px solid; border-left: 2px solid; }.frame-corner-bottom { bottom: 16px; right: 16px; border-right: 2px solid; border-bottom: 2px solid; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.2; letter-spacing: -.055em; }
.profile-copy > p:not(.eyebrow) { max-width: 39rem; color: var(--muted); font-size: .96rem; }
.skill-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0; }.skill-chips span { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 2px; color: #d5dced; font-size: .7rem; }
.text-link { display: inline-flex; gap: .85rem; color: #fff; font-size: .83rem; font-weight: 800; }.text-link span { color: var(--red); }

.works-section { background: linear-gradient(180deg, #080d18, #070a11); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.1rem; }.section-heading h2 { margin: 0; }.section-heading > p { margin: 0 0 .45rem; color: var(--muted); font-size: .84rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.work-card { position: relative; min-height: 188px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg, rgba(25,31,46,.88), rgba(10,14,24,.9)); transition: transform .2s ease, border-color .2s ease; }.work-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.4); }.work-card::after { position: absolute; top: -36px; right: -26px; width: 110px; height: 110px; content: ""; border-radius: 50%; opacity: .22; filter: blur(18px); }.accent-red::after { background: var(--red); }.accent-blue::after { background: var(--blue); }.accent-white::after { background: #fff; }
.work-icon { display: grid; width: 38px; height: 38px; margin-bottom: 1rem; place-items: center; color: var(--blue); font-size: 2rem; font-weight: 900; }.accent-red .work-icon { color: var(--red); }.accent-white .work-icon { color: #f4f6ff; }.phone { border: 2px solid currentColor; border-radius: 7px; transform: scale(.58); }.phone::after { width: 13px; height: 2px; content: ""; background: currentColor; }.headset::before { content: "◖◗"; font-size: 2.7rem; }.gamepad::before { content: "⌁"; font-size: 3.6rem; }.globe { border: 2px solid currentColor; border-radius: 50%; font-size: 0; }.globe::before { content: ""; width: 50%; height: 100%; border-right: 1px solid currentColor; border-left: 1px solid currentColor; border-radius: 50%; }
.work-card h3 { position: relative; margin-bottom: .4rem; font-size: 1rem; }.work-card p { position: relative; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }.center-link { margin-top: 2rem; text-align: center; }
.dynamic-work-card { display: flex; min-height: 0; flex-direction: column; }.dynamic-work-card[href] { cursor: pointer; }.dynamic-work-card .work-thumbnail { display: block; width: calc(100% + 2.5rem); height: auto; aspect-ratio: 16 / 9; margin: -1.25rem -1.25rem 1rem; object-fit: cover; border-bottom: 1px solid var(--line); }.work-category { margin-bottom: .45rem !important; color: var(--red) !important; font-size: .64rem !important; font-weight: 900; letter-spacing: .1em; }.work-summary { white-space: pre-line; }.work-detail { margin-top: .55rem !important; color: #d6def0 !important; font-size: .7rem !important; }.work-detail b { display: block; margin-bottom: .1rem; color: var(--blue); font-size: .61rem; letter-spacing: .08em; }.work-link { margin-top: auto; padding-top: .9rem; color: var(--blue); font-size: .75rem; font-weight: 800; }

.apps-section { background: #070a11; }.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }.app-card { position: relative; min-height: 220px; padding: 1.3rem; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(155deg, #151d31, #090d17); transition: transform .2s ease, border-color .2s ease; }.app-card:nth-child(2n) { background: linear-gradient(155deg, #1b1220, #100a11); }.app-card:hover { border-color: rgba(247,64,81,.65); transform: translateY(-4px); }.app-number { position: absolute; right: .8rem; top: .65rem; color: rgba(255,255,255,.08); font: 900 3.7rem/1 ui-monospace, monospace; }.app-type { display: inline-block; margin-bottom: 2rem; color: var(--blue); font-size: .63rem; font-weight: 900; letter-spacing: .11em; }.app-card:nth-child(2n) .app-type { color: var(--red); }.app-card h3 { position: relative; margin-bottom: .4rem; font-size: 1.1rem; }.app-card p { position: relative; max-width: 13rem; margin-bottom: 0; color: var(--muted); font-size: .77rem; line-height: 1.65; }.card-arrow { position: absolute; bottom: 1.25rem; right: 1.25rem; color: var(--red); font-size: 1.25rem; }
.card-thumbnail { width: 100%; height: 120px; margin: -1.3rem -1.3rem 1rem; object-fit: cover; border-bottom: 1px solid var(--line); }.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }.media-card { position: relative; display: block; padding: 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(13,19,33,.85); transition: border-color .2s ease, transform .2s ease; }.media-card[href]:hover { border-color: rgba(247,64,81,.65); transform: translateY(-4px); }.media-card .card-thumbnail { display: block; width: calc(100% + 2.5rem); height: auto; aspect-ratio: 16 / 9; margin: -1.25rem -1.25rem 1rem; object-fit: cover; }.media-meta { color: var(--red) !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .08em; }.media-card h3 { margin-bottom: .45rem; font-size: 1rem; }.media-card-body > p:not(.media-meta):not(.media-venue) { color: var(--muted); font-size: .8rem; }.media-summary { white-space: pre-line; }.media-venue { color: #d8e2f7; font-size: .75rem; }.media-card-arrow { position: absolute; right: 1.25rem; bottom: 1rem; color: var(--red); font-size: 1.2rem; }

.media-section { background: radial-gradient(circle at 20% 40%, rgba(27,72,164,.11), transparent 34%), #080c16; }.media-empty { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; gap: .45rem; border: 1px dashed rgba(118,150,209,.3); border-radius: 10px; background: rgba(8,12,21,.68); text-align: center; }.media-empty p { margin: 0; font-size: 1rem; font-weight: 700; }.media-empty > span:last-child { color: var(--muted); font: .62rem ui-monospace, monospace; letter-spacing: .16em; }.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(250,48,66,.65); animation: pulse 2.3s infinite; }
.social-section { padding: 1.35rem 0; border-bottom: 1px solid var(--line); background: #080c16; }.social-section-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.social-section .eyebrow { margin: 0; }.social-links { display: flex; flex-wrap: wrap; gap: .55rem; }.social-links a { display: grid; width: 42px; height: 42px; place-items: center; padding: .3rem; overflow: hidden; border: 1px solid rgba(134,158,205,.32); border-radius: 7px; background: #fff; transition: border-color .2s ease, transform .2s ease; }.social-links a:hover { border-color: var(--red); transform: translateY(-2px); }.social-links img { display: block; width: 100%; height: 100%; object-fit: contain; }.social-links a:nth-child(5), .social-links a:nth-child(6) { width: 82px; }
.contact-section { padding: 2.3rem 0 4.8rem; background: #080c16; }.contact-panel { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.3rem; padding: 1.5rem clamp(1.1rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(100deg, rgba(29,22,31,.85), rgba(12,19,33,.92)); }.contact-panel h2 { margin-bottom: .25rem; font-size: clamp(1.25rem, 2.6vw, 2rem); }.contact-panel > div p:last-child { margin: 0; color: var(--muted); font-size: .82rem; }.contact-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(255,60,77,.8); border-radius: 50%; color: #fff; font-size: 1.5rem; background: var(--red); box-shadow: 0 0 24px rgba(250,48,66,.55); }.contact-mail { display: inline-flex; gap: .7rem; margin-top: .55rem; color: #fff; font-size: .8rem; font-weight: 800; }.contact-mail span { color: var(--red); }
.site-footer { padding: 1.7rem 0; border-top: 1px solid var(--line); background: #05070d; }.footer-inner { display: flex; align-items: center; gap: 1.2rem; }.site-footer .wordmark { font-size: 1rem; }.site-footer p { margin: 0; color: #78839b; font-size: .65rem; }.site-footer p:last-child { margin-left: auto; }

@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(250,48,66,0); } 100% { box-shadow: 0 0 0 0 rgba(250,48,66,0); } }
@media (max-width: 760px) { .desktop-nav { display: none; }.mobile-menu { display: block; }.site-header, .header-inner { min-height: 60px; }.wordmark { font-size: 1.35rem; }.wordmark small { font-size: .64rem; }.social-section-inner { align-items: flex-start; flex-direction: column; }.button { flex: 1; gap: .6rem; font-size: .76rem; }.profile-grid { grid-template-columns: 1fr; }.section-heading { display: block; }.section-heading > p { margin-top: .55rem; }.works-grid { grid-template-columns: 1fr; }.work-card { min-height: 155px; }.app-grid { display: flex; overflow-x: auto; margin-right: -20px; padding-right: 20px; scroll-snap-type: x mandatory; }.app-card { flex: 0 0 min(270px, 78vw); scroll-snap-align: start; }.media-grid { grid-template-columns: 1fr; }.media-card { display: block; padding: .75rem; }.media-card .card-thumbnail { width: 100%; margin: 0 0 .85rem; border: 0; border-radius: 5px; }.media-card-body { min-width: 0; padding-bottom: 1.25rem; }.media-card h3 { font-size: .95rem; }.media-card-body > p:not(.media-meta):not(.media-venue) { font-size: .74rem; }.media-card-arrow { right: .75rem; bottom: .45rem; }.footer-inner { display: grid; gap: .7rem; }.site-footer p:last-child { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1.25rem}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;padding:.75rem;border:1px solid var(--line);border-radius:6px;background:#080d18;color:#fff;font:inherit}.contact-form textarea,.contact-form label{grid-column:1/-1}.contact-form textarea{min-height:120px}.contact-form .hp{display:none}.contact-form .button{justify-self:start;background:#fff;color:#111;border-color:#fff;box-shadow:none}.contact-form .button:hover{background:#f1f1f1;border-color:#f1f1f1;box-shadow:0 0 18px rgba(255,255,255,.24)}@media(max-width:760px){.contact-form{grid-template-columns:1fr}}
.contact-result{margin:1rem 0;padding:.7rem 1rem;border-radius:6px;background:#114733;color:#c9f8db;font-weight:700}
