/* Akash: bold bento theme. Icons: Lucide (ISC) + Simple Icons (CC0), see icons.svg. */
:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #fffaf0;
  --white: #ffffff;
  --orange: #ff6b4a;
  --yellow: #ffd43b;
  --blue: #5aa9ff;
  --green: #6ee7a8;
  --purple: #c4a5ff;
  --navy: #1d2746;
  --navy-text: #c3cbe0;
  --muted: #4b4b4b;
  --radius: 22px;
  --line: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ico { width: 24px; height: 24px; flex: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.3rem var(--display); letter-spacing: -0.02em; }
.logo { width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); border: var(--line); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.logo .ico { width: 24px; height: 24px; stroke-width: 2.5; }
.nav-links { display: flex; gap: 8px; }
.nav-links a { font: 700 .9rem var(--body); text-decoration: none; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); }
.nav-links a:hover { background: var(--yellow); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--yellow); color: var(--ink); border: var(--line); box-shadow: 3px 3px 0 var(--ink);
  padding: 9px 16px; border-radius: 12px; font: 800 .92rem var(--body); white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.5; }
.btn.white { background: var(--white); } .btn.green { background: var(--green); } .btn.blue { background: var(--blue); } .btn.orange { background: var(--orange); }

/* ---------- Tiles ---------- */
.tile {
  border: var(--line); box-shadow: var(--shadow); border-radius: var(--radius);
  padding: 20px 22px; position: relative; overflow: hidden; background: var(--white);
}
a.tile { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.tile:hover, .tile.lift:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.orange { background: var(--orange); } .yellow { background: var(--yellow); } .blue { background: var(--blue); }
.green { background: var(--green); } .purple { background: var(--purple); } .white { background: var(--white); }
.navy { background: var(--navy); color: #fff; }
.navy p, .navy .small { color: var(--navy-text); }
.col { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.small { font: 600 .85rem var(--body); }
.big { font: 800 1.35rem/1.1 var(--display); letter-spacing: -0.02em; margin: 0; }
.sticker {
  position: absolute; right: 16px; top: 14px; background: var(--white); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; font: 800 .72rem var(--body); padding: 3px 10px; transform: rotate(6deg);
}
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pulse, .ticker-track { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Hero bento ---------- */
.hero { padding: 28px 0 8px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 16px; }
.span2 { grid-column: span 2; } .tall { grid-row: span 2; } .full { grid-column: 1 / -1; }
.photo { padding: 0; } .photo img { width: 100%; height: 100%; object-fit: cover; }
.name { font: 800 clamp(2.6rem, 6vw, 4.4rem)/.9 var(--display); letter-spacing: -0.045em; margin: 0; }
.role { font: 600 .95rem var(--body); margin: 0; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 128px; }
  .hero .photo { grid-column: span 2; grid-row: span 3; }
}

/* ---------- Ticker ---------- */
.ticker { margin-top: 16px; padding: 12px 0; display: flex; overflow: hidden; }
.ticker-track { display: flex; gap: 34px; padding-right: 34px; white-space: nowrap; animation: slide 22s linear infinite; font: 800 1.1rem var(--display); }
.ticker-track span::before { content: "✦ "; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
section { padding: 36px 0; }
.h2 { font: 800 clamp(1.9rem, 4vw, 2.6rem)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 6px; }
.lead { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Projects */
.projects { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } }
.project { display: grid; grid-template-columns: 1fr auto; gap: 18px; min-height: 320px; }
.project .appicon { width: 64px; border-radius: 16px; border: 2px solid var(--ink); }
.project .title { font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 14px 0 6px; }
.project p { margin: 0 0 12px; max-width: 40ch; }
.shots { display: flex; gap: 12px; align-items: flex-end; align-self: center; }
.shots img { width: 116px; border-radius: 14px; border: 2px solid var(--ink); }
.shots img:last-child { margin-bottom: 26px; }
@media (max-width: 560px) { .project { grid-template-columns: 1fr; } .shots { justify-content: center; } }
.soon { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 220px; }
.soon .ico { width: 34px; height: 34px; }

/* Logo chips (tech stack) */
.logos { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 11px 4px 7px; font: 700 .8rem var(--body); }
.logo-chip svg { width: 17px; height: 17px; }

/* Skills / cards grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards, .cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards, .cards.three { grid-template-columns: 1fr; } }
.card-ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 2px 2px 0 var(--ink); }
.card-ico .ico { width: 26px; height: 26px; }
.cards .tile h3 { font: 800 1.3rem var(--display); letter-spacing: -0.02em; margin: 16px 0 6px; }
.cards .tile p { margin: 0 0 14px; font-size: .95rem; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 36px; }
.cta .h2 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }

/* Screenshots strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 18px; overflow-x: auto; padding: 4px 8px 20px 4px; scroll-snap-type: x mandatory; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { border: var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); background: #111; }
.strip figcaption { font: 700 .88rem var(--body); text-align: center; margin-top: 10px; }

/* Steps */
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--display); background: var(--ink); color: var(--white); }

/* Accordions */
.acc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 760px) { .acc { grid-template-columns: 1fr; } }
details { background: var(--white); border: var(--line); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); padding: 0 18px; margin-bottom: 14px; }
details summary { cursor: pointer; list-style: none; padding: 15px 0; font: 800 1rem var(--display); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font: 800 1.5rem var(--display); line-height: 1; }
details[open] summary::after { content: "–"; }
details .body { padding: 0 0 16px; }
details .body ol, details .body ul { margin: 0; padding-left: 20px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--green); border: 2px solid var(--ink); }

/* Legal pages */
.legal { max-width: 820px; margin: 28px auto 48px; padding: 32px 36px; }
.legal h1 { font: 800 clamp(1.9rem, 4vw, 2.6rem)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 24px; font-weight: 600; }
.legal h2 { font: 800 1.2rem var(--display); margin: 28px 0 8px; }
.legal ul { padding-left: 22px; }
@media (max-width: 560px) { .legal { padding: 22px 18px; margin: 16px; } }

/* Footer */
.footer { border-top: var(--line); margin-top: 24px; padding: 28px 0 36px; font-size: .92rem; }
.footer .wrap { display: grid; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; }
.footer .fine { color: var(--muted); max-width: 90ch; margin: 0; }
@media (max-width: 760px) { #privacy-card { grid-template-columns: 1fr !important; padding: 22px !important; } .cta { padding: 26px; } }
@media (max-width: 820px) { .hero .phone-tile { grid-row: span 2; } }
