/* =====================================================
   WORK WITH US — newsletter sponsorship page
   Self-sufficient stylesheet (pairs with nav.css), same
   pattern as deals.css. Design ported from the Sponsor
   Kit PDF build: PP NeueBit + PP Mondwest headings,
   Space Mono numbers/labels, Inter body, #173EF5 accent,
   Web 1.0 raised cards. Stripped-back layout modelled on
   /recordings, held to the site's centre-third "Wait
   Layout" column (680px), scroll-triggered reveals.
   ===================================================== */

@font-face {
  font-family: 'PP NeueBit';
  src: url('/assets/fonts/ppneuebit-bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'PP Mondwest';
  src: url('/assets/fonts/ppmondwest-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --wwu-blue: #173EF5;
  --wwu-ink: #121212;
  --wwu-body: #3a3a3a;
  --wwu-sec: #7E7E7E;
  --wwu-muted: #AAAAAA;
  --wwu-line: #E3E3E3;
  --wwu-line-soft: #ECECEC;
  --wwu-border: #DDD;
  --wwu-grey: #F8F8F8;
  --wwu-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--wwu-ink);
  background: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- layout: the centre-third column ---------- */

.wwu-wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* Each section owns a full viewport: content vertically centred, one
   section on screen at a time. Content-heavy sections simply grow past
   the viewport - min-height, never a hard cap. */
.wwu-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}
.wwu-section > .wwu-wrap { width: 100%; }

.wwu-hero {
  min-height: calc(100vh - 58px);
  min-height: calc(100svh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 56px;
  text-align: center;
}
.wwu-hero > .wwu-wrap { width: 100%; }

/* ---------- scroll reveal ---------- */

.fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--wwu-ease), transform 600ms var(--wwu-ease);
}
.fade.visible { opacity: 1; transform: none; }

/* ---------- type ---------- */

.wwu-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wwu-blue);
  margin-bottom: 14px;
}

.wwu-h1 {
  font-family: 'PP NeueBit', 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.wwu-h2 {
  font-family: 'PP NeueBit', 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1;
  margin-bottom: 10px;
}

.wwu-h3 {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wwu-ink);
}

.wwu-p { color: var(--wwu-body); max-width: 560px; font-size: 0.9rem; }
.wwu-sub { color: var(--wwu-sec); font-size: 1rem; max-width: 480px; }

.wwu-center { text-align: center; }
.wwu-center .wwu-p, .wwu-center .wwu-sub { margin-left: auto; margin-right: auto; }

.wwu-note {
  display: block;
  color: var(--wwu-muted);
  font-size: 0.72rem;
  margin-top: 12px;
  line-height: 1.5;
}

/* ---------- diamond lists ---------- */

ul.wwu-d { list-style: none; max-width: 560px; }
ul.wwu-d li { padding-left: 22px; position: relative; margin-bottom: 8px; color: var(--wwu-body); font-size: 0.9rem; }
ul.wwu-d li::before {
  content: "\25C6"; /* ◆ */
  color: var(--wwu-blue);
  font-size: 0.5rem;
  position: absolute;
  left: 0;
  top: 5px;
}

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

.wwu-stats { display: flex; gap: 12px; margin: 26px 0 0; flex-wrap: wrap; }
.wwu-stat {
  flex: 1;
  min-width: 118px;
  border: 1px solid var(--wwu-border);
  border-radius: 4px;
  padding: 13px 10px;
  box-shadow: inset -2px -2px 0 0 var(--wwu-line);
  background: #FFFFFF;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms var(--wwu-ease), transform 550ms var(--wwu-ease);
}
.wwu-stats.visible .wwu-stat { opacity: 1; transform: none; }
.wwu-stats.visible .wwu-stat:nth-child(2) { transition-delay: 90ms; }
.wwu-stats.visible .wwu-stat:nth-child(3) { transition-delay: 180ms; }
.wwu-stats.visible .wwu-stat:nth-child(4) { transition-delay: 270ms; }

.wwu-stat .v {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--wwu-blue);
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wwu-stat .l {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wwu-sec);
  margin-top: 4px;
}

/* ---------- chips ---------- */

.wwu-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.wwu-chip {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--wwu-blue);
  color: var(--wwu-blue);
  border-radius: 3px;
  padding: 3px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- buttons (Web 1.0 raised) ---------- */

.wwu-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }

