/* Harpoon Media public pages (index.html, team.html). Built as the redesign preview on 2026-09-25,
   moved to the project root on 2026-12-02: see redesign/README.md */

:root {
  --navy: #0c1a33;
  --navy-2: #122546;
  --paper: #f4f2ed;
  --paper-2: #e8e5de;
  --ink: #0c1a33;
  --ink-soft: #4a5468;
  --blue: #256fbf;
  --blue-dark: #1d5a9c;
  --blue-light: #7ab6f0;
  --on-navy: #eef1f6;
  --on-navy-soft: #a5b0c4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(12, 26, 51, 0.16);
  --max: 1200px;
  --font: 'Archivo', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
section { scroll-margin-top: 72px; }
h1, h2, h3 { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Condensed poster type for headings */
.head {
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}
h2.head { font-size: clamp(40px, 5.2vw, 64px); }

.dark { background: var(--navy); color: var(--on-navy); }
.dark .muted, .dark p { color: var(--on-navy-soft); }
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 4px;
  font: 600 16px var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: currentColor; background: transparent; }
.dark .btn-outline { color: var(--on-navy); }
.dark .btn-outline:hover { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-navy-soft); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links .btn { color: #fff; padding: 9px 16px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-toggle svg { display: block; width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { padding: 56px 0 24px; overflow: hidden; }
.hero-text { max-width: 1100px; }
.hero h1 { font-size: clamp(56px, 7vw, 96px); color: #fff; }
.hero-tag { font-size: 22px; font-weight: 600; color: var(--blue-light); margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.poster-wall {
  height: 480px; margin: 28px -4vw 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px;
  transform: rotate(-4deg) scale(1.04);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent);
}
.poster-col { overflow: hidden; }
.poster-track { display: flex; flex-direction: column; gap: 12px; animation: scroll-up 70s linear infinite; } /* duration is set per column in redesign.js */
.poster-col:nth-child(even) .poster-track { animation-name: scroll-down; }
.poster-wall:hover .poster-track { animation-play-state: paused; }
.poster-track img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--navy-2); box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
@keyframes scroll-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
@keyframes scroll-down { from { transform: translateY(calc(-50% - 6px)); } to { transform: translateY(0); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--line-dark); }
.stat { padding: 24px 24px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-stretch: 72%; font-weight: 800; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--on-navy-soft); }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid var(--ink); margin-bottom: 40px; }
.dark .section-head { border-color: var(--on-navy); }
.section-head p { margin: 0; font-size: 15px; }

