/* YellowOrange hub — warm, playful, editorial */
:root {
  --yellow: #ffcf33;
  --yellow-soft: #ffe38a;
  --orange: #ff7a1a;
  --orange-deep: #e85d04;
  --ink: #2b1a0f;
  --ink-soft: #6b533f;
  --paper: #fff8ec;
  --paper-2: #fffdf8;
  --card: #ffffff;
  --line: #f0e2c8;
  --shadow: 0 10px 30px rgba(232, 93, 4, 0.10);
  --radius: 18px;
  --maxw: 940px;
  --font: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--yellow-soft) 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 10%, #ffe9c9 0%, transparent 50%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(1.4) blur(8px);
  background: rgba(255, 248, 236, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 700; color: var(--ink-soft); }
.nav a:hover { background: #fff2d6; color: var(--ink); text-decoration: none; }
.nav a.cta { background: var(--ink); color: #fff; }
.nav a.cta:hover { background: var(--orange-deep); }

/* Hero */
.hero { padding: 64px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-size: 12px; color: var(--orange-deep); background: #fff2d6; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin: 16px 0 12px; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .sun { background: linear-gradient(100deg, var(--orange) 10%, var(--yellow) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 24px; }
.hero-art { position: relative; }
.hero-art .disc {
  width: 100%; aspect-ratio: 1; border-radius: 30px; padding: 22px;
  background: linear-gradient(160deg, var(--yellow) 0%, var(--orange) 100%);
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.hero-art .disc img { width: 74%; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 12px 20px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); }

/* Sections */
section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 28px; margin: 0; font-weight: 900; letter-spacing: -0.01em; }
.section-head .kicker { font-weight: 800; color: var(--orange-deep); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.section-head a.more { font-weight: 800; }

/* Cards grid */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 4px 14px rgba(232,93,4,.05); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; gap: 8px; height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--yellow); text-decoration: none; }
.card .ico { font-size: 30px; line-height: 1; }
.card h3 { margin: 4px 0 0; font-size: 19px; font-weight: 900; color: var(--ink); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card .go { margin-top: auto; font-weight: 800; color: var(--orange-deep); font-size: 14px; }

/* App card specifics */
.app-card .top { display: flex; align-items: center; gap: 12px; }
.app-card .badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 9px; border-radius: 999px; }
.badge.live { background: #dcfce0; color: #15803d; }
.badge.beta { background: #ffedd5; color: #c2410c; }
.badge.soon { background: #fef3c7; color: #a16207; }

/* Link chips (projects / elsewhere) */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.chip { display: flex; align-items: center; gap: 12px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; color: var(--ink); font-weight: 700; }
.chip:hover { text-decoration: none; border-color: var(--orange); background: #fff; transform: translateY(-2px); }
.chip .em { font-size: 22px; }
.chip small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 12.5px; }

/* App detail page */
.app-hero { padding: 44px 0 20px; }
.app-hero .top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.app-hero .ico { font-size: 54px; }
.app-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 6px; font-weight: 900; letter-spacing: -0.02em; }
.app-hero .tagline { font-size: 19px; color: var(--ink-soft); margin: 0; }
.app-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.app-body h2 { font-size: 22px; margin: 28px 0 10px; }
.app-body p { color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: "●"; color: var(--orange); font-size: 12px; margin-top: 6px; }
.app-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 84px; }
.app-side .meta-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.app-side .meta-row:last-of-type { border-bottom: none; }
.app-side .meta-row span { color: var(--ink-soft); }
.app-side .meta-row b { color: var(--ink); }
.app-links { display: grid; gap: 10px; margin-top: 16px; }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.shots img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink-soft); margin-bottom: 6px; }

.empty { text-align: center; padding: 40px; color: var(--ink-soft); background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Footer */
.site-foot { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(255,255,255,.5); }
.site-foot .wrap { padding: 32px 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-foot .links { display: flex; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); font-weight: 700; }
.site-foot small { color: var(--ink-soft); }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 260px; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { position: static; }
  .nav a:not(.cta) { display: none; }
}
