:root {
  --ink: #0A0A0A;
  --ink-hover: #222222;
  --white: #FFFFFF;
  --paper: #F5F5F3;
  --line: #E2E2DF;
  --grey: #6B6B68;
  --lime: #DEDC00;
  --lime-dark: #B5B300;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Primary action: solid lime, black text */
.btn-orange {
  background: var(--lime);
  color: var(--ink);
}

.btn-orange:hover {
  background: var(--lime-dark);
}

/* Secondary action: solid black, white text */
.btn-blue {
  background: var(--ink);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--ink-hover);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---- Header ---- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}

.site-logo img {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--lime);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1563461661026-49631dd5d68e?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(100%) contrast(1.05);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.28) 45%, rgba(10, 10, 10, 0.58) 100%);
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Section shells ---- */

section {
  padding: 88px 0;
}

.section-alt {
  background: var(--paper);
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
}

.section-heading {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-heading h2 {
  font-size: 2.4rem;
  margin: 0 0 16px;
}

.section-heading p {
  font-size: 1.08rem;
  color: var(--grey);
  margin: 0;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

/* ---- Brand story (stanza) ---- */

.story {
  background: var(--white);
  text-align: center;
}

.story .wrap {
  max-width: 780px;
}

.story p {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--grey);
  margin: 0 0 6px;
}

.story p.story-final {
  color: var(--ink);
  font-weight: 700;
  margin-top: 22px;
}

.story p.story-final .fict {
  background: var(--lime);
  padding: 2px 10px;
  border-radius: 4px;
}

.story-tag {
  margin-top: 36px;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

/* ---- Differentiator grid ---- */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diff-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
}

.diff-card .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.diff-grid .diff-card:nth-child(odd) .dot { background: var(--lime); }
.diff-grid .diff-card:nth-child(even) .dot { background: var(--ink); }

.diff-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

/* ---- Services grid ---- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.service-grid .service-card:nth-child(even) .num { background: var(--white); color: var(--ink); }

.service-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ---- Join / CTA band ---- */

.join-band {
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.join-band .wrap {
  position: relative;
  z-index: 1;
}

.join-band h2 {
  font-size: 2.6rem;
  max-width: 18ch;
  margin: 0 auto 20px;
}

.join-band p {
  font-size: 1.1rem;
  color: rgba(10, 10, 10, 0.75);
  max-width: 50ch;
  margin: 0 auto 34px;
}

.join-band .btn-orange {
  background: var(--ink);
  color: var(--white);
}

.join-band .btn-orange:hover {
  background: var(--ink-hover);
}

/* ---- Founder teaser (home page) ---- */

.founder-teaser {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.founder-teaser-copy {
  flex: 1 1 420px;
}

.founder-mini-grid {
  flex: 1 1 380px;
  display: flex;
  gap: 20px;
}

.founder-mini-card {
  flex: 1;
  text-align: center;
}

.founder-mini-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ink);
  margin-bottom: 14px;
}

.founder-mini-card h3 {
  font-size: 1rem;
  margin: 0 0 2px;
}

.founder-mini-card span {
  font-size: 0.85rem;
  color: var(--grey);
}

/* ---- About page: founder full cards ---- */

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.founder-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.founder-card figure {
  margin: 0 0 22px;
}

.founder-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--ink);
}

.founder-card h3 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.founder-role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: var(--ink);
}

.founder-card p {
  color: var(--grey);
  font-size: 0.98rem;
  margin: 0 0 14px;
}

.founder-card a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---- Personality chips ---- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.chip:nth-child(3n+1) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip:nth-child(3n+2) { background: var(--white); color: var(--ink); }
.chip:nth-child(3n) { background: var(--lime); color: var(--ink); border-color: var(--ink); }

/* ---- Origin / partner credit block ---- */

.origin-block {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.origin-block-copy {
  flex: 1 1 380px;
}

.origin-block h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.origin-block p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.origin-logos {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.origin-logo-chip {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.origin-logo-chip img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* ---- Events page ---- */

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 64px;
  text-align: left;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 16px;
  max-width: 16ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  max-width: 54ch;
  margin: 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.event-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  flex-wrap: wrap;
}

.event-date {
  flex: 0 0 110px;
  text-align: center;
  font-family: var(--font-display);
}

.event-date .day {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  color: var(--ink);
}

.event-date .month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.event-body {
  flex: 1 1 320px;
}

.event-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.event-card:nth-child(6n+1) .event-tag { background: var(--lime); color: var(--ink); }
.event-card:nth-child(6n+2) .event-tag { background: var(--ink); color: var(--white); }
.event-card:nth-child(6n+3) .event-tag { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.event-card:nth-child(6n+4) .event-tag { background: var(--lime); color: var(--ink); }
.event-card:nth-child(6n+5) .event-tag { background: var(--ink); color: var(--white); }
.event-card:nth-child(6n+6) .event-tag { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }

.event-body h3 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.event-meta {
  font-size: 0.9rem;
  color: var(--grey);
  margin: 0 0 8px;
}

.event-body p.event-desc {
  font-size: 0.96rem;
  color: var(--grey);
  margin: 0;
}

.event-action {
  flex: 0 0 auto;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 30px;
  margin-bottom: 14px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
  font-size: 0.95rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .founders-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .join-band h2 { font-size: 2rem; }
}

@media (max-width: 620px) {
  .diff-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .hero .wrap { flex-direction: column; }
  .founder-mini-grid { flex-direction: column; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date { text-align: left; }
}
