/* Shared Django pages. Navy / electric blue / soft white. */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); }
.intro-caption { position: absolute; top: 15%; inset-inline: 20px; text-align: center; }
.intro-caption > span { display: block; font: 500 8px var(--font-en); letter-spacing: 3px; color: #7186ae; }
.intro-caption strong { display: block; margin-top: 12px; color: #d0dcf1; font-size: clamp(17px,2vw,25px); font-weight: 500; }
.intro-progress { position: absolute; bottom: 32px; left: 32px; width: 145px; direction: ltr; }
.intro-progress > span { font: 500 9px var(--font-en); letter-spacing: 1.5px; color: #b9cae7; }
.intro-progress > div { height: 1px; background: #87b0ee30; margin-block: 12px; }
.intro-progress i { display: block; height: 1px; background: #94cfff; box-shadow: 0 0 8px #6baaff; transform: scaleX(0); transform-origin: left; }
.intro-progress small { font: 500 7px var(--font-en); letter-spacing: 2px; color: #6c81a5; }
@media(max-width:560px) { .intro-caption { top: 14%; }.intro-caption > span { font-size: 6px; letter-spacing: 1.5px; }.intro-progress { width: 72px; left: 18px; bottom: 25px; }.intro-progress > span { font-size: 6px; letter-spacing: .5px; }.intro-progress small { display: none; } }
/* The intro adds a scroll spacer: do not let scroll anchoring move the viewport. */
html, body { overflow-anchor: none; }
:focus-visible { outline: 3px solid #1268ff; outline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, a, input, select { touch-action: manipulation; }
main:focus { outline: none; }
.access-skip { position: fixed; top: -100px; right: 20px; z-index: 100; background: white; color: var(--navy); padding: 12px 22px; border-radius: 9px; }
.access-skip:focus { top: 16px; }
.brand-mark { letter-spacing: -2px; font-size: 23px; }
.main-nav { gap: 24px; }
.nav-cta { direction: rtl; font-family: var(--font-fa); }
.main-nav [aria-current="page"]:not(.nav-cta) { color: var(--blue); position: relative; }
.main-nav [aria-current="page"]:not(.nav-cta)::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; left: calc(50% - 2px); bottom: -12px; }
.site-header { margin-top: 16px; }
.page-shell { min-height: calc(100svh - 36px); }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; direction: ltr; text-align: right; }
.hero-content .eyebrow { letter-spacing: .6px; }
.hero h1 { letter-spacing: 0; }
.ir-logo { letter-spacing: -8px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; color: var(--blue); margin-top: 20px; }
.subtle-text { color: #738097; font-size: 12px; }
.page-heading { padding-top: 38px; padding-bottom: 52px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 8% 80%,#eaf2ff 0%,transparent 58%),linear-gradient(180deg,#fff,#fbfcff); border-bottom: 1px solid #edf1f7; }
.breadcrumb { display: block; color: #8290a6; font-size: 11px; margin-bottom: 34px; }
.page-heading h1 { font-size: clamp(30px,3.4vw,46px); line-height: 1.65; font-weight: 800; position: relative; z-index: 1; max-width: 830px; }
.page-heading h1 em { color: var(--blue); font-style: normal; }
.page-heading > p { max-width: 630px; font-size: 13px; line-height: 2.2; color: #66748b; margin-top: 14px; position: relative; z-index: 1; }
.heading-orbit { width: 160px; height: 160px; border: 1px solid #cbdcf6; border-radius: 50%; position: absolute; left: 65px; bottom: 54px; display: grid; place-items: center; color: var(--blue); font-size: 40px; transform: rotate(-12deg); background: linear-gradient(145deg,#fff9,#e9f1ff80); box-shadow: 0 20px 55px #1268ff0d; }
.heading-orbit::before { content: ''; position: absolute; inset: 17px -15px; border: 1px solid #cbdcf6; border-radius: 50%; transform: rotate(42deg); }
.heading-orbit::after { content: ''; width: 10px; height: 10px; background: var(--blue); border: 5px solid #e8f0ff; box-sizing: content-box; border-radius: 50%; position: absolute; top: 7px; right: 13px; }
.youtube-orbit { color: #e8444e; }
.youtube-orbit::after { background: #e8444e; }
.catalog-section { padding-top: 32px; padding-bottom: 52px; }
.catalog-filters { display: flex; gap: 12px; align-items: end; padding: 20px; background: #f8fafd; border: 1px solid #edf1f6; border-radius: 12px; margin-bottom: 30px; }
.catalog-filters label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 7px; }
.search-field { flex: 1; position: relative; }
.search-field > i { position: absolute; right: 14px; bottom: 15px; font-size: 13px; color: #8794a9; }
.catalog-filters input, .catalog-filters select { width: 100%; min-height: 44px; background: #fff; border: 1px solid #dfe6f0; border-radius: 7px; padding: 9px 12px; color: var(--navy); font-size: 12px; }
.catalog-filters input { padding-right: 38px; }
.category-field { width: 175px; }
.catalog-filters button { min-height: 44px; }
.filter-reset { color: #64738b; font-size: 11px; padding: 12px 4px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.results-heading h2 { font-size: 20px; }
.results-heading > span { font-size: 11px; color: #7c899e; }
.listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.catalog-card { min-width: 0; border-radius: 13px; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-cover { height: 160px; position: relative; overflow: hidden; background: #edf3fc; }
.listing-grid .card-cover { height: 195px; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.catalog-card:hover .card-cover img { transform: scale(1.04); }
.catalog-card .work-content, .catalog-card .card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.catalog-card h3 { font-size: 13px; line-height: 1.95; min-height: 0; margin-bottom: 9px; }
.catalog-card p { font-size: 10px; line-height: 2; color: #768298; min-height: 0; margin-bottom: 13px; }
.listing-grid h3 { font-size: 15px; }
.listing-grid p { font-size: 12px; }
.card-kicker { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; color: var(--blue); font-size: 9px; }
.demo-tag { font-size: 8px; font-weight: 400; background: #f1f4f9; padding: 2px 5px; border-radius: 4px; color: #7b8799; }
.tags { margin-top: auto; padding-top: 5px; }
.tags span { font-size: 9px; padding: 4px 9px; }
.card-more { font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; border-top: 1px solid #edf1f6; margin-top: 16px; padding-top: 13px; color: var(--navy); }
.cover-link { position: absolute; bottom: 12px; left: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy); background: #fff; box-shadow: 0 4px 12px #07173512; }
.project-art { position: absolute; inset: 24px 24px -8px; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 8px 20px #1635591a; direction: ltr; transform: rotate(-5deg); overflow: hidden; }
.art-toolbar { display: block; background: #f8fafe; border-bottom: 1px solid #eaf0f9; padding: 5px 10px; color: #bbccea; font-size: 9px; }
.art-sidebar { position: absolute; top: 24px; bottom: 0; width: 22%; background: var(--navy); }
.art-sidebar::after { content: ''; position: absolute; left: 20%; right: 20%; top: 18px; height: 35px; background: repeating-linear-gradient(180deg,#c0d5ff66 0 3px,transparent 3px 12px); }
.art-chart { position: absolute; display: flex; gap: 9px; align-items: end; right: 14px; left: 29%; top: 60px; bottom: 17px; border-bottom: 1px solid #e5ecf7; }
.art-chart i { flex: 1; height: 50%; background: #bcd3ff; border-radius: 3px 3px 0 0; }
.art-chart i:nth-child(2) { height: 80%; background: #6498f4; }
.art-chart i:nth-child(3) { height: 65%; }
.art-chart i:nth-child(4) { height: 100%; background: var(--blue); }
.art-chart i:nth-child(5) { height: 85%; background: #3b7eeb; }
.art-caption { position: absolute; top: 32px; right: 15px; font-size: 10px; color: var(--navy); }
.catalog-card:nth-child(3n+2) .project-cover { background: #edf5f2; }
.catalog-card:nth-child(3n+2) .project-art { transform: rotate(4deg); }
.catalog-card:nth-child(3n+3) .project-cover { background: #f0eff9; }
.tutorial-art { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 24px; color: white; background: radial-gradient(ellipse at 10% 95%,#155995,#0b2045 65%); direction: ltr; }
.tutorial-art strong { font: 700 25px var(--font-en); position: relative; z-index: 1; }
.art-code { color: #92bbff; font: 600 14px var(--font-en); margin-bottom: 8px; }
.art-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(#9abfff 1px,transparent 1px),linear-gradient(90deg,#9abfff 1px,transparent 1px); background-size: 26px 26px; transform: perspective(180px) rotateY(-25deg); }
.catalog-card:nth-child(3n+2) .tutorial-art { background: radial-gradient(ellipse at 10% 95%,#4e3386,#1b1744 65%); }
.catalog-card:nth-child(3n+3) .tutorial-art { background: radial-gradient(ellipse at 10% 95%,#13676a,#0e2836 65%); }
.youtube-play { position: absolute; top: 50%; right: 24px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: #ffffff1f; border: 1px solid #ffffff44; border-radius: 50%; font-size: 13px; backdrop-filter: blur(4px); transition: background .2s; }
.catalog-card:hover .youtube-play { background: #ed3c4b; }
.duration { position: absolute; bottom: 10px; right: 12px; color: #fff; background: #050d1daa; border-radius: 4px; padding: 2px 7px; font-size: 9px; }
.tutorial-meta { display: flex; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid #edf1f6; margin-top: auto; padding-top: 14px; font-size: 9px; color: #8190a7; }
.youtube-label { color: #c93444; font-size: 10px; }
.learning-note { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; padding: 20px 24px; background: #fff8f8; border: 1px solid #f8e5e6; border-radius: 12px; }
.learning-note > i { font-size: 28px; color: #e6434e; }
.learning-note strong { font-size: 13px; }
.learning-note p { font-size: 11px; color: #7f7482; margin-top: 4px; }
.learning-note > span { margin-right: auto; font-size: 23px; color: #db6270; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 65px 20px; border: 1px dashed #dce4ef; border-radius: 12px; background: #fbfcff; }
.empty-state > i { color: #a4bbdf; font-size: 35px; margin-bottom: 20px; }
.empty-state h3 { font-size: 16px; }
.empty-state p { font-size: 12px; color: #738097; margin: 12px 0 20px; }
.pagination { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 32px; font-size: 12px; color: #748299; }
.service-grid { padding-top: 36px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.service-card { scroll-margin-top: 24px; border: 1px solid #e4eaf3; border-radius: 16px; padding: 30px; background: linear-gradient(135deg,#fff,#fbfcff); transition: box-shadow .25s,transform .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #15386b0c; }
.service-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.service-icon { width: 48px; height: 48px; border: 1px solid #deebff; border-radius: 12px; background: #eef5ff; display: grid; place-items: center; color: var(--blue); font-size: 21px; }
.service-number { font: 500 30px var(--font-en); color: #d9e2ef; }
.service-card h2 { font-size: 23px; }
.service-card > p { font-size: 12px; color: #6e7c93; line-height: 2.1; margin: 13px 0 22px; }
.service-card ul { list-style: none; display: grid; gap: 10px; }
.service-card li { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #425573; }
.service-card li i { color: var(--blue); font-size: 10px; }
.service-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #e8eef6; padding-top: 18px; margin-top: 25px; }
.service-card-bottom > span { font: 500 9px var(--font-en); color: #7889a4; direction: ltr; }
.service-card-bottom a { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; background: var(--navy); border-radius: 50%; color: white; }
.process-section { padding-top: 24px; padding-bottom: 65px; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; padding-top: 15px; }
.process-grid article { border-top: 1px solid #dfe8f5; padding-top: 22px; }
.process-grid article > span { font: 600 11px var(--font-en); color: var(--blue); background: #eef4ff; padding: 8px 10px; border-radius: 6px; }
.process-grid h3 { font-size: 14px; margin: 23px 0 10px; }
.process-grid p { font-size: 11px; color: #7c889b; line-height: 2; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.story-copy h2 { font-size: 25px; line-height: 1.8; margin-bottom: 20px; }
.story-copy p { font-size: 12px; line-height: 2.35; color: #63748e; margin-top: 12px; }
.developer-card { background: #09172f; border: 1px solid #243859; border-radius: 14px; overflow: hidden; box-shadow: 0 25px 50px #0b204024; transform: rotate(-2deg); }
.terminal-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #ffffff10; color: #6684ad; font: 10px var(--font-en); }
.terminal-top > span { letter-spacing: 3px; color: #6788bd; }
.developer-card pre { padding: 28px 22px; color: #c2d1e8; font: 11px/2.25 Consolas,monospace; overflow-x: auto; }
.code-purple { color: #c6a2ef; }.code-blue { color: #8cc4fc; }.code-green { color: #80d4c1; }
.terminal-status { display: flex; gap: 8px; align-items: center; color: #738caf; font: 10px var(--font-en); padding: 13px 22px; background: #ffffff04; }
.terminal-status > span { width: 5px; height: 5px; background: #78d2aa; border-radius: 50%; box-shadow: 0 0 9px #78d2aa70; }
.skills-section { padding-top: 20px; padding-bottom: 60px; }
.skill-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.skill-groups article { padding: 25px 18px; border: 1px solid #e9edf5; border-radius: 12px; }
.skill-groups i { color: var(--blue); font-size: 25px; margin-bottom: 20px; }
.skill-groups h3 { font-size: 13px; }
.skill-groups p { margin-top: 10px; font: 9px/1.8 var(--font-en); color: #7d8ca4; direction: ltr; text-align: right; }
.principles { margin-bottom: 60px; padding-top: 45px; padding-bottom: 45px; background: #f7faff; text-align: center; }
.principles .eyebrow { text-align: center; }
.principles h2 { font-size: 28px; line-height: 1.8; }.principles h2 span { color: var(--blue); }
.principles p { font-size: 12px; color: #7b899f; margin-top: 15px; }
.contact-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 55px; padding-top: 44px; padding-bottom: 60px; }
.contact-methods h2 { font-size: 22px; margin-bottom: 9px; }
.contact-methods > p { margin-bottom: 25px; }
.contact-method { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #edf1f6; transition: transform .2s; }
.contact-method:hover { transform: translateX(-4px); }
.method-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #e2eaf6; background: #f6f9ff; color: var(--blue); border-radius: 11px; font-size: 18px; flex-shrink: 0; }
.contact-method strong { display: block; font-size: 13px; }.contact-method small { display: block; font-size: 11px; color: #7c8ba3; margin-top: 3px; }
.method-arrow { margin-right: auto; color: #889bb9; font-size: 20px; }
.conversation-card { background: #f6f9ff; border: 1px solid #e5edf9; padding: 32px; border-radius: 16px; }
.conversation-card h2 { font-size: 24px; margin: 10px 0 13px; }
.conversation-card > p { color: #72829b; font-size: 12px; line-height: 2; }
.conversation-card ol { list-style: none; margin-top: 24px; display: grid; gap: 23px; }
.conversation-card li { display: flex; gap: 16px; }.conversation-card li > span { color: var(--blue); font: 500 12px var(--font-en); padding-top: 5px; }
.conversation-card li strong { font-size: 12px; }.conversation-card li p { font-size: 11px; color: #7788a3; margin-top: 5px; }
.contact-location { display: flex; align-items: center; gap: 12px; border-top: 1px solid #e1e9f5; margin-top: 30px; padding-top: 22px; color: #667e9f; font-size: 12px; }.contact-location > i { font-size: 22px; }.contact-location small { display: block; font-size: 10px; color: #92a0b6; }
.faq-section { padding-bottom: 60px; }.faq-section details { border-bottom: 1px solid #e8edf6; padding: 20px 0; }.faq-section summary { font-size: 13px; cursor: pointer; }.faq-section details p { font-size: 12px; color: #7a879d; margin-top: 16px; line-height: 2.2; }.faq-section a { color: var(--blue); }
.project-heading h1 { max-width: 100%; font-size: clamp(30px,3.3vw,42px); }.project-heading .tags { margin-top: 18px; }
.project-detail { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 40px; padding-top: 45px; padding-bottom: 55px; }
.detail-cover { border-radius: 12px; max-height: 420px; object-fit: cover; margin-bottom: 28px; }.project-story h2 { font-size: 23px; margin-bottom: 20px; }
.prose { font-size: 13px; color: #61748f; line-height: 2.4; overflow-wrap: anywhere; }.prose p { margin-bottom: 20px; }
.project-facts { align-self: start; border: 1px solid #e3eaf4; padding: 24px; border-radius: 13px; background: #f9fbff; }.project-facts h2 { font-size: 20px; }.project-facts dl { margin: 20px 0; }.project-facts dt { font-size: 10px; color: #7f90aa; margin-top: 13px; }.project-facts dd { font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }.project-facts .btn { display: flex; margin-top: 12px; }
.demo-notice { background: #f4f7fc; border: 1px solid #e4ebf6; border-radius: 8px; padding: 12px 16px; font-size: 11px; color: #70839c; margin-bottom: 24px; }
/* Equal-width copies make the ticker loop without a visible jump. */
.stack-strip { display: flex; align-items: center; gap: 26px; padding: 24px 54px; border-block: 1px solid #e7edf7; background: #fcfdff; direction: ltr; }
.stack-heading { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.stack-heading > span { max-width: 100px; font: 600 9px/1.8 var(--font-en); color: #7a8ba5; letter-spacing: 1.3px; }
.stack-window { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.stack-track { display: flex; width: max-content; animation: tools-ticker 65s linear infinite; }
.stack-group { display: flex; flex-shrink: 0; align-items: center; gap: 36px; margin: 0; padding: 0 36px 0 0; list-style: none; }
.stack-group li { display: flex; align-items: center; gap: 36px; white-space: nowrap; font: 600 14px var(--font-en); color: #526c91; }
.stack-group li::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #7daaff; }
.stack-strip:hover .stack-track, .stack-strip:focus-within .stack-track { animation-play-state: paused; }
@keyframes tools-ticker { to { transform: translateX(-50%); } }
.resume-section { padding-block: 45px; }
.resume-timeline article { display: grid; grid-template-columns: 140px 1fr; gap: 30px; border-top: 1px solid #e7edf7; padding: 28px 0; }
.resume-date { color: #477ac2; font-size: 12px; }
.resume-timeline h3 { margin: 0 0 8px; font-size: 19px; }
.resume-timeline strong { color: #677d9d; font-size: 12px; font-weight: 500; }
.resume-timeline p, .resume-facts p { color: #71829c; font-size: 13px; line-height: 2.2; }
.resume-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.resume-facts article { border: 1px solid #e7edf7; border-radius: 18px; padding: 25px; }
.resume-facts h2 { font-size: 19px; margin-top: 12px; }

.home-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 55px; padding-top: 60px; padding-bottom: 50px; }.home-about h2 { font-size: 29px; line-height: 1.8; }.home-about h2 span { color: #8a9ab2; }.home-about p { font-size: 12px; line-height: 2.3; color: #6a7b95; }
.home-services { padding-bottom: 35px; }.service-teasers { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }.service-teasers a { position: relative; padding: 24px 18px; border-radius: 11px; border: 1px solid #e7edf7; background: #fafdff; transition: border-color .2s; }.service-teasers a:hover { border-color: #9dbdff; }.service-teasers i { font-size: 22px; color: var(--blue); margin-bottom: 20px; }.service-teasers h3 { font-size: 12px; }.service-teasers a > span { position: absolute; left: 15px; top: 20px; color: #8fa6c7; }
.home-tutorials { padding-bottom: 50px; }.contact-cta { margin-top: 14px; margin-bottom: 48px; }
.footer-main { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 34px; }.footer-col h3 { font-size: 12px; }.footer-col a,.footer-col span { font-size: 10px; }.footer-brand p { font-size: 10px; }.footer .socials a { background: #ffffff05; border-color: #ffffff20; color: #b3c4dd; width: 30px; height: 30px; }.footer-contact { direction: rtl !important; font-family: var(--font-fa) !important; color: #abcfff !important; margin-top: 7px; }.footer-bottom { min-height: 55px; font-size: 9px; }.error-page { margin: 45px; }
.intro-signature { position: absolute; right: 32px; top: 25px; display: flex; gap: 14px; align-items: center; direction: ltr; }.intro-signature strong { font: 800 26px var(--font-en); letter-spacing: -2px; }.intro-signature strong span { color: #609eff; }.intro-signature small { font: 500 8px var(--font-en); color: #8ea4c5; letter-spacing: 2px; }
#hero-hint { color: #9badc9; font-size: 12px; }#hero-hint > span { font-size: 23px; color: #b4d0ff; animation: hint-float 2.8s ease-in-out infinite; }
@keyframes hint-float { 50% { transform: translateY(6px); opacity: .45; } }
/* Native cross-document transitions; fallback uses the curtain below. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 230ms ease both; }
::view-transition-new(root) { animation: page-in 430ms var(--ease-out) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-8px); filter: blur(3px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.page-curtain { position: fixed; inset: 0; z-index: 90; background: #071735; color: white; display: grid; place-items: center; transform: translateY(100%); pointer-events: none; visibility: hidden; }
.page-curtain > span { font: 700 38px var(--font-en); letter-spacing: -3px; }.curtain-dot { color: #4f94ff; }
html.is-leaving .page-curtain { visibility: visible; transform: none; transition: transform 240ms var(--ease-out); }
html.is-entering #site-content { animation: page-in 450ms var(--ease-out) both; }
@media (max-width: 1050px) { .main-nav { gap: 16px; }.heading-orbit { opacity: .45; left: 35px; width: 130px; height: 130px; }.page-heading > p { max-width: 75%; }.listing-grid { gap: 16px; }.catalog-card .work-content,.catalog-card .card-body { padding: 14px; }.footer-main { gap: 20px; }.contact-layout { gap: 30px; }.developer-card pre { font-size: 9px; }.about-story { gap: 30px; } }
@media (max-width: 820px) { .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.main-nav [aria-current="page"]:not(.nav-cta)::after { display: none; }.main-nav { max-height: 70svh; overflow-y: auto; }.page-heading { padding-top: 25px; }.page-heading > p { max-width: 90%; }.heading-orbit { opacity: .2; left: 10px; bottom: 20px; }.page-heading h1 { font-size: 35px; }.catalog-filters { flex-wrap: wrap; }.search-field { flex-basis: 55%; }.service-grid { gap: 18px; }.service-card { padding: 23px; }.process-grid,.skill-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }.about-story,.contact-layout { grid-template-columns: 1fr; }.developer-card { max-width: 510px; width: 100%; margin: auto; transform: none; }.developer-card pre { font-size: 12px; }.footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }.footer-brand { grid-column: auto; }.project-detail { grid-template-columns: 1fr; }.project-facts { max-width: 100%; }.home-about { gap: 25px; }.service-teasers { grid-template-columns: repeat(2,minmax(0,1fr)); }.stack-strip { padding-inline: 35px; }.section-heading { gap: 15px; flex-wrap: wrap; } }
@media (max-width: 560px) { .site-header { margin-top: 10px; }.page-shell { margin: 0; }.page-heading { padding-bottom: 35px; }.breadcrumb { margin-bottom: 25px; }.page-heading h1 { font-size: 28px; }.page-heading > p { max-width: 100%; font-size: 12px; }.heading-orbit { width: 100px; height: 100px; }.listing-grid { grid-template-columns: 1fr; gap: 24px; }.catalog-filters { padding: 16px; gap: 14px; }.search-field { flex-basis: 100%; }.category-field { flex: 1; width: auto; }.filter-reset { flex-basis: 100%; padding: 0; }.catalog-card .card-cover,.listing-grid .card-cover { height: 190px; }.catalog-card h3 { font-size: 15px; }.catalog-card p { font-size: 12px; }.catalog-card .work-content,.catalog-card .card-body { padding: 20px; }.service-grid { grid-template-columns: 1fr; }.service-card { padding: 26px; }.service-card h2 { font-size: 22px; }.process-grid { gap: 22px; }.process-section .subtle-text { font-size: 10px; }.about-story { padding-top: 35px; padding-bottom: 45px; }.developer-card pre { font-size: 10px; padding: 22px 15px; }.terminal-top { font-size: 9px; }.story-copy h2 { font-size: 23px; }.skill-groups { gap: 10px; }.skill-groups article { padding: 20px 13px; }.principles h2 { font-size: 23px; }.contact-layout { padding-top: 30px; }.conversation-card { padding: 25px; }.learning-note { padding: 18px; gap: 12px; }.learning-note > span { display: none; }.learning-note p { font-size: 10px; }.learning-note strong { font-size: 12px; }.footer-main { gap: 28px 20px; }.footer-brand,.contact-col { grid-column: 1/-1; }.footer-bottom { justify-content: flex-start; direction: ltr; font-size: 8px; }.back-top { right: 0; }.home-about { grid-template-columns: 1fr; gap: 18px; padding-block: 38px; }.home-about h2 { font-size: 25px; }.stack-strip { padding: 20px; gap: 15px; justify-content: center; }.stack-strip > span { flex-basis: 100%; text-align: center; }.stack-strip strong { font-size: 11px; }.section-heading h2 { font-size: 22px; }.contact-cta { margin-bottom: 30px; }.intro-signature { right: 18px; top: 24px; }.intro-signature small { display: none; }#skip-intro { left: 18px; padding: 10px 15px; font-size: 10px; }.error-page { margin: 25px 15px; }.error-page h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } ::view-transition-old(root),::view-transition-new(root) { animation: none; }.page-curtain { display: none; } }

@media (max-width: 560px) {
  .stack-strip { display: block; padding: 18px 0; }
  .stack-heading { justify-content: center; margin-bottom: 16px; }
  .stack-heading > span { max-width: none; }
  .stack-group li { font-size: 13px; }
  .resume-timeline article { grid-template-columns: 1fr; gap: 10px; }
  .resume-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-track { animation: none; width: auto; }
  .stack-group { flex-wrap: wrap; padding: 0; gap: 16px; }
  .stack-group li { white-space: normal; gap: 16px; }
  .stack-group[aria-hidden] { display: none; }
  .stack-window { mask-image: none; }
}
