/* Global Icons Journal — component styles. Every value reads a token; the fallback after the comma is the same token's value. */

.gi {
  --gi-display: var(--font-display, Manrope, ui-sans-serif, system-ui, sans-serif);
  --gi-body: var(--font-body, "DM Sans", ui-sans-serif, system-ui, sans-serif);
  --gi-white: var(--white, #ffffff);
  --gi-navy: var(--navy, #102a56);
  --gi-royal: var(--royal, #2563eb);
  --gi-royal-press: var(--royal-press, #1d4ed8);
  --gi-ice: var(--ice, #eff6ff);
  --gi-lb: var(--light-blue, #dbeafe);
  --gi-slate: var(--slate, #475569);
  --gi-rule: var(--rule, #dbeafe);
  --gi-edge: var(--placeholder-edge, #475569);
  --gi-focus: var(--focus, #2563eb);
  font-family: var(--gi-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gi-navy);
  background: var(--gi-white);
  -webkit-font-smoothing: antialiased;
}
.gi *, .gi *::before, .gi *::after { box-sizing: border-box; }
.gi h1, .gi h2, .gi h3, .gi h4 { font-family: var(--gi-display); margin: 0; text-wrap: balance; }
.gi p, .gi dl, .gi dd, .gi figure, .gi blockquote, .gi ol, .gi ul { margin: 0; }
.gi :focus-visible { outline: 2px solid var(--gi-focus); outline-offset: 2px; }

/* Dark editorial section: navy ground, light-blue for secondary text, links and focus */
.gi-dark { background: var(--gi-navy); color: var(--gi-white); --gi-focus: var(--gi-lb); }
.gi-dark .gi-muted, .gi-dark .gi-label { color: var(--gi-lb); }
.gi-band { background: var(--gi-ice); }

/* Type helpers */
.gi-hero { font-family: var(--gi-display); font-weight: 600; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.035em; }
.gi-section-title { font-family: var(--gi-display); font-weight: 600; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.gi-label { font-family: var(--gi-display); font-weight: 700; font-size: var(--text-13, 13px); line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gi-slate); }
.gi-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 56ch; }
.gi-muted { color: var(--gi-slate); }
.gi-caption { font-size: 14px; line-height: 1.55; color: var(--gi-slate); }

/* Layout grid */
.gi-container { max-width: var(--container, 1280px); margin-inline: auto; padding-inline: var(--gutter-desktop, 48px); }
.gi-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--column-gap, 24px); row-gap: var(--space-8, 32px); }
.gi-span-7 { grid-column: span 7; } .gi-span-5 { grid-column: span 5; }
.gi-span-4 { grid-column: span 4; } .gi-span-8 { grid-column: span 8; }
.gi-span-6 { grid-column: span 6; } .gi-span-12 { grid-column: span 12; }
@media (max-width: 899px) {
  .gi-container { padding-inline: var(--gutter-mobile, 16px); }
  .gi-grid { grid-template-columns: minmax(0, 1fr); }
  .gi-grid > * { grid-column: 1 / -1; }
}

/* Buttons: square-shouldered, never pills */
.gi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-xs, 2px); font-family: var(--gi-body); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.gi-btn--primary { background: var(--gi-royal); color: var(--gi-white); border-color: var(--gi-royal); }
.gi-btn--primary:hover { background: var(--gi-royal-press); border-color: var(--gi-royal-press); }
.gi-btn--secondary { background: transparent; color: var(--gi-navy); border-color: var(--gi-navy); }
.gi-btn--secondary:hover { background: var(--gi-ice); }
.gi-dark .gi-btn--primary { background: var(--gi-white); color: var(--gi-navy); border-color: var(--gi-white); }
.gi-dark .gi-btn--primary:hover { background: var(--gi-lb); border-color: var(--gi-lb); }
.gi-dark .gi-btn--secondary { color: var(--gi-white); border-color: var(--gi-lb); }
.gi-dark .gi-btn--secondary:hover { background: transparent; color: var(--gi-lb); }
.gi-btn[disabled], .gi-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Links */
.gi-link { color: var(--gi-royal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gi-link:hover { color: var(--gi-royal-press); text-decoration-thickness: 2px; }
.gi-link--arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: none; }
.gi-link--arrow::after { content: "→"; transition: transform .15s ease; }
.gi-link--arrow:hover::after { transform: translateX(3px); }
.gi-dark .gi-link { color: var(--gi-lb); }
.gi-fn { font-size: .7em; vertical-align: super; line-height: 0; font-weight: 600; color: var(--gi-royal); text-decoration: none; padding: 0 1px; }

/* Navigation */
.gi-nav { border-bottom: 1px solid var(--gi-rule); background: var(--gi-white); }
.gi-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.gi-nav__brand { display: flex; align-items: center; gap: 10px; color: var(--gi-navy); text-decoration: none; font-family: var(--gi-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.gi-nav__links { display: flex; gap: 32px; list-style: none; padding: 0; }
.gi-nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gi-navy); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; }
.gi-nav__links a:hover { border-bottom-color: var(--gi-lb); }
.gi-nav__links a[aria-current="page"] { border-bottom-color: var(--gi-royal); }
.gi-nav__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--gi-navy); cursor: pointer; }
@media (max-width: 899px) {
  .gi-nav__links, .gi-nav__cta { display: none; }
  .gi-nav__menu { display: inline-flex; }
  .gi-nav__inner { min-height: 64px; }
}

/* Dividers */
.gi-rule { border: 0; border-top: 1px solid var(--gi-rule); margin: 0; }
.gi-rule--section { border-top: 2px solid var(--gi-navy); }
.gi-rule--research { border-top: 1.5px dashed var(--gi-navy); }

/* Section header */
.gi-section-head { border-top: 2px solid var(--gi-navy); padding-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; }
.gi-section-head .gi-label { grid-column: span 3; }
.gi-section-head__body { grid-column: span 9; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 899px) { .gi-section-head { grid-template-columns: minmax(0, 1fr); } .gi-section-head .gi-label, .gi-section-head__body { grid-column: 1 / -1; } }

/* Status label: told apart by line and glyph, never by colour */
.gi-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-xs, 2px); font-family: var(--gi-body); font-weight: 500; font-size: 14px; line-height: 1.3; white-space: nowrap; border: 1.5px solid var(--gi-navy); color: var(--gi-navy); background: transparent; }
.gi-status svg { width: 10px; height: 10px; flex: none; }
.gi-status--live { background: var(--gi-navy); color: var(--gi-white); }
.gi-status--development { border-style: solid; }
.gi-status--research { border-style: dashed; }
.gi-dark .gi-status { border-color: var(--gi-lb); color: var(--gi-white); }
.gi-dark .gi-status--live { background: var(--gi-white); color: var(--gi-navy); border-color: var(--gi-white); }

/* Image placeholder */
.gi-figure { display: flex; flex-direction: column; gap: 12px; }
.gi-ph { width: 100%; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; border: 1.5px dashed var(--gi-edge); background: var(--gi-ice); color: var(--gi-slate); font-size: 15px; line-height: 1.5; }
.gi-ph--screen { aspect-ratio: 16 / 10; }
.gi-ph--photo { aspect-ratio: 3 / 2; background: var(--gi-lb); color: var(--gi-navy); }
.gi-ph__tag { font-family: var(--gi-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gi-navy); }
.gi-figure figcaption { font-size: 14px; line-height: 1.55; color: var(--gi-slate); }
.gi-figure figcaption strong { color: var(--gi-navy); font-weight: 600; }

/* Product case file */
.gi-case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; padding-block: var(--space-16, 64px); border-bottom: 1px solid var(--gi-rule); align-items: start; }
.gi-case__text { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.gi-case__figure { grid-column: 7 / span 6; }
.gi-case__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gi-case__name { font-family: var(--gi-display); font-weight: 700; font-size: clamp(32px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.gi-facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 16px; font-size: 15px; line-height: 1.5; border-top: 1px solid var(--gi-rule); padding-top: 16px; }
.gi-facts dt { color: var(--gi-slate); }
@media (max-width: 899px) { .gi-case { grid-template-columns: minmax(0, 1fr); } .gi-case__text, .gi-case__figure { grid-column: 1 / -1; } .gi-facts { grid-template-columns: 1fr; gap: 2px; } .gi-facts dd { margin-bottom: 10px; } }

/* Research note and evidence */
.gi-note { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 24px; row-gap: 8px; padding-block: 24px; border-top: 1px solid var(--gi-rule); }
.gi-note__meta { font-size: 14px; line-height: 1.5; color: var(--gi-slate); }
.gi-note__title { font-family: var(--gi-display); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.gi-note__title a { color: var(--gi-navy); text-decoration: none; }
.gi-note__title a:hover { color: var(--gi-royal); text-decoration: underline; text-underline-offset: 3px; }
.gi-note__byline { font-size: 14px; color: var(--gi-slate); }
.gi-sources { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--gi-rule); display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--gi-slate); counter-reset: src; }
.gi-sources li { display: grid; grid-template-columns: 24px minmax(0, 1fr); counter-increment: src; }
.gi-sources li::before { content: counter(src); font-weight: 600; color: var(--gi-royal); }
@media (max-width: 899px) { .gi-note { grid-template-columns: minmax(0, 1fr); } }

/* Map: the dotted globe, restyled. Navy sphere, light-blue land dots, white markers, no atmosphere glow */
.gi-map { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; }
.gi-map svg { display: block; width: 100%; height: 100%; }
.gi-map__sphere { fill: var(--gi-navy); }
.gi-map__land { fill: var(--gi-lb); }
.gi-map__route { fill: none; stroke: var(--gi-white); stroke-width: 1.5; stroke-dasharray: 4 4; }
.gi-map__pin { fill: var(--gi-white); stroke: var(--gi-navy); stroke-width: 2; }
.gi-map__ring { fill: none; stroke: var(--gi-white); stroke-width: 1.5; }
.gi-map__callout { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; background: var(--gi-white); color: var(--gi-navy); border: 1px solid var(--gi-navy); border-radius: 0; font-size: 13px; line-height: 1.35; max-width: 220px; }
.gi-map__callout strong { font-family: var(--gi-display); font-weight: 700; font-size: 14px; }
.gi-map__key { list-style: none; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid var(--gi-rule); display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--gi-slate); }
.gi-map__key strong { color: var(--gi-navy); font-weight: 600; }

/* Footer: navy, coordinates, four columns, cropped logo watermark */
.gi-footer { position: relative; overflow: hidden; background: var(--gi-navy); color: var(--gi-white); padding-block: var(--space-24, 96px) var(--space-8, 32px); --gi-focus: var(--gi-lb); }
.gi-footer a { color: var(--gi-white); text-decoration: none; }
.gi-footer a:hover { color: var(--gi-lb); text-decoration: underline; text-underline-offset: 3px; }
.gi-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.gi-footer__brand { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.gi-footer__mark { display: flex; align-items: center; gap: 12px; font-family: var(--gi-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.gi-footer__mark img { width: 34px; height: 36px; }
.gi-footer__coords { font-size: 14px; line-height: 1.6; color: var(--gi-lb); font-variant-numeric: tabular-nums; }
.gi-footer__tagline { font-family: var(--gi-display); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; max-width: 24ch; }
.gi-footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.gi-footer__col h2 { font-family: var(--gi-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gi-lb); margin-bottom: 6px; }
.gi-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.gi-footer__col a { display: inline-flex; align-items: center; min-height: 32px; }
.gi-footer__legal { grid-column: span 3; font-size: 14px; line-height: 1.6; color: var(--gi-lb); }
.gi-footer__base { position: relative; z-index: 1; margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(219, 234, 254, 0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gi-lb); font-variant-numeric: tabular-nums; }
.gi-footer__watermark { position: absolute; right: -6%; bottom: -18%; width: 46%; max-width: 620px; opacity: 0.06; pointer-events: none; z-index: 0; }
@media (max-width: 899px) {
  .gi-footer { padding-block: 64px 24px; }
  .gi-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-footer__brand, .gi-footer__legal { grid-column: 1 / -1; }
  .gi-footer__col { grid-column: span 1; }
  .gi-footer__col a { min-height: 44px; }
  .gi-footer__watermark { width: 80%; right: -20%; bottom: -8%; }
}

@media (prefers-reduced-motion: reduce) { .gi * { transition: none !important; } }
