/* bashubb studio: cool paper, navy ink, one blue. Shared system: landing.css */
:root {
  --bg: #f8fafc;
  --bg-2: #eef2f7;
  --surface: #ffffff;
  --text: #162438;
  --muted: #5b6878;
  --line: #e2e7ee;
  --accent: #2465df;
  --on-accent: #ffffff;
  --accent-text: #2465df;
  --h-from: #000000;
  --h-to: #666666;
  --glass: rgba(248, 250, 252, 0.78);
  --glass-line: rgba(22, 36, 56, 0.08);
  --glass-hover: rgba(22, 36, 56, 0.06);
  --menu-bg: rgba(255, 255, 255, 0.82);
  --btn-bg: #162438;
  --btn-fg: #ffffff;
  color-scheme: light;
}
.island .brand.wordmark { gap: 0; }
.wordmark { font-weight: 800; letter-spacing: -0.04em; font-size: 20px; }
.wordmark span { color: var(--accent); }
.island .brand { margin-right: var(--s-100); }

/* Hero: quiet type, the apps drift in a soft row */
.s-hero { padding: 168px 0 var(--s-700); text-align: center; overflow: hidden; }
.s-hero .hero-title, .s-hero .lead { margin-inline: auto; }
.s-hero .hero-title { font-size: 72px; }
@media (max-width: 900px) { .s-hero .hero-title { font-size: 48px; } }
@media (max-width: 480px) { .s-hero { padding-top: 128px; } .s-hero .hero-title { font-size: 36px; line-height: 40px; } }
.drift { position: relative; height: 200px; margin-top: var(--s-700); display: flex; justify-content: center; align-items: center; gap: var(--s-300); perspective: 900px; }
.drift a { position: relative; flex: none; width: var(--sz, 96px); aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; box-shadow: 0 1px 2px rgba(22, 36, 56, 0.08), 0 24px 48px -20px rgba(22, 36, 56, 0.35);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); animation: bob var(--d, 7s) var(--ease) infinite alternate; animation-delay: var(--dl, 0s); transition: box-shadow var(--dur) var(--ease); }
.drift a img { width: 100%; height: 100%; transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .drift a:hover img { transform: scale(1.06); } }
@media (hover: hover) and (pointer: fine) { .drift a:hover { box-shadow: 0 1px 2px rgba(22, 36, 56, 0.08), 0 32px 56px -18px rgba(36, 101, 223, 0.45); } }
@keyframes bob { from { transform: translateY(calc(var(--y, 0px) + 10px)) rotate(var(--r, 0deg)); } to { transform: translateY(calc(var(--y, 0px) - 10px)) rotate(calc(var(--r, 0deg) * -1)); } }
@media (max-width: 720px) { .drift { height: 120px; gap: var(--s-75); } .drift a { width: calc(var(--sz, 96px) * 0.44); } }

/* Category bar: sticky, the pill slides to the section you're in */
.cats { position: sticky; top: var(--hdr, 64px); z-index: 30; display: flex; justify-content: center; padding: var(--s-75) 0; background: rgba(248, 250, 252, 0.92); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 1px 0 var(--line); }
.cats-inner { background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.cats-inner { position: relative; display: flex; gap: var(--s-50); padding: var(--s-50); border-radius: 9999px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); max-width: calc(100% - 2 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
.cats-inner::-webkit-scrollbar { display: none; }
.cats a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-200); border-radius: 9999px; text-decoration: none; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); transition: color var(--dur) var(--ease); }
.cats a svg { width: 18px; height: 18px; }
.cats a[aria-current="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .cats a:hover { color: var(--text); background: var(--glass-hover); } }
@media (hover: hover) and (pointer: fine) { .cats a[aria-current="true"]:hover { color: #fff; } }
.cats .pill { position: absolute; z-index: 0; top: var(--s-50); bottom: var(--s-50); left: 0; width: 0; border-radius: 9999px; background: var(--text); transition: transform 600ms var(--ease), width 600ms var(--ease), opacity 300ms var(--ease); opacity: 0; }
@media (max-width: 720px) { .cats a { padding: var(--s-75) var(--s-100); } .cats a svg { display: none; } }

/* Category sections */
.cat { padding: var(--s-800) 0 var(--s-500); scroll-margin-top: 160px; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-300); margin-bottom: var(--s-400); }
.cat-head .eyebrow { display: inline-flex; align-items: center; gap: var(--s-75); margin-bottom: var(--s-100); }
.cat-head .eyebrow svg { width: 18px; height: 18px; }
.cat-head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.03em; }
.cat-head p { max-width: 360px; color: var(--muted); }
@media (max-width: 720px) { .cat-head { flex-direction: column; align-items: flex-start; } .cat-head h2 { font-size: 30px; line-height: 36px; } }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-300); }
.apps.one { grid-template-columns: 1fr; }
@media (max-width: 820px) { .apps { grid-template-columns: 1fr; } }

