.brand-edition { color: #a3efdc; font-size: .74em; font-weight: 650; margin-left: .34rem; letter-spacing: .01em; }
.nav-uk { display: none; }
.global-hero { position: relative; isolation: isolate; overflow: hidden; background: #071c28; color: #f4faf7; }
.global-hero-photo { position: absolute; z-index: -2; inset: 0 0 0 14%; background: url('assets/cape-town-night.webp') 69% 53% / cover no-repeat; }
.global-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#081d2a 3%,#081d2af5 22%,#081d2aa3 54%,#081d2a18 93%), linear-gradient(0deg,#081d2aab 0%,transparent 35%), linear-gradient(270deg,#071c2888 0%,transparent 25%); }
.global-hero-inner { position: relative; min-height: clamp(494px, 48vw, 660px); display: flex; align-items: center; padding-block: 62px 94px; }
.global-hero-copy { width: min(100%, 800px); }
.global-hero-kicker { display: flex; align-items: center; gap: .72rem; color: #a6eddf; margin-bottom: 1rem; }
.global-hero-kicker span { width: 26px; height: 1px; background: #78d6c7; }
.global-hero h1 { font-size: clamp(4rem, 8.05vw, 8.45rem); margin: 0; line-height: .87; letter-spacing: -.055em; }
.global-hero h1 span { color: #9debda; }
.global-hero-copy > p:not(.eyebrow) { max-width: 38rem; margin: 1.36rem 0 1.65rem; color: #e1edec; font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.48; }
.global-photo-credit { position: absolute; right: 0; bottom: 16px; display: grid; gap: 2px; color: #e2f5ee; background: #071c28c9; border-left: 2px solid #83c6b5; padding: 6px 10px; text-decoration: none; }
.global-photo-credit:hover { text-decoration: underline; }
.global-photo-credit strong { font-size: .82rem; }
.global-photo-credit span { color: #c6dfd7; font-size: .73rem; }
.global-index { background: #102d3b; color: #dbece9; border-top: 1px solid #b5dbd841; }
.global-index-inner { min-height: 104px; display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); }
.global-index-inner > * { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; margin: 0; padding: 16px 21px; text-decoration: none; border-left: 1px solid #f0ffff22; }
.global-index-inner > :first-child { border-left: 0; padding-left: 0; }
.global-index strong { font: 400 clamp(1.32rem, 2.3vw, 2rem)/1.08 var(--display-font); color: #a3efdc; }
.global-index-inner p strong { color: #f0faf6; font: 750 .98rem/1.3 var(--body-font); }
.global-index span { font-size: .8rem; color: #b8d4d3; }
.global-index a:hover span { text-decoration: underline; }
.global-atlas-section { background: #edf5f1; }
.global-case-section { background: #fff; border-top: 1px solid var(--line); }
.global-test { background: #102d3b; color: #e9f4ef; padding-block: clamp(40px, 5.7vw, 78px); }
.global-test-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(20px, 6vw, 88px); }
.global-test .eyebrow { color: #a3efdc; }
.global-test h2 { margin: 0; font-size: clamp(2.6rem, 4.1vw, 4.35rem); line-height: 1; }
.global-test p:not(.eyebrow) { margin: .9rem 0 0; color: #c8dedb; max-width: 35rem; }
.global-test dl { margin: 0; }
.global-test dl > div { display: grid; grid-template-columns: minmax(86px, .36fr) minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid #a4dccc3d; }
.global-test dl > div:last-child { border-bottom: 1px solid #a4dccc3d; }
.global-test dt { color: #a3efdc; font-weight: 750; }
.global-test dd { margin: 0; }
.global-country-section { background: #f5f8f6; }
.global-conditions-section { background: #eaf3ef; border-block: 1px solid var(--line); }
.global-editions { background: #fff; }
.global-source-section { background: #f3f7f4; border-top: 1px solid var(--line); }
.global-edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.global-edition-grid a { display: grid; padding: clamp(15px, 2.3vw, 29px); border: 1px solid #c6ddd3; border-radius: 8px; background: #eff6f2; text-decoration: none; gap: 7px; }
.global-edition-grid a:hover { border-color: #368373; }
.global-edition-grid strong { font: 400 clamp(1.8rem, 3vw, 2.75rem)/1.08 var(--display-font); }
.global-edition-grid p { margin: 0 0 6px; max-width: 35rem; color: var(--muted); }
.global-edition-grid span { color: var(--teal); font-size: .8rem; font-weight: 750; }
.global-edition-grid span:last-child { text-decoration: underline; justify-self: start; }
.global-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 980px) { .global-header .nav-uk { display: inline-block; } }
@media (max-width: 690px) {
  .global-hero-inner { min-height: 475px; padding: 53px 0 82px; }
  .global-hero-photo { inset: 0; background-position: 62% center; }
  .global-hero::after { background: linear-gradient(90deg,#081d2aef 4%,#081d2a71 85%),linear-gradient(0deg,#081d2ac5,transparent 48%); }
  .global-hero h1 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .global-hero-copy > p:not(.eyebrow) { margin-block: 1.05rem 1.3rem; }
  .global-photo-credit strong { font-size: .75rem; }
  .global-photo-credit span { font-size: .66rem; }
  .global-index-inner { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .global-index-inner > * { padding: 10px 8px; }
  .global-index-inner > :first-child { grid-column: 1/-1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; border-bottom: 1px solid #f0ffff22; }
  .global-index-inner > :nth-child(2) { border-left: 0; padding-left: 0; }
  .global-index span { font-size: .7rem; }
  .global-test-layout, .global-edition-grid { grid-template-columns: 1fr; }
}
.gc-panel { background: white; border: 1px solid var(--line); border-radius: 10px; }
.gc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px 20px; padding: clamp(13px, 2vw, 25px); }
.gc-top h3 { margin: 0; font: 400 clamp(1.9rem, 3vw, 2.63rem)/1.05 var(--display-font); }
.gc-top p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.gc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-actions button { padding: 7px 13px; border: 1px solid #82b6aa; color: #075e54; background: #eff8f4; border-radius: 5px; min-height: 42px; font-size: .87rem; font-weight: 750; }
.gc-actions button:hover { background: #dbeee7; }
.gc-controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 12px clamp(13px, 2vw, 25px); background: #edf5f1; border-block: 1px solid #d8e7df; }
.gc-controls > label { flex: 1 1 155px; min-width: 0; }
.gc-controls > label:first-child { flex: 1.5 1 225px; }
.gc-controls > label:last-child { flex: .4 1 82px; }
.gc-panel label { display: grid; min-width: 0; gap: 4px; font-size: .86rem; font-weight: 750; }
.gc-panel label > select, .gc-panel label > input { width: 100%; min-width: 0; border: 1px solid #aac4bc; background: white; border-radius: 5px; color: var(--ink); min-height: 44px; padding: 6px 8px; font-weight: 550; }
.gc-share, .gc-feedback { margin: 12px clamp(13px, 2vw, 25px) 0; max-width: 700px; }
.gc-feedback { color: #075e54; font-weight: 650; font-size: .88rem; }
.gc-output { display: grid; grid-template-columns: minmax(0, 2fr) minmax(235px, .86fr); align-items: start; gap: 14px 23px; padding: clamp(13px, 2vw, 25px); }
.gc-results { display: flex; flex-wrap: wrap; gap: 10px 25px; min-height: 75px; }
.gc-result { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gc-result span, .gc-result small { color: var(--muted); font-size: .84rem; }
.gc-result span { font-weight: 750; }
.gc-result strong { font: 400 clamp(1.79rem, 3.5vw, 2.93rem)/1 var(--display-font); color: #006b60; }
.gc-result-1 strong { color: #8a5b18; }
.gc-figure { margin: 10px 0 0; min-width: 0; }
.gc-chart { width: 100%; display: block; overflow: visible; }
.gc-grid text { fill: #415f63; font: 13px var(--body-font); }
.gc-grid line { stroke: #dde9e4; stroke-width: 1; }
.gc-year-line { stroke: #799b95; stroke-dasharray: 4 5; }
.gc-curve path { fill: none; stroke-width: 2.7; stroke-linecap: round; }
.gc-curve circle { stroke: white; stroke-width: 1.1; }
.gc-curve-0 path { stroke: #007e6c; }
.gc-curve-0 circle { fill: #007e6c; }
.gc-curve-1 path { stroke: #a47024; stroke-dasharray: 6 4; }
.gc-curve-1 circle { fill: #a47024; }
.gc-figure figcaption { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; color: var(--muted); font-size: .83rem; }
.gc-figure figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.gc-figure figcaption span::before { content: ""; width: 19px; border-top: 2px solid #007e6c; }
.gc-figure figcaption .gc-legend-1::before { border-top: 2px dashed #a47024; }
.gc-method { padding: 13px 16px; border-radius: 7px; border: 1px solid #dbe7e2; background: #f2f7f4; }
.gc-method h4 { margin: 0; font-size: 1.05rem; }
.gc-method p { margin: .45rem 0; font-size: .88rem; color: #3c5b63; }
.gc-method .gc-advice { font-weight: 750; }
.gc-method ul { margin: .58rem 0 0; padding-left: 17px; font-size: .87rem; }
.gc-method a, .gc-credit a { color: #00685d; font-weight: 750; }
.gc-table { padding: 10px clamp(13px, 2vw, 25px); border-top: 1px solid var(--line); }
.gc-table summary { cursor: pointer; color: #00665b; font-size: .9rem; font-weight: 750; }
.gc-table table { border-collapse: collapse; width: 100%; text-align: left; margin-top: 8px; font-variant-numeric: tabular-nums; }
.gc-table th, .gc-table td { border-bottom: 1px solid #e3ebe7; padding: 5px 10px 5px 0; }
.gc-table caption { text-align: left; font-weight: 750; }
.gc-credit { border-top: 1px solid var(--line); margin: 0; padding: 10px clamp(13px, 2vw, 25px); color: var(--muted); font-size: .8rem; }
.gc-empty { padding: 18px; background: #f1f6f4; color: var(--muted); }
@media (max-width: 860px) { .gc-output { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 580px) {
  .gc-controls > label { flex-basis: 40%; }
  .gc-controls > label:first-child { flex-basis: 100%; }
  .gc-chart text { font-size: 19px; }
}