/* Clients */
.clients { padding: 56px 0 8px; }
.clients-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.clients h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.logo-wall { list-style: none; margin: 0; padding: 28px 0 0; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px 60px; }
.logo-wall li { display: flex; align-items: center; justify-content: center; }
.logo-wall img { height: var(--h, 40px); width: auto; filter: brightness(0); opacity: .82; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service { border-top: 3px solid var(--navy); padding-top: 22px; }
.service h3 { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.service p { margin: 0 0 14px; }
.service ul { margin: 0; padding: 0 0 0 20px; }
.service li { margin: 6px 0; }
.service li::marker { color: var(--blue); }

/* Campaigns */

.row-label { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.row-label span { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-soft); margin-left: 10px; }
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.results + .row-label { margin-top: 48px; }
.result { background: #fff; border: 1px solid var(--line-light); border-top: 3px solid var(--navy); border-radius: 3px; padding: 20px 22px 18px; }
.result-tag { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.result-views { margin: 14px 0 16px; font-stretch: 72%; font-weight: 800; font-size: 52px; line-height: 1; color: var(--ink); }
.result-views span { display: block; margin-top: 6px; font-stretch: 100%; font-size: 13px; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.result dl { display: flex; gap: 28px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-light); }
.result dt { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.result dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.result dd.rate { color: var(--blue); }
.posts-label { margin: 64px 0 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.posts-label span { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-soft); margin-left: 10px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }

/* Pixel Scene: the creator network. A small section, built like Clients (small label, rule, content) */
.pixel { padding: 0 0 96px; scroll-margin-top: 104px; }
.pixel h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.pixel-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; padding-top: 32px; border-top: 2px solid var(--ink); }
/* The Pixel Scene wordmark in type: white PIXEL on their pink slanted block, then SCENE */
.pixel-mark { display: inline-flex; align-items: center; margin: 0 0 18px; font-weight: 800; font-size: 22px; letter-spacing: .02em; line-height: 1; color: var(--ink); }
.pixel-mark span { position: relative; isolation: isolate; margin-right: 12px; padding: 7px 12px 7px 9px; color: #fff; }
.pixel-mark span::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #f10140; transform: skewX(-18deg); }
.pixel-about p { margin: 0 0 12px; max-width: 620px; }
.pixel-join { background: #fff; border: 1px solid var(--line-light); border-top: 3px solid var(--navy); border-radius: 3px; padding: 22px 24px 24px; }
.pixel-join h3 { font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.pixel-join p { margin: 0 0 18px; }
.pixel-join .btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Reporting */
.report-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.report-intro p { margin: 0; font-size: 18px; max-width: 680px; }
.report-intro .btn { flex: none; }
/* A real campaign page from the dashboard (demo data), fading out at the bottom */
.report-shot { margin: 0 0 40px; }
.report-shot img {
  width: 100%; height: auto; border-radius: 12px 12px 0 0; background: #f4f3ef;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
          mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.report-shot figcaption { margin-top: 4px; font-size: 14px; color: var(--on-navy-soft); }
.report-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-dark); }
.report-list div { padding: 18px 0 20px; border-bottom: 1px solid var(--line-dark); }
.report-list dt { font-weight: 700; color: #fff; margin-bottom: 4px; }
.report-list dd { margin: 0; color: var(--on-navy-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contact p { margin: 0 0 20px; }
.contact-email { font-size: 20px; font-weight: 600; color: var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px var(--font); color: var(--ink);
  background: #fff; border: 1px solid #b9bcc4; border-radius: 3px; padding: 12px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field.invalid input, .field.invalid textarea { border-color: #c62828; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: #c62828; margin: 0; }
.form-msg.ok { color: #1e6b3a; font-weight: 600; }
.form-msg:empty { display: none; }

/* Footer */
.footer { padding: 48px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { height: 26px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-links a { display: inline-block; padding: 8px 0; color: var(--on-navy-soft); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-navy-soft); }
.footer-bottom a { color: var(--on-navy-soft); }
.footer-bottom a:hover { color: #fff; }

/* Team page */
.page-hero { padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(60px, 8vw, 110px); color: #fff; }
.page-hero p { max-width: 560px; margin: 20px 0 0; font-size: 18px; }
.member { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line-light); }
.member:last-child { border-bottom: 0; }
.member img { width: 100%; aspect-ratio: 354 / 457; object-fit: cover; border-radius: 3px; }
.member h2 { font-size: 34px; font-weight: 800; line-height: 1.1; }
.member .role { color: var(--blue); font-weight: 600; margin: 6px 0 20px; }
.member p { margin: 0 0 14px; max-width: 700px; }
.member a { color: var(--blue); }
.cta { padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(40px, 5vw, 60px); color: #fff; }
.cta p { margin: 12px 0 0; font-size: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .services, .contact { grid-template-columns: 1fr; }
  .pixel { padding-bottom: 72px; }
  .pixel-body { grid-template-columns: 1fr; gap: 28px; }
  .services { gap: 32px; }
  .report-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-wall { height: 420px; grid-template-columns: repeat(5, 1fr); margin-top: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:first-child { padding: 24px 16px 28px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .contact { gap: 40px; }
  .member { grid-template-columns: 1fr; gap: 24px; }
  .member img { max-width: 260px; }
  .section { padding: 72px 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 560px) {
  .poster-wall { height: 380px; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
  .logo-wall { justify-content: center; gap: 28px 32px; }
  .logo-wall img { height: calc(var(--h, 40px) * .72); }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .content-grid { grid-template-columns: 1fr; }
  .results { gap: 10px; }
  .result { padding: 16px 14px 14px; }
  .result-views { font-size: 40px; }
  .result dl { gap: 16px; }
  .result dd { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .report-list { grid-template-columns: 1fr; }
  .report-shot img { border-radius: 8px 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster-track { animation: none; }
}
