/* =========================================================
   HAM CURIOUS — styles v0.2
   Changes:
   - Punchier EXPLORE / MEET / DO labels throughout
   - Stronger hero-branch subtext
   - Distinct accessible section CTA colors
   - Reformatted for easier editing
   ========================================================= */

:root {
  --paper: #f7f3ea;
  --surface: #ffffff;

  --ink: #102a33;
  --ink-2: #213b44;
  --muted: #607078;

  --orange: #ff6b35;
  --orange-dark: #bf3f1a;

  --teal: #2aafa9;
  --teal-dark: #167f7a;

  --yellow: #f3c84b;
  --yellow-dark: #9a6a00;

  --night: #0c2730;
  --white: #f8fbfa;

  --shadow: 0 18px 48px rgba(16, 42, 51, 0.10);

  --radius: 20px;
  --max: 1230px;

  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);

  background:
    radial-gradient(
      circle at 90% 3%,
      rgba(42, 175, 169, 0.10),
      transparent 25rem
    ),
    radial-gradient(
      circle at 8% 13%,
      rgba(255, 107, 53, 0.08),
      transparent 28rem
    ),
    var(--paper);

  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  text-decoration: none;

  font: 800 1rem/1 var(--display);
}

.brand-mark {
  display: grid;
  place-items: center;

  width: 38px;
  aspect-ratio: 1;

  border-radius: 50%;
  background: var(--orange);

  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.30);

  font: 800 12px/1 var(--mono);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(330px, 0.85fr);

  gap: clamp(38px, 6vw, 76px);
  align-items: center;

  padding: clamp(48px, 7vw, 88px) 0 78px;
}

.eyebrow,
.kicker,
.card small,
.badge {
  font: 800 0.72rem/1.2 var(--mono);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;

  margin: 0 0 18px;

  color: var(--muted);
}

.eyebrow::before {
  content: "";

  width: 28px;
  height: 4px;

  border-radius: 99px;
  background: var(--orange);
}

.hero h1 {
  margin: 0;
  max-width: 850px;

  font:
    800
    clamp(3.4rem, 7vw, 6.35rem) / 0.92
    var(--display);

  letter-spacing: -0.065em;
}

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

.hero-lede {
  max-width: 720px;
  margin: 26px 0 0;

  font-size:
    clamp(1.07rem, 1.7vw, 1.27rem);
}


/* =========================================================
   HERO — EXPLORE / MEET / DO
   ========================================================= */

.hero-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
  margin-top: 32px;
}

.branch {
  min-height: 128px;
  padding: 20px 18px 18px;

  border:
    1px solid rgba(16, 42, 51, 0.14);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.72);

  text-decoration: none;

  box-shadow:
    0 8px 22px rgba(16, 42, 51, 0.05);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.branch:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 42, 51, 0.24);
}

.branch strong,
.branch span {
  display: block;
}

/* Primary command: bold and unmistakable,
   but still subordinate to the main hero headline. */
.branch strong {
  margin-bottom: 14px;

  color: var(--ink);

  font:
    800
    clamp(1.25rem, 1.6vw, 1.50rem) / 1
    var(--display);

  letter-spacing: -0.015em;
}

/* Stronger than the old gray helper text.
   This should read as deliberate copy, not disabled UI. */
