/* Mobile-first portfolio. Base styles target phones; wider layouts use min-width queries. */
:root { --paper: #faf7f0; --ink: #26232c; --muted: #68636e; --purple: #6943cc; --purple-dark: #50309f; --orange: #fb925e; --line: #ded9cf; --lavender: #eee7fa; --heading: 'Space Grotesk', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset, 90px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
::selection { background: #dfd0fb; color: #26232c; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.15; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.section { padding-block: 56px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,247,240,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: grid; align-items: center; justify-content: space-between; gap: 0 16px; grid-template-columns: 1fr auto; padding-block: 12px; }
.brand { font-family: var(--heading); font-size: 28px; font-weight: 700; letter-spacing: -2px; display: inline-flex; align-items: center; min-height: 44px; }
.brand-dot { color: var(--purple); }
.brand-mark { margin-left: 13px; font-size: 15px; letter-spacing: -1px; color: var(--purple); display: none; }
nav { display: grid; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; padding-block: 12px 4px; }
nav a:not(.nav-contact):hover, .footer-links a:hover { color: var(--purple); }
.nav-contact { border: 1px solid var(--ink); border-radius: 7px; padding: 10px 12px; display: flex; gap: 10px; transition: background .2s; }
.nav-contact:hover { background: var(--lavender); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 28px; min-height: 0; padding-block: 32px 40px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; margin-bottom: 20px; flex-wrap: wrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px #e6ddf7; margin-right: 5px; }
h1 { font-size: clamp(42px, 11vw, 60px); line-height: 1.09; letter-spacing: -2px; margin-bottom: 26px; font-weight: 700; }
.underlined { color: var(--purple); position: relative; display: inline-block; }
.underlined::after { content: ''; position: absolute; height: 8px; bottom: -5px; left: 0; right: -4px; border-top: 4px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); }
.hero-intro { font-size: 21px; margin-bottom: 0; letter-spacing: -.5px; }
.hero-intro strong { font-weight: 700; }
.hero-intro strong span { display: inline-block; color: #b45429; padding-left: 4px; font-size: 23px; }
.hero-role { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.hero-description { font-size: 16px; max-width: 480px; color: var(--muted); margin-bottom: 22px; }
.hero-actions { display: grid; align-items: center; gap: 10px; flex-wrap: wrap; grid-template-columns: minmax(0, 1fr); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; padding: 12px 18px; border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.6; transition: transform .2s, background .2s, box-shadow .2s; min-height: 48px; text-align: center; }
.button:hover { transform: translateY(-3px); box-shadow: 0 5px 0 rgba(38,35,44,.12); }
.button span[aria-hidden] { font-size: 18px; }
.button-purple { background: var(--purple); color: white; }
.button-purple:hover { background: var(--purple-dark); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline { border-color: var(--ink); }
.text-link { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; text-underline-offset: 5px; min-height: 44px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration: underline; }
.hero-note { margin-top: 14px; margin-bottom: 0; font-size: 12px; color: var(--muted); }
.hero-note > span { font-size: 20px; margin-right: 5px; color: var(--purple); }
.hero-art { position: relative; padding: 18px 0; isolation: isolate; width: min(320px, 100%); justify-self: center; }
.hero-art img { position: relative; z-index: 1; width: 100%; height: auto; animation: hover-gently 2.4s ease-in-out 2; }
.art-orbit { width: 85%; aspect-ratio: 1; background: #f1eafb; border-radius: 50%; position: absolute; top: 9%; left: 6%; z-index: -1; }
.art-label { position: absolute; font-size: 10px; z-index: 2; padding: 7px 10px; border-radius: 5px; font-weight: 600; }
.label-top { top: 3%; right: 3%; background: #f8d881; border: 1px solid #d5b764; transform: rotate(7deg); }
.label-bottom { bottom: 2%; left: 16%; border: 1px solid var(--ink); background: var(--paper); transform: rotate(-5deg); }
.label-bottom > span { color: var(--purple); margin-right: 6px; }
.art-star { position: absolute; font-size: 44px; color: var(--orange); top: -10px; left: 0; }
@keyframes hover-gently { 50% { transform: translateY(-8px) rotate(1deg); } }
.interest-strip { background: #ece5f7; border-block: 1px solid #d8cee9; }
.strip-inner { display: grid; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; font-size: 10px; letter-spacing: .7px; font-family: var(--heading); font-weight: 600; grid-template-columns: 1fr 1fr; text-align: center; }
.strip-inner b { color: var(--purple); font-size: 22px; line-height: 1; display: none; }
.section-heading { display: block; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 16px; color: var(--muted); }
h2 { font-size: clamp(30px, 8vw, 40px); letter-spacing: -1.3px; margin-bottom: 0; }
.serif-accent { font-family: Georgia, serif; font-weight: 400; font-style: italic; color: var(--purple); }
.section-heading > p { max-width: 480px; font-size: 16px; color: var(--muted); margin-bottom: 3px; margin: 16px 0 0; }
.project-toolbar { display: block; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; }
.filters { display: grid; gap: 8px; flex-wrap: wrap; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter { padding: 9px 12px; border-radius: 30px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; color: var(--muted); min-height: 44px; }
.filter.active { color: white; background: var(--ink); border-color: var(--ink); }
.filter:hover:not(.active) { background: var(--lavender); color: var(--ink); }
.project-count { font-size: 12px; color: var(--muted); margin: 12px 0 0; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.project-card { border: 1px solid var(--line); background: #fffdf8; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px #26232c0c; }
.project-preview { height: 220px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.preview-index { position: absolute; top: 15px; left: 17px; font: 10px var(--heading); opacity: .6; }
.project-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.project-type { font-size: 10px; letter-spacing: .6px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.project-type > span { letter-spacing: .5px; color: #42634b; }
.project-content h3 { font-size: 22px; letter-spacing: -.6px; margin-bottom: 11px; }
.project-content h3 a { display: flex; gap: 10px; justify-content: space-between; min-height: 44px; align-items: center; }
.project-content h3 a:hover { color: var(--purple); }
.project-content h3 a span { flex-shrink: 0; }
.project-content > p:not(.project-type) { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: auto 0 0; }
.tags li { font-size: 11px; border: 1px solid var(--line); padding: 4px 8px; border-radius: 4px; }
.project-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; margin: 0 0 18px; }
.project-links a:hover { color: var(--purple); text-decoration: underline; }
.project-detail { margin-top: auto; font-size: 14px; }
.preview-resume { background: #e9e0f7; }
.resume-sheet { display: flex; gap: 15px; width: 155px; height: 180px; background: #fffefa; padding: 19px 14px; transform: rotate(-8deg) translateY(22px); box-shadow: 7px 7px 0 #bba5dd; border: 1px solid #c3b1db; }
.resume-avatar { width: 30px; height: 30px; border-radius: 50%; background: #d4c4ed; flex-shrink: 0; font: 700 14px var(--heading); display: grid; place-items: center; }
.resume-lines { width: 100%; padding-top: 3px; }
.resume-lines b { display: block; font-size: 8px; line-height: 1.2; }
.resume-lines small { font-size: 4px; display: block; margin-bottom: 16px; }
.resume-lines i { height: 3px; background: #d4cddd; display: block; margin: 5px 0; }
.resume-lines i:nth-child(even) { width: 70%; }
.resume-lines em { font-size: 5px; display: block; margin-top: 13px; font-style: normal; font-weight: 700; }
.preview-sticker { position: absolute; right: 16px; top: 27px; font-size: 9px; background: #f6b485; padding: 5px 9px; transform: rotate(7deg); z-index: 2; border: 1px solid #b76b3a; }
.preview-symbol { color: var(--purple); position: absolute; bottom: 17px; left: 33px; font-size: 45px; }
.preview-weather { background: #e0edf5; }
.weather-demo { display: flex; flex-direction: column; position: absolute; left: 29px; bottom: 35px; }
.weather-demo > span:first-child { font-size: 8px; letter-spacing: 1.3px; }
.weather-demo strong { font: 500 66px var(--heading); letter-spacing: -6px; line-height: 1.1; }
.weather-demo > span:last-child { font-size: 9px; }
.weather-sun { width: 73px; height: 73px; background: #f7bf62; border-radius: 50%; position: absolute; right: 42px; top: 36px; box-shadow: 0 0 0 12px #f7bf6233; }
.weather-cloud { width: 97px; height: 35px; border-radius: 30px; background: #fffdfa; position: absolute; right: 27px; top: 95px; box-shadow: 0 5px 8px #44444410; }
.weather-cloud::before, .weather-cloud::after { content: ''; position: absolute; background: #fffdfa; border-radius: 50%; }
.weather-cloud::before { width: 44px; height: 44px; left: 16px; top: -23px; }
.weather-cloud::after { width: 33px; height: 33px; right: 9px; top: -14px; }
.preview-caption { position: absolute; right: 12px; bottom: 8px; font-size: 7px; color: #536875; }
.preview-youtube { background: #f6d9c9; }
.video-stack { width: 185px; height: 112px; border: 1px solid #392728; border-radius: 7px; position: absolute; }
.stack-back { background: #d99ac2; transform: rotate(10deg); }
.stack-front { background: #b64435; color: #fff9ed; transform: rotate(-6deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font: 700 12px var(--heading); }
.play-icon { font-size: 24px; line-height: 1; }
.download-sticker { position: absolute; right: 21px; bottom: 26px; border: 1px solid var(--ink); background: #fff5d9; border-radius: 4px; font: 600 12px var(--heading); padding: 6px 12px; transform: rotate(6deg); }
.preview-whatsapp { background: #e1eddf; flex-direction: column; gap: 15px; }
.bubble { padding: 13px 19px; border: 1px solid #638269; font-size: 12px; box-shadow: 4px 4px 0 #65846b20; }
.bubble-one { background: #fffef8; border-radius: 14px 14px 14px 0; transform: rotate(-5deg) translateX(-12px); }
.bubble-one span { color: #346743; padding-left: 15px; }
.bubble-two { background: #bfd8b9; border-radius: 14px 14px 0 14px; transform: rotate(3deg) translateX(9px); font-size: 10px; }
.link-doodle { font-family: monospace; font-size: 10px; color: #46664b; position: absolute; bottom: 15px; }
.preview-ui { background: #f5e8c1; }
.mini-browser { background: #fffefa; width: 218px; height: 137px; border: 1px solid #7e7150; border-radius: 6px; box-shadow: 6px 6px 0 #dac892; transform: rotate(-5deg); }
.mini-browser-top { font-size: 7px; padding: 5px 9px; color: #b6a06a; border-bottom: 1px solid #ded6bf; }
.mini-search { display: flex; align-items: center; flex-direction: column; padding-top: 17px; gap: 11px; }
.mini-search b { font-size: 23px; line-height: 1; color: #466cc1; letter-spacing: -.8px; }
.mini-search b span { color: #bb5742; }
.mini-search i { display: flex; justify-content: space-between; width: 165px; font-size: 6px; border: 1px solid #dadada; padding: 5px 7px; border-radius: 20px; color: #777; font-style: normal; }
.ui-sticker { position: absolute; bottom: 20px; right: 18px; font-size: 9px; background: #edb791; padding: 4px 9px; transform: rotate(5deg); border: 1px solid #a96c46; }
.preview-nexplay { background: #dedcf4; gap: 12px; }
.nexplay-logo { width: 70px; height: 76px; border-radius: 13px; border: 1px solid #392f6a; background: #6654a6; color: #fff9ed; display: grid; place-items: center; font: 700 44px var(--heading); box-shadow: 5px 5px 0 #b6afdb; transform: rotate(-7deg); position: relative; }
.nexplay-logo span { font-size: 16px; color: #f4be79; position: absolute; bottom: 6px; right: 7px; }
.nexplay-wordmark { font: 600 29px var(--heading); letter-spacing: -1px; }
.nexplay-wordmark > span { display: block; font-size: 6px; letter-spacing: 1.3px; margin-top: 4px; }
.private-project { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px; border-radius: 12px; margin-top: 24px; align-items: center; }
.private-project .eyebrow { font-size: 10px; flex-wrap: wrap; color: #d0c4e8; margin-bottom: 12px; letter-spacing: 1px; }
.private-badge { border: 1px solid #82748e; padding: 3px 6px; border-radius: 3px; font-size: 9px; }
.private-copy h3 { font-size: 25px; letter-spacing: -.5px; margin-bottom: 11px; }
.private-copy > p:not(.eyebrow) { color: #cbc4d5; font-size: 16px; max-width: 530px; margin-bottom: 16px; }
.private-project .tags li { border-color: #58505f; color: #e3d8ef; }
.private-project .button { padding: 11px 15px; gap: 13px; font-size: 14px; }
.bot-art { height: 125px; position: relative; width: 130px; }
.bot-face { position: absolute; left: 5px; top: 20px; width: 93px; height: 79px; border-radius: 25px 25px 25px 4px; background: #c6b0ef; border: 2px solid #a489d1; transform: rotate(-7deg); display: flex; justify-content: center; gap: 21px; font-size: 39px; line-height: 1.2; color: #372b52; }
.bot-face i { position: absolute; border-bottom: 2px solid #372b52; width: 23px; height: 15px; bottom: 18px; border-radius: 50%; }
.bot-spark { color: var(--orange); position: absolute; right: 5px; top: 0; font-size: 32px; }
.bot-chat { position: absolute; bottom: 10px; left: -6px; background: #f4e6c7; border-radius: 4px; color: #392d37; font-size: 7px; padding: 6px 9px; transform: rotate(5deg); }
.about-section { background: #eee8f5; border-block: 1px solid #dfd6ea; padding-block: 56px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; }
.about-copy h2 { font-size: clamp(32px, 8vw, 44px); margin-bottom: 26px; line-height: 1.15; }
.about-copy > p:not(.eyebrow) { color: #61596b; font-size: 16px; }
.about-copy .eyebrow { color: #6c5c7e; }
.about-copy strong { font-weight: 600; color: var(--ink); }
.location-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 8px; color: #5f4e75; }
.location-tag > span { font-size: 21px; }
.skills-panel { background: #fcfaf5; padding: 22px; border-radius: 12px; border: 1px solid #d6cbdf; box-shadow: 4px 4px 0 #dcd0ec; transform: none; }
.skills-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.skills-heading h3 { font-size: 23px; letter-spacing: -.7px; margin: 0; }
.skills-heading > span { color: #b7542b; font-size: 32px; }
.skills-panel > p { font-size: 15px; color: var(--muted); }
.skill-group { margin-top: 28px; }
.skill-group h4 { color: var(--muted); font-size: 11px; letter-spacing: 1px; margin-bottom: 12px; }
.skill-list { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
.skill-list li { border: 1px solid #d9d0e1; border-radius: 6px; background: #f0eaf7; padding: 7px 12px; font-size: 14px; }
.skill-group:nth-of-type(3) li { background: #f6e9da; border-color: #e6d4bf; }
.skill-group:nth-of-type(4) li { background: #e8eedf; border-color: #d1dcc2; }
.skills-panel .toolkit-note { border-top: 1px dashed #c8becf; padding-top: 20px; margin: 26px 0 0; font-size: 12px; }
.toolkit-note span { font-size: 17px; color: var(--purple); margin-right: 6px; }
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 30px; }
.column-label { font-size: 11px; letter-spacing: 1px; padding-bottom: 17px; margin-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.column-label > span { font-size: 20px; color: var(--purple); }
.journey-card { padding: 22px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 17px; }
.career-card { background: #ede7f7; border-color: #ddd2ed; }
.date-label { font-size: 11px; letter-spacing: .6px; font-weight: 600; color: #655872; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; flex-wrap: wrap; }
.current-dot { width: 6px; height: 6px; border-radius: 50%; background: #4d7650; }
.journey-card h4, .education-item h4 { font-size: 20px; margin-bottom: 9px; letter-spacing: -.5px; }
.journey-card > p, .education-item > p, .certificate-item p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.journey-card .institution { color: #51405f; margin-bottom: 14px; }
.freelance-card { background: #f4eddf; }
.freelance-card .text-link { margin-top: 18px; font-size: 14px; }
.education-item { padding-bottom: 25px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.education-notes { margin-top: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.small-badge { background: #e6ecda; color: #425631; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.certificate-item { display: flex; gap: 12px; border: 0; margin: 0; padding: 0; }
.certificate-icon { font-size: 32px; color: #b87928; background: #f3e7c8; border-radius: 9px; width: 44px; height: 52px; display: grid; place-items: center; flex-shrink: 0; }
.certificate-item .date-label { font-size: 10px; margin-bottom: 8px; }
.certificate-item h4 { font-size: 18px; }
.creator-section { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: #f4dfd0; border: 1px solid #e5ccba; border-radius: 14px; margin-bottom: 56px; }
.creator-art { background: #ddc7ae; position: relative; min-height: 280px; overflow: hidden; display: flex; align-items: center; justify-content: center; background-image: linear-gradient(0deg, #c7ae981a 1px, transparent 1px), linear-gradient(90deg,#c7ae9840 1px,transparent 1px); background-size: 24px 24px; }
.film-kicker { position: absolute; top: 20px; left: 20px; font-size: 9px; letter-spacing: 1px; }
.film-frame { width: 76%; height: 190px; background: #39362d; color: #f8ebd4; transform: rotate(-6deg); box-shadow: 10px 12px 0 #9e896b50; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; max-width: 350px; }
.film-frame::before, .film-frame::after { content: ''; height: 9px; background: repeating-linear-gradient(90deg, #a39378 0 9px, transparent 9px 19px); position: absolute; left: 0; right: 0; }
.film-frame::before { top: 8px; }.film-frame::after { bottom: 8px; }
.film-play { width: 44px; height: 44px; border: 1px solid #a99b7d; border-radius: 50%; display: grid; place-items: center; padding-left: 3px; font-size: 17px; color: #e9b56c; margin-bottom: 20px; }
.tamil-title { font-family: sans-serif; font-size: 12px; font-weight: 700; }
.film-caption { font-size: 7px; letter-spacing: 2.5px; margin-top: 14px; }
.frame-corner { position: absolute; width: 15px; height: 15px; border-color: #bbae92; }
.top-left { top: 29px; left: 17px; border-left: 1px solid; border-top: 1px solid; }
.bottom-right { bottom: 29px; right: 17px; border-right: 1px solid; border-bottom: 1px solid; }
.film-spark { position: absolute; bottom: 2px; right: 10px; font-size: 58px; color: #8a462b; }
.creator-copy { padding: 26px 22px; }
.creator-copy .eyebrow { color: #805c49; font-size: 10px; margin-bottom: 18px; }
.creator-copy h2 { font-size: 34px; letter-spacing: -1.5px; }
.creator-copy .serif-accent { color: #925132; }
.creator-copy > p:not(.eyebrow) { font-size: 13px; color: #705b51; margin: 20px 0; }
.creator-tags { display: flex; flex-wrap: wrap; gap: 13px; font-size: 12px; color: #77513e; margin-bottom: 26px; }
.creator-tags span::before { content: '✦'; margin-right: 5px; }
.creator-copy .button { font-size: 14px; gap: 12px; width: 100%; }
.contact-section { background: #e7def6; padding: 56px 0 40px; border-block: 1px solid #d4c6e8; text-align: center; }
.contact-inner { position: relative; }
.contact-inner .eyebrow { justify-content: center; color: #625175; }
.contact-inner h2 { font-size: clamp(32px, 8vw, 48px); letter-spacing: -1.3px; }
.contact-inner h2 > span { font-family: Georgia, serif; font-weight: 400; font-style: italic; color: var(--purple); }
.contact-inner > p:not(.eyebrow) { font-size: 16px; color: #6a5b79; margin-top: 23px; }
.contact-actions { display: grid; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 17px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.email-link { font-size: 14px; text-underline-offset: 4px; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.contact-actions .button { flex: 1; justify-content: space-between; text-align: left; }
.contact-label { min-width: 0; overflow-wrap: anywhere; }
.contact-label small { display: block; font-size: 12px; font-weight: 400; margin-top: 3px; }
.social-icon { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.contact-actions .social-icon { width: 36px; height: 36px; }
.contact-actions .contact-label { flex: 1; }
.footer-links .social-icon { width: 24px; height: 24px; }
.footer-links a:has(.social-icon) { gap: 6px; }
.contact-inner .contact-note { font-size: 12px; margin-bottom: 0; }
.contact-star { position: absolute; right: 0; top: -42px; color: #ac6139; font-size: 30px; transform: rotate(10deg); }
.site-footer { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-block: 24px; flex-wrap: wrap; }
.site-footer .brand { font-size: 25px; }
.site-footer > p { font-size: 12px; color: var(--muted); margin: 0; order: 3; width: 100%; }
.footer-links { display: flex; align-items: center; gap: 8px 16px; font-size: 13px; flex-wrap: wrap; width: 100%; }
.footer-links > a:last-child { font-size: 18px; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; margin-left: auto; flex-shrink: 0; }
.reading-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--purple); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hello-wave { display: inline-block; font-size: .62em; vertical-align: middle; transform-origin: 75% 80%; animation: hello-wave .7s ease-in-out 3; }
.hero-art:hover .art-star { animation: star-turn 1.1s ease-in-out; }
.hero-art:hover img { animation: hover-gently 1.5s ease-in-out 2; }
.button > span[aria-hidden], .project-content h3 a > span { display: inline-block; transition: transform .2s ease; }
.button:hover > span[aria-hidden], .button:focus-visible > span[aria-hidden], .project-content h3 a:hover > span { transform: translate(3px, -3px); }
.project-card:hover .weather-cloud, .project-card:focus-within .weather-cloud { animation: cloud-drift 1.5s ease-in-out 2; }
.project-card:hover .resume-sheet, .project-card:focus-within .resume-sheet { animation: paper-wiggle .8s ease-in-out; }
.project-card:hover .play-icon, .project-card:focus-within .play-icon { animation: happy-pop .65s ease-in-out 2; }
.project-card:hover .bubble, .project-card:focus-within .bubble { animation: chat-pop .6s ease both; }
.project-card:hover .bubble-two, .project-card:focus-within .bubble-two { animation-delay: .12s; }
.skill-list li { transition: transform .2s, background .2s; font-size: 14px; }
.skill-list li:hover { transform: translateY(-3px) rotate(-3deg); background: #e0d1f4; }
.creator-section:hover .film-play, .creator-section:focus-within .film-play { animation: happy-pop .7s ease-in-out 2; }
.learning-section { padding-block: 56px; background: #f2eddf; border-block: 1px solid #e1d8c5; }
.learning-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.learning-card { background: #fffdf7; border: 1px solid #dbd4c6; border-radius: 13px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .25s, box-shadow .25s; }
.learning-card:hover { transform: translateY(-5px); box-shadow: 5px 7px 0 #d8cfbc80; }
.learning-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; background: #e7e0f6; color: #6341a1; transform: rotate(-5deg); }
.learning-icon svg { width: 38px; height: 38px; }
.learning-bugs .learning-icon { color: #38644b; background: #e0eddf; transform: rotate(5deg); }
.learning-ai .learning-icon { color: #92542c; background: #f9e2ce; }
.learning-card.has-entered .learning-icon svg { animation: happy-pop .7s ease-in-out 2; }
.learning-card:hover .learning-icon svg { animation: icon-wiggle .7s ease-in-out 2; }
.learning-status { font-size: 12px; color: #6e6555; margin-bottom: 9px; display: inline-flex; align-items: center; gap: 7px; }
.learning-status::before { content: ''; width: 6px; height: 6px; background: #9c7328; border-radius: 50%; }
.learning-card h3 { font-size: 24px; letter-spacing: -.7px; margin-bottom: 14px; }
.learning-card p { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
.learning-note { margin-top: auto; padding-top: 16px; border-top: 1px dashed #ded6c8; width: 100%; font-size: 13px; color: #746448; }
.section-heading > p, .project-content > p:not(.project-type), .creator-copy > p:not(.eyebrow), .journey-card > p, .education-item > p, .certificate-item p { font-size: 16px; }
.skills-panel > p { font-size: 15px; }
@keyframes hello-wave { 0%, 100% { rotate: 0deg; } 25% { rotate: 18deg; } 65% { rotate: -12deg; } }
@keyframes star-turn { to { rotate: 180deg; } }
@keyframes cloud-drift { 50% { translate: -12px 0; } }
@keyframes paper-wiggle { 30% { rotate: 5deg; } 70% { rotate: -4deg; } }
@keyframes happy-pop { 50% { scale: 1.14; translate: 0 -3px; } }
@keyframes chat-pop { from { opacity: .5; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes icon-wiggle { 25% { rotate: 9deg; } 75% { rotate: -9deg; } }

/* Phone layout and touch controls. Navigation stays visible without JavaScript. */
.hero > *, .about-grid > *, .journey-grid > *, .private-project > *, .learning-grid > *, .project-grid > *, .creator-section > * { min-width: 0; }
main p, h1, h2, h3, h4 { overflow-wrap: break-word; }
.site-header nav a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 7px; padding: 10px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 94px; padding: 8px 13px; border: 1px solid var(--ink); border-radius: 7px; color: var(--ink); background: transparent; cursor: pointer; font-size: 14px; }
.menu-icon { width: 17px; height: 12px; position: relative; border-block: 2px solid currentColor; }
.menu-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before, .menu-toggle[aria-expanded="true"] .menu-icon::after { content: ''; position: absolute; top: 4px; left: 0; right: 0; border-top: 2px solid currentColor; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.nav-ready nav { display: none; }
.nav-ready nav.is-open { display: grid; }
.hero-actions .text-link { justify-content: center; }
.project-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; gap: 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-inner .eyebrow { font-size: 10px; letter-spacing: 1px; }

/* Larger phones and small tablets. */
@media (min-width: 600px) {
    .container { width: min(1180px, calc(100% - 48px)); }
    .section, .about-section, .learning-section { padding-block: 64px; }
    .hero { padding-block: 44px; }
    .hero-actions { display: flex; gap: 24px; }
    .hero-art { width: min(390px, 100%); }
    .art-star { font-size: 58px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .project-toolbar { display: flex; flex-wrap: wrap; }
    .filters { display: flex; }
    .project-count { margin: 0; }
    .private-project { grid-template-columns: 120px minmax(0, 1fr); padding: 30px; }
    .private-project > .button { grid-column: 2; justify-self: start; }
    .skills-panel { padding: 30px; }
    .creator-art { min-height: 320px; }
    .film-frame { height: 220px; }
    .tamil-title { font-size: 15px; }
    .creator-copy { padding: 32px; }
    .creator-copy .button { width: auto; }
    .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-links { width: auto; margin-left: auto; }
    .site-footer > p { text-align: center; }
}

/* Tablet navigation; the menu button is only needed on phones. */
@media (min-width: 768px) {
    .header-inner { display: flex; justify-content: space-between; min-height: 84px; }
    .menu-toggle { display: none; }
    .site-header nav, .nav-ready nav, .nav-ready nav.is-open { display: flex; gap: 12px; padding: 0; }
    .brand-mark { display: inline; }
    .strip-inner { display: flex; gap: 14px; }
    .strip-inner b { display: block; }
    .skills-panel { max-width: 620px; }
}

/* Desktop columns are added only when there is room to read them comfortably. */
@media (min-width: 1024px) {
    .container { width: min(1180px, calc(100% - 80px)); }
    .section { padding-block: 88px; }
    .hero { grid-template-columns: 1.1fr 1fr; min-height: 640px; gap: 30px; padding-block: 64px; }
    h1 { font-size: clamp(60px, 5.3vw, 72px); letter-spacing: -3px; }
    h2 { font-size: 44px; letter-spacing: -1.8px; }
    .hero-art { width: 100%; padding-block: 25px; }
    .art-label { font-size: 11px; padding: 9px 14px; }
    .art-star { font-size: 70px; }
    .section-heading { display: flex; gap: 32px; align-items: end; margin-bottom: 32px; }
    .section-heading > p { max-width: 330px; margin: 0; }
    .about-section, .learning-section { padding-block: 80px; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .skills-panel { padding: 32px; }
    .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .project-content { padding: 22px; }
    .project-content h3 { font-size: 21px; }
    .learning-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; }
    .creator-section { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 88px; }
    .creator-art { min-height: 380px; }
    .creator-copy { padding: 40px; }
    .contact-section { padding-block: 72px 60px; }
    .contact-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-inner h2 { font-size: 52px; }
    .contact-star { right: 5%; top: 25px; font-size: 55px; }
}
@media (min-width: 1200px) {
    .private-project { grid-template-columns: 130px minmax(0, 1fr) auto; padding: 36px; }
    .private-project > .button { grid-column: auto; }
    .site-footer { flex-wrap: nowrap; }
    .site-footer > p { order: 0; width: auto; text-align: left; }
    .footer-links { margin-left: 0; }
}
/* Avoid hover-only movement sticking after taps on touchscreens. */
@media (hover: none) {
    .button:hover, .project-card:hover, .learning-card:hover, .skill-list li:hover { transform: none; }
}
/* Keep the page usable when a phone is held sideways or text is zoomed. */
@media (max-height: 500px) {
    .site-header { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
