/* is-bananas.com — style.css
   Concept: "Caution: bananas". Hazard-tape yellow and ink on warm paper,
   oversized heavy type, ledger rows instead of cards. System fonts only. */

:root {
  --yellow: #FFD400;
  --yellow-deep: #E8B800;
  --ink: #111111;
  --ink-soft: #3A3A3A;
  --paper: #FAF6EA;
  --paper-deep: #F0EAD6;
  --line: #D9D2BC;
  --swatch: var(--yellow);

  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --stripe: repeating-linear-gradient(135deg, var(--ink) 0 18px, var(--yellow) 18px 36px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; line-height: 1; font-weight: 900; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
em { font-style: normal; }

/* Focus: one consistent, high-contrast ring everywhere */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
  border-radius: 2px;
}
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--yellow);
  padding: .6rem 1rem; font-weight: 700; z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark em { color: var(--yellow-deep); }
.mark { width: 32px; height: 32px; color: var(--ink); flex: none; }

.top nav ul { display: flex; gap: .25rem; align-items: center; }
.top nav a {
  display: inline-block; padding: .5rem .8rem;
  font-weight: 700; text-decoration: none; border-radius: 4px;
}
.top nav a:hover { background: var(--paper-deep); }
.nav-cta { background: var(--ink); color: var(--yellow); }
.nav-cta:hover { background: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  isolation: isolate;
}
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700; margin-bottom: 1.5rem;
}
.dot { width: 10px; height: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }

.hero h1 {
  font-size: clamp(2.75rem, 9vw, 7rem);
  line-height: 1.06;
  max-width: 13ch;
  text-wrap: balance;
}
.hl {
  background: var(--yellow);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 .12em; margin: 0 -.12em;
}
.lede {
  margin-top: 1.75rem; max-width: 46ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-soft);
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.hero-bg {
  position: absolute; z-index: -1; right: var(--gutter); bottom: -0.12em;
  font-size: clamp(5rem, 15vw, 14rem); font-weight: 900; line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--line);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .9rem 1.5rem;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 6px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }
.btn-dark { background: var(--ink); color: var(--yellow); border-color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }
.btn-dark:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--paper); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink); color: var(--yellow);
  border-top: 6px solid var(--yellow); border-bottom: 6px solid var(--yellow);
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .9rem;
}
.ticker-track { display: inline-flex; padding: .7rem 0; animation: ticker 28s linear infinite; }
.ticker-track span { padding: 0 1.5rem; }
.ticker-track span::after { content: "/"; margin-left: 3rem; opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 1rem; }
.sites, .about, .contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 3px solid var(--ink); padding-bottom: 1rem; margin-bottom: .5rem;
}
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.count { font-family: var(--font-mono); font-weight: 700; font-size: .95rem; }
.count span { display: inline-block; background: var(--yellow); padding: .1em .5em; border-radius: 4px; }

/* ---------- Sites ledger ---------- */
.site-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto 3.25rem;
  grid-template-areas: "num body status go";
  gap: 1.25rem; align-items: center;
  padding: 1.75rem 0 1.75rem .5rem;
  border-bottom: 1px solid var(--line);
}
.site-num { grid-area: num; }
.site-body { grid-area: body; }
.site-status { grid-area: status; }
.site-go { grid-area: go; }
.site-row::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 0; background: var(--swatch);
  transition: width .18s ease;
}
.site-row:hover::before, .site-row:focus-within::before { width: 6px; }
.site-row:hover, .site-row:focus-within { padding-left: 1rem; }
.site-row { transition: padding-left .18s ease; }

.site-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--ink-soft); }
.site-body h3 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.02em; }
.site-body h3 a { text-decoration: none; }
.site-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 4px; }
.site-body p { margin-top: .5rem; color: var(--ink-soft); max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tags li {
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  border: 1.5px solid var(--ink); padding: .15rem .5rem; border-radius: 999px;
}
.site-status {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .3rem .6rem; border-radius: 4px;
  background: var(--yellow); color: var(--ink);
}
.site-row[data-status="beta"] .site-status { background: var(--paper-deep); }
.site-row[data-status="soon"] .site-status { background: transparent; border: 1.5px solid var(--ink); }
.site-go {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 3px solid var(--ink); text-decoration: none;
  font-size: 1.4rem; font-weight: 900;
  transition: background .12s ease, color .12s ease;
}
.site-go:hover { background: var(--ink); color: var(--yellow); }
.sites-foot { margin-top: 1.5rem; color: var(--ink-soft); font-family: var(--font-mono); font-size: .85rem; }

/* ---------- About ---------- */
.about { border-top: 14px solid; border-image: var(--stripe) 14; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-lede { margin-top: 1.25rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step;
  position: relative; padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background: var(--paper-deep); border-radius: 8px;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.1rem; top: 1.05rem;
  font-weight: 900; font-size: 1.6rem; letter-spacing: -0.04em; color: var(--ink);
}
.steps strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: .25rem; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--yellow); color: var(--ink);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  text-align: center;
}
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.5rem); max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.cta p { margin: 1.5rem auto 2rem; max-width: 46ch; font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0 0; }
.contact-list dt { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-soft); }
.contact-list dd { margin: .4rem 0 0; font-size: 1.1rem; font-weight: 600; }
.contact-list dd a { text-decoration-color: var(--yellow-deep); text-decoration-thickness: 3px; }

/* ---------- Footer ---------- */
.foot {
  border-top: 3px solid var(--ink);
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: .85rem;
}
.foot-links { display: flex; gap: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .top nav ul { gap: 0; }
  .top nav a { padding: .5rem .6rem; }
  .hero-bg { font-size: 22vw; opacity: .6; right: 0; bottom: -0.2em; }
  .site-row {
    grid-template-columns: 2rem 1fr auto;
    grid-template-areas: "num body go" "num status status";
    gap: .75rem 1rem; align-items: start;
  }
  .site-num { padding-top: .3rem; }
  .site-status { justify-self: start; }
  .site-go { width: 2.75rem; height: 2.75rem; }
  .about-grid, .contact-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .btn { width: 100%; text-align: center; }
  .foot { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .site-row, .site-row::before, .site-go { transition: none; }
  .btn-primary:hover, .btn-dark:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .ticker, .hero-bg, .skip { display: none; }
  .cta { background: none; border: 3px solid #000; }
}
.site-body p.site-desc { color: var(--ink); font-size: .95rem; }
.site-body p.site-pitch { font-weight: 600; }
.site-shot { display: block; margin-top: 1rem; max-width: 640px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.site-shot:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.site-shot img { display: block; width: 100%; height: auto; }
.site-row { align-items: start; }
