/* hridoybabu.com - 2026-11 redesign. One stylesheet, no framework.
   Tokens first; dark is the default, light is a toggle (html[data-theme="light"]). */

:root {
  --bg: #0b1220;
  --bg-2: #0f182b;
  --surface: #121d33;
  --surface-2: #172441;
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(148, 163, 184, .3);
  --text: #e2e8f0;
  --text-2: #a7b4c7;
  --text-3: #71809a;
  --heading: #f8fafc;
  --accent: #2dd4bf;
  --accent-2: #3b82f6;
  --accent-ink: #052e2b;
  --warm: #f59e0b;
  --danger: #f87171;
  --grad: linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(2, 6, 23, .45);
  --shadow-sm: 0 4px 14px rgba(2, 6, 23, .35);
  --font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Noto Sans Bengali", var(--font);
  --max: 1140px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --line: rgba(15, 23, 42, .1);
  --line-strong: rgba(15, 23, 42, .2);
  --text: #1e293b;
  --text-2: #475569;
  --text-3: #64748b;
  --heading: #0f172a;
  --accent: #0d9488;
  --accent-2: #2563eb;
  --accent-ink: #ffffff;
  --shadow: 0 12px 40px rgba(15, 23, 42, .1);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="bn"] body { font-family: var(--font-bn); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: min(var(--max), 100% - 32px); } }

