/* Editorial news cards: a quiet, image-led continuation of the project section. */
.site-v3.home-page .home-news-section {
  padding-block: clamp(76px, 8vw, 112px);
  background: #fff;
}

.site-v3.home-page .home-news-head {
  margin: 0 auto clamp(30px, 3.6vw, 46px);
  text-align: center;
}

.site-v3.home-page .home-news-head .eyebrow {
  margin: 0 0 12px;
  color: var(--brand-red, #b5222a);
  font-size: 11px;
  letter-spacing: .2em;
}

.site-v3.home-page .home-news-head h2 {
  margin: 0;
  color: var(--text-strong, #202124);
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.2;
}

.site-v3.home-page .home-news-intro {
  margin: 14px 0 0;
  color: var(--text-muted, #666a70);
  font-size: 15px;
  line-height: 1.7;
}

.site-v3.home-page .home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

.site-v3.home-page .home-news-card {
  min-width: 0;
  background: #f4f5f5;
}

.site-v3.home-page .home-news-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.site-v3.home-page .home-news-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8eaeb;
}

.site-v3.home-page .home-news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}

.site-v3.home-page .home-news-card__copy {
  display: flex;
  min-height: 286px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.4vw, 32px);
  background: #f4f5f5;
}

.site-v3.home-page .home-news-card__meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #6d7175;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-v3.home-page .home-news-card__meta time {
  color: #242628;
  font-weight: 700;
}

.site-v3.home-page .home-news-card__copy h3 {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  margin: 0;
  color: #242628;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-v3.home-page .home-news-card__copy > p {
  display: -webkit-box;
  min-height: 4.8em;
  overflow: hidden;
  margin: 17px 0 22px;
  color: #45494d;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.site-v3.home-page .home-news-card__read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #202124;
  font-size: 15px;
}

.site-v3.home-page .home-news-card__read > span {
  color: var(--brand-red, #b5222a);
  font-size: 28px;
  font-weight: 400 !important;
  line-height: .8;
  transition: transform .2s ease;
}

.site-v3.home-page .home-news-card__link:hover .home-news-card__image img {
  transform: scale(1.035);
}

.site-v3.home-page .home-news-card__link:hover .home-news-card__read > span {
  transform: translateX(4px);
}

.site-v3.home-page .home-news-card__link:focus-visible,
.site-v3.home-page .home-news-more:focus-visible {
  outline: 3px solid var(--brand-red, #b5222a);
  outline-offset: 5px;
}

.site-v3.home-page .home-news-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #242628;
  font-size: 15px;
  text-decoration: none;
}

.site-v3.home-page .home-news-more__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand-red, #b5222a);
  transition: color .18s ease, transform .18s ease;
}

