/* gage.marketing — partner co-marketing hub */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/PlusJakartaSans.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/PlusJakartaSans-Italic.woff2") format("woff2");
}

:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.12);
  --card: #0b0b0b;
  --olive: #9b883b;
  --orange: #c16b29;
  --slate: #17262d;
  --paper: #f6f8f9;
  --paper-ink: #17262d;
  --paper-muted: #5c6c74;
  --radius: 16px;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand img { height: 24px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--olive); }
.nav-links a.nav-cta {
  border: 1px solid var(--olive);
  border-radius: 999px;
  padding: 6px 16px;
  color: var(--ink);
}
.nav-links a.nav-cta:hover { background: var(--olive); color: #000; }
.nav-links a.nav-cta.active { border-bottom-color: var(--olive); }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 64px;
  position: relative;
}

.hero-mark { width: 225px; max-width: 72vw; display: block; }

.hero-tag {
  margin-top: 40px;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

.hero-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- earthy cycle ---------- */

.cycle { animation: earth 26s ease-in-out infinite; }

@keyframes earth {
  0%   { filter: hue-rotate(-38deg); }
  50%  { filter: hue-rotate(37deg); }
  100% { filter: hue-rotate(-38deg); }
}

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

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

section { padding: 72px 0; }

.sec-head { margin-bottom: 36px; }
.sec-head .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 640px; }

.page-head { padding: 150px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.page-head .lede { color: var(--muted); max-width: 680px; margin-top: 14px; font-size: 17px; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: rgba(155, 136, 59, 0.55); transform: translateY(-2px); }

.card h3 { font-size: 17px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14px; }
.card .go {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--olive); color: #000; }
.btn.solid { background: var(--olive); color: #000; }
.btn.solid:hover { background: #b09c48; }
.btn.ghost { border-color: var(--line); color: var(--muted); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- copy blocks ---------- */

.copybox {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.copybox .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.copybox textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

.copy-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.copy-btn:hover, .copy-btn.copied { border-color: var(--olive); color: var(--olive); }

/* ---------- logo tiles (brand page) ---------- */

.logo-tile {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.logo-tile .stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 28px;
}
.logo-tile .stage img { max-width: 78%; max-height: 110px; }
.logo-tile .stage.on-paper { background: var(--paper); }
.logo-tile .stage.on-slate { background: var(--slate); }
.logo-tile .stage.on-black { background: #000; }
.logo-tile .meta {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.logo-tile .meta strong { font-size: 14px; display: block; }
.logo-tile .meta span { font-size: 12.5px; color: var(--muted); display: block; margin: 2px 0 10px; }
.logo-tile .meta .dl { display: flex; gap: 14px; flex-wrap: wrap; }
.logo-tile .meta .dl a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--olive);
  border-bottom: 1px solid transparent;
}
.logo-tile .meta .dl a:hover { border-bottom-color: var(--olive); }

/* ---------- swatches ---------- */

.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }

.swatch {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.swatch .chip { height: 86px; }
.swatch .chip.bordered { border-bottom: 1px solid var(--line); }
.swatch .info { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.swatch .info strong { font-size: 13px; font-weight: 600; display: block; }
.swatch .info span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- bios ---------- */

.bio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; } }

.bio-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
@media (max-width: 560px) { .bio-card { grid-template-columns: 1fr; } }

.bio-card .photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--slate);
}
.bio-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-card .photo .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; color: var(--olive);
}
.bio-card h3 { font-size: 18px; font-weight: 700; }
.bio-card .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); margin: 2px 0 10px; }
.bio-card p { font-size: 14px; color: var(--muted); }
.bio-card .dl { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.bio-card .dl a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--olive);
}
.bio-card .dl a:hover { text-decoration: underline; }

/* ---------- facts ---------- */

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } }

.fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.fact .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); }
.fact .v { font-size: 15px; font-weight: 600; margin-top: 8px; }

ul.plain { list-style: none; }
ul.plain li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
  color: var(--muted);
}
ul.plain li:last-child { border-bottom: none; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: 4px; top: 19px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--olive);
}
ul.plain li strong { color: var(--ink); font-weight: 600; }

/* ---------- templates ---------- */

.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .tpl-grid { grid-template-columns: 1fr; } }

.tpl-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.tpl-shot img { width: 100%; display: block; }
.tpl-shot .cap { padding: 12px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tpl-shot .cap a { color: var(--olive); white-space: nowrap; }

.flyer-mock {
  aspect-ratio: 8.5 / 11;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7% 7%;
  display: flex;
  flex-direction: column;
  max-width: 340px;
}
.flyer-mock .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flyer-mock .row img { height: 22px; }
.flyer-mock .ph-logo {
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 12px;
  font-family: var(--mono);
}
.flyer-mock .hl { font-size: clamp(16px, 2vw, 21px); font-weight: 700; margin-top: 14%; line-height: 1.25; }
.flyer-mock .sub { color: var(--muted); font-size: 11px; margin-top: 6px; }
.flyer-mock .body { color: var(--muted); font-size: 10.5px; margin-top: 8%; line-height: 1.6; }
.flyer-mock .rule { width: 56px; height: 3px; background: var(--orange); margin-top: auto; }
.flyer-mock .url { font-family: var(--mono); font-size: 9px; color: var(--faint); margin-top: 10px; }

/* ---------- paper band (partner strip) ---------- */

.paper-band { background: var(--paper); color: var(--paper-ink); padding: 64px 0; }
.paper-band .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-muted);
  text-align: center;
  display: block;
  margin-bottom: 30px;
}
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 46px);
}
.partner-strip img {
  height: 34px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s, opacity 0.2s;
  object-fit: contain;
}
.partner-strip img.hero-logo { height: 52px; opacity: 0.9; }
.partner-strip img:hover { filter: grayscale(0); opacity: 1; }
.paper-band .note { text-align: center; color: var(--paper-muted); font-size: 13px; margin-top: 26px; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
footer .f-mark { height: 20px; display: block; margin-bottom: 18px; }
footer p { color: var(--muted); font-size: 13px; }
footer .fine { color: var(--faint); font-size: 12px; margin-top: 6px; max-width: 560px; }

/* ---------- misc ---------- */

.note-card {
  border: 1px dashed rgba(155, 136, 59, 0.5);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--muted);
  font-size: 14px;
}
.note-card strong { color: var(--ink); }

.steps { counter-reset: step; display: grid; gap: 0; }
.steps .step {
  counter-increment: step;
  padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.steps .step:last-child { border-bottom: none; }
.steps .step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--olive);
}
.steps .step strong { display: block; font-size: 15px; }
.steps .step span { color: var(--muted); font-size: 14px; }

.contact-mail {
  font-family: var(--mono);
  font-size: clamp(16px, 3vw, 22px);
  color: var(--olive);
  word-break: break-all;
}

hr.sep { border: none; border-top: 1px solid var(--line); margin: 0; }
