:root {
  --ink: #10130f;
  --ink-2: #1f261d;
  --paper: #f4efe4;
  --paper-2: #e5dccb;
  --brass: #b8832f;
  --rust: #8e3827;
  --green: #3d5d49;
  --cream: #fff8ec;
  --muted: #756e62;
  --line: rgba(16, 19, 15, 0.18);
  --shadow: 0 24px 70px rgba(16, 19, 15, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 228, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.movement-line {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 9px 20px;
  background: var(--rust);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.movement-line a {
  color: var(--cream);
  text-underline-offset: 3px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
  line-height: 0.92;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.rating-line {
  margin: .75rem 0 1rem;
  padding: .9rem 1rem;
  border-left: 4px solid var(--rust, #8e3827);
  background: #f5efe4;
  color: #24251f;
  line-height: 1.55;
}

.brand span:last-child {
  color: var(--rust);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--rust);
}

.nav::after {
  display: none;
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  content: "Menu";
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 248, 236, 0.55);
  color: var(--cream);
}

.button.light {
  background: var(--cream);
  color: var(--ink);
}

.button.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/market-studio-hero.png") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.92) 0%, rgba(16, 19, 15, 0.68) 42%, rgba(16, 19, 15, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 19, 15, 0.82), rgba(16, 19, 15, 0.05) 50%);
  content: "";
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  align-content: center;
  min-height: 720px;
  padding: 72px 0 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 8vw, 7.7rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 670px;
  color: rgba(255, 248, 236, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.participation-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--cream);
  font-weight: 950;
  text-transform: uppercase;
}

.participation-equation span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 236, 0.34);
  background: rgba(16, 19, 15, 0.34);
}

.participation-equation b {
  align-self: center;
  color: var(--brass);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  position: relative;
  margin-top: -72px;
  z-index: 4;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid rgba(255, 248, 236, 0.7);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section.dark {
  background: var(--ink);
  color: var(--cream);
}

.section.green {
  background: var(--green);
  color: var(--cream);
}

.section.band {
  background: var(--ink-2);
  color: var(--cream);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  color: inherit;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

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

.dark .muted,
.green .muted,
.band .muted {
  color: rgba(255, 248, 236, 0.68);
}

.question-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.question {
  min-height: 178px;
  padding: 26px;
  background: var(--paper);
}

.question span {
  display: block;
  margin-bottom: 30px;
  color: var(--rust);
  font-weight: 950;
}

.question h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.03;
}

.mission-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 248, 236, 0.22);
  border-left: 1px solid rgba(255, 248, 236, 0.22);
}

.flow-step {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid rgba(255, 248, 236, 0.22);
  border-bottom: 1px solid rgba(255, 248, 236, 0.22);
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 950;
}

.flow-step h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.flow-step p {
  margin-bottom: 0;
  color: rgba(255, 248, 236, 0.74);
  line-height: 1.48;
}

.coffee-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.coffee-feature > *,
.section-header > *,
.two-column > *,
.market-list > *,
.participation-paths > * {
  min-width: 0;
}

.coffee-photo {
  min-height: 520px;
  background: #20130e;
  overflow: hidden;
}

.coffee-photo.placeholder {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(184, 131, 47, 0.2), rgba(61, 93, 73, 0.28)),
    var(--ink-2);
  color: var(--cream);
}

.coffee-photo.placeholder span {
  color: var(--brass);
  font-weight: 950;
  text-transform: uppercase;
}

