:root {
  color-scheme: light;
  --ink: #072e38;
  --canvas: #f8f7f2;
  --mint: #bdf1d9;
  --line: #b9c7c7;
  --focus: #006e85;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.shell { width: calc(100% - 112px); max-width: 1524px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 18px; border-radius: 6px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { background: #fff; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; width: 294px; align-items: center; gap: 8px; padding-right: 37px; border-right: 1px solid var(--line); flex: 0 0 auto; text-decoration: none; color: #0b0d0d; }
.brand-image { position: relative; display: block; flex: 0 0 61px; width: 61px; height: 57px; overflow: hidden; }
.brand-image img { position: absolute; width: 185px; max-width: none; height: auto; left: -17px; top: -28px; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.brand-wordmark strong { font-family: Arial, sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.brand-wordmark > span { margin-top: 1px; font-size: 9px; line-height: 1.12; font-weight: 550; white-space: nowrap; }
.header-nav { display: flex; gap: 42px; align-items: center; font-size: 16px; font-weight: 650; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: #006779; }
.header-nav .intranet-link { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; margin-left: 9px; padding: 6px 20px; border: 1.5px solid #063b4a; border-radius: 11px; }
.intranet-link span { font-size: 22px; line-height: 1; }

.hero { position: relative; overflow: hidden; min-height: 322px; color: #fff; background-color: #003c46; background-image: linear-gradient(90deg, rgba(0, 45, 54, .97) 0%, rgba(0, 48, 57, .89) 26%, rgba(0, 56, 69, .5) 49%, rgba(0, 52, 66, .02) 76%), url('/project-assets/catalog-hero-coast-20260926.webp'); background-size: cover; background-position: center, center 53%; }
.hero::before { content: ""; position: absolute; width: 335px; height: 500px; top: -75px; left: -236px; border-radius: 40%; opacity: .22; background: repeating-radial-gradient(ellipse at center, transparent 0 14px, #15a2aa 15px 15.5px, transparent 16px 24px); pointer-events: none; }
.hero-inner { position: relative; padding: 24px 38px 25px; }
.eyebrow { font-size: 13px; font-weight: 750; line-height: 1.4; letter-spacing: 3px; text-transform: uppercase; }
.hero-eyebrow { margin-bottom: 9px; }
.hero h1 { font-size: clamp(36px, 3.3vw, 55px); line-height: 1.01; font-weight: 700; letter-spacing: -1.6px; }
.hero h1 span { color: var(--mint); }
.hero-description { max-width: 750px; margin-top: 7px; font-size: 18px; line-height: 1.36; font-weight: 500; }
.explore-link { display: inline-flex; min-height: 42px; align-items: center; gap: 11px; margin-top: 12px; padding: 5px 21px; border: 1px solid #b5f0d8; border-radius: 11px; background: var(--mint); color: #002f39; font-size: 19px; font-weight: 800; text-decoration: none; transition: background-color .18s; }
.explore-link:hover { background: #d6ffe9; }
.explore-link:focus-visible { outline-color: #fff; }
.explore-link span { font-size: 25px; line-height: 1; font-weight: 450; }
.hero-signature { margin-top: 10px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 4px; text-transform: uppercase; }

.platforms { padding-top: 25px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-inline: 19px; margin-bottom: 25px; }
.section-intro .eyebrow { margin-bottom: 5px; }
.section-intro h2 { font-size: clamp(27px, 2.2vw, 37px); font-weight: 700; line-height: 1.2; letter-spacing: -1.1px; }
.section-summary { flex: 0 0 auto; max-width: 450px; padding: 8px 0 8px 35px; margin-bottom: 3px; border-left: 1px solid var(--line); font-size: 18px; line-height: 1.5; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { min-width: 0; }
.platform-visual { position: relative; display: block; aspect-ratio: 1.9; overflow: hidden; isolation: isolate; border-radius: 18px; background: #06252e; color: #fff; text-decoration: none; }
.platform-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0, 26, 38, .26) 0%, rgba(0, 23, 32, 0) 43%, rgba(0, 25, 32, .88) 100%); }
.platform-image { position: absolute; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .3s ease; }
.platform-visual:hover .platform-image { transform: scale(1.025); }
.platform--wildfires .platform-image { width: 200%; height: 200%; left: -15%; top: -40%; object-position: 50% 48%; filter: brightness(.8) saturate(1.1); }
.platform--geomas .platform-image { width: 117%; height: 135%; left: -9%; top: -23%; object-position: center; filter: saturate(1.15); }
.platform--water .platform-image { object-position: 51% 45%; filter: brightness(.85) saturate(1.13); }
.category { position: absolute; top: 18px; left: 21px; max-width: calc(100% - 95px); padding: 6px 12px; border-radius: 9px; background: #b95700; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .4px; line-height: 1.2; text-transform: uppercase; }
.platform--geomas .category { background: #b64d2e; }
.platform--water .category { background: #007a77; }
.open-icon { position: absolute; top: 17px; right: 20px; width: 35px; height: 35px; display: grid; place-items: center; border: 1.5px solid #fff; border-radius: 50%; background: rgba(0, 25, 34, .42); font-size: 27px; font-weight: 400; line-height: 1; }
.platform-title { position: absolute; right: 24px; bottom: 16px; left: 26px; text-shadow: 0 1px 12px rgba(0, 17, 25, .3); }
.platform-title h3 { margin-bottom: 2px; font-size: clamp(25px, 2.1vw, 36px); font-weight: 700; line-height: 1.13; letter-spacing: -.7px; }
.platform-title p { font-size: 15px; line-height: 1.4; font-weight: 500; }
.simulation-label { position: absolute; top: 62px; left: 23px; padding: 3px 5px; border-radius: 3px; background: #03323ee6; color: #ffe0b8; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.platform-description { margin: 8px 14px 0; font-size: 16px; font-weight: 500; line-height: 1.4; }
.research-note { margin: 2px 14px 0; color: #b53415; font-size: 14px; font-style: italic; font-weight: 500; line-height: 1.45; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 35px; margin-top: 27px; margin-bottom: 22px; padding: 11px 5px 0; border-top: 1px solid var(--line); font-size: 13px; }
.footer-identity, .footer-signature { display: flex; align-items: center; gap: 27px; }
.footer-identity strong { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.footer-identity span { padding-left: 22px; border-left: 1px solid #6f9096; }
.footer-signature p { font-style: italic; }
.footer-signature span { padding-left: 22px; border-left: 1px solid #6f9096; }

@media (min-width: 1600px) {
  .shell { width: calc(100% - 148px); }
  .header-inner { padding-inline: 18px; }
  .hero-inner { padding-left: 58px; }
}

@media (max-width: 1250px) {
  .shell { width: calc(100% - 64px); }
  .header-nav { gap: 24px; font-size: 14px; }
  .brand { width: 265px; padding-right: 25px; }
  .section-intro { align-items: start; padding-inline: 5px; }
  .section-summary { max-width: 310px; padding-left: 25px; font-size: 16px; }
  .platform-grid { gap: 16px; }
  .platform-visual { aspect-ratio: 1.65; }
  .category { left: 15px; font-size: 11px; }
  .open-icon { right: 15px; width: 31px; height: 31px; font-size: 23px; }
  .platform-title { left: 20px; right: 15px; }
  .platform-title h3 { font-size: 28px; }
  .platform-title p { font-size: 13px; }
  .platform-description { font-size: 15px; margin-inline: 8px; }
  .research-note { margin-inline: 8px; font-size: 13px; }
}

@media (max-width: 900px) {
  .header-inner { gap: 18px; min-height: 81px; }
  .brand { width: 228px; border: 0; padding: 0; }
  .brand-image { width: 61px; }
  .header-nav { gap: 15px; font-size: 13px; }
  .header-nav .intranet-link { margin: 0; padding-inline: 12px; }
  .hero-inner { padding-inline: 16px; padding-block: 30px; }
  .hero h1 { font-size: 43px; }
  .hero-description { max-width: 620px; font-size: 17px; }
  .section-intro { display: block; margin-bottom: 21px; }
  .section-summary { max-width: none; margin-top: 11px; padding: 0; border: 0; font-size: 16px; }
  .platform-grid { gap: 25px; grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; }
  .platform-visual { aspect-ratio: 1.95; }
  .platform-title h3 { font-size: 34px; }
  .platform-title p, .platform-description { font-size: 16px; }
  .category { top: 18px; left: 21px; font-size: 13px; }
  .open-icon { right: 20px; width: 35px; height: 35px; font-size: 27px; }
  .research-note { font-size: 14px; }
  .site-footer { margin-top: 32px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 113px; flex-wrap: wrap; justify-content: center; gap: 0; padding-block: 8px 12px; }
  .brand { width: 226px; }
  .brand-image { height: 52px; }
  .header-nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; }
  .header-nav .intranet-link { min-height: 34px; padding: 4px 9px; gap: 4px; border-radius: 8px; }
  .intranet-link span { font-size: 18px; }
  .hero { background-position: center, 61% center; }
  .hero-inner { padding: 26px 4px 25px; }
  .hero-eyebrow { max-width: 330px; font-size: 10px; letter-spacing: 2px; }
  .hero h1 { font-size: clamp(31px, 7.3vw, 43px); line-height: 1.05; letter-spacing: -.8px; }
  .hero-description { margin-top: 12px; font-size: 16px; line-height: 1.45; }
  .desktop-break { display: none; }
  .explore-link { margin-top: 16px; font-size: 17px; min-height: 44px; padding-inline: 16px; }
  .hero-signature { font-size: 9px; letter-spacing: 2.6px; margin-top: 13px; }
  .platforms { padding-top: 25px; }
  .section-intro { padding: 0 3px; }
  .section-intro .eyebrow { font-size: 11px; letter-spacing: 2.3px; }
  .section-intro h2 { font-size: 29px; line-height: 1.15; letter-spacing: -.8px; }
  .section-summary { font-size: 15px; }
  .platform-visual { aspect-ratio: 1.65; border-radius: 15px; }
  .platform-title { left: 19px; bottom: 16px; }
  .platform-title h3 { font-size: 30px; }
  .platform-title p { font-size: 13px; }
  .category { left: 16px; top: 16px; padding: 6px 8px; font-size: 10px; }
  .simulation-label { left: 18px; top: 55px; }
  .open-icon { right: 15px; top: 14px; width: 32px; height: 32px; font-size: 24px; }
  .platform-description { margin-inline: 7px; font-size: 15px; }
  .research-note { margin-inline: 7px; font-size: 13px; }
  .site-footer { padding-inline: 2px; font-size: 11px; gap: 12px; }
  .footer-identity, .footer-signature { gap: 13px; }
  .footer-identity strong { font-size: 21px; }
  .footer-identity span, .footer-signature span { padding-left: 13px; }
  .footer-signature { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* CEMADIS and UDLA institutional identities, 2026-11-09. */
.header-identities { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.header-identities .brand { width: 257px; padding-right: 0; border-right: 0; }
.university-brand { display: flex; flex: 0 0 auto; align-items: center; width: 179px; padding-left: 24px; border-left: 1px solid var(--line); }
.university-brand img { display: block; width: 100%; height: auto; object-fit: contain; }

@media (max-width: 1250px) {
  .header-identities { gap: 20px; }
  .header-identities .brand { width: 228px; }
  .university-brand { width: 155px; padding-left: 20px; }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 10px; padding-block: 10px 12px; }
  .header-identities { width: 100%; justify-content: center; }
  .header-nav { width: 100%; justify-content: center; gap: 32px; font-size: 14px; }
  .header-nav .intranet-link { margin-left: 0; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 0; gap: 14px; padding-block: 12px 14px; }
  .header-identities { gap: 16px; }
  .header-identities .brand { width: 180px; gap: 6px; }
  .header-identities .brand-image { flex-basis: 45px; width: 45px; height: 43px; }
  .header-identities .brand-image img { width: 136.5px; left: -12.5px; top: -20.7px; }
  .header-identities .brand-wordmark strong { font-size: 19px; }
  .header-identities .brand-wordmark > span { font-size: 7px; }
  .university-brand { width: 140px; padding-left: 15px; }
  .header-nav { justify-content: space-between; gap: 10px; font-size: 11px; }
}
@media (max-width: 360px) {
  .header-identities { gap: 12px; }
  .header-identities .brand { width: 152px; }
  .header-identities .brand-wordmark strong { font-size: 18px; }
  .header-identities .brand-wordmark > span { display: none; }
  .university-brand { width: 120px; padding-left: 12px; }
}
