:root {
  --press-ink: #071d49;
  --press-blue: #005ce6;
  --press-muted: #4f6082;
  --press-line: #dce6f2;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  overflow-x: clip;
  overflow-y: visible;
  margin: 0;
  background: #fff;
  color: var(--press-ink);
  font-family: Poppins, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--press-blue);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #75aaff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100000;
  background: #fff;
  padding: 12px;
}

.skip-link:focus {
  top: 12px;
}

/* Hero */

.press-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: #edf6ff;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-inner {
  position: relative;
  width: min(1280px, 100%);
  margin: auto;
  padding: 52px 32px 48px;
}

.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--press-muted);
  margin: 0 0 24px;
}

.breadcrumbs a {
  text-decoration: none;
  color: inherit;
}

.eyebrow {
  font-size: 22px;
  font-weight: 600;
  color: var(--press-blue);
  letter-spacing: .02em;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 18px;
  max-width: 690px;
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #344c76;
  max-width: 700px;
}

.metadata span {
  padding-left: 12px;
  border-left: 1px solid #b6c8dc;
}

.hero-summary {
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
  margin: 18px 0 0;
  color: #071d49;
}

.hero-summary > span {
  display: block;
}

/* Article layout */

.content-layout {
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px 64px;
}

.press-article {
  min-width: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--press-muted);
}

.press-article p {
  margin: 0 0 18px;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}

.press-article .article-lead {
  font-size: 24px;
  font-weight: 600;
  color: var(--press-ink);
  line-height: 1.5;
  text-align: left;
  margin-bottom: 20px;
}

.press-article h2 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--press-ink);
  margin: 32px 0 14px;
}

.press-article h2:first-child {
  margin-top: 0;
}

/* Timeline */

.timeline {
  margin: 24px 0 30px;
  border: 1px solid var(--press-line);
  border-radius: 6px;
  overflow: hidden;
}

.timeline-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  border-bottom: 1px solid var(--press-line);
  font-size: 13px;
  line-height: 1.6;
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row > div {
  padding: 13px 16px;
}

.timeline-row > div:first-child {
  background: #e8f3fd;
  font-weight: 600;
  color: var(--press-ink);
}

/* Capabilities */

.capability {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.capability > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  background: var(--press-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.capability h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 5px;
  color: var(--press-ink);
  font-weight: 600;
}

.capability p {
  margin: 0;
  font-size: 14px;
}

/* Media inquiries */

.media-card {
  align-self: start;
  position: static;
  height: fit-content;
  border-radius: 8px;
  background: linear-gradient(135deg, #edf6ff, #e8f2fc);
  padding: 24px;
  font-size: 13px;
  line-height: 1.6;
}

.media-card h2 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 16px;
}

.media-card strong {
  font-size: 14px;
}

.media-card p {
  margin: 3px 0 14px;
  color: var(--press-muted);
}

.media-card > a {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  text-decoration: none;
  margin: 8px 0;
}

.media-card > a:hover {
  text-decoration: underline;
}

.media-card hr {
  border: 0;
  border-top: 1px solid #bdd0e6;
  margin: 20px 0 14px;
}

.media-card > a > i {
  flex: 0 0 18px;
  width: 18px;
  font-size: 14px;
  text-align: center;
}

/* Company details */

.company-details {
  border: 1px solid var(--press-line);
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0;
}

.company-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--press-line);
}

.company-details > div:last-child {
  border-bottom: 0;
}

.company-details dt {
  background: #f1f7fd;
  padding: 12px;
  font-weight: 600;
  color: var(--press-ink);
  font-size: 13px;
}