.coffee-photo.placeholder strong {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.coffee-photo.placeholder p {
  max-width: 520px;
  color: rgba(255, 248, 236, 0.74);
  font-size: 1.15rem;
  line-height: 1.4;
}

.coffee-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.coffee-feature .coffee-photo img[src*="irwinnaturals.com"] {
  padding: 24px;
  background: #fff;
  object-fit: contain;
}

.coffee-copy {
  padding: 52px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.coffee-copy h2 {
  color: var(--ink);
}

.coffee-copy .lead {
  color: var(--ink);
}

.callout-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.mini-callout {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 900;
}

.motion-strip {
  display: flex;
  gap: 12px;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.motion-strip span {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  animation: marketPulse 7s ease-in-out infinite;
}

.motion-strip span:nth-child(2) {
  animation-delay: 0.4s;
}

.motion-strip span:nth-child(3) {
  animation-delay: 0.8s;
}

.motion-strip span:nth-child(4) {
  animation-delay: 1.2s;
}

.motion-strip span:nth-child(5) {
  animation-delay: 1.6s;
}

@keyframes marketPulse {
  0%,
  100% {
    transform: translateY(0);
    background: var(--ink);
  }

  45% {
    transform: translateY(-4px);
    background: var(--green);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-strip span {
    animation: none;
  }
}

.watchlist-grid,
.brief-grid,
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.market-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.market-card.featured {
  background: var(--rust);
  color: var(--cream);
  border-color: var(--rust);
}

.market-card.rule-card {
  min-height: 240px;
}

.market-feature-card,
.market-divider {
  grid-column: 1 / -1;
}

.market-divider {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  background: var(--ink-2);
  color: var(--cream);
  border: 1px solid rgba(255, 248, 236, 0.18);
}

.market-divider.category-divider {
  background: var(--green);
}

.market-divider strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-divider p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 248, 236, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.42;
}

.market-divider-art {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.2fr;
  gap: 10px;
  min-height: 96px;
}

.market-divider-art span {
  display: block;
  min-height: 96px;
  background: var(--brass);
}

.market-divider-art span:nth-child(2) {
  background: var(--rust);
}

.market-divider-art span:nth-child(3) {
  background: var(--green);
}

.market-visual {
  display: grid;
  align-items: end;
  min-height: 210px;
  margin: -26px -26px 24px;
  background: var(--ink-2);
  overflow: hidden;
}

.market-visual img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.market-visual.placeholder {
  align-content: end;
  gap: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(184, 131, 47, 0.18), rgba(61, 93, 73, 0.22)),
    var(--paper-2);
  color: var(--ink);
}

.market-visual.placeholder span {
  color: var(--rust);
  font-weight: 950;
  text-transform: uppercase;
}

.market-visual.placeholder strong {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.market-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
}

.market-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.52;
}

.market-card.featured p {
  color: rgba(255, 248, 236, 0.78);
}

.market-notes {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.market-notes div {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(16, 19, 15, 0.05);
  border: 1px solid var(--line);
}

.market-card.featured .market-notes div {
  background: rgba(255, 248, 236, 0.09);
  border-color: rgba(255, 248, 236, 0.24);
}

.market-notes strong {
  font-size: 0.78rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.market-notes span,
.market-disclosure {
  color: var(--muted);
  line-height: 1.45;
}

.market-card.featured .market-notes span {
  color: rgba(255, 248, 236, 0.72);
}

.market-card.featured .market-visual img[src*="irwinnaturals.com"] {
  padding: 24px;
  background: #fff;
  object-fit: contain;
}

.market-disclosure {
  margin-top: 18px;
  font-size: 0.92rem;
}

.panel {
  min-height: 260px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.dark .panel,
.green .panel,
.band .panel {
  background: rgba(255, 248, 236, 0.08);
  border-color: rgba(255, 248, 236, 0.22);
}

.panel.kicker {
  background: var(--rust);
  color: var(--cream);
  border-color: var(--rust);
}

.panel h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.panel p {
  color: var(--muted);
  line-height: 1.52;
}

.public-status {
  padding: 18px 0;
  background: var(--rust);
  color: var(--cream);
}

.public-status-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.public-status strong {
  text-transform: uppercase;
}

.public-status p {
  margin: 0;
  color: rgba(255, 248, 236, 0.82);
  line-height: 1.4;
}

.public-status a {
  font-weight: 950;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 248, 236, 0.65);
}

.build-log {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.build-log ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.build-log li {
  color: var(--muted);
  line-height: 1.45;
}

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

.next-card {
  min-height: 160px;
  padding: 20px;
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.2);
}

.next-card strong {
  display: block;
  margin-bottom: 10px;
}

.next-card p {
  margin: 0;
  color: rgba(255, 248, 236, 0.72);
  line-height: 1.45;
}

.section:not(.dark):not(.green):not(.band) .next-card {
  background: var(--cream);
  border-color: var(--line);
}

.section:not(.dark):not(.green):not(.band) .next-card p {
  color: var(--muted);
}

.participation-paths {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.participation-path {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
  background: var(--cream);
}

.participation-path span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.participation-path h3 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
  line-height: 1.04;
}

.participation-path p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.participation-path a {
  margin-top: auto;
  color: var(--rust);
  font-weight: 950;
  text-decoration: none;
}

.movement-declaration {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
  padding: 42px;
  background: var(--rust);
  color: var(--cream);
}

.movement-declaration strong {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.movement-declaration p {
  margin: 0;
  color: rgba(255, 248, 236, 0.86);
  font-size: 1.2rem;
  line-height: 1.6;
}

.dark .panel p,
.green .panel p,
.band .panel p {
  color: rgba(255, 248, 236, 0.72);
}

.status {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 10px;
  background: rgba(184, 131, 47, 0.18);
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.market-card > .brief-actions {
  margin-top: auto;
  padding-top: 10px;
}

.page-hero {
  padding: 92px 0 74px;
  background: var(--ink);
  color: var(--cream);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.page-hero p {
  max-width: 760px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
}

.stack {
  display: grid;
  gap: 18px;
}

.contact-box {
  padding: 34px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-direct p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-weight: 850;
}

.agency-hero {
  background:
    linear-gradient(120deg, rgba(16, 19, 15, 0.98), rgba(31, 38, 29, 0.88)),
    var(--ink);
}

.agency-log strong {
  display: block;
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.agency-next-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.consent-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--ink);
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.brief-reader {
  display: grid;
  gap: 22px;
  max-width: 860px;
}

.brief-reader h2,
.brief-reader h3 {
  margin: 18px 0 0;
  line-height: 1.08;
}

.brief-reader p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.72;
}

.brief-reader .status {
  width: fit-content;
}

.field-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 14px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.footer {
  padding: 52px 0;
  background: #080a07;
  color: var(--cream);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer p {
  margin: 0;
  color: rgba(255, 248, 236, 0.65);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav::after {
    display: inline-flex;
    order: 1;
  }

  .nav-links {
    flex-wrap: wrap;
    order: 2;
  }

  .proof-grid,
  .question-wall,
  .mission-flow,
  .coffee-feature,
  .watchlist-grid,
  .brief-grid,
  .market-grid,
  .market-list,
  .section-header,
  .two-column,
  .public-status-inner,
  .build-log,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .participation-paths,
  .movement-declaration {
    grid-template-columns: 1fr;
  }

  .agency-next-grid {
    grid-template-columns: 1fr;
  }

  .market-divider {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .coffee-copy {
    padding: 30px;
  }

  .callout-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .movement-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .nav-links {
    gap: 11px;
    font-size: 0.84rem;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .proof-grid,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}
