/* There's Always Money in the Banana Stand LLC — site styles */
:root {
  --bg: #0f0d08;
  --bg-alt: #17140c;
  --card: #1d1910;
  --line: rgba(255, 233, 170, 0.12);
  --text: #f6f1e3;
  --muted: #b9b09a;
  --banana: #ffd23f;
  --banana-deep: #f2b705;
  --radius: 18px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Avenir Next", "Segoe UI", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--banana); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--banana);
  margin-bottom: 1rem;
}
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 13, 8, 0.8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 700; font-family: var(--display); line-height: 1.2; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: .5rem .7rem; font-size: 1.1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--banana); color: #1a1505; }
.btn-primary:hover { background: var(--banana-deep); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--banana); }

/* Hero */
.hero { position: relative; padding: 7rem 0 6rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255, 210, 63, .22), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero h1 .accent { color: var(--banana); }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 580px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-card {
  background: linear-gradient(160deg, #241e10, #15120a);
  border: 1px solid var(--line); border-radius: 24px; padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.hero-card h2 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.hero-card .row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .row span:first-child { color: var(--muted); }
.hero-card .row span:last-child { text-align: right; }
.status { display: inline-flex; align-items: center; gap: .45rem; color: #9be29b; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4.5rem; position: relative; }
.stat { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.stat strong { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--banana); }
.stat span { color: var(--muted); font-size: .92rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 210, 63, .4); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 210, 63, .12); color: var(--banana); font-size: 1.4rem; margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.card li { margin-bottom: .35rem; }

/* Projects */
.projects { display: grid; gap: 1.5rem; }
.project {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem;
}
.project-visual {
  aspect-ratio: 4 / 3; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: #fff;
  position: relative; overflow: hidden;
}
.project-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 55%);
}
.pv-kemosabe { background: linear-gradient(135deg, #ff7a18, #af002d 85%); }
.pv-shingikai { background: linear-gradient(135deg, #3a1c71, #1b6ca8 85%); }
.pv-rubberband { background: linear-gradient(135deg, #0f9b8e, #1d4350 85%); }
.project-visual span { position: relative; z-index: 1; text-align: center; padding: 1rem; }
.project-visual em { display: block; font-style: normal; font-family: var(--font); font-size: .9rem; font-weight: 500; opacity: .85; margin-top: .4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.tags li { font-size: .78rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.project h3 { font-size: 1.9rem; }
.project p { color: var(--muted); }
.project .link { font-weight: 600; }


/* Approach steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { padding: 1.5rem; border-left: 2px solid var(--banana); background: linear-gradient(90deg, rgba(255,210,63,.06), transparent); border-radius: 0 12px 12px 0; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); color: var(--banana); font-weight: 700; display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.about-grid p { color: var(--muted); font-size: 1.08rem; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.facts h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.5rem; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; }

/* Contact */
.contact {
  text-align: center; background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  color: #1a1505; border-radius: 28px; padding: 4.5rem 2rem;
}
.contact h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.contact p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; opacity: .85; }
.contact .btn-dark { background: #1a1505; color: var(--banana); }
.contact .btn-dark:hover { background: #000; }
.contact .small { font-size: .95rem; margin-top: 1.5rem; margin-bottom: 0; }

/* Footer */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); margin-top: 6rem; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 5rem 0 2rem; max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { color: var(--banana); font-size: .9rem; }

/* Reveal animation (only hides content when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .project { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .project { padding: 1.5rem; }
  .steps, .stats { grid-template-columns: 1fr; }
}
