/* =========================================================================
   Slingshot website v2 · Newsroom (/newsroom/) and the release template
   (/newsroom/<slug>/). Loads after /styles.css. Warm Stone, flat, no
   sheets. The index's only graphic motion is the masthead trajectory,
   drawn once. Amber per view: the 10px square in the featured card's meta
   row (a fill, never text); the closing CTA further down.
   Release slots are honest: a white hairline box, a mono label, and ruled
   lines where text will go. No invented words, dates, amounts or quotes.
   ========================================================================= */

/* the release's back arrow: U+2190 subset of the same Inter 4.001 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/Inter-larr.woff2") format("woff2");
  unicode-range: U+2190;
}

main.light {
  background: var(--stone);
}
.n-h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--carbon);
}
.n-mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  /* v5.3: the address fits the card on one line down to 320px */
  font: 400 min(0.875rem, 3.75vw) / 1.3 var(--f-mono);
  font-variant-ligatures: none;
  color: var(--carbon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.n-mail:hover {
  text-decoration-thickness: 2px;
}
.n-contact-name {
  font-weight: 500;
  color: var(--carbon);
}

/* ============================================================ MASTHEAD == */
.n-mast {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--bar-h) + clamp(56px, 8vw, 128px))
    clamp(48px, 5vw, 72px);
}
.n-traj {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.n-traj path {
  fill: none;
  stroke: rgba(191, 58, 0, 0.45);
  stroke-width: 1;
}
.motion .n-traj:not(.is-ready) path {
  opacity: 0;
}
.n-mast-in {
  position: relative;
  z-index: 1;
  row-gap: 28px;
  align-items: end;
}
.n-mast-h {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.n-mast-side {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.n-mast-side .t-lede {
  max-width: 40ch;
}
.n-contact {
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.n-contact a {
  /* v5.3: a 44px target, its line where it was */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -14px;
  color: var(--carbon);
  letter-spacing: 0.02em;
  text-transform: none;
  text-underline-offset: 4px;
}
.n-contact a:hover {
  text-decoration-thickness: 2px;
}
/* the trajectory rises through the gap between the H1 and the lede; on
   narrow screens the copy stacks and any line would cross it, so it hides */
@media (min-width: 900px) {
  .n-traj {
    display: block;
  }
  .n-mast-h {
    grid-column: 1 / 7;
  }
  .n-mast-side {
    grid-column: 8 / 13;
  }
}

/* ============================================================ FEATURED == */
.n-feat {
  padding-bottom: clamp(64px, 7vw, 104px);
}
.fcard {
  position: relative;
  display: grid;
  background: var(--white);
  border: 1px solid rgba(28, 28, 30, 0.12);
  border-radius: 2px;
  cursor: pointer;
}
.fcard::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border: 1px solid var(--carbon);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms linear;
}
.fcard:hover::before,
.fcard:has(.fcard-t a:focus-visible)::before {
  opacity: 1;
}
.fcard:has(.fcard-t a:focus-visible) {
  outline: 2px solid var(--carbon);
  outline-offset: 3px;
}
.fcard-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.fcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 2026-10-20: the mark in gravity-quiet-16x9 sits at ~60% of the frame width,
     so the card read as off-center (Bryce, #website). Shift it to the middle and
     scale just enough that no edge of the frame shows. */
  transform: scale(1.26) translateX(-10%);
  transition: transform 700ms var(--ease-out);
}
.fcard:hover .fcard-img img { transform: scale(1.3) translateX(-10%); }
.fcard-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 44px);
}
.n-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.n-sq {
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--amber);
}
.fcard-t {
  margin-top: 20px;
  font-size: clamp(1.75rem, 1.1rem + 1.5vw, 2.441rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 16ch;
}
.fcard-t a {
  color: var(--carbon);
  text-decoration: none;
}
.fcard-t a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.fcard-t a:focus-visible {
  outline: none;
}
.fcard-dek {
  margin-top: 16px;
  max-width: 40ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--carbon);
}
.fcard-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding-top: 28px;
  font-weight: 500;
  color: var(--carbon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.fcard:hover .fcard-more {
  text-decoration-thickness: 2px;
}
@media (min-width: 1024px) {
  .fcard {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .fcard-body {
    padding: clamp(32px, 3.2vw, 48px);
  }
}

/* ======================================================= ALL RELEASES == */
.n-all {
  padding-bottom: clamp(48px, 5vw, 72px);
}
.n-all .n-h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(28, 28, 30, 0.16);
}
.nrow {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 24px;
  gap: 8px 20px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid rgba(28, 28, 30, 0.16);
  cursor: pointer;
}
.nrow-img {
  grid-row: span 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}
.nrow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.nrow:hover .nrow-img img {
  transform: scale(1.05);
}
.nrow-date {
  grid-column: 2;
  align-self: end;
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.nrow-t {
  grid-column: 2;
  align-self: start;
  font: 600 1.1875rem / 1.2 var(--f-display);
  letter-spacing: -0.01em;
  color: var(--carbon);
  text-decoration: none;
}
.nrow-t::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.nrow-t:focus-visible {
  outline: none;
}
.nrow:has(.nrow-t:focus-visible) {
  outline: 2px solid var(--carbon);
  outline-offset: 3px;
}
.nrow:hover .nrow-t > span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.nrow-go {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--carbon);
  stroke-width: 1.5;
  transition: transform 200ms var(--ease-out);
}
.nrow:hover .nrow-go {
  transform: translate(2px, -2px);
}
@media (min-width: 900px) {
  .nrow {
    grid-template-columns: 160px 200px minmax(0, 1fr) 32px;
    gap: 32px;
    padding-block: 24px;
  }
  .nrow-img {
    grid-row: auto;
  }
  .nrow-date,
  .nrow-t,
  .nrow-go {
    grid-row: auto;
    grid-column: auto;
    align-self: center;
  }
  .nrow-t {
    font-size: 1.375rem;
  }
}

/* ================================================ ABOUT + MEDIA CONTACT == */
.n-about {
  padding-block: clamp(56px, 6vw, 88px);
  border-top: 1px solid rgba(28, 28, 30, 0.16);
}
.n-about-in {
  row-gap: 48px;
}
.n-boiler {
  margin-top: 18px;
  max-width: 68ch;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--carbon);
}
.n-contact-card {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin-top: 18px;
  padding: 20px 22px 12px;
  background: var(--white);
  border: 1px solid rgba(28, 28, 30, 0.12);
  border-radius: 2px;
}
.n-team {
  margin-top: 16px;
}
@media (min-width: 900px) {
  .n-about-txt {
    grid-column: 1 / 8;
  }
  .n-contact-blk {
    grid-column: 9 / 13;
  }
}

