/* =============================================================
   YellowOrange — bold Swiss / brutalist. Gold + near-black,
   giant grotesque type. Palette built on Bram's gold swatch.
   ============================================================= */
:root {
  --gold: #ddbe4a;          /* brand yellow, from swatch (#D8BB4B) */
  --gold-bright: #e8c94f;   /* hero flood, a touch brighter */
  --gold-deep: #c9a838;     /* pressed / darker gold */
  --ink: #16170f;           /* warm near-black */
  --ink-soft: #4b4a3d;      /* muted body text on light */
  --paper: #faf7ee;         /* warm off-white for inner sections */
  --line: rgba(22, 23, 15, 0.14);
  --line-strong: rgba(22, 23, 15, 0.85);
  --radius: 14px;
  --maxw: 1200px;
  --pad: 40px;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }

/* Utility uppercase label */
.eyebrow, .kicker { display: inline-block; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: 13px; }

/* ---- Top bar (shared) ---- */
.topbar { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; }
.topbar.solid { border-bottom: 1.5px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px;
  letter-spacing: -.01em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand .tag { font-weight: 500; font-size: 15px; color: var(--ink); opacity: .7; letter-spacing: 0;
  padding-left: 20px; border-left: 1.5px solid var(--line-strong); margin-left: 6px; }
.nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav a { font-weight: 600; font-size: 16px; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: var(--ink); transition: right .22s ease; }
.nav a:hover::after { right: 0; }
.nav a.cta { background: var(--ink); color: var(--gold); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.nav a.cta::after { display: none; }
.nav a.cta:hover { background: var(--gold-deep); color: var(--ink); }

/* ---- Full-bleed gold hero ---- */
.hero-full { background: var(--gold-bright); min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden; position: relative; }
.hero-full .topbar { color: var(--ink); position: relative; z-index: 1; }
/* Gray logo character on the home hero only (other pages keep original) */
.hero-full .brand img { filter: brightness(0) invert(0.45); }

/* Mascot watermark behind the headline */
.hero-mascot { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  display: flex; align-items: center; justify-content: flex-end; }
.hero-mascot img { height: 82%; max-height: 780px; width: auto; margin-right: -20px;
  opacity: .2; filter: invert(.16) grayscale(1); }

.hero-statement { flex: 1; display: flex; align-items: center; position: relative; z-index: 1; }
.hero-statement h1 {
  margin: 0; font-weight: 900; text-transform: uppercase; color: var(--ink);
  font-size: clamp(44px, 10.6vw, 158px); line-height: 0.9; letter-spacing: -0.045em;
}
.hero-foot { padding-bottom: 40px; position: relative; z-index: 1; }
.hero-foot .lede { font-size: clamp(17px, 2vw, 21px); font-weight: 500; max-width: 46ch; margin: 0 0 22px; }

/* Hero pill buttons → dedicated pages, with social icons justified right */
.hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-social { display: flex; align-items: center; gap: 16px; }
.social { display: inline-flex; align-items: center; justify-content: center; }
.social img { width: 24px; height: 24px; display: block; transition: transform .15s ease, opacity .15s ease; }
.social:hover { text-decoration: none; }
.social:hover img { transform: translateY(-2px); opacity: .75; }
.pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px;
  padding: 11px 20px; border-radius: 999px; border: 2px solid var(--ink); background: transparent;
  color: var(--ink); transition: background .15s ease, color .15s ease, transform .15s ease; }
.pill .pico { font-size: 17px; line-height: 1; }
.pill:hover { background: var(--ink); color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.pill-primary { background: var(--ink); color: var(--gold); }
.pill-primary:hover { background: var(--paper); color: var(--ink); }

/* ---- Sub-page body text + action row ---- */
.page-p { font-size: clamp(17px, 2vw, 20px); font-weight: 500; max-width: 62ch; margin: 0 0 20px; }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.page-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px;
  flex-wrap: wrap; margin-top: 22px; }
.page-actions .panel-actions { margin-top: 0; }
.listen { display: flex; align-items: center; gap: 14px; }
.listen-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; opacity: .55; }

/* Big icon cards (used inside sub-pages) */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0;
  margin-top: 10px; max-width: 1000px; }
.mini-card { display: flex; align-items: center; gap: 22px; padding: 24px 24px;
  border: 2px solid var(--ink); margin: -1px 0 0 -1px; transition: background .16s ease; }
.mini-card:hover { background: var(--gold); }
.mini-ico { width: 92px; height: 92px; flex: none; border-radius: 22px; border: 2px solid var(--ink);
  background: #fff; object-fit: contain; padding: 14px; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease; }
.mini-ico.emoji { display: grid; place-items: center; font-size: 48px; padding: 0; line-height: 1; }
.mini-card:hover .mini-ico { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.mini-meta { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.mini-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mini-desc { font-size: 15.5px; font-weight: 500; color: var(--ink-soft); }
.mini-card:hover .mini-desc { color: var(--ink); }

/* Website-design cards: real screenshot on top, caption below */
.site-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 26px;
  margin-top: 14px; max-width: 1040px; }
.site-cards.single { max-width: 620px; }
.site-card { display: flex; flex-direction: column; border: 2px solid var(--ink); background: var(--paper);
  transition: transform .16s ease, box-shadow .16s ease; }
.site-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.site-shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink); }
.site-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
  transition: transform .3s ease; }
