/* Editorial Home: real GAP imagery, no autoplay or decorative circles. */
.gap-home-v5 { background: #f4f7fa; color: #15283b; }
.gap-home-v5 .gap-home-shell { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.gap-home-v5 .gap-home-section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.gap-home-v5 .gap-home-eyebrow,
.gap-home-v5 .gap-home-kicker {
  margin: 0 0 .85rem; color: #0b8191; font-size: .78rem; font-weight: 800;
  letter-spacing: .13em; line-height: 1.5; text-transform: uppercase;
}
.gap-home-v5 h1,.gap-home-v5 h2,.gap-home-v5 h3 { margin: 0; font-family: Inter, sans-serif; letter-spacing: -.035em; }
.gap-home-v5 h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.18; }
.gap-home-v5 p { line-height: 1.65; }
.gap-home-v5 a:focus-visible { outline: 3px solid #33c5cf; outline-offset: 4px; }
.gap-home-v5 .gap-home-section-heading { max-width: 720px; margin-bottom: 2rem; }
.gap-home-v5 .gap-home-section-heading > p:last-child { max-width: 62ch; margin: .8rem 0 0; color: #4a5f70; }
.gap-home-v5 .gap-home-section-heading-inline { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }

.gap-home-hero { overflow: hidden; background: #081b30; color: #fff; }
.gap-home-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); min-height: 590px; padding-block: clamp(3.5rem, 6vw, 6rem); }
.gap-home-hero .gap-home-eyebrow { color: #6bd8df; }
.gap-home-hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 800; line-height: 1.12; }
.gap-home-hero .gap-home-lead { max-width: 56ch; margin: 1.4rem 0 0; color: #d3e1eb; font-size: clamp(1rem, 1.3vw, 1.13rem); }
.gap-home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.gap-home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid transparent; border-radius: 6px; font-size: .9rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.gap-home-button:hover { transform: translateY(-2px); }
.gap-home-button-primary { background: #42c9d1; color: #092133; }
.gap-home-button-primary:hover { background: #71dce1; color: #092133; }
.gap-home-button-secondary { border-color: #7d9ead; color: #e5f1f5; }
.gap-home-button-secondary:hover { border-color: #a8e8eb; color: #fff; }
.gap-home-hero-figure { position: relative; min-width: 0; margin: 0; }
.gap-home-hero-image { display: block; width: 100%; aspect-ratio: 1.18; max-height: 520px; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.gap-home-hero-figure figcaption { margin-top: .65rem; color: #bfd2de; font-size: .76rem; letter-spacing: .02em; }

.gap-home-technologies { background: #fff; }
.gap-home-tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.gap-home-tech-card { min-width: 0; border: 1px solid #dce5eb; border-radius: 8px; overflow: hidden; background: #fff; }
.gap-home-tech-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.gap-home-tech-card a:hover { background: #f8fcfd; }
.gap-home-tech-image { overflow: hidden; background: #e9f1f3; aspect-ratio: 1.42; }
.gap-home-tech-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gap-home-tech-copy { display: grid; grid-template-columns: 1fr auto; gap: .55rem; padding: 1.1rem 1rem 1.25rem; }
.gap-home-tech-copy h3 { grid-column: 1/-1; font-size: 1.08rem; line-height: 1.3; }
.gap-home-tech-copy p { margin: 0; color: #526677; font-size: .87rem; }
.gap-home-tech-copy > span { align-self: end; color: #087f8c; font-size: 1.3rem; }

.gap-home-process { background: #eaf1f4; }
.gap-home-process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.gap-home-process-list li { min-width: 0; padding: 1.35rem 1.1rem; border-left: 3px solid #31b7c0; background: #fff; }
.gap-home-process-list span { display: block; margin-bottom: 1.25rem; color: #0b8191; font-size: .82rem; font-weight: 800; }
.gap-home-process-list h3 { font-size: 1.12rem; }
.gap-home-process-list p { margin: .5rem 0 0; color: #526677; font-size: .87rem; }

.gap-home-applications { background: #fff; }
.gap-home-text-link { display: inline-flex; align-items: center; gap: .7rem; color: #087783; font-size: .91rem; font-weight: 800; text-decoration: none; }
.gap-home-text-link:hover { color: #064e58; text-decoration: underline; }
.gap-home-app-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; border-top: 1px solid #d8e3e9; }
.gap-home-app-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; padding: 1.15rem .2rem; border-bottom: 1px solid #d8e3e9; color: #17354a; text-decoration: none; }
.gap-home-app-link:hover { color: #087783; }
.gap-home-app-link strong,.gap-home-app-link small { display: block; }
.gap-home-app-link strong { font-size: 1.02rem; }
.gap-home-app-link small { margin-top: .3rem; color: #5a6c7a; font-size: .86rem; line-height: 1.45; }
.gap-home-app-link > span:last-child { color: #087783; font-size: 1.2rem; }

.gap-home-webgis { background: #0c2a43; color: #fff; }
.gap-home-webgis-inner { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(240px,.75fr); align-items: center; gap: 3rem; }
.gap-home-webgis .gap-home-kicker { color: #6bd8df; }
.gap-home-webgis p:not(.gap-home-kicker) { max-width: 60ch; margin: 1rem 0 1.5rem; color: #c8dce7; }
.gap-home-webgis-mark { display: grid; align-content: center; min-height: 220px; padding: 2rem; border: 1px solid rgba(108,214,222,.43); border-radius: 8px; background: #11334e; }
.gap-home-webgis-mark span { color: #6bd8df; font-size: .75rem; font-weight: 800; letter-spacing: .2em; }
.gap-home-webgis-mark strong { margin: .4rem 0; font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.gap-home-webgis-mark small { color: #c8dce7; font-size: .86rem; }

.gap-home-research { background: #f4f7fa; }
.gap-home-research-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.gap-home-research-grid > div:first-child > p:not(.gap-home-kicker) { max-width: 58ch; color: #4a5f70; }
.gap-home-research-grid .gap-home-text-link { margin-top: .6rem; }
.gap-home-projects { padding: 1.5rem; border: 1px solid #dce5eb; border-radius: 8px; background: #fff; }
.gap-home-projects h3 { margin-bottom: .9rem; font-size: 1rem; }
.gap-home-projects ul { margin: 0; padding: 0; list-style: none; }
.gap-home-projects li { padding: .7rem 0; border-top: 1px solid #e1e9ee; font-size: .9rem; }

.gap-home-news { background: #fff; }
.gap-home-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.gap-home-news-card { min-width: 0; border-top: 3px solid #22abb6; background: #f5f8fa; }
.gap-home-news-image img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.gap-home-news-copy { padding: 1.25rem; }
.gap-home-news-copy time { color: #597081; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.gap-home-news-copy h3 { margin: .65rem 0; font-size: 1.08rem; line-height: 1.35; }
.gap-home-news-copy h3 a { color: #193a50; text-decoration: none; }
.gap-home-news-copy h3 a:hover { color: #087783; text-decoration: underline; }
.gap-home-news-copy p { margin: 0; color: #526677; font-size: .88rem; }
.gap-home-no-news { color: #526677; }

.gap-home-closing { background: #e9f1f4; }
.gap-home-closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.gap-home-closing h2 { max-width: 22ch; }
.gap-home-closing p:not(.gap-home-kicker) { margin: .8rem 0 0; color: #4a5f70; }

@media (max-width: 950px) {
  .gap-home-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .gap-home-hero h1 { max-width: 20ch; }
  .gap-home-hero-image { max-height: 420px; aspect-ratio: 1.8; }
  .gap-home-tech-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gap-home-process-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gap-home-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .gap-home-v5 .gap-home-shell { width: min(100% - 2rem, 1180px); }
  .gap-home-v5 .gap-home-section { padding: 3.3rem 0; }
  .gap-home-v5 .gap-home-section-heading-inline { display: block; }
  .gap-home-section-heading-inline .gap-home-text-link { margin-top: 1rem; }
  .gap-home-hero-grid { gap: 2rem; padding-block: 3.2rem; }
  .gap-home-hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .gap-home-hero-image { aspect-ratio: 1.35; }
  .gap-home-actions { align-items: stretch; }
  .gap-home-button { width: 100%; }
  .gap-home-tech-grid,.gap-home-process-list,.gap-home-app-list,.gap-home-news-grid { grid-template-columns: 1fr; }
  .gap-home-webgis-inner,.gap-home-research-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gap-home-webgis-mark { min-height: 155px; }
  .gap-home-closing-inner { display: block; }
  .gap-home-closing-inner .gap-home-button { margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gap-home-button { transition: none; }
  .gap-home-button:hover { transform: none; }
}