.wwu-btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 20px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--wwu-ink);
  box-shadow: inset -2px -2px 0 0 var(--wwu-line);
  transition: transform 0.15s var(--wwu-ease);
  cursor: pointer;
}
.wwu-btn:active { box-shadow: inset 2px 2px 0 0 var(--wwu-line); }
.wwu-btn:hover { color: var(--wwu-blue); }

.wwu-btn--primary {
  background: var(--wwu-blue);
  color: #FFFFFF;
  border-color: var(--wwu-blue);
  box-shadow: inset -2px -2px 0 0 rgba(0, 0, 0, 0.25);
}
.wwu-btn--primary:hover { color: #FFFFFF; background: #1233CC; }
.wwu-btn--primary:active { box-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.25); }

/* text CTA inside placements */
.wwu-enquire {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wwu-blue);
  text-decoration: none;
  margin-top: 12px;
  border-bottom: 1px solid var(--wwu-blue);
  padding-bottom: 2px;
}
.wwu-enquire:hover { opacity: 0.75; }

/* ---------- data table (performance) ---------- */

.wwu-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.wwu-data { width: 100%; border-collapse: collapse; font-size: 0.72rem; margin-top: 10px; min-width: 520px; }
table.wwu-data th {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wwu-sec);
  text-align: left;
  padding: 6px;
  border-bottom: 1.5px solid var(--wwu-ink);
}
table.wwu-data td { padding: 6px; border-bottom: 1px solid var(--wwu-line-soft); color: var(--wwu-body); }
table.wwu-data th.n, table.wwu-data td.n { text-align: right; font-family: 'Space Mono', monospace; }
table.wwu-data td.t { color: var(--wwu-ink); }

/* ---------- chart (bars grow on scroll) ---------- */

.wwu-chart { margin: 28px 0 4px; }
.wwu-chart svg { width: 100%; height: auto; display: block; }

.wwu-chart svg path {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0.001);
}
.wwu-chart.in-view svg path {
  animation: wwuBarGrow 750ms var(--wwu-ease) forwards;
}
.wwu-chart.in-view svg path:nth-of-type(1)  { animation-delay: 0ms; }
.wwu-chart.in-view svg path:nth-of-type(2)  { animation-delay: 70ms; }
.wwu-chart.in-view svg path:nth-of-type(3)  { animation-delay: 140ms; }
.wwu-chart.in-view svg path:nth-of-type(4)  { animation-delay: 210ms; }
.wwu-chart.in-view svg path:nth-of-type(5)  { animation-delay: 280ms; }
.wwu-chart.in-view svg path:nth-of-type(6)  { animation-delay: 350ms; }
.wwu-chart.in-view svg path:nth-of-type(7)  { animation-delay: 420ms; }
.wwu-chart.in-view svg path:nth-of-type(8)  { animation-delay: 490ms; }
.wwu-chart.in-view svg path:nth-of-type(9)  { animation-delay: 560ms; }
.wwu-chart.in-view svg path:nth-of-type(10) { animation-delay: 630ms; }

@keyframes wwuBarGrow {
  to { transform: scaleY(1); }
}

/* peak value labels appear after the bars land */
.wwu-chart svg text.peak { opacity: 0; }
.wwu-chart.in-view svg text.peak { animation: wwuPeakIn 400ms ease 1000ms forwards; }
@keyframes wwuPeakIn { to { opacity: 1; } }

/* ---------- placement product cards ---------- */

.wwu-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }

.wwu-prod {
  appearance: none;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--wwu-border);
  border-radius: 4px;
  box-shadow: inset -2px -2px 0 0 var(--wwu-line);
  padding: 16px 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: border-color 0.2s ease;
}
.wwu-prod:hover { border-color: var(--wwu-blue); }
.wwu-prod:active { box-shadow: inset 2px 2px 0 0 var(--wwu-line); }
.wwu-prod .name {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wwu-ink);
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wwu-prod .rate { font-size: 0.95rem; font-weight: 700; color: var(--wwu-blue); margin-top: 2px; white-space: nowrap; }
.wwu-prod .per { font-size: 0.56rem; color: var(--wwu-sec); letter-spacing: 0.04em; white-space: nowrap; }
.wwu-prod .caret {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wwu-blue);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 1.05rem;
  line-height: 1;
  margin-top: 10px;
  box-shadow: inset -2px -2px 0 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--wwu-ease), background 0.2s ease;
}
.wwu-prod:hover .caret { background: #1233CC; }
.wwu-prod.active { border-color: var(--wwu-blue); box-shadow: inset -2px -2px 0 0 #D9E0FD; }
.wwu-prod.active .caret { transform: rotate(180deg); }

/* drop-down detail panels (grid-rows trick animates unknown heights) */
.wwu-prodpanel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--wwu-ease); }
.wwu-prodpanel.open { grid-template-rows: 1fr; }
.wwu-prodpanel__inner { overflow: hidden; min-height: 0; }
.wwu-prodpanel__pad { padding: 20px 2px 6px; text-align: center; }
.wwu-prodpanel__pad .wwu-p { margin-left: auto; margin-right: auto; }