.site-v3.home-page .home-news-more:hover { color: var(--brand-red, #b5222a); }
.site-v3.home-page .home-news-more:hover .home-news-more__icon { transform: translateY(-1px); }

@media (max-width: 900px) {
  .site-v3.home-page .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-v3.home-page .home-news-card__copy { min-height: 270px; }
  .site-v3.home-page .home-news-card__copy h3 { font-size: clamp(20px, 2.4vw, 24px); }
}

@media (max-width: 620px) {
  .site-v3.home-page .home-news-section { padding-block: 68px; }
  .site-v3.home-page .home-news-head { margin-bottom: 28px; }
  .site-v3.home-page .home-news-head h2 { font-size: 34px; }
  .site-v3.home-page .home-news-intro { max-width: 290px; margin: 12px auto 0; font-size: 14px; }
  .site-v3.home-page .home-news-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-v3.home-page .home-news-card__image { aspect-ratio: 1.38 / 1; }
  .site-v3.home-page .home-news-card__copy { min-height: 260px; padding: 22px; }
  .site-v3.home-page .home-news-card__meta { margin-bottom: 14px; }
  .site-v3.home-page .home-news-card__copy h3 { min-height: 2.7em; font-size: 22px; }
  .site-v3.home-page .home-news-card__copy > p { margin: 14px 0 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-v3.home-page .home-news-card__image img,
  .site-v3.home-page .home-news-card__read > span { transition: none; }
}

/* One-screen homepage rhythm: keep the three article previews and the archive link in view. */
.site-v3.home-page .home-news-section { padding-block: clamp(16px, 2vh, 24px); }
.site-v3.home-page .home-news-head { margin-bottom: clamp(14px, 2vh, 20px); }
.site-v3.home-page .home-news-head .eyebrow { margin-bottom: 7px; }
.site-v3.home-page .home-news-head h2 { font-size: clamp(30px, 3vw, 42px); }
.site-v3.home-page .home-news-intro { margin-top: 8px; font-size: 14px; }
.site-v3.home-page .home-news-grid { gap: clamp(12px, 1.5vw, 20px); }
.site-v3.home-page .home-news-card__image { aspect-ratio: 16 / 10; }
.site-v3.home-page .home-news-card__copy { min-height: 0; padding: clamp(16px, 1.8vw, 24px); }
.site-v3.home-page .home-news-card__meta { margin-bottom: 10px; font-size: 14px; }
.site-v3.home-page .home-news-card__copy h3 { min-height: 2.5em; font-size: clamp(18px, 1.5vw, 22px); }
.site-v3.home-page .home-news-card__copy > p { min-height: 0; margin: 10px 0 14px; font-size: 13px; line-height: 1.55; }
.site-v3.home-page .home-news-card__read { min-height: 38px; font-size: 14px; }
.site-v3.home-page .home-news-card__read > span { font-size: 24px; }

@media (max-width: 620px) {
  .site-v3.home-page .home-news-section { padding-block: 14px; }
  .site-v3.home-page .home-news-head { margin-bottom: 14px; }
  .site-v3.home-page .home-news-head .eyebrow { margin-bottom: 5px; font-size: 9px; }
  .site-v3.home-page .home-news-head h2 { font-size: 29px; }
  .site-v3.home-page .home-news-intro { margin-top: 5px; font-size: 12px; }
  .site-v3.home-page .home-news-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--site-gutter));
    padding: 0 var(--site-gutter) 6px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .site-v3.home-page .home-news-card { flex: 0 0 min(82vw, 330px); scroll-snap-align: start; }
  .site-v3.home-page .home-news-card__image { aspect-ratio: 16 / 10; }
  .site-v3.home-page .home-news-card__copy { min-height: 0; padding: 14px 16px; }
  .site-v3.home-page .home-news-card__meta { margin-bottom: 8px; font-size: 13px; }
  .site-v3.home-page .home-news-card__copy h3 { min-height: 0; font-size: 17px; }
  .site-v3.home-page .home-news-card__copy > p { margin: 8px 0 10px; font-size: 12px; line-height: 1.5; }
  .site-v3.home-page .home-news-card__read { min-height: 34px; font-size: 12px; }
  .site-v3.home-page .home-news-more { min-height: 34px; font-size: 13px; }
}

/* Place the news archive link beside the heading, just above the article images. */
.site-v3.home-page .home-news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  margin-bottom: clamp(38px, 2.2vw, 44px);
}

.site-v3.home-page .home-news-head__copy { grid-column: 2; }

.site-v3.home-page .home-news-more {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  transform: translateY(clamp(32px, 2.5vw, 48px));
}

@media (max-width: 620px) {
  .site-v3.home-page .home-news-head { display: flex; flex-direction: column; margin-bottom: 14px; }
  .site-v3.home-page .home-news-more { min-height: 44px; margin-top: 12px; padding-inline: 14px; transform: none; }
}

/* Keep the archive as the only scroll surface while it is open. */
html.home-news-open { overflow: hidden; }

.home-news-window {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #202124;
  scrollbar-gutter: stable;
}

