/* ---------------------------------------------------------------------------
   carabao.ai — design tokens
   Source of truth: design_handoff_carabao_website/Carabao Website.dc.html
--------------------------------------------------------------------------- */

:root {
  --teal: #295466; /* page background */
  --teal-deep: #1d4252; /* brand column */
  --lime: #c1ff72;
  --lime-hover: #d3ff96;
  --mint: #b4ffe4;
  --ink: #16333f; /* text on lime */
  --text-heading: #eef9f4;
  --text-body: #b9d6cd;
  --text-muted: #8fb8ae;
  --text-footer: #7ea9a6;
  --text-base: #dceee7;
  --hairline: rgb(180 255 228 / 35%);
  --card-fill: rgb(180 255 228 / 7%);
  --badge-border: rgb(193 255 114 / 50%);
  --font-ui: "Hanken Grotesk", system-ui, sans-serif;
  --font-wordmark: "Space Grotesk", system-ui, sans-serif;
}

/* ------------------------------------------------------------------ base */

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

html,
body {
  margin: 0;
}

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

body {
  background: var(--teal-deep);
  font-family: var(--font-ui);
}

a {
  color: var(--mint);
}

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

a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

/* ---------------------------------------------------------------- layout */

.layout {
  display: grid;
  grid-template-columns: minmax(380px, 540px) 1fr;
  background: var(--teal);
  color: var(--text-base);
}

/* ---------------------------------------------------------- brand column */

.brand {
  background: var(--teal-deep);
}

.brand__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lockup__wordmark {
  font: 500 24px var(--font-wordmark);
  color: var(--mint);
  letter-spacing: -0.015em;
}

.ring {
  align-self: center;
  width: min(240px, 55%);
}

.ring svg {
  display: block;
  width: 100%;
  height: auto;

  /* the rotor <g> scales/rotates past the tight viewBox; don't clip it */
  overflow: visible;
}

.site-footer {
  font: 500 14px var(--font-ui);
  color: var(--text-footer);
}

.site-footer--mobile {
  display: none;
}

/* -------------------------------------------------------------- sections */

.hero,
.venture {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vh, 96px) clamp(48px, 7vw, 100px) clamp(56px, 8vh, 96px) clamp(48px, 6vw, 88px);
}

.hero {
  position: relative;
}

.eyebrow {
  margin: 0 0 28px;
  font: 700 13px var(--font-ui);
  letter-spacing: 0.24em;
  color: var(--text-muted);
}

.hero__title {
  margin: 0;
  font: 800 clamp(56px, 6.2vw, 88px) / 1.02 var(--font-ui);
  color: var(--text-heading);
  letter-spacing: -0.025em;
}

.accent {
  color: var(--lime);
}

.hero__body {
  margin: 34px 0 0;
  max-width: 560px;
  font: 400 19px / 1.65 var(--font-ui);
  color: var(--text-body);
  text-wrap: pretty;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: clamp(48px, 6vw, 88px);
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 13px var(--font-ui);
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.scroll-cue__line {
  display: inline-block;
  width: 1px;
  height: 34px;
  background: var(--hairline);
}

/* ---------------------------------------------------------- homatcha card */

.card {
  background: var(--card-fill);
  border-radius: 22px;
  padding: 44px 48px;
  max-width: 660px;
}

.badge {
  display: inline-block;
  font: 700 12px var(--font-ui);
  letter-spacing: 0.2em;
  color: var(--lime);
  border: 1px solid var(--badge-border);
  border-radius: 999px;
  padding: 6px 14px;
}

.card__title {
  margin: 22px 0 0;
  font: 800 33px var(--font-ui);
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.card__body {
  margin: 14px 0 0;
  font: 400 16.5px / 1.6 var(--font-ui);
  color: var(--text-body);
  text-wrap: pretty;
}

.cta {
  display: inline-block;
  margin-top: 28px;
  background: var(--lime);
  color: var(--ink);
  font: 700 15.5px var(--font-ui);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  transition: background 0.2s ease;
}

.cta:hover {
  background: var(--lime-hover);
  color: var(--ink);
}

.cta:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* -------------------------------------------------------- short viewports */

@media (height <= 600px) {
  .scroll-cue {
    display: none;
  }
}

/* ----------------------------------------------------------------- mobile */

@media (width <= 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .brand__inner {
    position: static;
    height: auto;
    padding: 28px 24px 8px;
  }

  .ring {
    width: 130px;
    margin: 24px auto 8px;
  }

  .brand .site-footer {
    display: none;
  }

  .site-footer--mobile {
    display: block;
    padding: 32px 24px 40px;
    background: var(--teal-deep);
    text-align: center;
  }

  .hero,
  .venture {
    padding: 64px 24px;
  }

  .hero__title {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero__body {
    font-size: 18px;
  }

  .card {
    padding: 28px 24px;
  }

  .scroll-cue {
    left: 24px;
    bottom: 28px;
  }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
