:root{--ice:#d8f5f7;--glacier:#54b7c5;--deep:#062f3d;--navy:#0b2746;--cream:#f6f2e8;--paper:#fffdf8;--ink:#152027;--muted:#56636a;--line:#d8dfdb;--danger:#a82d36;--sun:#f1ae4c}
*{box-sizing:border-box}.glacier-page{background:var(--cream);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.glacier-page img{max-width:100%;height:auto}.glacier-page a{color:#087b87}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:1rem;top:1rem;z-index:999;background:#fff;padding:.8rem}
.glacier-page .glacier-hero{min-height:690px;display:grid;align-items:end;position:relative;background-image:linear-gradient(90deg,rgba(2,21,34,.91) 0%,rgba(2,21,34,.65) 44%,rgba(2,21,34,.18) 75%),url('/assets/glaciers/glacier-hero-v1.jpg')!important;background-position:center!important;background-size:cover!important}.glacier-hero .hero-inner{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:9rem 0 5rem;color:#fff}.glacier-hero .eyebrow,.section-kicker{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:850;color:#83e0e5}.glacier-hero h1{font-family:Georgia,serif;font-size:clamp(3rem,7vw,6.7rem);line-height:.94;max-width:980px;margin:.6rem 0 1.35rem}.glacier-hero p{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.65;max-width:760px;color:#e4f3f3}.hero-stat{display:inline-flex;gap:.7rem;align-items:center;margin-top:1.2rem;padding:.75rem 1rem;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(0,29,43,.48);backdrop-filter:blur(8px);font-weight:750}.hero-credit{display:block;margin-top:1.2rem;font-size:.78rem;color:#bcd1d4}
.glacier-wrap{width:min(1220px,calc(100% - 40px));margin:0 auto}.quick-facts{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:22px;overflow:hidden;margin:-2.4rem auto 4rem;position:relative;z-index:2;box-shadow:0 18px 55px rgba(20,45,52,.14)}.quick-facts div{background:var(--paper);padding:1.4rem}.quick-facts small{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:800;font-size:.7rem}.quick-facts strong{display:block;margin-top:.55rem;color:var(--navy);line-height:1.35}
.guide-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:3.2rem;align-items:start}.glacier-toc{position:sticky;top:90px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.1rem;max-height:calc(100vh - 120px);overflow:auto}.glacier-toc summary{font-weight:850;color:var(--navy);cursor:pointer}.glacier-toc ol{padding-left:1.25rem;margin:.8rem 0 0}.glacier-toc li{margin:.45rem 0}.glacier-toc a{text-decoration:none;color:#43525a;font-size:.9rem}.glacier-toc a:hover,.glacier-toc a:focus{color:#087b87;text-decoration:underline}
.glacier-content{min-width:0}.glacier-content section{scroll-margin-top:95px;margin-bottom:5rem}.glacier-content h2{font:700 clamp(2.2rem,5vw,4.5rem)/1.04 Georgia,serif;color:var(--navy);margin:.3rem 0 1.2rem}.glacier-content h3{font:750 clamp(1.35rem,2.4vw,2rem)/1.2 Georgia,serif;color:var(--navy);margin:2rem 0 .7rem}.glacier-content p,.glacier-content li{font-size:1.06rem;line-height:1.78}.lead{font-size:1.25rem!important;color:#44535a;max-width:850px}.source-line{font-size:.82rem!important;color:var(--muted);border-left:3px solid var(--glacier);padding-left:.8rem}.source-line a{font-weight:700}
.map-card{background:var(--deep);color:#edfafa;padding:clamp(1rem,3vw,2.4rem);border-radius:28px;box-shadow:0 20px 55px rgba(4,38,49,.2)}.map-card h2{color:#fff}.map-tools{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.map-filter,.map-open,.dialog-close,.audio-word,.quiz-option{font:inherit;border:1px solid #92cfd4;background:#fff;color:var(--navy);padding:.65rem .9rem;border-radius:999px;cursor:pointer;font-weight:750}.map-filter[aria-pressed="true"]{background:var(--sun);border-color:var(--sun)}.glacier-map-button{display:block;width:100%;padding:0;border:0;border-radius:20px;background:#0b5363;cursor:zoom-in;overflow:hidden}.glacier-map-button svg{display:block;width:100%;height:auto}.map-dot{fill:#fff;stroke:#096b7a;stroke-width:5}.map-label{font:800 18px system-ui,sans-serif;fill:#092b43;paint-order:stroke;stroke:#fff;stroke-width:5}.map-area{fill:#bceef2;stroke:#187d8c;stroke-width:3}.map-area[data-kind="volcano"]{fill:#f3ad62}.map-area.is-muted,.map-label.is-muted{opacity:.12}.map-caption{font-size:.83rem!important;color:#c4e4e5;margin-bottom:0}.map-dialog{width:min(96vw,1500px);max-width:none;border:0;border-radius:20px;padding:1rem;background:var(--deep);color:#fff}.map-dialog::backdrop{background:rgba(2,13,20,.86)}.map-dialog .dialog-close{float:right;margin-bottom:.7rem}.map-dialog svg{width:100%;min-width:1050px;height:auto}.dialog-scroll{overflow:auto;clear:both}
.two-col,.three-col,.four-col{display:grid;gap:1rem}.two-col{grid-template-columns:repeat(2,1fr)}.three-col{grid-template-columns:repeat(3,1fr)}.four-col{grid-template-columns:repeat(4,1fr)}.info-card,.destination-card,.term-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1.25rem}.info-card strong,.destination-card strong{color:var(--navy)}.metric{font-size:2rem;color:#087b87;font-weight:850;display:block}.relation{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.7rem;margin:1.5rem 0}.relation span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.8rem 1rem;font-weight:800}.relation b{color:#c5682c;font-size:1.4rem}
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:.8rem;align-items:center;background:linear-gradient(135deg,#eafafa,#fff);padding:1.4rem;border-radius:22px;border:1px solid #c9e7e8}.process div{text-align:center;font-weight:800;color:var(--navy)}.process svg{width:52px;height:52px;display:block;margin:0 auto .5rem}.process .arrow{font-size:1.7rem;color:#3c9fac}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.glacier-table{width:100%;border-collapse:collapse;min-width:760px}.glacier-table th,.glacier-table td{text-align:left;padding:1rem;border-bottom:1px solid var(--line);vertical-align:top}.glacier-table th{background:#e9f6f6;color:var(--navy);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}.glacier-table tr:last-child td{border-bottom:0}
.warning{border-radius:22px;padding:1.5rem;background:#fff2ee;border:2px solid #e7a49e;color:#512126}.warning h3{color:#8b252d;margin-top:0}.check-card{background:var(--navy);color:#fff;border-radius:22px;padding:1.5rem}.check-card h3{color:#fff;margin-top:0}.check-card a{color:#8ee2e6}.fact-rec{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.fact-rec>div{border-radius:18px;padding:1.2rem}.fact-rec .fact{background:#e7f7f6}.fact-rec .rec{background:#fff4df}.fact-rec b{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;margin-bottom:.4rem}
.timeline{border-left:3px solid var(--glacier);padding-left:1.4rem}.timeline article{position:relative;margin-bottom:1.5rem}.timeline article:before{content:"";position:absolute;width:14px;height:14px;background:var(--sun);border-radius:50%;left:-1.88rem;top:.35rem}.timeline time{font-weight:850;color:#087b87}
.anatomy{background:#e7f5f5;border-radius:24px;padding:1rem;overflow:auto}.anatomy svg{min-width:720px;width:100%;height:auto}.anatomy text{font:750 16px system-ui,sans-serif;fill:#0b2746}.gallery{display:grid;grid-template-columns:1.3fr .7fr;gap:1rem}.gallery figure{margin:0;overflow:hidden;border-radius:20px;background:#fff;border:1px solid var(--line)}.gallery img{display:block;width:100%;height:300px;object-fit:cover}.gallery figure:first-child img{height:100%}.gallery figcaption{padding:.7rem;font-size:.8rem;color:var(--muted)}
.vocab-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem}.audio-word{width:100%;text-align:left;border-radius:14px}.audio-word span{display:block;font-size:.82rem;color:var(--muted);font-weight:500;margin-top:.25rem}.quiz{background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.4rem}.quiz-options{display:flex;gap:.6rem;flex-wrap:wrap}.quiz-option.correct{background:#dff5e6;border-color:#5ba374}.quiz-option.wrong{background:#ffe6e3;border-color:#c55}.quiz-feedback{min-height:1.5rem;font-weight:750;margin-top:.8rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1rem;margin:.7rem 0}.faq summary{font-weight:800;color:var(--navy);cursor:pointer}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.related-grid a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1rem;text-decoration:none;font-weight:800}.updated{display:flex;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line);padding:1rem 0;color:var(--muted);font-size:.85rem}
@media(max-width:980px){.quick-facts{grid-template-columns:repeat(2,1fr)}.quick-facts div:last-child{grid-column:1/-1}.guide-grid{grid-template-columns:1fr}.glacier-toc{position:static;max-height:none}.four-col{grid-template-columns:repeat(2,1fr)}.three-col{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}}
@media(max-width:640px){.glacier-hero{min-height:620px}.glacier-hero .hero-inner,.glacier-wrap{width:min(100% - 24px,1220px)}.glacier-hero h1{font-size:3rem}.quick-facts,.two-col,.four-col,.fact-rec,.vocab-grid,.related-grid{grid-template-columns:1fr}.quick-facts div:last-child{grid-column:auto}.process{grid-template-columns:1fr}.process .arrow{transform:rotate(90deg)}.glacier-content section{margin-bottom:3.5rem}.gallery img,.gallery figure:first-child img{height:230px}.map-card{border-radius:18px}.map-dialog{width:98vw;padding:.55rem}.glacier-page .site-header nav{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* WCAG AA readability and recorded-pronunciation controls */
.glacier-hero .eyebrow{color:#a8f4f5}.glacier-page .section-kicker{color:#086775}.glacier-hero p{color:#f1fafa}.hero-stat{border-color:rgba(255,255,255,.65);background:rgba(0,20,31,.72)}.hero-credit{font-size:.82rem;color:#e1eeee;text-shadow:0 1px 2px #00141f}
.glacier-page .glacier-hero .hero-inner,.glacier-page .glacier-hero h1{color:#fff!important}.glacier-page .glacier-hero .hero-inner>p{color:#f1fafa!important;text-shadow:0 2px 5px rgba(0,12,20,.9)}.glacier-page .glacier-hero .eyebrow{color:#a8f4f5!important;text-shadow:0 1px 3px #00141f}.glacier-page .glacier-hero .hero-inner>a{color:#eefafa!important;text-shadow:0 1px 3px #00141f}.glacier-page .glacier-hero .hero-stat{color:#fff!important}
.map-card{color:#f4ffff}.map-card .section-kicker{color:#a8f4f5}.map-filter[aria-pressed="true"]{background:#f4b85d;border-color:#f4b85d;color:#17232a}.glacier-map-button{border:3px solid #75bbc4}.map-caption{font-size:.9rem!important;color:#e4f7f7}
.gallery figcaption{font-size:.85rem;color:#46545b}.updated{color:#46545b;font-size:.9rem}.audio-pair{display:grid;grid-template-columns:1fr auto;gap:.45rem}.audio-word[data-speed="slow"]{width:auto;min-width:5.8rem;text-align:center;background:#e7f5f5}.audio-word span{font-size:.86rem;color:#46545b;font-weight:600}.audio-word.is-playing{background:#d8f5f7;border-color:#087b87;box-shadow:0 0 0 3px rgba(8,123,135,.2)}.audio-word:disabled{opacity:.65;cursor:not-allowed}.quiz-option.correct{border-color:#3f8258}.quiz-option.wrong{border-color:#a73333}.glacier-page button:focus-visible,.glacier-page a:focus-visible,.glacier-page summary:focus-visible{outline:3px solid #d36d2d;outline-offset:3px}
@media(max-width:640px){.audio-pair{grid-template-columns:1fr}.audio-word[data-speed="slow"]{width:100%;text-align:left}}

/* Responsive containment and contrast safeguards */
.glacier-page{overflow-x:clip}
.glacier-page .glacier-wrap,.glacier-page .glacier-content,.glacier-page .guide-grid,.glacier-page .map-card{min-width:0;max-width:100%}
.glacier-page .glacier-content>.ed-toc{grid-row:1 / span 55}
.glacier-page .quick-facts{margin:1.25rem auto 4rem}
.glacier-page .hero-credit{margin-bottom:0}
.glacier-page .map-card p{color:#e4f7f7!important}
.glacier-page .map-card a{color:#a8f4f5}
.glacier-page .map-tools>*{max-width:100%;white-space:normal;text-align:center;line-height:1.25}
.glacier-page .table-scroll,.glacier-page .anatomy,.glacier-page .dialog-scroll{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
@media(max-width:1180px) and (min-width:981px){
  .glacier-page .quick-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .glacier-page .quick-facts div:nth-last-child(-n+2){grid-column:span 1}
  .glacier-page .guide-grid{grid-template-columns:210px minmax(0,1fr);gap:1.6rem}
}
@media(max-width:1060px){
  .glacier-page .guide-grid{grid-template-columns:minmax(0,1fr)}
  .glacier-page .glacier-toc{position:static;max-height:none}
}
@media(max-width:1360px){
  .glacier-page .glacier-content{grid-template-columns:minmax(0,1fr)!important;width:min(920px,calc(100% - 40px))!important;column-gap:0}
  .glacier-page .glacier-content>.ed-toc{display:grid!important;position:static;grid-column:1;grid-row:auto;max-height:none;margin-bottom:.5rem;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:18px;background:#fff}
  .glacier-page .glacier-content>*:not(.ed-toc){grid-column:1!important}
}
@media(max-width:980px){
  .glacier-page .quick-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .glacier-page .quick-facts div:last-child{grid-column:1/-1}
}
@media(max-width:640px){
  .glacier-page .quick-facts{grid-template-columns:minmax(0,1fr)}
  .glacier-page .quick-facts div:last-child{grid-column:auto}
  .glacier-page .map-tools{display:grid;grid-template-columns:minmax(0,1fr)}
  .glacier-page .table-scroll{background:linear-gradient(90deg,#fff 0,#fff calc(100% - 22px),#dce9e8 100%)}
}

/* Keep the guide navigation above the article at every viewport width. */
.glacier-page .glacier-content{grid-template-columns:minmax(0,1fr)!important;width:min(920px,calc(100% - 40px))!important;column-gap:0}
.glacier-page .glacier-content>.ed-toc{display:grid!important;position:static;grid-column:1;grid-row:auto;max-height:none;margin-bottom:.5rem;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:18px;background:#fff}
.glacier-page .glacier-content>*:not(.ed-toc){grid-column:1!important}

/* Compact contents navigation: avoid a tall empty panel above the article. */
.glacier-page .glacier-content>.ed-toc>b{display:block;margin-bottom:.75rem}
.glacier-page .glacier-content>.ed-toc>ol{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0!important;padding:0!important;list-style:none}
.glacier-page .glacier-content>.ed-toc li{margin:0!important;min-width:0;border:0!important}
.glacier-page .glacier-content>.ed-toc a{display:flex;align-items:center;min-height:44px;padding:.55rem .7rem;border:1px solid #e1e6e3;border-radius:10px;background:#fff;text-decoration:none;line-height:1.3}
.glacier-page .glacier-content>.ed-toc a:hover,.glacier-page .glacier-content>.ed-toc a:focus-visible{border-color:var(--glacier);background:#eef9f9}
@media(max-width:700px){
  .glacier-page .glacier-content>.ed-toc{display:block!important;padding:.85rem}
  .glacier-page .glacier-content>.ed-toc>ol{display:flex!important;gap:.45rem;overflow-x:auto;padding:0 0 .35rem!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .glacier-page .glacier-content>.ed-toc li{flex:0 0 auto;scroll-snap-align:start}
  .glacier-page .glacier-content>.ed-toc a{white-space:nowrap}
}