.home-news-window[open] { display: block; animation: home-news-window-in .24s ease-out both; }
.home-news-window::backdrop { background: rgb(17 23 29 / 48%); backdrop-filter: blur(3px); }
.home-news-window__page { min-height: 100%; background: #fff; }
.home-news-window__topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid #eceeef;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(14px);
}
.home-news-window__topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1560px, calc(100% - 64px));
  min-height: 78px;
  margin-inline: auto;
}
.home-news-window__brand { display: inline-flex; width: max-content; align-items: center; }
.home-news-window__brand img { display: block; width: clamp(170px, 15vw, 220px); height: auto; }
.home-news-window__section-label { color: #4c5156; font-size: 14px; letter-spacing: .04em; }
.home-news-window__close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: end;
  border: 1px solid #d8dcdf;
  border-radius: 50%;
  background: #fff;
  color: #22272b;
  cursor: pointer;
  font: 300 28px/1 Arial, sans-serif;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.home-news-window__close:hover { transform: rotate(90deg); border-color: #b5222a; background: #faf6f6; }
.home-news-window__content {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 108px) 0 clamp(64px, 8vw, 120px);
}
.home-news-window__intro { margin: 0 0 clamp(34px, 4vw, 56px); text-align: center; }
.home-news-window__eyebrow { margin: 0 0 14px; color: #b5222a; font-size: 11px; letter-spacing: .2em; }
.home-news-window__intro h2 { margin: 0; color: #202124; font-size: clamp(42px, 5vw, 68px); line-height: 1.12; }
.home-news-window__intro > p:last-child { margin: 16px 0 0; color: #747a7e; font-size: 15px; line-height: 1.7; }
.home-news-window__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.home-news-window__card { min-width: 0; background: #f5f6f6; }
.home-news-window__card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.home-news-window__image { overflow: hidden; aspect-ratio: 16 / 10; background: #e9ebec; }
.home-news-window__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.home-news-window__card-link:hover .home-news-window__image img { transform: scale(1.025); }
.home-news-window__card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.2vw, 30px); }
.home-news-window__card-copy time { margin-bottom: 14px; color: #787d81; font-size: 13px; letter-spacing: .04em; }
.home-news-window__card-copy h3 { margin: 0; color: #242628; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.42; }
.home-news-window__card-copy > p { margin: 14px 0 24px; color: #565b60; font-size: 14px; line-height: 1.7; }
.home-news-window__read { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: #242628; font-size: 14px; }
.home-news-window__read > span { color: #b5222a; transition: transform .18s ease; }
.home-news-window__card-link:hover .home-news-window__read > span { transform: translateX(4px); }
.home-news-window a:focus-visible,
.home-news-window button:focus-visible { outline: 3px solid #b5222a; outline-offset: 4px; }

.site-v3.home-page .home-news-more {
  appearance: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid currentColor;
  background: transparent;
  color: #242628;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.site-v3.home-page .home-news-more:hover { border-color: var(--brand-red, #b5222a); background: #faf6f6; color: var(--brand-red, #b5222a); }

@keyframes home-news-window-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .home-news-window__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .home-news-window__topbar-inner,
  .home-news-window__content { width: calc(100% - 36px); }
  .home-news-window__topbar-inner { min-height: 64px; }
  .home-news-window__brand img { width: 142px; }
  .home-news-window__section-label { display: none; }
  .home-news-window__close { width: 38px; height: 38px; font-size: 25px; }
  .home-news-window__content { padding-top: 48px; }
  .home-news-window__intro { margin-bottom: 28px; }
  .home-news-window__intro h2 { font-size: 40px; }
  .home-news-window__intro > p:last-child { font-size: 14px; }
  .home-news-window__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-news-window__card-copy { padding: 18px; }
  .home-news-window__card-copy h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-news-window[open] { animation: none; }
  .home-news-window__close,
  .home-news-window__image img,
  .home-news-window__read > span { transition: none; }
}