.wwu-shots { display: flex; gap: 18px; align-items: flex-start; justify-content: center; margin-top: 16px; }
.wwu-shots figure { flex: none; min-width: 0; }
.wwu-shots img {
  display: block;
  width: auto;
  height: auto;
  max-height: 200px;
  max-width: 100%;
  border: 1px solid var(--wwu-line);
  border-radius: 6px;
}
.wwu-shots figcaption {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wwu-sec);
  margin-top: 6px;
  text-align: center;
}

/* staggered reveal for the shot pair */
.wwu-shots figure {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--wwu-ease), transform 650ms var(--wwu-ease);
}
.wwu-shots.visible figure { opacity: 1; transform: none; }
.wwu-shots.visible figure:nth-child(2) { transition-delay: 130ms; }

.wwu-spec {
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--wwu-sec);
  margin-top: 12px;
  line-height: 1.9;
}
.wwu-spec b { color: var(--wwu-ink); font-weight: 700; }
.wwu-spec .sep { color: var(--wwu-muted); padding: 0 7px; }

/* ---------- pricing table ---------- */

table.wwu-price { width: 100%; border-collapse: collapse; margin-top: 16px; min-width: 540px; }
table.wwu-price th {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1.5px solid var(--wwu-ink);
  color: var(--wwu-sec);
}
table.wwu-price th.n { text-align: right; }
table.wwu-price td { padding: 12px 8px; border-bottom: 1px solid var(--wwu-line-soft); vertical-align: top; color: var(--wwu-body); font-size: 0.78rem; }
table.wwu-price td.n { text-align: right; font-family: 'Space Mono', monospace; white-space: nowrap; }
table.wwu-price .tier { font-family: 'Space Mono', monospace; font-weight: 700; color: var(--wwu-ink); font-size: 0.7rem; }
table.wwu-price td.hero-price { font-weight: 700; color: var(--wwu-ink); }

/* ---------- final CTA band ---------- */

.wwu-final {
  background: var(--wwu-grey);
  border-top: 1px solid var(--wwu-line-soft);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  text-align: center;
}
.wwu-final > .wwu-wrap { width: 100%; }
.wwu-final .wwu-h2 { color: var(--wwu-ink); }
.wwu-mailline { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--wwu-sec); margin-top: 18px; }
.wwu-mailline a { color: var(--wwu-blue); text-decoration: none; }
.wwu-mailline a:hover { text-decoration: underline; }

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

.wwu-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--wwu-muted);
}
.wwu-foot a { color: var(--wwu-muted); text-decoration: none; }
.wwu-foot a:hover { color: var(--wwu-blue); }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .wwu-section { padding: 56px 0; }
  .wwu-hero { padding: 16px 0 40px; }
  .wwu-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wwu-stats { gap: 8px; }
  .wwu-stat { flex: 1 1 calc(50% - 8px); min-width: calc(50% - 8px); padding: 12px 10px; }
  .wwu-stat .v { font-size: 1.1rem; }
  .wwu-shots { flex-direction: column; }
  .wwu-shots figure, .wwu-shots figure.m { flex: none; width: 100%; }
  .wwu-shots figure.m { max-width: 300px; margin: 0 auto; }
  .wwu-final { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wwu-btn { transition: none; }
  .fade, .wwu-stat, .wwu-shots figure { opacity: 1; transform: none; transition: none; }
  .wwu-prodpanel { transition: none; }
  .wwu-chart svg path { transform: none; animation: none !important; }
  .wwu-chart svg text.peak { opacity: 1; animation: none !important; }
}