/* ---------------------------------------------------------------- header */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--heading); font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font-size: 17px; line-height: 1.1; }
.brand small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { .brand small { font-size: 10px; letter-spacing: .02em; } .brand b { font-size: 16px; } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--heading); background: color-mix(in srgb, var(--surface-2) 80%, transparent); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover { color: var(--heading); background: var(--surface-2); }
.lang-btn { width: auto; padding: 0 12px; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad); color: #04201e; box-shadow: 0 8px 24px rgba(45, 212, 191, .25); }
.btn-primary:hover { color: #04201e; box-shadow: 0 12px 30px rgba(45, 212, 191, .32); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--heading); }
.btn-ghost:hover { background: var(--surface-2); color: var(--heading); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 120%; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 30%, rgba(45, 212, 191, .16), transparent 60%), radial-gradient(45% 45% at 85% 20%, rgba(59, 130, 246, .18), transparent 60%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 500; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 18px 0 10px; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--text-3); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, .75)); }
.hero-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.hero-card b { display: block; color: var(--heading); font-size: 14px; }
.hero-card i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-style: normal; font-size: 16px; }
.hero-card.c1 { left: -24px; bottom: 56px; }
.hero-card.c2 { right: -18px; top: 42px; }
.hero-card.c3 { right: -10px; bottom: -14px; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 36px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; width: min(100%, 300px); }
  .hero-photo { aspect-ratio: 1; border-radius: 24px; }
  .hero-card.c1 { left: -10px; bottom: 24px; }
  .hero-card.c2 { right: -8px; top: 18px; }
  .hero-card.c3 { display: none; }
}

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.stat { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-size: 32px; line-height: 1; color: var(--heading); letter-spacing: -.03em; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 8px; color: var(--text-2); font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat b { font-size: 26px; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-head .kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 8px; }
.section-head p { margin-top: 8px; color: var(--text-2); max-width: 600px; }
.section-head .more { flex: none; }
@media (max-width: 700px) { .section { padding: 56px 0; } .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about p + p { margin-top: 12px; }
.about .lead { color: var(--text); font-size: 17px; }
.skills { display: grid; gap: 12px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.skill span { font-weight: 600; color: var(--heading); font-size: 14px; }
.skill b { font-size: 13px; color: var(--accent); font-weight: 600; }
.skill .bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.skill .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.1s var(--ease); }
.skill.is-in .bar i { width: var(--w); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 500; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--text-2); font-size: 14px; }
.card ul li::before { content: "›"; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* ---------------------------------------------------------------- experience */
.timeline { display: grid; gap: 14px; }
.tl {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 22px; align-items: center; padding: 20px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.tl time { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.tl h3 { font-size: 17px; }
.tl span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }
@media (max-width: 700px) { .tl { grid-template-columns: 1fr; } .tl .btn { justify-self: start; } }

/* ---------------------------------------------------------------- projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.project-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .project-shot img { transform: scale(1.04); }
.project-shot .live { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 18, 32, .72); color: #e2e8f0; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 6px; }
.project-shot .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.project-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-body .cat { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-body h3 { font-size: 18px; }
.project-body p { color: var(--text-2); font-size: 14.5px; }
.project-body .stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.project-body .stack span { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12px; }
.project-body .links { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.project-body .links a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------- apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }
.app { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.app:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.app img { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.app h3 { font-size: 18px; }
.app .tag-line { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.app .meta { color: var(--text-3); font-size: 12.5px; margin-top: 6px; }
.app .acts { grid-column: 1 / -1; display: flex; gap: 10px; }
.app .acts .btn { flex: 1; }

/* ---------------------------------------------------------------- videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr; } }
.video { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.video:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video .thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #e11d48; font-size: 22px; padding-left: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: transform .2s; }
.video:hover .play i { transform: scale(1.08); }
.video h3 { font-size: 15.5px; padding: 14px 16px 16px; line-height: 1.45; }
.video-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 6, 23, .85); backdrop-filter: blur(6px); }
.video-modal.is-open { display: flex; }
.video-modal .frame { width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal .close { position: absolute; top: 18px; right: 18px; }

/* ---------------------------------------------------------------- plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan.is-featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; right: 18px; padding: 4px 11px; border-radius: 999px; background: var(--grad); color: #04201e; font-size: 12px; font-weight: 700; }
.plan .name { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.plan .price b { font-size: 40px; color: var(--heading); letter-spacing: -.03em; line-height: 1; }
.plan .price span { color: var(--text-3); font-size: 13px; }
.plan p { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.plan ul { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--text); }
.plan ul li { display: flex; gap: 9px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ---------------------------------------------------------------- blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post .cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.post time { color: var(--text-3); font-size: 13px; }
.post h3 { font-size: 17px; line-height: 1.4; }
.post .body a { margin-top: auto; font-weight: 600; font-size: 14px; }
.article { max-width: 760px; margin-inline: auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.article h1 { font-size: clamp(28px, 4vw, 40px); }
.article .prose { font-size: 17px; color: var(--text); }
.article .prose h2 { font-size: 22px; margin: 28px 0 10px; }
.article .prose p { margin: 0 0 14px; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.contact-item i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 18px; flex: none; }
.contact-item b { display: block; font-size: 15px; color: var(--heading); }
.contact-item span { display: block; font-size: 13px; color: var(--text-3); }
.form { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text);
  font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form textarea { min-height: 120px; resize: vertical; }
.form .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form .hint { font-size: 13px; color: var(--text-3); }

/* ---------------------------------------------------------------- socials / footer */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 18px; transition: transform .15s, color .15s, border-color .15s; }
.socials a:hover { transform: translateY(-2px); color: var(--heading); border-color: var(--line-strong); }
.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { color: var(--text-3); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.footer-links a { color: var(--text-2); }

/* ---------------------------------------------------------------- page heads (apps, blog) */
.page-head { padding: 56px 0 20px; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); }
.page-head p { margin-top: 10px; color: var(--text-2); max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: 14px; margin-bottom: 14px; }
.breadcrumb a { color: var(--text-2); }
.app-detail { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; }
.app-detail img { width: 112px; height: 112px; border-radius: 28px; box-shadow: var(--shadow); }
.app-detail h1 { font-size: clamp(28px, 4vw, 38px); }
.app-detail .tag-line { color: var(--text-2); font-size: 17px; margin-top: 6px; }
.app-detail .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.app-detail .meta span { padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.app-detail .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 600px) { .app-detail { grid-template-columns: 1fr; } }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.feature-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------- reveal + misc */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal, html.reveal-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card, .project, .app, .video, .post { transition: none; } }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.is-on { opacity: 1; pointer-events: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