.app { position: relative; isolation: isolate; clip-path: inset(0 round 32px); display: grid; grid-template-columns: auto 1fr; gap: var(--s-300); align-items: start; padding: var(--s-400); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.app::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--tint); opacity: 0.18; filter: blur(40px); transition: opacity var(--dur) var(--ease), transform 1200ms var(--ease); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .app:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -32px rgba(22, 36, 56, 0.28); border-color: #d5dce6; } }
@media (hover: hover) and (pointer: fine) { .app:hover::before { opacity: 0.32; transform: translate(-20px, 20px) scale(1.15); } }
.app:active { transform: scale(0.99); }
.app .ico { width: 88px; height: 88px; border-radius: 22.5%; overflow: hidden; box-shadow: 0 12px 24px -12px rgba(22, 36, 56, 0.4); transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .app:hover .ico { transform: rotate(-4deg) scale(1.04); } }
.app .ico img { width: 100%; height: 100%; }
.app h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.app .tag { display: block; margin-top: var(--s-50); font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
.app p { margin-top: var(--s-100); color: var(--muted); }
.app .meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-100); margin-top: var(--s-300); }
.status { display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-100); border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 700; background: var(--bg-2); color: var(--muted); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { background: #e3f4ea; color: #1d7a45; }
.go { display: inline-flex; align-items: center; gap: var(--s-50); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--accent); }
.go svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .app:hover .go svg { transform: translateX(4px); } }
.app .badge-link { position: relative; z-index: 2; display: inline-flex; }
.app .badge-link img { height: 36px; width: auto; }
.app .cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.app .cover:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 480px) { .app { grid-template-columns: 1fr; padding: var(--s-300); } .app .ico { width: 72px; height: 72px; } }

/* Studio */
.studio { padding: 160px 0; }
.studio .small { margin-top: var(--s-400); max-width: 560px; }
@media (max-width: 640px) { .studio { padding: var(--s-900) 0; } }

/* Contact */
.contact { padding: var(--s-800) 0; background: var(--text); color: #fff; border-radius: 40px 40px 0 0; }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-400); }
.contact h2 { font-size: 48px; line-height: 1; letter-spacing: -0.035em; }
.contact .lead { color: rgba(255, 255, 255, 0.7); margin-top: var(--s-200); }
.email-copy { display: inline-flex; align-items: center; gap: var(--s-100); padding: var(--s-200) var(--s-300); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 9999px; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 18px; line-height: 28px; font-weight: 600; cursor: pointer; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .email-copy:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); } }
.email-copy:active { transform: scale(0.98); }
.email-copy svg { width: 20px; height: 20px; }
.copy-status { display: block; min-height: 20px; margin-top: var(--s-100); font-size: 14px; line-height: 20px; color: #9ec0ff; }
.socials { display: flex; gap: var(--s-100); margin-top: var(--s-200); }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: background-color var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: rgba(255, 255, 255, 0.1); } }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .contact h2 { font-size: 36px; line-height: 40px; } .email-copy { font-size: 16px; } }
.s-footer { background: var(--text); color: rgba(255, 255, 255, 0.6); padding: 0 0 var(--s-500); font-size: 14px; line-height: 20px; }
.s-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-200); padding-top: var(--s-300); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.s-footer a { text-decoration: none; } .s-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .drift a { animation: none; } .cats .pill { transition: none; } }

/* Solid header across the full width (instead of the floating pill) */
.island { top: 0; left: 0; right: 0; transform: none; width: auto; max-width: none; height: var(--hdr, 64px); border-radius: 0; border: 0; box-shadow: 0 1px 0 var(--line);
  padding: 0 max(var(--gutter), (100vw - 1120px) / 2); justify-content: space-between; background: rgba(248, 250, 252, 0.92); }
.island .links { margin-left: auto; margin-right: var(--s-200); }
.island .cta { margin-left: 0; }
.s-hero { padding-top: 128px; }
.cat { scroll-margin-top: 140px; }
@media (max-width: 480px) { .s-hero { padding-top: 104px; } .app { clip-path: inset(0 round 32px); } }
.island { height: calc(var(--hdr, 64px) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.cats { top: calc(var(--hdr, 64px) + env(safe-area-inset-top, 0px)); }

/* Live / coming soon: the status leads the section, the category is a small label on each card */
.cat-head .eyebrow .status { font-size: 14px; line-height: 20px; padding: var(--s-50) var(--s-200); }
.app .kind { display: inline-flex; align-items: center; gap: var(--s-50); margin-bottom: var(--s-50); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.app .kind svg { width: 14px; height: 14px; }
.cat { scroll-margin-top: 96px; }
.s-hero .cta-row { justify-content: center; margin-top: var(--s-300); }
.cat .app .status { display: none; }
.s-hero .hero-title { max-width: 960px; }
.cat-head .sec-title { margin: 0; font-size: inherit; line-height: inherit; }
.cat-head .sec-title .status { font-size: 16px; line-height: 24px; padding: var(--s-75) var(--s-200); }
.studio { padding-block: var(--s-700); }
.studio-note { max-width: 560px; margin-inline: auto; text-align: center; color: var(--muted); }