.site-card:hover .site-shot img { transform: scale(1.03); }
.site-meta { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 5px; }
.site-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.01em; }
.site-desc { font-size: 15px; font-weight: 500; color: var(--ink-soft); }

/* ---- Section heads (light sections) ---- */
section { padding: 54px 0; }
.section-tag { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-tag h2 { font-size: clamp(26px, 4vw, 46px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; margin: 0; line-height: 1; }
.section-tag .kicker { color: var(--ink); opacity: .55; }
.section-tag .more { font-weight: 700; }
.section-tag .more:hover { color: var(--gold-deep); }

/* ---- App cards grid ---- */
.grid { display: grid; gap: 0; margin-top: 30px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: transparent; border: 2px solid var(--ink); border-radius: 0; margin: -1px 0 0 -1px;
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 12px; min-height: 240px;
  position: relative;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.card:hover { background: var(--gold); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); z-index: 2; }
.card .ico { font-size: 34px; line-height: 1; }
.ico-img { width: 52px; height: 52px; border-radius: 12px; display: block; object-fit: contain;
  padding: 7px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ico-img.big { width: 84px; height: 84px; border-radius: 16px; padding: 11px; }
.card h3 { margin: 6px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card:hover p { color: var(--ink); }
.card .go { margin-top: auto; font-weight: 700; font-size: 14px; }

/* App card top row */
.app-card .top { display: flex; align-items: flex-start; gap: 14px; }
.app-card .top .badge { margin-left: auto; }
/* ~3x larger app icons on the app cards; fill the tile edge-to-edge */
.app-card .ico-img { width: 156px; height: 156px; border-radius: 30px; padding: 0;
  object-fit: cover; background: transparent; box-shadow: none; }
.app-card .ico { font-size: 104px; }
.badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 999px; }
.badge.live { background: var(--ink); color: var(--gold); }
.badge.beta { background: transparent; }
.badge.soon { background: transparent; opacity: .6; }

/* Ghost "more coming" card */
.card.ghost {
  background: repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(22,23,15,.05) 12px, rgba(22,23,15,.05) 24px);
  border-style: dashed;
}
.card.ghost:hover { background: var(--gold); }
.card.ghost h3, .card.ghost p { color: var(--ink-soft); }

/* ---- Elsewhere: minimal link list ---- */
.link-list { margin-top: 26px; border-top: 2px solid var(--ink); }
.link-list a { display: flex; align-items: center; gap: 16px; padding: 18px 8px; border-bottom: 1.5px solid var(--line);
  font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); transition: padding .16s ease, background .16s ease; }
.link-list a:hover { background: var(--gold); padding-left: 18px; }
.link-list a .em { font-size: 22px; }
.link-list a small { margin-left: auto; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.link-list a:hover small { color: var(--ink); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--gold); }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--gold); }

/* ---- App detail page ---- */
.app-hero { padding: 40px 0 10px; }
.app-hero .back { display: inline-flex; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 22px; }
.app-hero .back:hover { color: var(--gold-deep); }
.app-hero .top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.app-hero .ico { font-size: 60px; }
.app-hero h1 { font-size: clamp(40px, 7vw, 84px); margin: 12px 0 8px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.03em; line-height: .92; }
.app-hero .tagline { font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; color: var(--ink-soft); margin: 0; max-width: 44ch; }
.app-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; padding-top: 20px; }
.app-body h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800;
  margin: 30px 0 12px; opacity: .6; }
.app-body h2:first-child { margin-top: 0; }
.app-body p { color: var(--ink); font-size: 18px; margin: 0 0 14px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.feature-list li::before { content: "→"; font-weight: 700; }
.app-side { border: 2px solid var(--ink); border-radius: 0; padding: 26px; position: sticky; top: 24px; }
.app-side .meta-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1.5px solid var(--line);
  font-size: 15px; }
.app-side .meta-row:last-of-type { border-bottom: none; }
.app-side .meta-row span { color: var(--ink-soft); }
.app-side .meta-row b { font-weight: 800; }
.app-links { display: grid; gap: 12px; margin-top: 20px; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.shots img { border: 2px solid var(--ink); }

.empty { text-align: center; padding: 48px; font-weight: 600; border: 2px dashed var(--ink); }

/* ---- Simple inner-page hero (apps.html) ---- */
.page-hero { padding: 44px 0 6px; }
.page-hero h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: .9; margin: 14px 0 12px; }
.page-hero .lede { font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; color: var(--ink-soft); max-width: 52ch; margin: 0; }

/* ---- Footer ---- */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 40px; }
/* Home: footer abuts the hero directly, no paper gap */
.hero-full + .site-foot { margin-top: 0; }
.site-foot .wrap { padding: 48px var(--pad); display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between; }
.site-foot .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-foot a { font-weight: 600; }
.site-foot a:hover { color: var(--gold); }
.site-foot small { color: rgba(250,247,238,.6); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  :root { --pad: 22px; }
  .brand .tag { display: none; }
  .nav { gap: 16px; }
  .nav a:not(.cta) { font-size: 15px; }
  .app-body { grid-template-columns: 1fr; gap: 28px; }
  .app-side { position: static; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; gap: 14px 18px; }
  .nav { width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; gap: 14px 20px; }
  .nav a { font-size: 15px; }
  .hero-statement h1 { font-size: clamp(38px, 9.2vw, 60px); }
  .hero-foot { padding-bottom: 26px; }
}
