/* The Peak — Advertise page. Brand: 2026 Refresh (Press Ink, Stock Paper, Market Mint, Grey; Trona, Frame Text, Acumin Condensed Black). */

@font-face {
  font-family: "Trona";
  src: url("../fonts/trona-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frame Text";
  src: url("../fonts/frame-roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acumin Cond";
  src: url("../fonts/acumin-cond-black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1F1D1A;
  --paper: #F9F7F2;
  --mint: #D8EEE2;
  --grey: #A2A2A2;
  --ink-soft: #5C5852;
  --rule-dark: #3A3733;
  --paper-dim: #CFCBC2;

  --font-display: "Trona", Georgia, serif;
  --font-body: "Frame Text", Georgia, serif;
  --font-label: "Acumin Cond", "Avenir Next Condensed", "Arial Narrow", sans-serif;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-label);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.skip-link:focus { top: 16px; }

/* Type */

.label {
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.label--soft { color: var(--ink-soft); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 7.4vw, 124px);
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}
.display--centre { max-width: 17ch; margin-inline: auto; text-align: center; }

.headline {
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 5.6vw, 88px);
  line-height: 0.95;
  text-wrap: balance;
}

.lede {
  max-width: 36em;
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.55;
}

/* Stats: the <dt> label sits under its value */

.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.nowrap { white-space: nowrap; }
.stat__value {
  font-family: var(--font-label);
  font-weight: 900;
  line-height: 0.86;
}
.stat__label { margin-top: 8px; font-size: 17px; line-height: 1.3; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.button--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button--ink:hover { color: var(--paper); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--paper); }
.button--outline { border-color: var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--paper); }
.button--mint { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.button--mint:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--paper); }
.button:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* Header */

.site-header {
  display: flex;
  justify-content: center;
  padding: 28px var(--gutter) 0;
}
.site-logo img { width: auto; height: clamp(40px, 4.2vw, 58px); }

/* Hero */

.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px);
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 11vw, 176px);
  line-height: 0.84;
  letter-spacing: -0.004em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__lede {
  max-width: 36em;
  margin: 32px auto 0;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 2px solid var(--ink);
}
.hero-stats .stat {
  align-items: center;
  padding: 22px 12px 4px;
  text-align: center;
}
.hero-stats .stat + .stat { border-left: 1.5px solid var(--ink); }
.hero-stats .stat__value { font-size: clamp(48px, 4.8vw, 72px); }

/* Sections */

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--mint { background: var(--mint); }

.audience-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--mint);
}
.photo figcaption { max-width: 40em; margin-top: 22px; }

.big-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 32px;
  margin-top: 64px;
}
.big-stats .stat { padding-top: 18px; border-top: 3px solid var(--ink); }
.big-stats .stat__value { font-size: clamp(64px, 7.4vw, 120px); }
.big-stats .stat__label { margin-top: 10px; font-size: 18px; }

/* Channel cards: on tall enough screens each card sticks and the next slides over it */

.stack {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 60px;
}
.stack-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 40px);
  padding: clamp(12px, 1.6vw, 22px);
  border: 2px solid var(--ink);
  background: var(--paper);
}
.stack-card__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(12px, 2.4vw, 36px) clamp(8px, 1.8vw, 24px);
}
.stack-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 5.4vw, 80px);
  line-height: 0.9;
}
.stack-card__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stack-card__brands li {
  padding: 8px 12px 7px;
  background: var(--mint);
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stack-card__body { max-width: 24em; margin-top: 22px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; }
.stack-card__cta { margin-top: 32px; }
.stack-card .button--ink:hover { box-shadow: 5px 5px 0 var(--mint); }

.stack-card__visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 460px;
  padding: clamp(20px, 2.6vw, 36px);
  background: var(--mint);
}
.stack-card:nth-child(even) .stack-card__visual { order: -1; }
.stack-card__icon {
  align-self: center;
  margin-block: auto;
  width: auto;
  max-width: 70%;
  height: clamp(120px, 14vw, 200px);
}
.stack-card__icon--wide { height: clamp(84px, 10vw, 140px); }
.stack-card__visual--photo { position: relative; overflow: hidden; padding: 0; }
.stack-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
.stack-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.stack-card__stats .stat__value { font-size: clamp(52px, 5vw, 76px); }
.stack-card__stats .stat__label { max-width: 12em; font-size: 16px; }

@media (min-width: 900px) and (min-height: 760px) {
  .stack { grid-auto-rows: 1fr; }
  .stack-card {
    position: sticky;
    top: 24px;
    box-shadow: 0 -16px 36px -20px rgba(31, 29, 26, 0.45);
  }
  .stack-card:nth-child(2) { top: 38px; }
  .stack-card:nth-child(3) { top: 52px; }
  .stack-card:nth-child(4) { top: 66px; }
  .stack-card:nth-child(5) { top: 80px; }
  .stack-card__visual { min-height: min(540px, calc(100vh - 220px)); }
}

/* Contact */

.contact {
  padding-block: var(--section-y) 72px;
  background: var(--ink);
  color: var(--paper);
}
.contact :focus-visible { outline-color: var(--mint); }
.contact__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px clamp(32px, 5vw, 96px);
}
.contact__intro { flex: 1 1 440px; min-width: 0; }
.display--contact { font-size: clamp(64px, 9vw, 160px); line-height: 0.84; }
.contact__intro p { max-width: 30em; margin-top: 22px; font-size: 19px; color: var(--paper-dim); }

.contact-form { display: grid; gap: 22px; flex: 1 1 460px; min-width: 0; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.field__label {
  padding: 0;
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field__optional { color: var(--grey); }
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--paper);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--mint); box-shadow: inset 0 -4px 0 var(--mint); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--paper);
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip input:hover + span { border-color: var(--mint); }
.chip input:checked + span { border-color: var(--mint); background: var(--mint); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-status { flex: 1 1 220px; font-size: 16px; line-height: 1.4; color: var(--paper-dim); }
.form-status[data-state="success"] { color: var(--mint); }

/* Footer */

.site-footer { background: var(--ink); color: var(--grey); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-block: 26px 40px;
  border-top: 1px solid var(--rule-dark);
}
.site-footer img { width: auto; height: 36px; }
.site-footer :focus-visible { outline-color: var(--mint); }

/* Responsive */

@media (max-width: 1024px) {
  .big-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .stack-card { grid-template-columns: 1fr; }
  .stack-card .stack-card__visual { order: -1; min-height: 0; }
  .stack-card__icon { height: 120px; margin-block: 8px; }
  .stack-card__icon--wide { height: 84px; }
  .stack-card .stack-card__visual--photo { aspect-ratio: 4 / 3; }
  .audience-intro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__break { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats .stat { padding-bottom: 18px; }
  .hero-stats .stat + .stat { border-left: 0; border-top: 1.5px solid var(--ink); }
  .field-row { grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .contact-form .button { width: 100%; }
}
