/* Press and media: a press kit with no press yet. Contact and kit up top, then the
   paragraph, the facts, the files, the colours and the naming rules. */
.press__pea { width: clamp(120px, 14vw, 160px); }
.press-top { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.press-mail { display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 26px -18px rgba(34, 56, 26, .6); color: var(--ink); font: 700 17px/1.15 var(--body); text-decoration: none; text-align: left; transition: border-color .2s, transform .15s; }
.press-mail:hover { border-color: var(--pea-hi); transform: translateY(-1px); }
.press-mail small { display: block; margin-bottom: 2px; font: 700 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--pea); }
.press-mail__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pea-soft); color: var(--pea); }
.press-mail__ico svg { width: 20px; height: 20px; }
.press-zip small, .press-zip__meta { font-weight: 600; font-size: .82em; opacity: .7; }

/* One column for every section */
.press { padding-bottom: clamp(20px, 4vw, 40px); }
.press__col { max-width: 860px; margin-inline: auto; }
.press-sec { padding: clamp(44px, 6vw, 64px) 0 0; margin-top: clamp(44px, 6vw, 64px); border-top: 1px solid var(--line); text-align: left; }
.press-sec:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.press-h { font: 800 clamp(30px, 3.8vw, 42px)/1.02 var(--display); letter-spacing: -.035em; }
.press-sub { margin-top: 30px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--pea); }
.press-lead { margin-top: 12px; font-size: 18px; color: var(--muted); }
.press-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.press-headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }

/* The paragraph cards */
.press-card { display: grid; gap: 16px; margin-top: 22px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.press-card p { font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.press-sub + .press-card { margin-top: 14px; }
.press-card--line { box-shadow: none; }
.press-card--line p { font: 700 clamp(19px, 2.2vw, 22px)/1.35 var(--display); letter-spacing: -.015em; }
.copybtn { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 700 14.5px/1 var(--body); cursor: pointer; transition: box-shadow .2s, color .2s, background .2s; }
.copybtn:hover { color: var(--pea); box-shadow: inset 0 0 0 1.5px var(--pea-glow); }
.copybtn svg { width: 16px; height: 16px; }
.copybtn.is-copied { background: var(--pea-soft); color: var(--pea); box-shadow: none; }
.press-name { margin-top: 22px; font-size: 18px; color: var(--muted); }
.press-name b { color: var(--ink); }

/* Quick facts: a real table (base.css styles .facts as pills elsewhere) */
table.facts { display: table; margin-top: 18px; }
table.facts th, table.facts td { padding: 16px 8px 16px 0; }
table.facts td a { font-weight: 600; text-underline-offset: 3px; }
table.facts sup a { margin-left: 2px; font-size: 12px; font-weight: 700; text-decoration: none; }
.press .fn { max-width: none; margin: 16px 0 0; }

/* The media kit tiles */
.kit--logos, .kit--peas { margin-top: 14px; }
.kit--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit--peas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit a span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.kit a small { font-weight: 600; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.kit--logos img { padding: 26px 22px; }
.kit--peas img { height: 170px; padding: 14px; background: radial-gradient(circle at 50% 55%, var(--pea-soft), var(--paper-2) 70%); }
.kit a:focus-visible { outline-offset: 2px; }

/* Colours you can copy */
.swatches { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.swatch span { font-size: 12px; }
button.swatch { display: flex; flex-direction: column; justify-content: flex-start; width: 100%; padding: 0; text-align: left; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: transform .15s ease, border-color .2s; }
button.swatch b, button.swatch span { padding-inline: 10px; white-space: nowrap; }
button.swatch:hover { transform: translateY(-2px); border-color: var(--pea-glow); }
button.swatch i { border-bottom: 1px solid var(--line); }
button.swatch.is-copied span { color: var(--pea); font-weight: 700; }

/* Do and don't */
.dodont > div { border-top: 4px solid var(--pea-hi); }
.dodont > .dodont__dont { border-top-color: var(--brass); }
.dodont__do h3 { color: var(--pea); }
.dodont__dont h3 { color: var(--brass); }
.dodont ul { color: var(--ink); font-size: 17px; }
.dodont li::marker { color: var(--muted); }

.press-from .btn { margin-top: 6px; }

@media (max-width: 900px) {
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  button.swatch b, button.swatch span { padding-inline: 12px; }
  .kit--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit--peas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .press-top { flex-direction: column; }
  .press-mail { font-size: 16px; }
  .kit--peas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kit--logos { gap: 10px; }
  .kit a { padding: 10px; gap: 8px; font-size: 14px; }
  .kit--peas img { height: 130px; }
  .kit--logos img { height: 96px; padding: 16px 12px; }
  .kit a span { flex-direction: column; gap: 2px; }
  table.facts th { width: 38%; font-size: 15px; }
  table.facts td { font-size: 15.5px; }
  .swatch i { height: 64px; }
  .press-headrow .btn { width: 100%; }
}