.branch span {
  color: var(--ink-2);

  font-size: 1rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.branch.explore {
  border-top: 5px solid var(--orange);
}

.branch.meet {
  border-top: 5px solid var(--teal);
}

.branch.do {
  border-top: 5px solid var(--yellow);
}


/* =========================================================
   INTERACTIVE HERO TUNER
   ========================================================= */

.tuner {
  --station-color: var(--yellow);
  --station-color-soft: rgba(243, 200, 75, 0.14);

  position: relative;
  overflow: hidden;

  padding: 22px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;

  color: var(--white);

  background:
    radial-gradient(
      circle at 78% 8%,
      rgba(115, 226, 219, 0.08),
      transparent 16rem
    ),
    linear-gradient(
      145deg,
      #0f303a,
      var(--night) 58%
    );

  box-shadow: var(--shadow);
}

.tuner[data-station="explore"] {
  --station-color: #ff8a5f;
  --station-color-soft: rgba(255, 138, 95, 0.14);
}

.tuner[data-station="meet"] {
  --station-color: #73e2db;
  --station-color-soft: rgba(115, 226, 219, 0.14);
}

.tuner[data-station="do"] {
  --station-color: var(--yellow);
  --station-color-soft: rgba(243, 200, 75, 0.14);
}

.tuner-top {
  position: relative;
}

.tuner-title {
  margin: 0 0 14px;

  color: rgba(255, 255, 255, 0.88);

  font:
    800 0.76rem/1.2
    var(--mono);

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tuner-scale {
  position: relative;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  height: 24px;
  margin-bottom: 14px;

  border-top:
    1px solid rgba(255, 255, 255, 0.16);
}

.tuner-scale span {
  position: relative;
}

.tuner-scale span::before {
  content: "";

  position: absolute;
  top: -1px;
  left: 50%;

  width: 1px;
  height: 10px;

  background:
    rgba(255, 255, 255, 0.28);
}

.tuner-needle {
  position: absolute;
  top: -5px;
  left: 83.333%;

  width: 3px;
  height: 22px;

  border-radius: 99px;

  background: var(--station-color);

  box-shadow:
    0 0 14px var(--station-color);

  transform: translateX(-50%);

  transition:
    left 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.tuner-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 8px;
  margin-bottom: 12px;
}

.tuner-preset {
  min-height: 58px;
  padding: 9px 8px;

  border:
    1px solid rgba(255, 255, 255, 0.11);

  border-radius: 12px;

  color: rgba(255, 255, 255, 0.72);
  background:
    rgba(255, 255, 255, 0.035);

  cursor: pointer;

  font-family: var(--body);

  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.tuner-preset:hover {
  transform: translateY(-2px);

  border-color:
    rgba(255, 255, 255, 0.24);

  background:
    rgba(255, 255, 255, 0.07);

  color: var(--white);
}

.tuner-preset.is-active {
  border-color: var(--station-color);

  background: var(--station-color-soft);
  color: var(--white);
}

.preset-number {
  display: block;

  margin-bottom: 4px;

  color: var(--station-color);

  font:
    800 0.70rem/1
    var(--mono);
}

.preset-name {
  display: block;

  font:
    800 0.84rem/1
    var(--display);

  letter-spacing: 0.035em;
}

.tuner-readout {
  min-height: 238px;
  padding: 23px 22px 20px;

  border:
    1px solid rgba(255, 255, 255, 0.10);

  border-radius: 18px;

  background:
    rgba(4, 18, 23, 0.46);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.readout-band {
  margin: 0 0 7px;

  color: var(--station-color);

  font:
    800 0.72rem/1.2
    var(--mono);

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.readout-title {
  margin: 0;

  color: var(--white);

  font:
    800
    clamp(1.75rem, 2.5vw, 2.45rem) / 0.98
    var(--display);

  letter-spacing: -0.045em;
}

.readout-copy {
  max-width: 35rem;
  margin: 13px 0 17px;

  color: rgba(255, 255, 255, 0.76);

  font-size: 0.94rem;
  line-height: 1.50;
}

.readout-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;
  margin-bottom: 18px;
}

.readout-meta span {
  padding: 6px 8px;

  border:
    1px solid rgba(255, 255, 255, 0.13);

  border-radius: 999px;

  color: rgba(255, 255, 255, 0.74);

  font:
    750 0.64rem/1
    var(--mono);

  letter-spacing: 0.055em;
}

.tune-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 46px;
  padding: 0 17px;

  border-radius: 999px;

  background: var(--station-color);
  color: var(--ink);

  text-decoration: none;

  font:
    800 0.84rem/1
    var(--display);

  letter-spacing: 0.025em;

  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

.tune-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.tuner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;
  padding-top: 14px;

  color: rgba(255, 255, 255, 0.50);

  font:
    750 0.64rem/1.2
    var(--mono);

  letter-spacing: 0.07em;
}

.surprise-button {
  padding: 7px 10px;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 999px;

  color: rgba(255, 255, 255, 0.84);

  background:
    rgba(255, 255, 255, 0.04);

  cursor: pointer;

  font:
    800 0.64rem/1
    var(--mono);

  letter-spacing: 0.06em;

  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}

.surprise-button:hover {
  border-color: var(--station-color);
  background: var(--station-color-soft);
}


/* =========================================================
   SECTIONS

   ========================================================= */

.section {
  padding: 76px 0;
}

.meet-section {
  background:
    rgba(255, 255, 255, 0.58);

  border-block:
    1px solid rgba(16, 42, 51, 0.08);
}

.do-section {
  background: #fbfaf6;
}

.section-head {
  display: grid;
  grid-template-columns:
    1fr minmax(280px, 500px);

  gap: 36px;
  align-items: end;

  margin-bottom: 32px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}


/* =========================================================
   INLINE EXPLORE / MEET / DO CTAs
   ========================================================= */

/* These are commands, not eyebrow labels.
   Bigger and heavier than before without competing
   with the section headline below them. */
.kicker {
  margin: 0 0 11px !important;

  color: var(--orange-dark) !important;

  font:
    800
    clamp(1.35rem, 1.8vw, 1.80rem) / 0.96
    var(--display) !important;

  letter-spacing: 0.015em !important;
  text-transform: uppercase;
}

.meet-section .kicker {
  color: var(--teal-dark) !important;
}

.do-section .kicker {
  color: var(--yellow-dark) !important;
}

.section h2 {
  margin: 0;

  font:
    780
    clamp(2.2rem, 4.1vw, 3.55rem) / 1
    var(--display);

  letter-spacing: -0.045em;
}


/* =========================================================
   CARD GRID
   ========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 17px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  --accent: var(--orange);

  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 250px;
  padding: 25px;

  border:
    1px solid rgba(16, 42, 51, 0.13);

  border-radius: var(--radius);

  background: var(--surface);

  box-shadow:
    0 8px 25px rgba(16, 42, 51, 0.055);
}

.card::before {
  content: "";

  position: absolute;
  inset: 0 auto 0 0;

  width: 5px;

  background: var(--accent);
}

.card.orange {
  --accent: var(--orange);
}

.card.teal {
  --accent: var(--teal);
}

.card.yellow {
  --accent: var(--yellow);
}

.card small {
  color: var(--muted);
}

.card h3 {
  margin: 27px 0 10px;

  font:
    760 1.46rem/1.08
    var(--display);

  letter-spacing: -0.035em;
}

.card p {
  margin: 0;

  color: var(--muted);

  font-size: 0.95rem;
}

.card a {
  margin-top: auto;
  padding-top: 24px;

  text-decoration: none;
  font-weight: 800;
}


/* =========================================================
   DO FEATURE
   ========================================================= */

.feature {
  display: grid;
  grid-template-columns:
    1fr minmax(320px, 0.85fr);

  gap: 36px;
  align-items: center;

  padding:
    clamp(28px, 4vw, 44px);

  border-radius: 30px;

  background: var(--night);
  color: var(--white);

  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;

  padding: 7px 10px;

  border-radius: 999px;

  background: var(--yellow);
  color: var(--ink);
}

.feature h3 {
  margin: 14px 0 0;

  font:
    800
    clamp(2.3rem, 4.2vw, 4rem) / 0.95
    var(--display);

  letter-spacing: -0.055em;
}

.feature p {
  color:
    rgba(255, 255, 255, 0.82);
}

.feature .sub {
  color: #73e2db;
  font-weight: 800;
}

.facts {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
  margin: 22px 0;
}

.facts span {
  padding: 8px 10px;

  border:
    1px solid rgba(255, 255, 255, 0.15);

  border-radius: 999px;

  font-size: 0.86rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 20px;

  border-radius: 999px;

  background: var(--orange);
  color: var(--ink);

  text-decoration: none;
  font-weight: 800;
}


/* =========================================================
   MESH GRAPHIC
   ========================================================= */

.mesh {
  position: relative;
  min-height: 300px;
}

.mesh svg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.mesh path {
  fill: none;

  stroke: #73e2db;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
}

.n {
  position: absolute;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 48px;
  aspect-ratio: 1;

  border-radius: 50%;

  background: var(--orange);
  color: var(--ink);

  font: 800 0.78rem/1 var(--mono);

  box-shadow:
    0 0 0 8px rgba(255, 107, 53, 0.12);
}

.n1 {
  left: 8%;
  bottom: 13%;
}

.n2 {
  left: 56%;
  top: 44%;
}

.n3 {
  right: 1%;
  top: 20%;
}

.n4 {
  right: 13%;
  bottom: 8%;
}

.do-grid {
  margin-top: 18px;
}


/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {
  margin-top: 18px;

  padding:
    clamp(28px, 4vw, 44px);

  border-radius: 30px;

  background: var(--yellow);
}

.manifesto h3 {
  margin: 0 0 8px;

  font:
    800
    clamp(2rem, 4vw, 3.3rem) / 1
    var(--display);

  letter-spacing: -0.045em;
}

.manifesto p:last-child {
  margin: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  display: flex;
  justify-content: space-between;

  gap: 24px;
  padding: 46px 0 60px;

  color: var(--muted);

  font-size: 0.9rem;
}

.footer strong {
  color: var(--ink);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .grid.four {
    grid-template-columns:
      repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero,
  .feature {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .tuner {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .shell {
    width:
      min(calc(100% - 28px), var(--max));
  }

  .nav {
    gap: 14px;
  }

  .hero {
    gap: 34px;
    padding: 40px 0 56px;
  }

  .hero h1 {
    font-size:
      clamp(3rem, 16vw, 4.7rem);
  }

  .hero-branches,
  .grid,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .branch {
    min-height: auto;
  }

  .branch strong {
    margin-bottom: 7px;
  }

  .tuner {
    padding: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .card {
    min-height: 220px;
  }

  .feature {
    padding: 24px;
  }

  .mesh {
    min-height: 240px;
  }

  .footer {
    flex-direction: column;
  }
}



@media (max-width: 680px) {
  .tuner {
    padding: 17px;
  }

  .tuner-readout {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .tuner-presets {
    gap: 6px;
  }

  .tuner-preset {
    min-height: 54px;
  }

  .preset-name {
    font-size: 0.75rem;
  }

  .tuner-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