/* the closing band follows a stone section on these pages */
.n-about + .closing,
.rel + .closing {
  box-shadow: inset 0 1px 0 rgba(28, 28, 30, 0.1);
}

/* ===================================================== RELEASE PAGE == */
.rel {
  padding-block: calc(var(--bar-h) + clamp(28px, 3.4vw, 48px))
    clamp(72px, 8vw, 120px);
}
.rel-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  color: var(--carbon);
  text-decoration: none;
}
.rel-back:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.rel-larr {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.rel-back:hover .rel-larr {
  transform: translateX(-3px);
}
.rel-grid {
  margin-top: clamp(24px, 3vw, 44px);
  row-gap: 40px;
  align-items: start;
}
.rel-meta,
.rel-read {
  min-width: 0;
}
.rel-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}
.rel-dl > div {
  padding-block: 14px;
  border-top: 1px solid rgba(28, 28, 30, 0.16);
}
/* the address needs the full width below 1024 */
.rel-dl > div:last-child {
  grid-column: 1 / -1;
}
.rel-dl dt {
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.rel-dl dd {
  margin: 6px 0 0;
  font: 500 0.9375rem / 1.4 var(--f-body);
  color: var(--carbon);
}
.rel-dl dd a {
  /* v5.3: a 44px target, its line where it was */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  font: 400 0.8125rem / 1.4 var(--f-mono);
  font-variant-ligatures: none;
  color: var(--carbon);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.rel-dl dd a:hover {
  text-decoration-thickness: 2px;
}
.rel-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px 0 14px;
  background: transparent;
  color: var(--carbon);
  border: 1px solid rgba(28, 28, 30, 0.42);
  border-radius: 999px;
  font: 500 0.875rem / 1 var(--f-body);
  cursor: pointer;
  transition:
    background-color 150ms linear,
    color 150ms linear,
    border-color 150ms linear;
}
.rel-copy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.rel-copy:hover,
.rel-copy.is-copied {
  background: var(--carbon);
  color: var(--stone);
  border-color: var(--carbon);
}
html:not(.js) .rel-copy {
  display: none;
}
@media (min-width: 1024px) {
  .rel-meta {
    grid-column: 1 / 4;
    position: sticky;
    top: calc(var(--bar-h) + 32px);
  }
  .rel-read {
    grid-column: 5 / 12;
  }
  .rel-dl {
    grid-template-columns: 1fr;
  }
  .rel-dl > div:last-child {
    border-bottom: 1px solid rgba(28, 28, 30, 0.16);
  }
}

.rel-head {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.rel-h {
  max-width: 18ch;
  color: var(--carbon);
}

/* honest slots: a white hairline box, a mono label, ruled lines for text */
.slot {
  --lh: 28px;
  position: relative;
  width: 100%;
  padding: 16px 20px 20px;
  background: var(--white);
  border: 1px solid rgba(28, 28, 30, 0.18);
  border-radius: 2px;
}
.slot-l {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.slot-l::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: 1px solid var(--carbon);
}
.slot-text::after,
.slot-dek::after,
.pq-lines {
  content: "";
  display: block;
  margin-top: 12px;
  height: calc(var(--lines, 4) * var(--lh));
  background:
    linear-gradient(var(--white), var(--white)) right -1px bottom / 38%
      calc(var(--lh) + 1px) no-repeat,
    repeating-linear-gradient(
      to bottom,
      transparent 0 calc(var(--lh) - 1px),
      rgba(28, 28, 30, 0.11) calc(var(--lh) - 1px) var(--lh)
    );
}
.slot-dek {
  --lines: 2;
  --lh: 34px;
}
.slot-line {
  width: auto;
  padding: 10px 16px;
}
.rel-fig {
  margin-top: clamp(36px, 4vw, 52px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.rel-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.26) translateX(-10%); /* same recentring as .fcard-img img */ }
.rel-body {
  display: grid;
  gap: 28px;
  margin-top: clamp(36px, 4vw, 52px);
}
.post-pq {
  position: relative;
  margin: clamp(8px, 1.6vw, 20px) 0;
  padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 44px);
}
.pq-lines {
  --lines: 2;
  --lh: 46px;
  background:
    linear-gradient(var(--stone), var(--stone)) right -1px bottom / 44%
      calc(var(--lh) + 1px) no-repeat,
    repeating-linear-gradient(
      to bottom,
      transparent 0 calc(var(--lh) - 1px),
      rgba(28, 28, 30, 0.16) calc(var(--lh) - 1px) var(--lh)
    );
}
.pq-br {
  position: absolute;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--carbon);
  stroke-width: 1.5;
}
.pq-br-tl {
  top: 0;
  left: 0;
}
.pq-br-br {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}
.pq-by {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  font-variant-ligatures: none;
  color: var(--deep);
}
.pq-by::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--carbon);
}

.rel-foot {
  display: grid;
  gap: 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 28px;
  border-top: 1px solid rgba(28, 28, 30, 0.16);
}
.rel-foot p:not(.n-contact-name) {
  margin-top: 14px;
  max-width: 68ch;
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--carbon);
}
.rel-foot .n-contact-name {
  margin-top: 14px;
}
@media (min-width: 720px) {
  .rel-foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
    gap: 32px clamp(32px, 5vw, 64px);
  }
}

/* v5.3 (responsive sweep): the press address stays on one line where its
   column is narrowest (the release's meta column, the contact card beside
   the boilerplate) */
@media (min-width: 900px) and (max-width: 1279px) {
  .n-mail {
    font-size: 0.8125rem;
  }
  .rel-dl dd a {
    font-size: 0.6875rem;
  }
}