.company-details dd {
  margin: 0;
  padding: 12px;
  font-size: 13px;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

/* Documentation dialog */

dialog {
  max-width: 440px;
  width: calc(100% - 32px);
  border: 0;
  border-radius: 12px;
  padding: 32px;
  color: var(--press-ink);
  box-shadow: 0 20px 80px #071d4933;
  font-family: inherit;
}

dialog::backdrop {
  background: #071d4980;
}

dialog h2 {
  font-size: 22px;
  margin: 6px 0 14px;
}

dialog p {
  font-size: 14px;
  color: var(--press-muted);
  line-height: 1.7;
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  color: var(--press-ink);
  border: 0;
  background: none;
  cursor: pointer;
  padding: 4px 8px;
}

.dialog-action {
  display: block;
  padding: 12px 14px;
  background: var(--press-blue);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.dialog-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

/* Desktop: keep the inquiry card beneath the shared header. */

@media screen and (min-width: 1100px) {
  .media-card {
    position: sticky;
    top: 128px;
  }
}

/* Small desktop */

@media (min-width: 1100px) and (max-width: 1300px) {
  h1 {
    max-width: 610px;
    font-size: 38px;
  }

  .hero-summary {
    max-width: 460px;
  }

  .press-hero {
    min-height: 470px;
  }

  .hero-inner {
    padding-block: 40px;
  }

  .content-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

/* Tablet and mobile */

@media (max-width: 1099px) {
  html {
    scroll-padding-top: 100px;
  }

  .press-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 32vw, 330px);
    order: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 80% 48%;
  }

  .hero-inner {
    padding: 24px 28px 28px;
    order: 1;
    background: #ecf6ff;
  }

  h1 {
    max-width: 850px;
    font-size: 34px;
  }

  .hero-summary {
    font-size: 16px;
    max-width: none;
  }

  .breadcrumbs {
    margin-bottom: 18px;
  }

  .content-layout {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 48px;
    gap: 28px;
  }

  .media-card {
    width: 100%;
    align-self: stretch;
  }
}

/* Small mobile */

@media (max-width: 600px) {
  .hero-media {
    height: 210px;
  }

  .hero-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    right: auto;
    width: 160%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 75% 15%;
  }

  .hero-inner {
    padding: 18px 20px 24px;
  }

  .breadcrumbs {
    font-size: 11px;
    margin-bottom: 14px;
    gap: 10px;
  }

  .eyebrow {
    font-size: 18px;
  }

  h1 {
    font-size: 27px;
    line-height: 1.24;
    letter-spacing: -.03em;
    margin-bottom: 14px;
  }

  .metadata {
    font-size: 11px;
    gap: 8px;
  }

  .metadata span {
    padding-left: 8px;
  }

  .hero-summary {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
  }

  .content-layout {
    padding: 26px 20px 40px;
    gap: 26px;
  }

  .press-article {
    font-size: 14px;
    line-height: 1.8;
  }

  .press-article p {
    text-align: left;
  }

  .press-article .article-lead {
    font-size: 21px;
  }

  .press-article h2 {
    font-size: 15px;
    margin-top: 28px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    font-size: 13px;
  }

  .timeline-row > div {
    padding: 10px 14px;
  }

  .capability {
    gap: 10px;
  }

  .capability h3 {
    font-size: 14px;
  }

  .company-details > div {
    grid-template-columns: 1fr;
  }

  .company-details dt {
    padding: 9px 12px;
  }

  .media-card {
    padding: 22px;
  }
}

/* Print */

@media print {
  .site-header,
  .hero-image,
  .skip-link,
  .back-link,
  dialog {
    display: none !important;
  }

  .press-hero {
    min-height: 0;
    background: #fff;
  }

  .hero-inner {
    padding: 0;
  }

  .content-layout {
    display: block;
    padding: 20px 0;
  }

  .media-card {
    position: static;
    top: auto;
    margin-top: 20px;
    break-inside: avoid;
  }

  .press-article {
    font-size: 11pt;
  }

  h1 {
    font-size: 24pt;
    max-width: none;
  }

  .capability,
  .timeline-row,
  .company-details > div {
    break-inside: avoid;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Press overview */
.press-index { min-height: 60vh; }
.press-index-hero { position: relative; overflow: hidden; background: #edf6ff; }
.press-index-hero-image { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; }
.press-index-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #edf6ff 0%, #edf6fff2 33%, #edf6ff00 65%); pointer-events: none; }
.press-index-inner { position: relative; z-index: 1; max-width: 1280px; min-height: 280px; margin: auto; padding: 56px 32px; }
.press-index-inner h1 { max-width: 560px; margin-bottom: 12px; }
.press-index-inner > p { max-width: 500px; margin: 0; font-size: 17px; color: var(--press-muted); }
.press-list { max-width: 1280px; margin: auto; padding: 36px 32px 64px; }
.press-list > h2 { margin: 0 0 24px; font-size: 24px; }
.release-card { display: grid; grid-template-columns: 320px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--press-line); border-radius: 10px; background: #fff; margin-bottom: 24px; }
.release-card-image { display: block; background: #edf6ff; }
.release-card-image img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 80% center; }
.release-card-content { min-width: 0; padding: 28px 32px; }
.release-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--press-muted); margin-bottom: 14px; }
.release-card-meta > span { color: var(--press-blue); font-weight: 600; }
.release-card h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.4; }
.release-card h3 a { color: var(--press-ink); text-decoration: none; }
.release-card h3 a:hover { color: var(--press-blue); }
.release-card-content > p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--press-muted); }
.release-card-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.release-card-link:hover { text-decoration: underline; }
@media (max-width: 1099px) {
  .press-index-inner { padding: 32px 28px; }
  .press-list { padding: 30px 28px 48px; }
  .release-card { grid-template-columns: 240px minmax(0, 1fr); }
  .release-card-content { padding: 24px; }
  .release-card h3 { font-size: 21px; }
}
@media (max-width: 900px) {
  .press-index-hero-image { position: static; height: 210px; object-position: right center; }
  .press-index-hero::after { display: none; }
  .press-index-inner { min-height: 0; }
}
@media (max-width: 600px) {
  .press-index-hero-image { height: 180px; object-position: 88% center; }
  .press-index-inner { padding: 24px 20px; }
  .press-index-inner > p { font-size: 15px; }
  .press-list { padding: 26px 20px 40px; }
  .press-list > h2 { font-size: 21px; }
  .release-card { grid-template-columns: 1fr; }
  .release-card-image img { height: 200px; min-height: 0; }
  .release-card-content { padding: 22px; }
  .release-card-meta { font-size: 12px; }
  .release-card h3 { font-size: 20px; }
}
